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

            Bug ID: 518051
           Summary: Direct scanout HDR looks bad
    Classification: Plasma
           Product: kwin
      Version First 6.6.3
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: colour-management
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Direct scanout makes HDR colors bad and/or washed out.

STEPS TO REPRODUCE
1. Get ready an HDR sample video (I am using #4 from here
https://kodi.wiki/view/Samples#4K_(UltraHD)_&_HDR_Formats)
2. Open in mpv, `mpv --vo=gpu-next --gpu-api=vulkan --gpu-context=waylandvk
Downloads/\(HDR\ HEVC\ 10-bit\ BT.2020\ 24fps\)\ Exodus\ Sample.mp4`
3. Double click inside mpv to enable fullscreen.

Also observed in chromium:
1. Enable Experimental Web Platform features
 - chrome://flags/#enable-experimental-web-platform-features
2. Open a Youtube HDR video (https://www.youtube.com/watch?v=CJSc6VlbqnM)
3. Go fullscreen
4. Observe in bright areas

OBSERVED RESULT
In the reproduction example with mpv, colors turn washed out / grey when going
fullscreen.
In the reproduction example with chromium, colors in bright areas seem to clip,
when going fullscreen.

EXPECTED RESULT
Colors should not be affected by turning fullscreen.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.19.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 32 GiB of RAM (30.5 GiB usable)
Graphics Processor 1: AMD Radeon RX 6950 XT
Graphics Processor 2: AMD Ryzen 7 9800X3D 8-Core Processor


ADDITIONAL INFORMATION
By setting `KWIN_DRM_NO_DIRECT_SCANOUT=1`, the issue is not present in any
application.

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

Reply via email to