Skip to content

Instantly share code, notes, and snippets.

@otuva
Created July 12, 2024 07:09
Show Gist options
  • Save otuva/cfbadbcb4c8d5071ff93dd5df2f1902e to your computer and use it in GitHub Desktop.
Save otuva/cfbadbcb4c8d5071ff93dd5df2f1902e to your computer and use it in GitHub Desktop.
usage: gamescope [options...] -- [command...]
Options:
--help show help message
-w, --nested-width game width
-h, --nested-height game height
-r, --nested-refresh game refresh rate (frames per second)
-m, --max-scale maximum scale factor
-i, --integer-scale force scale factor to integer
-W, --output-width output width
-H, --output-height output height
-n, --nearest-neighbor-filter use nearest neighbor filtering
-U, --fsr-upscaling use AMD FidelityFX™ Super Resolution 1.0 for upscaling
-Y, --nis-upscaling use NVIDIA Image Scaling v1.0.3 for upscaling
--sharpness, --fsr-sharpness upscaler sharpness from 0 (max) to 20 (min)
--cursor path to default cursor image
-R, --ready-fd notify FD when ready
--rt Use realtime scheduling
-T, --stats-path write statistics to path
-C, --hide-cursor-delay hide cursor image after delay
-e, --steam enable Steam integration
--xwayland-count create N xwayland servers
--prefer-vk-device prefer Vulkan device for compositing (ex: 1002:7300)
--force-orientation rotate the internal display (left, right, normal, upsidedown)
Nested mode options:
-o, --nested-unfocused-refresh game refresh rate when unfocused
-b, --borderless make the window borderless
-f, --fullscreen make the window fullscreen
Embedded mode options:
-O, --prefer-output list of connectors in order of preference
--default-touch-mode 0: hover, 1: left, 2: right, 3: middle, 4: passthrough
--generate-drm-mode DRM mode generation algorithm (cvt, fixed)
--immediate-flips Enable immediate flips, may result in tearing
--adaptive-sync Enable adaptive sync if available (variable rate refresh)
Debug options:
--disable-layers disable libliftoff (hardware planes)
--debug-layers debug libliftoff
--debug-focus debug XWM focus
--synchronous-x11 force X11 connection synchronization
--debug-hud paint HUD with debug info
--debug-events debug X11 events
--force-composition disable direct scan-out
--composite-debug draw frame markers on alternating corners of the screen when compositing
--disable-xres disable XRes for PID lookup
Keyboard shortcuts:
Super + F toggle fullscreen
Super + N toggle nearest neighbour filtering
Super + U toggle FSR upscaling
Super + Y toggle NIS upscaling
Super + I increase FSR sharpness by 1
Super + O decrease FSR sharpness by 1
Super + S take a screenshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment