-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature to use gamescope for clients
- The launcher is responsible for subreaping in behalf of clients, however, we're not able to fullfill that responsibility if gamescope is used which will require clients to handle killing the zombie wine processes if the game had exited improperly (e.g., closing the game window). Currently, all GUI launchers that do not implement a sophisticated subreaping system will need to do this. However, by executing gamescope via ULWGL, we can ensure all zombies are killed via systemd when the user exits improperly - This will be an optional feature for GUI clients by requiring to set ULWGL_GAMESCOPE=1. To pass gamescope options to the launcher, clients must write a JSON file in ~/.local/share/ULWGL/state/<ulwgl-id>.json with the gamescope options. For example: [ { 'name': 'gamescope', 'options': ['-F', 'fsr'] } ]
- Loading branch information
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters