Closed codicodi closed 3 years ago
/srv
wasn't in the hardcoded list of mount points, meaning Wine running inside a mount namespace wasn't able to find it; this is part of the bwrap containerization that is meant to improve compatibility.
I've pushed a fix to improve_bwrap_mounts
that tries to more exhaustively mount all root directories, except for those that may cause conflicts with Steam Runtime. There is also a special case for Wine prefix and Proton installation directory, where those mounts are added separately only if they're not covered by one of the allowed root directories; this should improve performance a bit since each additional mount point increases startup time when running a Wine executable.
Can you test if the improve_bwrap_mounts
branch fixes the issue? You can install the bug fix using pipx like this (you'll have to uninstall your current Protontricks installation and install python-pipx
from the Arch repo first):
pipx install git+https://github.com/Matoking/protontricks.git@improve_bwrap_mounts
Yep, your branch works for me
Thanks for the help, I've merged the fix into master.
Describe the bug I'm used to running stuff within game prefixes like this
protontricks -c 'wine /path/to/mod/manager/or/whatever.exe' 489830
This doesn't work anymore after updating protontricks to 1.5.0.To Reproduce Run
protontricks -c 'wine --version' 489830
Expected behavior wine command executes correctly
System (please complete the following information):
Additional context
Full output:
Unlike the error message suggests,
/srv/steam/steamapps/common/Proton 6.3/dist/bin/wine
exists. Note that my Steam library is mounted to/srv/steam
.The following workarounds seem to work fine
protontricks --no-bwrap -c 'wine --version' 489830
protontricks -c '"$PROTON_DIST_PATH"/bin/wine --version' 489830