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

            Bug ID: 508615
           Summary: Weird color behavior when playing HDR videos using MPV
                    dmabuf-wayland
    Classification: Plasma
           Product: kwin
      Version First 6.4.4
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: colour-management
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 184357
  --> https://bugs.kde.org/attachment.cgi?id=184357&action=edit
WAYLAND_DEBUG=1 log for mpv

SUMMARY
When using MPV to playback HDR videos using dmabuf-wayland, some videos would
become very gray-ish, while others behaves basically the same as gpu-next.

STEPS TO REPRODUCE
1. Download demo video from here:
https://4kmedia.org/sony-camping-in-nature-4k-demo/
2. use MPV code from here to playback(this branch adds chroma_location support
which is accidentally omitted from wp-color-representation-v1 implementation
PR) https://github.com/Headcrabed/mpv/tree/chroma_loc
3. compare playback result between "vo=dmabuf-wayland" and "vo=gpu-next
target-colorspace-hint=yes target-colorspace-hint-mode=source"

OBSERVED RESULT
dmabuf-wayland looks extremely gray than gpu-next, but from log we can find
that color range and chroma location are set correctly.

EXPECTED RESULT
both vo would have very similar color.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.10-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
This only happens in some HDR videos, others look great. Maybe they lack some
extra metadata and gpu-next has different method to deal with this?

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

Reply via email to