Run a game using gamescope
From Pengwings
To run using gamescope 2560x1440@120:
gamescope -w 2560 -h 1440 -r 120 -- OTHER COMMAND LINE ARGS HERE
For example this runs WoW using proton inside gamescope (Running Windows games via Proton without going through Steam or Lutris):
#!/bin/bash export STEAM_COMPAT_DATA_PATH="/opt/_pfx/wow" export STEAM_COMPAT_CLIENT_INSTALL_PATH=~/.steam/steam pushd "/opt/games/World of Warcraft/" gamescope -w 2560 -h 1440 -r 120 -- $STEAM_COMPAT_CLIENT_INSTALL_PATH/compatibilitytools.d/GE-Proton10-29/proton run "/opt/games/World of Warcraft/Wow.exe" & disown popd
Commands you can add before the --
To stretch game to fill window:
-S stretch
To display mangohud:
--mangoapp
Known bugs
- Gamescope doesn't exit properly afterwards and you have to endtask winedevice.exe and possibly gamescope and gamescopereaper. See https://github.com/ValveSoftware/gamescope/issues/777