Skip to contentSkip to conversation

HEVC VDPAU decoding broken on RX 460 with UVD Firmware v1.130

Bug 104745 [email protected] 1 participant 6 messages Jan 23, 2018 – Jan 24, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104745

Bug ID: 104745
Summary: HEVC VDPAU decoding broken on RX 460 with UVD Firmware
v1.130
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 136911
--> https://bugs.freedesktop.org/attachment.cgi?id=136911&action=edit
Reference image of the video glitch.

When using the new version of the Polaris11 UVD firmware uploaded on 1-19-18 in this commit:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=2a713be25a44bd6cec90d8affc54b246a2ca9c7b
on my AMD RX 460 4 GB graphics card, VDPAU decoding for HEVC/h.265 video is broken. The video will frequently glitch out (every 5-10 seconds) in mpv where the same files were playing properly the previous day with the previous firmware version.

Quoted 1 line

From a small reference check, other video formats do not seem to be affected (I

could check h264 with the files I had on hand). I have attached a sample of one of the affected frames and a near-identical (couldn't find the exact same frame in the video) of a copy with software decoding that is functional. I am using Arch Linux (x86-64) with kernel version 4.14.14.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104745

--- Comment #1 from [email protected] ---
Created attachment 136912
--> https://bugs.freedesktop.org/attachment.cgi?id=136912&action=edit
Software decoded version of the same timestamp in the file.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104745

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

                 OS|All                         |Linux (All)
            Version|XOrg git                    |unspecified
           Hardware|Other                       |x86-64 (AMD64)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104745

--- Comment #3 from Alex Deucher <[email protected]> --- This newer firmware exposes a bug in mesa which was fixed in December. You need a newer version of mesa that contains this patch:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=2ec48039b8aa1f6a5e16f3f12483b88981d0f5d3

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104745

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from [email protected] ---
Tried compiling it myself with that patch and it fixes the issue. I've opened a bug on the Arch Linux tracker to get them to apply the patch there, and thanks for the help! :)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=104745

--- Comment #5 from Emil Velikov <[email protected]> --- Nicely spotted guys. I'll pick Boyuan's VCN/UVD fixed for the next 17.3 release.

Feel free to forward future requests to the mesa-stable@ mailing list. I won't be able to catch everything that's said on BZ ;-)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel