Adding a comment to indicate that this is a problem with the 10bpc
support which is enabled in Radeon graphics. I am unsure if it is
enabled in Intel's drivers, so that would explain why it does not occur
there. Either VA-API is outputting wrong, the client library is
outputting wrong, or all the player applications are wrong. Something
appears to be matching the buffers to each other without a conversion,
simply because both RGBA32 and RGBA10-10-10-2 have the same number of
bytes per pixel, but clearly completely different structure.

A workaround is to add the following to the //driconf/device section of
/etc/drirc:

<application name="Default">
    <option name="allow_rgb10_configs" value="false"/>
</application>

Clearly, this workaround should not be the only way, since someone in
the processing chain clearly wants 10bpc support, and some applications
can benefit from it, somehow.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1767312

Title:
  [radeon] Totem with gstreamer1.0-vaapi and Xorg: wrong color on H264
  videos

Status in gstreamer-vaapi package in Ubuntu:
  Confirmed
Status in mesa package in Ubuntu:
  Confirmed

Bug description:
  Ii've found a bug on Ubuntu 18.04 (other distros, as fedora 27, debian 
stable, debian testing) aren't affected).
  When i try to reproduce a video that use h264 codec, i've wrong colors.
  I've a notebook with APU AMD A10 8700p, and integrated gpu radeon r6

  WORKAROUND:
  sudo apt remove gstreamer1.0-vaapi
  or
  sudo apt remove mesa-va-drivers

  See also bug 1720820.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1767312/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to