FS#57199 - [mesa-vdpau] [linux-firmware] AMD polaris firmware update breaks VDPAU without Mesa patch

Attached to Project: Arch Linux
Opened by Jacob S (Gourdcaptain) - Tuesday, 23 January 2018, 04:33 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 27 January 2018, 06:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Arch Linux recently shipped linux-firmware 20180119.2a713be-1. This includes UVD Firmware v1.130 for Polaris AMD GPUs (such as my AMD Radeon RX 460) which breaks VDPAU with h265 and some other codecs on older versions of Mesa (causing heavy artifacting and glitching during playback) without a commit that is not in the 17.3.2 in the repos or in the 17.3.3 in testing but could be patched in.

Bug Report about this: https://bugs.freedesktop.org/show_bug.cgi?id=104745
Patch needed: https://cgit.freedesktop.org/mesa/mesa/commit/?id=2ec48039b8aa1f6a5e16f3f12483b88981d0f5d3

Additional info:
* mesa-vdpau 17.3.2-2, 17.3.3-1
* linux-firmware 20180119.2a713be-1 (linux-firmware-20171206.fdee922-1 did not interact with this bug)


Steps to reproduce:
Open MPV with a H265 video file and VDPAU enabled for hardware decoding on an AMD Polaris GPU. Watch the video and heavy video corruption commences.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Saturday, 27 January 2018, 06:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  mesa-17.3.3-2
Comment by Jacob S (Gourdcaptain) - Tuesday, 23 January 2018, 04:53 GMT
Have tested the patch on a copy of 17.3.3 I compiled myself and can confirm it fixes the problem.
Comment by Jacob S (Gourdcaptain) - Wednesday, 24 January 2018, 21:01 GMT
According to the bug I filed on freedesktop, the patch is getting picked up for future 17.3.X point releases, for the record.
Comment by Laurent Carlier (lordheavy) - Saturday, 27 January 2018, 05:52 GMT
Please test mesa-17.3.3-2 in testing repo
Comment by Jacob S (Gourdcaptain) - Saturday, 27 January 2018, 05:59 GMT
mesa-17.3.3-2 packages have functioning VDPAU hardware decoding with H265 on the RX 460. Thanks.

Loading...