FS#61720 - [chromium] drirc workaround for Mesa 18.0.3 does not apply

Attached to Project: Arch Linux
Opened by janek (jbbr) - Monday, 11 February 2019, 13:06 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 11 February 2019, 20:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
extra/chromium package does include /usr/share/drirc.d/10-chromium.conf which is supposed to disable "allow_rgb10_configs" for Chromium application to fix VAAPI HW decoding for Mesage 18.0.3+ (Upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=106490 )

Unfortunately the tag '<application name="Chromium" executable="chromium">' does not seem to match Chromium and so the workaround is not applied.

Steps to reproduce:
- Enable flags for HW decoding in chromium ("Hardware-accelerated video decode")
- Open H264 stream => Video is broken
- Add /etc/drirc with a broader application match by name:

<driconf>
<device>
<application name="Chromium">
<option name="allow_rgb10_configs" value="false" />
</application>
</device>
</driconf>

- Restart Chromium, open H264 stream => Video is working


Additional info:
* package versions:
- Chromium 72.0.3626.96-3
- mesa 18.3.2-1

This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 11 February 2019, 20:47 GMT
Reason for closing:  Works for me
Additional comments about closing:  The drirc configuration should work with mesa 18.3.3-2 (previous versions, not so much).
Comment by Evangelos Foutras (foutrelis) - Monday, 11 February 2019, 20:40 GMT
You need mesa 18.3.3-2 for it to work; either upgrade if you're using Arch or raise an issue with your distro if using a derivative. [1]

[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/mesa&id=9357e23a0e08325980255fbfbd01b135efe4d4c7

Loading...