Are you using any gamescope patches or a forked version of gamescope?
[X] The issue occurs on upstream gamescope without any modifications
Current Behavior
Using Nvidia GPUs with a 4k display, certain games like Cyberpunk 2077 and Black Myth: Wukong experience severe frame delays when there is mouse motion input. Keyboard or gamepad input does not cause issues. After bisecting, it appears this issue was introduced in commit dd77e4de10974bdbfe8252f6ec6f4c8723ac3305 with the introduction of the new linux_drm_syncobj implementation in v3.15.0.
From testing Cyberpunk 2077, it appears this issue only manifests when using a 4k display (tested with a 3840x2160 monitor) or when using a 1080p display and the in-game resolution is set to a value lower than 1080p. Enabling vsync in-game also appears to help with the frame stuttering, but is severe when it is disabled.
Steps To Reproduce
Launch gamescope embedded session (with a 4K display 3840x2160)
Launch Cyberpunk 2077
Go to game settings and ensure that resolution is set to 1920x1080 and vsync is disabled
I experience this issue at native 1080p with Senua's Sacrifice when using DirectX12, but not when using DirectX11.
The GPU used for testing was an RTX 4060.
Is there an existing issue for this?
Are you using any gamescope patches or a forked version of gamescope?
Current Behavior
Using Nvidia GPUs with a 4k display, certain games like Cyberpunk 2077 and Black Myth: Wukong experience severe frame delays when there is mouse motion input. Keyboard or gamepad input does not cause issues. After bisecting, it appears this issue was introduced in commit dd77e4de10974bdbfe8252f6ec6f4c8723ac3305 with the introduction of the new
linux_drm_syncobj
implementation in v3.15.0.From testing Cyberpunk 2077, it appears this issue only manifests when using a 4k display (tested with a 3840x2160 monitor) or when using a 1080p display and the in-game resolution is set to a value lower than 1080p. Enabling vsync in-game also appears to help with the frame stuttering, but is severe when it is disabled.
Steps To Reproduce
Hardware information
Software information
Which gamescope backends have the issue you are reporting?
Logging, screenshots, or anything else
gamescope version v3.15.0+ (dd77e4de10974bdbfe8252f6ec6f4c8723ac3305)
https://github.com/user-attachments/assets/4e295513-e620-4a12-8253-53a5f3b0b335
gamescope version v3.14.29
https://github.com/user-attachments/assets/ca089480-289f-453a-8f47-3a871c81bd4f