Run a game using gamescope

From Pengwings
Revision as of 19:20, 9 February 2026 by Theleruby (talk | contribs)

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

  • If you call gamescope with no command line arguments, then CTRL+C out of it in Terminal, the whole Wayland session crashes and you'll have to reset the PC using power button. Herp derp.
  • Gamescope doesn't exit properly afterwards once the game is closed; you have to endtask winedevice.exe and possibly gamescope and gamescopereaper. See https://github.com/ValveSoftware/gamescope/issues/777