Display modes above 2560x1440p@120hz with HDR enabled cause flickering/corruption within gamescope-session

Since the release of 555.42.02, I have been thoroughly testing gamescope compatibility with the nvidia-drm driver and have had a few difficulties. The main issue I’m experiencing has to do with HDR colorspace specifically within embedded gamescope or “gamescope-session”, which is responsible for providing a “Steam Deck” like desktop session for gaming.

As a preliminary point of reference, all of this has been done on gamescope versions past this PR which fixes gamescope-session on nvidia-drm: Disable use of IN_FENCE_FD if it fails by cubanismo · Pull Request #1330 · ValveSoftware/gamescope · GitHub

If I enable HDR within this session and the resolution is anything above 2560x1440p@120hz, I experience severe display corruption as recorded in my clips section below and on this GitHub issue: [NVIDIA] 555 Driver Status · Issue #1320 · ValveSoftware/gamescope · GitHub

It should also be noted that this happens:
On Arch Linux + Fedora
Across both the NVIDIA .run driver installs and packaged versions of the driver for both Arch and Fedora

If I use nested gamescope on my Plasma 6 desktop, HDR works very well with no issues all the way up to higher resolutions of my displays, 3440px1440p@144hz via DisplayPort (175hz seems broken on 555 with my specific monitor but that’s a separate issue) and 3840x2160p@120hz via HDMI 2.1, but trying to achieve the same in embedded gamescope (via TTY) or dedicated gamescope-session has been impossible for me.

Is anyone else experiencing similar issues? This is a very hyperspecific issue topic so I’m not sure how many people have been regularly testing gamescope/gamescope-session on nvidia.

Related media:

nvidia-bug-report.log.gz (747.7 KB)

4 Likes

This issue is still present as of 560.35.03 with both the open and proprietary modules across 3 monitors (only one connected at a time) and both DisplayPort and HDMI 2.0 + 2.1.


the issue on a separate monitor, a G95NC, at 7680x2160p@120hz w/ HDR enabled

1 Like

Yup, can confirm the same issue happens here when starting gamescope on the Nvidia GPU in my laptop.

I’m seeing this on 565.77, single monitor (LG C2).

fwiw this is also being tracked as a gamescope issue after someone reported it separately here: [Nvidia] Black screen when HDR option is enabled · Issue #1593 · ValveSoftware/gamescope · GitHub

this bug still occurs on a new card (5090), new cable (DisplayPort 2.1), and a new monitor (LG 5K2K 45" OLED Gaming Monitor - 45GX950A-B | LG USA). If you toggle HDR within gamescope-session on a NVIDIA gpu, it corrupts your entire display with flickering artifacts:

nvidia-bug-report.log.gz (622.6 KB)

WARNING: FLASHING LIGHTS

That clip was recorded at my monitor’s native resolution of 5120x2160p after toggling HDR from off to on.

Hi @matt-schwartz
I have filed a bug 5240452 internally for tracking purpose.