lutris: remove proton support from lutris #3330
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reasons for doing this:
As of Proton 5.13, Proton uses a new runtime which runs in its own container.
Due to this, it is no longer viable or recommended to run proton outside of steam.
Additionally, neither the old Proton versions nor the new versions properly
generate the wine prefix in the standard way because they do not ship with wineboot.
So if someone removes their prefix then runs a game with proton, it will not properly
correct a new prefix.
Lastly, the proton script uses specific environment variables which are not in place
when running proton directly by the wine executable within it, such as the
steam game ID, gstreamer variables, wine username, and others which are important to the
Proton-specific environment.
Since lutris does not run proton games using the lutris script, as mentioned it does not use important environment variables. Not specifying the steam game ID can lead to game-specific fixes not working. Proton also requires a custom patch and WINEUSERNAME defined alongside the patch in order to save to any user other than 'steamuser'. And lastly, it needs the gstreamer library envvar defined so that mfplat games can play. I have submitted other PRs for the gstreamer stuff to work in lutris already.