Skip to content

gamescope stuck at 1280x720 #2033

@sdaqo

Description

@sdaqo

Is there an existing issue for this?

  • I have searched the existing issues

Are you using any gamescope patches or a forked version of gamescope?

  • The issue occurs on upstream gamescope without any modifications

Current Behavior

Hi there!

somehow my gamescope is stuck at 1280x720 resolution for every application/game. I tried all the variants of -w/-h and -W/-H.

Steps To Reproduce

  1. Launch any program/game with gamescope
  2. See low resolution 1280x720p

Hardware information

- Distro: NixOS 25.11.20251126.2fecba9 (Xantusia)
- CPU: AMD Ryzen 9 7950X3D
- GPU: AMD Radeon RX 9070 XT
- Driver Version: Mesa 25.3.0
- Display: 2560 x 1440

Software information

- Desktop environment: Hyprland 0.52.1
- Session type: wayland
- Gamescope version: 3.16.17 and upstream 9416ca9
- Gamescope launch command(s): 
gamescope -w 2560 -h 1440 -- %command%
gamescope -W 2560 -H 1440 -- %command%

Which gamescope backends have the issue you are reporting?

  • Wayland (default for nested gamescope)
  • DRM (default for embedded gamescope, i.e. gamescope-session)
  • SDL
  • OpenVR

Logging, screenshots, or anything else

Here a log of running glxgears in gamescope

$ gamescope -- glxgears
[gamescope] [Info]  console: gamescope version 3.16.17 (gcc 14.3.0)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Info]  scriptmgr: Loading scripts from: '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts'
[gamescope] [Info]  scriptmgr: Loading scripts from: '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope'
[gamescope] [Info]  scriptmgr: Loading scripts from: '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/common'
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2)
[gamescope] [Info]  scriptmgr: Loading scripts from: '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays'
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua' (id: 5)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongo.lcd.lua' (id: 6)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua' (id: 7)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 8)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 9)
[gamescope] [Info]  scriptmgr: Running script file '/nix/store/zr8fn9m4v8204xskrgpcrddvmcrmi9zy-gamescope-3.16.17/share/gamescope/scripts/00-gamescope/displays/zotac.zone.oled.lua' (id: 10)
[gamescope] [Info]  scriptmgr: Loading scripts from: '/etc/gamescope/scripts'
[gamescope] [Warn]  scriptmgr: Directory '/etc/gamescope/scripts' does not exist
[gamescope] [Info]  scriptmgr: Loading scripts from: '/home/paul/.config/gamescope/scripts'
[gamescope] [Warn]  scriptmgr: Directory '/home/paul/.config/gamescope/scripts' does not exist
WARNING: radv is not a conformant Vulkan implementation, testing use only.
[gamescope] [Info]  vulkan: selecting physical device 'AMD Radeon RX 9070 XT (RADV GFX1201)': queue family 1 (general queue family 0)
[gamescope] [Info]  vulkan: physical device supports DRM format modifiers
[gamescope] [Info]  wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info]  xdg_backend: Seat name: Hyprland
[gamescope] [Info]  xdg_backend: Initted Wayland backend
[gamescope] [Info]  vulkan: supported DRM formats for sampling usage:
[gamescope] [Info]  vulkan:   AR24 (0x34325241)
[gamescope] [Info]  vulkan:   XR24 (0x34325258)
[gamescope] [Info]  vulkan:   AB24 (0x34324241)
[gamescope] [Info]  vulkan:   XB24 (0x34324258)
[gamescope] [Info]  vulkan:   RG16 (0x36314752)
[gamescope] [Info]  vulkan:   AB4H (0x48344241)
[gamescope] [Info]  vulkan:   XB4H (0x48344258)
[gamescope] [Info]  vulkan:   AB48 (0x38344241)
[gamescope] [Info]  vulkan:   XB48 (0x38344258)
[gamescope] [Info]  vulkan:   AB30 (0x30334241)
[gamescope] [Info]  vulkan:   XB30 (0x30334258)
[gamescope] [Info]  vulkan:   AR30 (0x30335241)
[gamescope] [Info]  vulkan:   XR30 (0x30335258)
[gamescope] [Info]  wlserver: Using explicit sync when available
[gamescope] [Info]  wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info]  wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info]  wlserver: Successfully initialized libei for input emulation!
[gamescope] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :1
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86OK
> Warning:          Could not resolve keysym XF86GoTo
> Warning:          Could not resolve keysym XF86VendorLogo
> Warning:          Could not resolve keysym XF86MediaSelectProgramGuide
> Warning:          Could not resolve keysym XF86MediaSelectProgramGuide
> Warning:          Could not resolve keysym XF86MediaSelectHome
> Warning:          Could not resolve keysym XF86MediaLanguageMenu
> Warning:          Could not resolve keysym XF86MediaTitleMenu
> Warning:          Could not resolve keysym XF86AudioChannelMode
> Warning:          Could not resolve keysym XF86MediaSelectPC
> Warning:          Could not resolve keysym XF86MediaSelectTV
> Warning:          Could not resolve keysym XF86MediaSelectCable
> Warning:          Could not resolve keysym XF86MediaSelectVCR
> Warning:          Could not resolve keysym XF86MediaSelectVCRPlus
> Warning:          Could not resolve keysym XF86MediaSelectSatellite
> Warning:          Could not resolve keysym XF86MediaSelectCD
> Warning:          Could not resolve keysym XF86MediaSelectTape
> Warning:          Could not resolve keysym XF86MediaSelectRadio
> Warning:          Could not resolve keysym XF86MediaSelectTuner
> Warning:          Could not resolve keysym XF86MediaPlayer
> Warning:          Could not resolve keysym XF86MediaSelectTeletext
> Warning:          Could not resolve keysym XF86MediaSelectAuxiliary
> Warning:          Could not resolve keysym XF86MediaPlaySlow
> Warning:          Could not resolve keysym XF86NumberEntryMode
> Warning:          Could not resolve keysym XF86RefreshRateToggle
> Warning:          Could not resolve keysym XF86Accessibility
> Warning:          Could not resolve keysym XF86DoNotDisturb
Errors from xkbcomp are not fatal to the X server
[gamescope] [Info]  pipewire: stream state changed: connecting
[gamescope] [Info]  pipewire: stream state changed: paused
[gamescope] [Info]  pipewire: stream available on node ID: 101
[gamescope] [Info]  xdg_backend: uMaxContentLightLevel: 0
[gamescope] [Info]  xdg_backend: HDR INFO
[gamescope] [Info]  xdg_backend:   cv_hdr_enabled: false
[gamescope] [Info]  xdg_backend:   uMaxLum: 0, uRefLum: 80
[gamescope] [Info]  xdg_backend:   bExposeHDRSupport: false
[gamescope] [Info]  edid: Patching res 800x1280 -> 1280x720
[gamescope] [Info]  vblank: Using timerfd.
[gamescope] [Info]  xdg_backend: Post-Initted Wayland backend
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
[gamescope] [Warn]  xwm: got the same buffer committed twice, ignoring.
[gamescope] [Warn]  xwm: D-Bus call to get unit corresponding to pid 50231 failed!

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
> Warning:          Virtual modifier Hyper multiply defined
>                   Using 0, ignoring 0
> Warning:          Virtual modifier ScrollLock multiply defined
>                   Using 0, ignoring 0
> Warning:          Could not resolve keysym XF86OK
> Warning:          Could not resolve keysym XF86GoTo
> Warning:          Could not resolve keysym XF86VendorLogo
> Warning:          Could not resolve keysym XF86MediaSelectProgramGuide
> Warning:          Could not resolve keysym XF86MediaSelectProgramGuide
> Warning:          Could not resolve keysym XF86MediaSelectHome
> Warning:          Could not resolve keysym XF86MediaLanguageMenu
> Warning:          Could not resolve keysym XF86MediaTitleMenu
> Warning:          Could not resolve keysym XF86AudioChannelMode
> Warning:          Could not resolve keysym XF86MediaSelectPC
> Warning:          Could not resolve keysym XF86MediaSelectTV
> Warning:          Could not resolve keysym XF86MediaSelectCable
> Warning:          Could not resolve keysym XF86MediaSelectVCR
> Warning:          Could not resolve keysym XF86MediaSelectVCRPlus
> Warning:          Could not resolve keysym XF86MediaSelectSatellite
> Warning:          Could not resolve keysym XF86MediaSelectTape
> Warning:          Could not resolve keysym XF86MediaSelectRadio
> Warning:          Could not resolve keysym XF86MediaSelectTuner
> Warning:          Could not resolve keysym XF86MediaPlayer
> Warning:          Could not resolve keysym XF86MediaSelectTeletext
> Warning:          Could not resolve keysym XF86MediaSelectAuxiliary
> Warning:          Could not resolve keysym XF86MediaPlaySlow
> Warning:          Could not resolve keysym XF86NumberEntryMode
> Warning:          Could not resolve keysym XF86RefreshRateToggle
> Warning:          Could not resolve keysym XF86Accessibility
> Warning:          Could not resolve keysym XF86DoNotDisturb
Errors from xkbcomp are not fatal to the X server
[gamescope] [Info]  xdg_backend: uMaxContentLightLevel: 0
[gamescope] [Info]  xdg_backend: HDR INFO
[gamescope] [Info]  xdg_backend:   cv_hdr_enabled: false
[gamescope] [Info]  xdg_backend:   uMaxLum: 0, uRefLum: 80
[gamescope] [Info]  xdg_backend:   bExposeHDRSupport: false
[gamescope] [Info]  xdg_backend: Changed refresh to: 143.856hz
[gamescope] [Error] xdg_backend: Compositor released us but we were not acquired. Oh no.
[gamescope] [Error] xdg_backend: Compositor released us but we were not acquired. Oh no.
[gamescope] [Error] xdg_backend: Compositor released us but we were not acquired. Oh no.
[gamescope] [Error] xdg_backend: Compositor released us but we were not acquired. Oh no.
[gamescope] [Error] xdg_backend: Compositor released us but we were not acquired. Oh no.
[gamescope] [Error] xdg_backend: Compositor released us but we were not acquired. Oh no.

glxgears with gamescope:
Image
glxgears w/o gamescope
Image
games also only show 1280x720
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions