LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gamescope

Wayland gaming micro-compositor

TLDR

Run a program inside gamescope
$ gamescope -- [program]
copy
Use it as a Steam launch option
$ gamescope -- %command%
copy
Render at one resolution and output at another
$ gamescope -w [1280] -h [720] -W [2560] -H [1440] -- [program]
copy
Upscale with AMD FidelityFX
$ gamescope -F fsr -- [program]
copy
Tune how sharp that upscaling looks
$ gamescope -F fsr --sharpness [5] -- [program]
copy
Use integer scaling, which keeps pixel art crisp
$ gamescope -S integer -- [program]
copy
Cap the refresh rate of the nested display
$ gamescope -r [60] -- [program]
copy
Cap the frame rate without changing the refresh rate
$ gamescope --framerate-limit [60] -- [program]
copy
Drop to a lower refresh rate when the window loses focus
$ gamescope -r [144] -o [30] -- [program]
copy
Enable variable refresh rate
$ gamescope --adaptive-sync -- [program]
copy
Enable HDR output
$ gamescope --hdr-enabled -- [program]
copy
Choose which display to open on
$ gamescope -O [DP-1] -- [program]
copy
Overlay MangoHud statistics
$ gamescope --mangoapp -- [program]
copy
Launch Steam Big Picture inside gamescope
$ gamescope -e -- steam -tenfoot
copy

SYNOPSIS

gamescope [options] -- command [arguments]

DESCRIPTION

gamescope is a Wayland micro-compositor developed by Valve for gaming. It acts as an intermediary layer between games and the display server, providing features like resolution scaling, frame limiting, HDR support, and improved game compatibility.Key features include FSR (FidelityFX Super Resolution) upscaling, integer scaling for retro games, independent refresh rate control, and seamless fullscreen management. It's the basis for the Steam Deck's gaming mode compositor.When used with Steam (-e flag), it integrates directly with Steam's overlay and game management features.

PARAMETERS

-h, --nested-height HEIGHT

Set internal (nested) resolution height
-H, --output-height HEIGHT
Set output resolution height
-w, --nested-width WIDTH
Set internal (nested) resolution width
-W, --output-width WIDTH
Set output resolution width
-r, --nested-refresh RATE
Set internal refresh rate (FPS limit for vsync games)
-S, --scaler SCALER
Scaling filter: auto, integer, fit, fill, stretch
-e, --steam
Enable Steam integration mode
-O, --prefer-output OUTPUT
Preferred display output
-f, --fullscreen
Start in fullscreen mode
-b, --borderless
Start in borderless windowed mode
-F, --filter FILTER
Upscaler filter: linear, nearest, fsr, nis, pixel.
--hdr-enabled
Enable HDR output (requires compatible display and hardware).
--mangoapp
Launch MangoHud overlay (mangoapp) alongside gamescope.
--force-grab-cursor
Always use relative mouse mode instead of flipping between relative and absolute.
--adaptive-sync
Enable adaptive sync / VRR on the output if supported.

KEYBOARD SHORTCUTS

Super+F - Toggle fullscreenSuper+S - Take screenshotSuper+G - Toggle FPS limiter

INSTALL

sudo dnf install gamescope
copy
sudo pacman -S gamescope
copy
sudo apk add gamescope
copy
sudo zypper install gamescope
copy
nix profile install nixpkgs#gamescope
copy

CAVEATS

Requires Vulkan support. Some games may have compatibility issues. HDR support requires appropriate hardware and display. Performance overhead is minimal but present.

HISTORY

gamescope was developed by Valve Software and first released in 2020. It was created primarily for the Steam Deck handheld gaming PC, providing the foundation for SteamOS 3.0's gaming compositor. The project evolved from earlier work on the steamcompmgr compositor.

SEE ALSO

steam(1), cage(1), sway(1), weston(1), Xwayland(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid