Bug 483749

Summary: Gamescope nested in kwin freezes as soon as it starts on nvidia
Product: [Plasma] kwin Reporter: tamodolo
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nate, vlad.zahorodnii, xaver.hugl
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tamodolo 2024-03-16 12:04:32 UTC
SUMMARY
This was tested both with HDR on and off on nvidia driver 550. I'll provide any extra info as necessary

STEPS TO REPRODUCE
1. Open Steam
2. add gamescope -- %command% to a game
3. start the game

STEPS TO REPRODUCE 2
1. Install aur steam-hdr
2. start steam-hdr (runtime)

OBSERVED RESULT

Gamescope is able to deliver a very few frames but freezes almost instantly after game starts.

OBSERVED RESULT 2

Gamescope is able to deliver a very few frames but freezes almost instantly after steam big picture starts.

EXPECTED RESULT
not freeze even if other features don't work at first like HDR.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.9-arch1-1 / 6.0.2
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION

AMD Ryzen 5 5600x
32 Gb Ram
nVidia RTX 3070
Gigabyte B450 Aorus pro
nvidia driver version: nvidia-dkms 550.54.14-5

Screen setup:
LG C9 at 4k 120Hz and VRR (HDMI 2.1) (this is the only active screen at test time as VRR don't work while other screens are enabled)
LG d2343 FHD 60Hz (passive DP > DVI)
LG WFHD 29WL500 (active DP > HDMI)
Comment 1 David Edmundson 2024-04-15 16:00:32 UTC
Please report to gamescope
Comment 2 tamodolo 2024-04-15 17:38:34 UTC
(In reply to David Edmundson from comment #1)
> Please report to gamescope

Thanks! Issue openned.

https://github.com/ValveSoftware/gamescope/issues/1247