DavidoTek / ProtonUp-Qt

Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface.
https://davidotek.github.io/protonup-qt
GNU General Public License v3.0
1.24k stars 40 forks source link

ProtonUp-QT Crashes on startup on steam deck #133

Closed spike63995 closed 1 year ago

spike63995 commented 1 year ago

Hi,

I had protoup-qt working since I got my steam deck and it never failed. Now today I went to install the latest proton-ge and it wasn't working so I rebooted. When I did so, it just loads the icon at the bottom for a few seconds, then disappears. It's not in the running processes. I tried to uninstall it and reinstall it, same thing. Anyone else having an issue with this?

sonic2kk commented 1 year ago

Just tested on my Steam Deck with ProtonUp-Qt 2.7.4 from Flathub and GE-Proton7-38 installed fine for me. Subsequent launches also work.

Just curious, are you using ProtonUp-Qt AppImage, Flatpak or from source?

Not sure if ProtonUp-Qt logs anywhere but can you run ProtonUp-Qt from terminal and attach the output?

You can take a screenshot of the Terminal output if it all fits on one screen, otherwise you could just copy it into a file and attach that :-)

DavidoTek commented 1 year ago

Yes, the Terminal output of those commands will help diagnose your issue.

You're probably installed ProtonUp-Qt from the Discover app store. If this is the case, open "Konsole", type flatpak run net.davidotek.net and then press enter.

I maybe should either provide a better guide on how to get this information or make it somehow easier, e.g. adding a right-click option to the .desktop "Run ProtonUp-Qt with Terminal".

spike63995 commented 1 year ago

Yes, the Terminal output of those commands will help diagnose your issue.

You're probably installed ProtonUp-Qt from the Discover app store. If this is the case, open "Konsole", type flatpak run net.davidotek.net and then press enter.

I maybe should either provide a better guide on how to get this information or make it somehow easier, e.g. adding a right-click option to the .desktop "Run ProtonUp-Qt with Terminal".

Thanks, I took a screenshot and got a not installed. I included the discover store installation to show you that it should be installed. Proton

EDIT: I don't know if this helps at all, but I tried "flatpak run net.davidotek.pupgui2" and got this:

Loaded ctmod DXVK Loaded ctmod DXVK Async Loaded ctmod DXVK (nightly) qt.pysideplugin: Environment variable PYSIDE_DESIGNER_PLUGINS is not set, bailing out. qt.pysideplugin: No instance of QPyDesignerCustomWidgetCollection was found. Traceback (most recent call last): File "/app/lib/python3.9/site-packages/vdf/init.py", line 131, in parse line += next(fp) StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/app/lib/python3.9/site-packages/pupgui2/main.py", line 2, in main() File "/app/lib/python3.9/site-packages/pupgui2/pupgui2.py", line 403, in main window = MainWindow() File "/app/lib/python3.9/site-packages/pupgui2/pupgui2.py", line 87, in init self.update_ui() File "/app/lib/python3.9/site-packages/pupgui2/pupgui2.py", line 172, in update_ui games = get_steam_game_list(install_loc.get('vdf_dir'), ct.get_internal_name(), cached=True) File "/app/lib/python3.9/site-packages/pupgui2/datastructures.py", line 94, in get_internal_name compat_tool_vdf = vdf.load(open(compat_tool_vdf_path)) File "/app/lib/python3.9/site-packages/vdf/init.py", line 211, in load return parse(fp, **kwargs) File "/app/lib/python3.9/site-packages/vdf/init.py", line 134, in parse raise SyntaxError("vdf.parse: unexpected EOF (open key quote?)", File "/home/deck/.local/share/Steam/compatibilitytools.d/GE-Proton7-29/compatibilitytool.vdf", line 1

SyntaxError: vdf.parse: unexpected EOF (open key quote?) QThread: Destroyed while thread is still running /app/bin/net.davidotek.pupgui2: line 3: 3 Aborted (core dumped) python3 -m pupgui2 "$@" 50,107 Bot

spike63995 commented 1 year ago

I inputted command "sudo flatpak update --commit=4e6814a479166aba35bc5cb492b3189b32b721fae0a465421df80bfb9b13d48c net.davidotek.pupgui2" and it brought me all the way back to 2.6.0 which makes sense, but it works. So I don't know why the flatpak for the newest version isn't working.

I'm also on the latest stable update on my steam deck.

sonic2kk commented 1 year ago

The issue related to the Flatpak not installed is just a typo :-) As you probably noticed with your second reply.

The log in your second reply is really strange. It seems like the VDF parser for GE-Proton is failing. I can't reproduce this. I tested latest master on my laptop, desktop and Steam Deck, and ProtonUp-Qt Flatpak 2.7.4 on my desktop and Steam Deck. It's really strange that the older release of ProtonUp-Qt is working for you. That to me indicates that it isn't a corrupted download... Unless the older ProtonUp-Qt handles VDF files differently?

Though it would be interesting to see if this works: Go to /home/deck/.local/share/Steam/compatibilitytools.d and remove the GE-Proton7-29 folder. Then try redownloading with ProtonUp-Qt (either 2.6.0 or the latest, whichever you like).

It'll be interesting to see if the VDF parser is generally failing and it just fell over at GE-Proton7-29 first, or if it's only failing for that one specific GE version.

DavidoTek commented 1 year ago

Unless the older ProtonUp-Qt handles VDF files differently?

The "vdf functionality" (specifically getting the internal tool name) was introduced with v2.7.3.

It'll be interesting to see if the VDF parser is generally failing

It should be working fine... Maybe the vdf file is corrupted or different for this version?

spike63995 commented 1 year ago

The issue related to the Flatpak not installed is just a typo :-) As you probably noticed with your second reply.

The log in your second reply is really strange. It seems like the VDF parser for GE-Proton is failing. I can't reproduce this. I tested latest master on my laptop, desktop and Steam Deck, and ProtonUp-Qt Flatpak 2.7.4 on my desktop and Steam Deck. It's really strange that the older release of ProtonUp-Qt is working for you. That to me indicates that it isn't a corrupted download... Unless the older ProtonUp-Qt handles VDF files differently?

Though it would be interesting to see if this works: Go to /home/deck/.local/share/Steam/compatibilitytools.d and remove the GE-Proton7-29 folder. Then try redownloading with ProtonUp-Qt (either 2.6.0 or the latest, whichever you like).

It'll be interesting to see if the VDF parser is generally failing and it just fell over at GE-Proton7-29 first, or if it's only failing for that one specific GE version.

Thanks! This worked perfectly!