Bug 513939

Summary: Enabling HDR causes system freeze
Product: [Plasma] kwin Reporter: dejanribnikar
Component: colour-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dejanribnikar, kde, nate, nicolas.fella
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dejanribnikar 2025-12-29 07:22:29 UTC
Fedora 43, Nvidia 3080Ti, i7-11700K, 32GB RAM

Switching to HDR freezes up the whole system. If something is playing in the background, the sound can still be heard, but mouse and keyboard are not responding, and one of 2 monitors turns black. Automatic reverting of changes after 20s does not work, only thing that helps is pressing the reset button.

Log:
dekky@2001-14bb-114-ac0e-c2c5-355e-e784-102:~$ journalctl --follow --user --unit=plasma-plasmashell
Dec 29 09:08:27 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 09:08:27 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 09:08:28 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.battery/" should be QList("ui/main.qml")
Dec 29 09:08:28 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.battery/" should be QList("ui/main.qml")
Dec 29 09:08:28 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 09:08:28 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
Dec 29 09:08:38 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 09:08:38 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: QGridLayoutEngine::addItem: Can't add Body_QMLTYPE_575(0x562ad2f7d6b0, id="bodyLabel", parent=0x562adbeadb40, geometry=0,0 631.891x18) at cell (1, 0) because it's already taken by Summary_QMLTYPE_598(0x562ada9ad4f0, id="summary", parent=0x562adbeadb40, geometry=0,0 41.9531x21)
Dec 29 09:08:39 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 09:17:58 2001-14bb-114-ac0e-c2c5-355e-e784-102.rev.dnainternet.fi plasmashell[2017]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Comment 1 dejanribnikar 2025-12-29 10:09:08 UTC
I have so far reinstalled nvidia drivers, plasma-worspace and powerdevil, and cleared plasma cache. System still freezes when enabling HDR.
After reboot, output looks like this:

dekky@dekky-pc:~$ journalctl --follow --user --unit=plasma-plasmashell
Dec 29 12:04:19 dekky-pc plasmashell[2005]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 12:04:19 dekky-pc plasmashell[2005]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 12:04:19 dekky-pc plasmashell[2005]: Connection to Wayland server timed out.
Dec 29 12:04:19 dekky-pc plasmashell[2005]: QObject::connect(QObject, ConfigMonitor::Private): invalid nullptr parameter
Dec 29 12:04:21 dekky-pc plasmashell[2005]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 12:04:21 dekky-pc plasmashell[2005]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 12:04:21 dekky-pc plasmashell[2005]: QWaylandGLContext: Failed to create the decorations EGLContext. Decorations will not be drawn.
Dec 29 12:04:21 dekky-pc plasmashell[2005]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.battery/" should be QList("ui/main.qml")
Dec 29 12:04:21 dekky-pc plasmashell[2005]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.battery/" should be QList("ui/main.qml")
Dec 29 12:04:21 dekky-pc plasmashell[2005]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")