VPKEdit icon indicating copy to clipboard operation
VPKEdit copied to clipboard

VPKEdit is frozen on startup

Open mattiskung opened this issue 3 months ago • 9 comments

Describe the Bug

A few months ago a bug occured that whenever i start up VPKEdit its just stuck on a white screen and it being not responsive in task manager

ive tried reinstalling it a few times but it doesn't work

To Reproduce

i have no clue what caused this so i cant say how to reproduce it

VPKEdit Version

5.0 but also on previous versions

Operating System

Windows 10

mattiskung avatar Sep 08 '25 18:09 mattiskung

When the white screen bug happened, did you make any changes to your Steam installation?

craftablescience avatar Oct 08 '25 19:10 craftablescience

When the white screen bug happened, did you make any changes to your Steam installation?

I don't really remember but I dont think so

mattiskung avatar Oct 08 '25 19:10 mattiskung

I can also report a similar issue on Arch Linux, as whenever I open a vpk file with the GUI application the window never renders and is simply an empty looking window when hovered over with KDE's taskbar.

Here are some logs as far as it gets when the GUI is opening a vpk from the command line.

$ vpkedit pak12_dir.vpk                                                                                                                                                                          
QEGLPlatformContext: Failed to create context: 3009
Warning: fallback to QtQuick software backend.
QList("/usr/bin", "/usr/lib/vpkedit", "")
QBasicTimer::stop: Failed. Possibly trying to stop from a different thread
QBasicTimer::stop: Failed. Possibly trying to stop from a different thread
QEGLPlatformContext: Failed to create context: 3009
QRhiGles2: Failed to create temporary context
QEGLPlatformContext: Failed to create context: 3009
QRhiGles2: Failed to create context
Failed to create QRhi for QBackingStoreRhiSupport

and here is what it looks like when examined from the taskbar Image

This is using the AUR vpkedit-bin package, so it should be the same binaries released on GitHub

IsaacShoebottom avatar Oct 09 '25 00:10 IsaacShoebottom

@IsaacShoebottom try setting QT_QPA_PLATFORM=xcb. I think your issue is Linux-specific and likely even system-specific, probably unrelated to the Windows issue

craftablescience avatar Oct 09 '25 00:10 craftablescience

@IsaacShoebottom try setting QT_QPA_PLATFORM=xcb. I think your issue is Linux-specific and likely even system-specific, probably unrelated to the Windows issue

This does work, so its probably not the issue originally opened. It could be an NVIDIA issue, as this disables the app from running under wayland. This environment variable runs the app under xwayland.

IsaacShoebottom avatar Oct 09 '25 00:10 IsaacShoebottom

This disables the app from running under wayland. This environment variable runs the app under xwayland.

Yes that's partly why I asked if it fixed the issue. This issue is specific to your system configuration, please Google your error messages for more information.

craftablescience avatar Oct 09 '25 00:10 craftablescience

I'm getting this issue too and googling isn't leading me anywhere helpful, more than that running with sudo makes it inexplicably work (without the env var)

Thespikedballofdoom avatar Oct 13 '25 21:10 Thespikedballofdoom

@Thespikedballofdoom open ~/.config/craftablescience/vpkedit.conf and set disable_steam_scanner to true. Do you still get the issue?

@mattiskung if you want to try this as well, on Windows the config option is stored in the registry at HKEY_CURRENT_USER\Software\craftablescience\vpkedit\disable_steam_scanner, or you can load an older version of the program that works and check this option:

Image

craftablescience avatar Oct 14 '25 11:10 craftablescience

It doesn't unfortunately. I have a second similar linux install where it is also working with no env vars and no sudo, it is also CachyOS/wayland/KDE, the only difference is its hardware. I'll try to replicate on a fresh install as soon as I can.

Thespikedballofdoom avatar Oct 14 '25 21:10 Thespikedballofdoom