Enabling HDR crashes desktop after wakeup

I recently got a new monitor with HDR capability. I can enable HDR in KDE’s display settings and it works fine, but if the display goes to sleep, I can’t get it to come back unless I reboot. When I do, the display configuration gets reset.

I’m not really sure what to try, as I’ve found nothing after several searches along the lines of “kde hdr desktop lockup” and variations of this, as well as just searching “hdr” on this forum. I have tried locking the desktop and letting the display go to sleep, then trying to wake it, with the display configured with:

  • high framerate and HDR (locks up)
  • high framerate and SDR (works fine)
  • normal framerate and HDR (locks up)

In every case that the desktop locks up, I’m still at least able to SSH in and run commands, so only KDE is locking up, not the computer.

System:
Kernel: 6.9.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=72ffa661-0906-45e7-b6ea-c1f101cbfd07 rw rootflags=subvol=@
quiet rd.luks.uuid=abeed2a4-928f-4b19-8772-780f1e6b54f8
rd.luks.uuid=207e7fc1-ccc1-49cf-a62a-e00d5b710422
resume=/dev/mapper/luks-207e7fc1-ccc1-49cf-a62a-e00d5b710422 loglevel=3
ibt=off nvidia-drm.modeset=1 intel_iommu=on iommu=pt
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.2.0
wm: kwin_wayland with: krunner vt: 2 dm: SDDM Distro: Garuda
base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: ROG STRIX B660-A GAMING WIFI D4 v: Rev 1.xx
serial: <superuser required> part-nu: SKU uuid: <superuser required>
UEFI: American Megatrends v: 2015 date: 10/19/2022
CPU:
Info: model: 12th Gen Intel Core i9-12900K bits: 64 type: MST AMCP
arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151) stepping: 2
microcode: 0x35
Topology: cpus: 1x cores: 16 mt: 8 tpc: 2 st: 8 threads: 24 smt: enabled
cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32 KiB, 8x64 KiB
L2: 14 MiB desc: 8x1.2 MiB, 2x2 MiB L3: 30 MiB desc: 1x30 MiB
Speed (MHz): avg: 800 high: 801 min/max: 800/5100:5200:3900 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 801 12: 800 13: 800 14: 800
15: 800 16: 799 17: 800 18: 800 19: 800 20: 800 21: 800 22: 800 23: 800
24: 800 bogomips: 152985
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: ASUSTeK
driver: nvidia v: 550.78 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-04; EOL~2026-12-xx) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: none off: DP-2,DP-3,HDMI-A-1 empty: DP-1,HDMI-A-2
bus-ID: 01:00.0 chip-ID: 10de:2504 class-ID: 0300
Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-11.4.2:14
chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia d-rect: 5760x1080
display-ID: 0
Monitor-1: DP-2 pos: right res: 1920x1080 size: N/A modes: N/A
Monitor-2: DP-3 pos: primary,left res: 1920x1080 size: N/A modes: N/A
Monitor-3: HDMI-A-1 pos: center res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
x11: drv: zink inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.78
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
memory: 11.72 GiB display-ID: :0.0
API: Vulkan v: 1.3.279 layers: 14 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 3060 driver: nvidia v: 550.78 device-ID: 10de:2504
surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Alder Lake-S HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:7ad0 class-ID: 0403
Device-2: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
Device-3: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-11.4.2:14
chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
Device-4: C-Media Blue Snowball driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-11.4.3:15
chip-ID: 0d8c:0005 class-ID: 0300 serial: <filter>
Device-5: ASUSTek USB Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:6
chip-ID: 0b05:1a16 class-ID: 0300
API: ALSA v: k6.9.1-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 1.0.6 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 05:00.0
chip-ID: 8086:15f3 class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: br-6090d65a7b42 state: up speed: 10000 Mbps duplex: unknown
mac: <filter>
IF-ID-2: br-b4cee2a485be state: up speed: 10000 Mbps duplex: unknown
mac: <filter>
IF-ID-3: docker0 state: down mac: <filter>
IF-ID-4: veth6574abb state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-5: veth717513a state: up speed: 10000 Mbps duplex: full
mac: <filter>
Info: services: NetworkManager, smbd, sshd, systemd-timesyncd
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:9 chip-ID: 8087:0026
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: no address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
Local Storage: total: 6.41 TiB used: 2.97 TiB (46.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SKC3000D2048G
size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK31.6 temp: 56.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD40EZAZ-19SF3B0 size: 3.64 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
fw-rev: 0A80 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD10JMVW-11AJGS3 size: 931.48 GiB block-size: physical: 512 B
logical: 512 B type: USB rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
tech: HDD rpm: 5400 serial: <filter> fw-rev: 1072 scheme: GPT
Partition:
ID-1: / raw-size: 400 GiB size: 400 GiB (100.00%) used: 279.54 GiB (69.9%)
fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-abeed2a4-928f-4b19-8772-780f1e6b54f8
ID-2: /boot/efi raw-size: 768 MiB size: 766.5 MiB (99.80%)
used: 30.9 MiB (4.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 400 GiB size: 400 GiB (100.00%)
used: 279.54 GiB (69.9%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-abeed2a4-928f-4b19-8772-780f1e6b54f8
ID-4: /var/log raw-size: 400 GiB size: 400 GiB (100.00%)
used: 279.54 GiB (69.9%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-abeed2a4-928f-4b19-8772-780f1e6b54f8
ID-5: /var/tmp raw-size: 400 GiB size: 400 GiB (100.00%)
used: 279.54 GiB (69.9%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-abeed2a4-928f-4b19-8772-780f1e6b54f8
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 50 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/dm-0 maj-min: 254:0
mapped: luks-207e7fc1-ccc1-49cf-a62a-e00d5b710422
ID-2: swap-2 type: zram size: 62.54 GiB used: 444.8 MiB (0.7%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 24
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 29.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 64 GiB available: 62.54 GiB used: 12.12 GiB (19.4%)
Processes: 642 Power: uptime: 11m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 24.95 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: 2539 pm: pacman pkgs: 2531 libs: 616 tools: octopi,paru
pm: flatpak pkgs: 8 Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi
default: fish v: 3.7.1 running-in: konsole inxi: 3.3.34
Garuda (2.6.26-1):
System install date:     2023-11-14
Last full system update: 2024-05-21
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:            home-jf-rffmpeg-cache.mount var-rffmpeg-chroot-cache.mount

HDR support is still pretty experimental in KDE 6.
I’ve checked around bugs.kde.org for a similar report to yours, but I am not sure I could quite find the exact reproduction steps you have listed. The closest ones I could find was 485403 – Enabling HDR freezes system

Take more of a look at bug reports there and see if there was anything I overlooked while looking for “HDR” in the keywords.
If nothing really matches up to your reproduction steps to your specific bug around HDR, make a new bug report. Be as detailed as you can, and include relevant logs. Be sure to also list the connection type, as I’ve seen issues listed to Nvidia HDMI 2.1 HDR 483697 – Cannot enable HDR when display is on Game Mode (Nvidia over HDMI 2.1)

2 Likes

Thank you for responding. I just checked the KDE Bugs list for any bugs of any status matching “HDR”; nothing matches exactly what I’m experiencing, but 485403 (which you linked) is the closest. 483999 also seems tangentially related, which was deemed an upstream bug with NVIDIA, in which case all I can really do is wait for 555 and see if that fixes it.

EDIT: No sooner do I post this that 555 becomes available on chaotic-aur/nvidia-beta-dkms. I installed it, rebooted, tried it again, and the display comes back from sleep now. It takes it a second to properly load in, but the actual problem seems to have been resolved.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.