Error when trying to launch protontricks
Describe the bug
Im getting two errors when inputting protontricks --gui:
"warning: Your version of wine is no longer supported upstream. You should upgrade to 8.x"
"warning: Unknown file arch of /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin/wineserver."
To Reproduce Steps to reproduce the behavior:
- Run command
protontricks --guiand select a steam game downloaded with proton - Command fails and error is displayed
Expected behavior Idk honestly. Protontricks is needed for a game fix I found on the internet
System (please complete the following information):
- Distro: Ubuntu 24.04 LTS
- Protontricks installation method: Aptitude
- Protontricks version: protontricks (1.10.5)
- Steam version: Steam Beta Branch: Stable Client Steam Version: 1716584667
Additional context
Output of protontricks --gui -vv after selecting a steam game:
protontricks (INFO): Found Steam directory at /home/vhagg/.steam/debian-installation
protontricks (INFO): Using default Steam Runtime at /home/vhagg/.steam/debian-installation/ubuntu12_32/steam-runtime
protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH.
protontricks (INFO): Found 1 Steam library folders
protontricks (INFO): Currently logged-in Steam user: vhaggx
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Using 'zenity' as GUI provider
protontricks (INFO): User has configured default Proton version (CompatToolMapping): proton_experimental
protontricks (INFO): Found active compatibility tool: Proton Experimental
protontricks (INFO): Active compatibility tool is a Proton installation
protontricks (INFO): Using 'bwrap = True' as default value
protontricks (INFO): Using separately installed Steam Runtime: Steam Linux Runtime 3.0 (sniper)
protontricks (INFO): Running Steam Runtime using bwrap containerization.
If any problems arise, please try running the command again using the `--no-bwrap` flag and make an issue report if the problem only occurs when bwrap is in use.
protontricks (WARNING): Current Steam Runtime not recognized by Protontricks.
protontricks (INFO): Created Steam Runtime Wine binary directory at /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin
protontricks (INFO): WINE environment variable is not available. Setting WINE environment variable to Proton bundled version.
protontricks (INFO): WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
protontricks (INFO): Starting bwrap launcher process: /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin/bwrap-launcher
protontricks - bwrap-launcher 14342: Following directories will be mounted inside container: /bin.usr-is-merged /boot /cdrom /etc /home /lib.usr-is-merged /lost+found /media /mnt /opt /root /sbin /sbin.usr-is-merged /snap /srv /tmp
protontricks - bwrap-launcher 14342: Using temporary directory: /tmp/protontricks-lpsu1jep
pressure-vessel-wrap[14342]: E: Child process exited with code 1: bwrap: setting up uid map: Permission denied
protontricks (INFO): bwrap launcher started
protontricks (INFO): Attempting to run command ['/usr/bin/winetricks', '--gui']
Executing cd /usr/bin
winetricks GUI enabled, using zenity 4.0.1
------------------------------------------------------
warning: Your version of wine is no longer supported upstream. You should upgrade to 8.x
------------------------------------------------------
------------------------------------------------------
warning: Unknown file arch of /home/vhagg/.cache/protontricks/proton/Proton Experimental/bin/wineserver.
------------------------------------------------------
protontricks (INFO): Terminating launcher process 14342
protontricks (INFO): Launcher process terminated
(Im sorry idk how gists work)
It tells me that I need to upgrade to a newer version but I installed wine just now (using sudo apt install wine)
Here are also screenshots of the errors:
I'm a huge Linux noob btw, so if you need any more information please also tell me how to get it. Thx in advance.
The version of Protontricks shipped by Ubuntu is outdated. The easiest option would be to install the Flatpak version of Protontricks.
Note that if you need to use the protontricks command from the command-line, you'll need to set up an alias by running the following command:
echo "alias protontricks='flatpak run com.github.Matoking.protontricks'" >> ~/.bashrc
Alternatively, you can try installing the newest versions of Protontricks and Winetricks using the following instructions:
https://github.com/Matoking/protontricks?tab=readme-ov-file#pipx
https://github.com/Winetricks/winetricks?tab=readme-ov-file#manual-install
Six months later I finally got protontricks working on 24.04.
1: Installed Protontricks with pipx 2: fixed bwrap permissions. https://funos.org/solve-bwrap-permission-denied/ 3: Manual install of winetricks. https://github.com/Winetricks/winetricks?tab=readme-ov-file#manual-install
Still get a lot of pop up warnings that need to be clicked through but it works.
I tried the version in my distribution extra/protontricks 1.12.1-1, protontricks (1.12.2.dev3+g47257a8), protontricks-git 1.12.1.r0.gd01901e-1 and the one in flatpack I get the same popup messages with all versions. Even this non-sensical one saying my wine version is old and I should upgrade to 8 when my wine version is wine-10.7. I'll get it to run eventually if I'll need to get it running again. But right now I don't need it for anything important.