protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

protontricks --gui shows nothing

Open Sommerwiesel opened this issue 2 years ago • 4 comments

Describe the bug Executing protontricks APPID --gui does nothing

To Reproduce Steps to reproduce the behavior:

  1. Run command protontricks APPID --gui
  2. Command does nothing and no error is displayed

Expected behavior Protontricks gui opens

System (please complete the following information):

  • Distro: Manjaro KDE 22.0.5
  • Protontricks installation method: AUR
  • Protontricks version: 1.10.2
  • Steam version: stable

Additional context

winetricks works fine and is updated

If the error happens when trying to run a Protontricks command, run the command again using the -v flag and copy the output!

pastebin verbose output

Sommerwiesel avatar Apr 18 '23 14:04 Sommerwiesel

I'm unable to reproduce this on Arch Linux using GE-Proton7-55.

That said, you could try the following:

  • Are you running the Proton app at the same point? You could try stopping it first and then trying again.

  • You might try either --no-background-wineserver or --no-bwrap flags to check if they solve the issue. For example:

    # Note the two `-v` flags before and after APPID.
    $ protontricks -v --no-background-wineserver APPID -v --gui
    

    If this solves the issue, please report which of the two flags helps solves the issue.

Matoking avatar Apr 26 '23 16:04 Matoking

Heya, thanks for the reply :)

No I'm not running any other proton or wine command at the same point. The flags didn't fix the problems.

However, after trying with a game using GE-Proton55, I now get an error:

/home/weidenwiesel/.cache/protontricks/proton/GE-Proton7-55/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "protontricks - wine 29958: Found Steam Runtime launch client at /media/weidenwiesel/m2/SteamLibrary/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/steam-runtime-launch-client protontricks - wine 29958: Checking for running wineserver instance protontricks - wine 29958: Found running wineserver instance with PID 29950 protontricks - wine 29958: Starting Wine process using 'pressure-vessel-launch' protontricks - wine 30096: Starting Wine process inside the container protontricks - wine 30096: Appending to LD_LIBRARY_PATH: /home/weidenwiesel/.local/share/Steam/compatibilitytools.d/GE-Proton7-55/files/lib:/home/weidenwiesel/.local/share/Steam/compatibilitytools.d/GE-Proton7-55/files/lib64: wineserver: using server-side synchronization. wine: RLIMIT_NICE is <= 20, unable to use setpriority safely wine: could not load kernel32.dll, status c0000135"

protontricks (INFO): Terminating launcher process 28415 protontricks (INFO): Launcher process terminated

Sommerwiesel avatar Apr 27 '23 09:04 Sommerwiesel

Does this only occur with a single game, or all games that use GE-Proton? Did you use vanilla Proton for the game previously and change the compatibility tool to GE-Proton later?

You could try deleting the Wine prefix for the problematic game (this may delete save data for that game, so be careful!) and regenerating it by launching the game again.

To do this, run the command protontricks -c "echo \$WINEPREFIX" APPID. This will print a path such as /PATH/TO/STEAM_LIBRARY/steamapps/compatdata/APPID/pfx. Delete or move the directory /PATH/TO/STEAM_LIBRARY/steamapps/compatdata/APPID (that's the parent directory that contains pfx), relaunch the game in Steam, close it, and then try running Protontricks again.

Matoking avatar Apr 27 '23 16:04 Matoking

Hello, sorry for taking so long to get back to you.

Let's try with some games:

Baldurs Gate 3 (Proton Hotfix selected by valve testing):

protontricks -c "echo \$WINEPREFIX" 1086940
/media/weidenwiesel/ssd2/SteamLibrary/steamapps/compatdata/1086940/pfx

Planet Zoo (default Valve Proton 7.0-6, never changed):

protontricks -c "echo \$WINEPREFIX" 703080                                      
/media/weidenwiesel/m2/SteamLibrary/steamapps/compatdata/703080/pfx

Elden Ring (used to be Proton Experimental, now is default Valve 7.0-6):

protontricks -c "echo \$WINEPREFIX" 1245620                                                      
/media/weidenwiesel/m2/SteamLibrary/steamapps/compatdata/1245620/pfx

Desperados 3 (GE-Proton8-9):

protontricks -c "echo \$WINEPREFIX" 610370                                            
/media/weidenwiesel/raid/SteamLibrary/steamapps/compatdata/610370/pfx

protontricks -v --no-background-wineserver APPID -v --gui still does nothing for all of the above, even after clearing the APPID directory

Since so much time has passed, the system and version has changed:

Distro: Manjaro KDE 22.1.3 Protontricks installation method: AUR Protontricks version: 1.10.4 Steam version: stable

Sommerwiesel avatar Aug 29 '23 10:08 Sommerwiesel