Can confirm DXVA native didn't work at all for me. I also had crashes if i remember right. By the way first time the AMD h264 bug was confirmed by a AMD supporter in RX480 DXVA H.264 not working. | Community:
Gives me hope this will be solved.
The corruption with the clip only occurs on seeking.
When user perform seek, the player supposed to locate the key frame first. I’ve verified that the first frame that decoder received is indeed a key frame and the output is fine without corruptions.
However, the issue starts happens in the next frame player sent out – the reference frame. While the bitstream is correct, the picture parameter sent by the player is not correct. You can reference the following dxva2 specification provided by Microsoft:
https://msdn.microsoft.com/en-us/library/windows/desktop/cc307941(v=vs.85).aspx
The picture parameter provided for the second frame shows 4 frames in reference list:
However, there should only be one because this frame is right after the I-frame (key frame), analyzer shows this as well:
This triggers the driver code that when it detects a frame is outside the reference list, it will mark this frame as an error frame and trying to conceal this error by copying from the latest frame in reference frame buffer. This error propagates and user will see some image flipping and corruptions
Why this issue doesn’t happen with software decoder? In software decode it always keeps all reference frame in memory and will not destroy it, so it will always able to find the reference frame even though it is outside the limit.
------
I'm still following up why it affects RX cards and not earlier gen products.
Gives me hope this will be solved.