Bug 108852

Summary: totem MPEG4 video playback color screw-up
Product: Mesa Reporter: Richard B. Kreckel <kreckel>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTOURBUG QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: 18.2   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Totem screenshot (of the 20th Century Fox intro)

Description Richard B. Kreckel 2018-11-23 21:26:57 UTC
Created attachment 142601 [details]
Totem screenshot (of the 20th Century Fox intro)

Totem cannot correctly play MPEG videos with Mesa on a range of AMD GCN cards. The videos are tainted reddish (see screenshot).

I'm using Mesa 18.2.5 (previously 18.1.9, same problem) from Debian/testing with Xorg 1.20.3 on a Radeon RX 560 (POLARIS11, DRM 3.26.0, 4.18.0-2-amd64, LLVM 7.0.1) device, with up-to-date firmware and Linux kernel 4.18.10 (open-source AMDGPU driver).

I've reported this as Totem bug https://gitlab.gnome.org/GNOME/totem/issues/241#note_370403 and am reporting it here because the Totem maintainer is convinced that it's a Mesa problem.
Comment 1 Richard B. Kreckel 2018-11-23 21:55:10 UTC
There's a sample file attached to the Totem issue:
https://gitlab.gnome.org/GNOME/totem/issues/241#note_350334
Comment 2 network723 2018-11-24 10:17:47 UTC
Known issue, see bugs #104597 #106490
Comment 3 network723 2018-11-24 10:18:47 UTC
(In reply to network723 from comment #2)
> Known issue, see bugs #104597 #106490

bug#104597 bug#106490
Comment 4 Michel Dänzer 2018-11-25 19:53:10 UTC
Looks like it's a clutter-gst bug, not handling 10 bit per component RGB formats correctly.
Comment 5 Richard B. Kreckel 2018-11-25 20:28:30 UTC
(In reply to Michel Dänzer from comment #4)
https://gitlab.gnome.org/GNOME/clutter-gst/issues/4

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.