Bug 510550

Summary: The buffer has a YCbCr format, but color representation is identity!
Product: [Plasma] kwin Reporter: a <q1q2q3>
Component: colour-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.4.91   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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