Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some proton utility commands hang when running on nfs #987

Open
wberrier opened this issue Aug 30, 2018 · 8 comments
Open

Some proton utility commands hang when running on nfs #987

wberrier opened this issue Aug 30, 2018 · 8 comments

Comments

@wberrier
Copy link

Setup:

  • Updated Fedora 28 x86_64
    • mesa 18.0.5
  • Intel Corporation HD Graphics 5500

If I install the game to my local disk (~/.local/share/Steam) Starwars Battlefront II (and others) runs fine.

I have an autofs/nfs share (/net/berrier/steam) on another computer (backed by a 32bit xfs filesystem) and when I run a proton game (I've verified this with a few proton games), the following commands hang indefinitely:

python2.7 /net/berrier/steam/steamapps/steamapps/common/Proton 3.7/proton run /home/wberrier/.local/share/Steam/legacycompat/iscriptevaluator.exe --get-current-step 6060
python2.7 /net/berrier/steam/steamapps/steamapps/common/Proton 3.7/proton getcompatpath /net/berrier/steam/steamapps/steamapps/common/Star Wars Battlefront II

As a sidenote, I can run steam under wine and access this same nfs share just fine. I really think it's something with the utility commands that are hanging with this setup.

I've also seen this behavior on a machine running Fedora 27.

@wberrier
Copy link
Author

This command is also hanging:

python2.7 /net/berrier/steam/steamapps/steamapps/common/Proton 3.7/proton waitforexitandrun /net/berrier/steam/steamapps/steamapps/common/Star Wars Battlefront II/GameData/BattlefrontII.exe

@wberrier
Copy link
Author

wberrier commented Sep 1, 2018

Just in case, I tried this with ext4 over nfs and ran into the same problem.

@wberrier
Copy link
Author

wberrier commented Sep 1, 2018

I tried using the steam client to move the game from the nfs games folder to the local games folder. It didn't move proton, and it's exhibiting the same behavior. These commands run for a long time without completing while the steam client has a window saying "Preparing to launch..."

python2.7 /home/wberrier/.local/share/Steam/steamapps/common/Proton 3.7/proton run /home/wberrier/.local/share/Steam/legacycompat/iscriptevaluator.exe --get-current-step 6060
python2.7 /home/wberrier/.local/share/Steam/steamapps/common/Proton 3.7/proton getcompatpath /net/berrier/steam/steamapps/steamapps/common/Star Wars Battlefront II

@nyanloutre
Copy link

nyanloutre commented Oct 12, 2018

I got the same behaviour on Manjaro using the Flatpak and with the native version

@Francesco149
Copy link

i ran into this a few times running zfs over nfs, but if you wait long enough (20+ mins) it eventually finishes and the game runs.

after running the game once it stops happening but sometimes proton decides to run them again, maybe due to proton updates. not sure. either way just waiting it out worked for me

@nyanloutre
Copy link

@Francesco149 I noticed Steam is completely unoptimized on NFS

@Francesco149
Copy link

Francesco149 commented Apr 26, 2019

I figured out how to initialize a proton wine prefix from the command line. this way you can ssh into the machine that has physical access to the drives and not have the overhead from nfs. much faster

mkdir ~/.local/share/Steam/steamapps/compatdata/253230
STEAM_COMPAT_DATA_PATH=~/.local/share/Steam/steamapps/compatdata/253230 STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.local/share/Steam' FONTCONFIG_PATH='' ./proton run ~/.local/share/Steam/legacycompat/iscriptevaluator.exe --get-current-step 253230

replace the three 253230 with your game id

this assumes your entire steam install is on the nfs share

you should run this from the desired proton version folder, such as ~/.steam/steam/steamapps/common/Proton 4.2

@Francesco149
Copy link

I've made a script to initialize proton wine prefixes: https://github.com/Francesco149/docker-dots/master/bin/protonboot

usage:

protonboot appid

you can get appid from the game's store page url or, if you have protontricks installed, protontricks -s "game name"

using a specific proton version:

protonboot appid "3.16 Beta"

listing proton versions

protonboot ls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants