← 返回命令列表

Linux command

gamescope 命令

趣味

复制后可按需替换文件名、目录或参数。

常用示例

Example

gamescope -- [program]

Example

gamescope -- %command%

Upscale

gamescope -h 720 -H 1440 -S integer -- [command]

Limit

gamescope -r 30 -- [command]

Example

gamescope -e -- /usr/bin/steam -tenfoot

Example

gamescope -O [HDMI-A-1|DP-3|...] -- [program]

Example

Super+f

Example

gamescope --help

说明

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.

参数

-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.

FAQ

What is the gamescope command used for?

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.

How do I run a basic gamescope example?

Run `gamescope -- [program]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -h, --nested-height _HEIGHT_ do in gamescope?

Set internal (nested) resolution height