Bug 510550 - The buffer has a YCbCr format, but color representation is identity!
Summary: The buffer has a YCbCr format, but color representation is identity!
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: colour-management (other bugs)
Version First Reported In: 6.4.91
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-13 02:02 UTC by a
Modified: 2025-10-19 11:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description a 2025-10-13 02:02:22 UTC
SUMMARY
got a error when playing some of hdr video with mpv dmabuf-wayland.

STEPS TO REPRODUCE
1. download http://sylvan.apple.com/Aerials/2x/Videos/comp_GMT110_112NC_364D_1054_AURORA_ANTARTICA__COMP_FINAL_v34_PS_HDR_20181107_HDR_4K_HEVC.mov
2. play with `mpv comp_GMT110_112NC_364D_1054_AURORA_ANTARTICA__COMP_FINAL_v34_PS_HDR_20181107_HDR_4K_HEVC.mov --vo=dmabuf-wayland --no-config`

OBSERVED RESULT
error with "The buffer has a YCbCr format, but color representation is identity!"

EXPECTED RESULT
able to play

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.4.91
KDE Frameworks Version: 6.19.0
Qt Version: 6.10

ADDITIONAL INFORMATION
Comment 1 a 2025-10-13 02:04:36 UTC
also observed on https://bugs.kde.org/show_bug.cgi?id=503080#c9 . there is a patch for mpv avaliable. but have conflict with mpv master
Comment 2 Zamundaaa 2025-10-13 12:37:26 UTC
This is a bug in mpv. The protocol error is there to catch such bugs in applications.
Comment 3 a 2025-10-19 10:36:28 UTC
(In reply to Zamundaaa from comment #2)
> This is a bug in mpv. The protocol error is there to catch such bugs in
> applications.

i tried to applied your patch. but it wont able to apply anymore. can you upstream the patch to mpv?
Comment 4 Zamundaaa 2025-10-19 11:52:28 UTC
The patch is not related to this