ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.09k stars 207 forks source link

Programs run at wrong resolution #556

Closed Artefact2 closed 2 years ago

Artefact2 commented 2 years ago

I am running gamescope 71717b2ce38805e18f1c51d5d443873ecf41e778. Programs appear to run at a much lower resolution than specified in the command-line arguments. I am using EXWM on X. Same issue with vkcube and glxgears.

% gamescope -f -H 2160 -h 2160 -- glxgears
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
wlserver: [backend/headless/backend.c:82] Creating headless backend
vulkan: selecting physical device 'AMD Radeon RX 6750 XT (RADV NAVI22)': queue family 1
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan:   0x34325241
vulkan:   0x34325258
vulkan:   0x3231564E
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:18] Starting headless backend
wlserver: [xwayland/server.c:92] Starting Xwayland on :1
wlserver: [types/wlr_surface.c:741] New wlr_surface 0x55bdd471f620 (res 0x55bdd4725900)
wlserver: [xwayland/server.c:250] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 65
pipewire: renegotiating stream params (size: 3840x2160)
wlserver: [types/wlr_surface.c:741] New wlr_surface 0x55bdd426a0b0 (res 0x55bdd4729ea0)
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server

2022_07_15_19_35_09 2022_07_15_19_38_09

misyltoad commented 2 years ago

We dont change the resolution or window size of the app. You need to pass width height args to its cmdline.