| Summary: | Weird color behavior when playing HDR videos using MPV dmabuf-wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Shengyu Qu <wiagn233> |
| Component: | colour-management | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | heri+kde, nate, wiagn233, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.4 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/d0880fe10e92f124ab13cadc97b59657608ee096 | Version Fixed/Implemented In: | 6.4.6 |
| Sentry Crash Report: | |||
| Attachments: |
WAYLAND_DEBUG=1 log for mpv
Screenshots to compare |
||
|
Description
Shengyu Qu
2025-08-22 17:20:03 UTC
Created attachment 184358 [details]
Screenshots to compare
Update: now there's no need to use my custom branch of mpv. It's get merged. To test this just use mpv git master. dmabuf-wayland looks exactly the same as gpu-next here, the issue was probably missing bt1886 support. (In reply to Zamundaaa from comment #3) > dmabuf-wayland looks exactly the same as gpu-next here, the issue was > probably missing bt1886 support. Sorry the sample video link is wrong. That’s SDR version. My problem is about playing back HDR version of that video (PQ EOTF). Download link here: https://drive.google.com/file/d/1LYGc7FQBGfNlBdtonOi8-U8m7zFJ9EI_/view?usp=drivesdk A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8225 Git commit 2e76f8fb4baa48f5f23af152a2042848f889705d by Xaver Hugl. Committed on 10/10/2025 at 12:32. Pushed by zamundaaa into branch 'master'. colorrepresentation: fix color range being ignored Related: bug 503080 M +10 -3 src/backends/drm/drm_pipeline.cpp M +5 -0 src/core/colorspace.cpp M +1 -0 src/wayland/colorrepresentation_v1.cpp https://invent.kde.org/plasma/kwin/-/commit/2e76f8fb4baa48f5f23af152a2042848f889705d Git commit 6f998dab335d73f62020eccc0a1a2ea4be3ee8fe by Xaver Hugl. Committed on 10/10/2025 at 18:10. Pushed by zamundaaa into branch 'Plasma/6.5'. colorrepresentation: fix color range being ignored Related: bug 503080 (cherry picked from commit 2e76f8fb4baa48f5f23af152a2042848f889705d) Co-authored-by: Xaver Hugl <xaver.hugl@kde.org> M +10 -3 src/backends/drm/drm_pipeline.cpp M +5 -0 src/core/colorspace.cpp M +1 -0 src/wayland/colorrepresentation_v1.cpp https://invent.kde.org/plasma/kwin/-/commit/6f998dab335d73f62020eccc0a1a2ea4be3ee8fe Git commit d0880fe10e92f124ab13cadc97b59657608ee096 by Xaver Hugl. Committed on 10/10/2025 at 21:45. Pushed by zamundaaa into branch 'Plasma/6.4'. colorrepresentation: fix color range being ignored Related: bug 503080 (cherry picked from commit 2e76f8fb4baa48f5f23af152a2042848f889705d) M +11 -3 src/backends/drm/drm_pipeline.cpp M +5 -0 src/core/colorspace.cpp M +1 -0 src/wayland/colorrepresentation_v1.cpp https://invent.kde.org/plasma/kwin/-/commit/d0880fe10e92f124ab13cadc97b59657608ee096 |