https://bugs.kde.org/show_bug.cgi?id=494157

            Bug ID: 494157
           Summary: Switching to HDR with Kscree.doctor does not work
                    (regression)
    Classification: Plasma
           Product: KScreen
           Version: 6.1.5
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kscreen-doctor
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

I was using kscreen-doctor to enable and disable HDR of my monitor via a
script.
If it is disabled i send:

kscreen-doctor output.1.hdr.enable

Following output is shown:

screen.doctor: setop exec returned KScreen::Config( 
KScreen::Output(1, "DP-1", connected enabled priority 1, pos: QPoint(0,0), res:
QSize(3440, 1440), modeId: "1", scale: 1, clone: no, rotation:
KScreen::Output::None, followPreferredMode: false) )

if it is already enabled i send:

kscreen-doctor output.1.hdr.disable

Following output is shown:

screen.doctor: setop exec returned KScreen::Config( 
KScreen::Output(1, "DP-1", connected enabled priority 1, pos: QPoint(0,0), res:
QSize(3440, 1440), modeId: "1", scale: 1, clone: no, rotation:
KScreen::Output::None, followPreferredMode: false) )

Monitor: Alienware 3423AWDF
I am using a plasma wayland session.

STEPS TO REPRODUCE
1.  Use kscreen doctor to enable hdr
2.  See the screen flicker shortly and change to HDR mode
3.  Check if hdr is enabled after that in systemsettings (it should not) and if
it does work (it should not).
4.  Enable, disable, enable HDR again even leads to a completely washed out
screen.

OBSERVED RESULT

The monitor does flicker shortly and gets set to HDR mode but it is not working
correctly.
The HDR setting for the display in system settings does not change.

EXPECTED RESULT

The monitor goes black  (a modeset ?)and comes back switching to HDR ( like it
happens when you change the HDR setting in the system settings) and HDR works
as expected.
The HDR settings shows enabled in system settings.

Switching HDR on/off via systemsettings instead of kscreen-doctor  works
absolutely flawless.
Sadly doing it via a keyboard shortcut that way is not possible.

In the past kscreen-doctor was causing the same behaviour as using the
system-settings page for the display and worked fine.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.1-273-tkg-eevdf (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to