SUMMARY
When trying to enable HDR on KDE Plasma for my projector screen the system freezes for 1-2 minutes before resetting the configuration to the default again. Inspecting journalctl there are hundreds of lines of
kwin_wayland[4108]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
kwin_scene_opengl: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
with an occasional kwin_wayland_drm: Checking test buffer failed!
in-between.
I was told by the KDE devs (bug ticket 503385 – enabling HDR for projector screen results in system freeze) to post a bug report here after providing them a drm debug log:
Whelp, that’s unfortunately entirely useless:
[drm:drm_atomic_check_only] atomic driver check for 000000000180eae3 failed: -22
That just means “the driver says no”.
Best I can do here is to recommend you to take this up with NVidia
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 4070 Ti SUPER
ADDITIONAL INFORMATION
nvidia driver version: 570.144
I’ve had this issue since I first tried to enable HDR last year in July, so it’s not related to a new driver update or software update. HDR worked before when running Windows.
I have a 2 monitor, 1 projector, 1 receiver setup:
projector: BENQ TK850
connected via HDMI to
receiver: Denon AVR-X1700H
which is connected via HDMI to my desktop PC.
My two other monitors are connected via display port to my PC.
Besides the attached nvidia-bug-report.log.gz file I also generated drm debug logs for the KDE devs, but they are probably not relevant; they are part of the KDE bug report though.
nvidia-bug-report.log.gz (1.4 MB)