Bug 494424 - No HDR settings in Display Configuration anymore
Summary: No HDR settings in Display Configuration anymore
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: regression
: 494454 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-10 12:40 UTC by jmanninen161
Modified: 2024-10-15 13:42 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jmanninen161 2024-10-10 12:40:53 UTC
SUMMARY
After updating Plasma to 6.2, the hdr options from display configuration page in system settings is gone. It worked fine on 6.1 and even on 6.2 release candidates from Arch repos.

STEPS TO REPRODUCE
1. Open Display Configuration
2. 
3. 

OBSERVED RESULT
No HDR settings

EXPECTED RESULT
To be able to enable and control HDR

Operating System: CachyOS Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.12.0-rc1-2-cachyos-rc-lto (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 31,0 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B650M DS3H

ADDITIONAL INFORMATION
kscreen-console output:

START: Requesting Config
Received config. Took 5 milliseconds
Screen:
maxSize: QSize(64000, 64000)
minSize: QSize(0, 0)
currentSize: QSize(2560, 1440)

-----------------------------------------------------

Id:  1
Name:  "DP-1"
Type:  "DisplayPort"
Connected:  true
Enabled:  true
Priority:  1
Rotation:  KScreen::Output::None
Pos:  QPoint(0,0)
MMSize:  QSize(597, 336)
FollowPreferredMode:  false
Size:  QSize(2560, 1440)
Scale:  1
Clones:  None
Mode:  "2"
Preferred Mode:  "1"
Preferred modes:  QList("1")
Modes:
"1"    "2560x1440@60"   QSize(2560, 1440)   59.951
"10"    "1920x1080@50"   QSize(1920, 1080)   50
"11"    "1280x1440@60"   QSize(1280, 1440)   59.913
"12"    "1280x1024@75"   QSize(1280, 1024)   75.025
"13"    "1280x1024@60"   QSize(1280, 1024)   60.02
"14"    "1280x720@60"   QSize(1280, 720)   59.943
"15"    "1280x720@50"   QSize(1280, 720)   50
"16"    "1024x768@120"   QSize(1024, 768)   119.989
"17"    "1024x768@100"   QSize(1024, 768)   99.972
"18"    "1024x768@75"   QSize(1024, 768)   75.029
"19"    "1024x768@70"   QSize(1024, 768)   70.069
"2"    "2560x1440@180"   QSize(2560, 1440)   180.002
"20"    "1024x768@60"   QSize(1024, 768)   60.004
"21"    "800x600@120"   QSize(800, 600)   119.972
"22"    "800x600@100"   QSize(800, 600)   99.662
"23"    "800x600@75"   QSize(800, 600)   75
"24"    "800x600@72"   QSize(800, 600)   72.188
"25"    "800x600@60"   QSize(800, 600)   60.317
"26"    "800x600@56"   QSize(800, 600)   56.25
"27"    "720x576@50"   QSize(720, 576)   50
"28"    "720x480@60"   QSize(720, 480)   59.94
"29"    "640x480@120"   QSize(640, 480)   119.518
"3"    "2560x1440@170"   QSize(2560, 1440)   170.002
"30"    "640x480@100"   QSize(640, 480)   99.769
"31"    "640x480@75"   QSize(640, 480)   75
"32"    "640x480@73"   QSize(640, 480)   72.809
"33"    "640x480@60"   QSize(640, 480)   59.94
"34"    "640x480@60"   QSize(640, 480)   59.929
"4"    "2560x1440@165"   QSize(2560, 1440)   165
"5"    "2560x1440@144"   QSize(2560, 1440)   143.912
"6"    "2560x1440@120"   QSize(2560, 1440)   119.998
"7"    "1920x1080@120"   QSize(1920, 1080)   119.879
"8"    "1920x1080@60"   QSize(1920, 1080)   60
"9"    "1920x1080@60"   QSize(1920, 1080)   59.939
EDID Info:
Device ID:  "xrandr-Q27G3XMN-1APPCJA000239"
Name:  "Q27G3XMN"
Vendor:  ""
Serial:  "1APPCJA000239"
EISA ID:  ""
Hash:  "5a8aff22e105a8ce9ded2b03460b5d50"
Width:  60
Height:  34
Gamma:  2.2
Red:  QQuaternion(scalar:1, vector:(0.677734, 0.3125, 0))
Green:  QQuaternion(scalar:1, vector:(0.248047, 0.688477, 0))
Blue:  QQuaternion(scalar:1, vector:(0.149414, 0.0576172, 0))
White:  QQuaternion(scalar:1, vector:(0.313477, 0.329102, 0))
Comment 1 jmanninen161 2024-10-10 17:55:44 UTC
kscreen-doctor output.1.hdr.enable works and enables hdr, but hdr options still won't appear on the display configuration page.
Comment 2 jmanninen161 2024-10-10 17:58:15 UTC
Here is the terminal output, when I open systemsettings via terminal, if they're of any use.

qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth":
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:358:9
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth":
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:358:9
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight":
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:361:9
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value":
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:409:13
qrc:/qt/qml/org/kde/kirigami/dialogs/PromptDialog.qml:135: TypeError: Cannot read property 'Success' of undefined
qrc:/qt/qml/org/kde/kirigami/dialogs/PromptDialog.qml:97: TypeError: Cannot read property 'None' of undefined
qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined] to QString
qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to QString
qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Cannot read property 'length' of undefined
Comment 3 Nate Graham 2024-10-10 20:09:16 UTC
*** Bug 494454 has been marked as a duplicate of this bug. ***
Comment 4 jmanninen161 2024-10-11 17:20:29 UTC
The HDR settings appeared in Display Configuration after passing KWIN_DRM_ALLOW_NVIDIA_COLORSPACE=1 environment variable.
Comment 5 Ternomashi 2024-10-12 11:58:37 UTC
It seems that this change was intentional, as a temporary workaround for this bug: https://bugs.kde.org/show_bug.cgi?id=488941
Comment 6 laichiaheng 2024-10-12 12:56:08 UTC
The workaround is way more worse than the origin one.
Comment 7 laichiaheng 2024-10-12 13:03:35 UTC
(In reply to jmanninen161 from comment #4)
> The HDR settings appeared in Display Configuration after passing
> KWIN_DRM_ALLOW_NVIDIA_COLORSPACE=1 environment variable.

Where do you get this environment variable?
Comment 8 laichiaheng 2024-10-12 13:11:35 UTC
(In reply to Ternomashi from comment #5)
> It seems that this change was intentional, as a temporary workaround for
> this bug: https://bugs.kde.org/show_bug.cgi?id=488941

Is there a way to enable HDR for monitor by default? Like setting an environment variable.
Comment 9 laichiaheng 2024-10-15 02:34:01 UTC
(In reply to Ternomashi from comment #5)
> It seems that this change was intentional, as a temporary workaround for
> this bug: https://bugs.kde.org/show_bug.cgi?id=488941

Maybe that guy should disable HDR, instead of forcing others to enable HDR manually every time.