[Radeon Vega Mobile] vp9 hw video acceleration artifacts with playback speed 2
Categories
(Core :: Audio/Video: Playback, defect, P5)
Tracking
()
People
(Reporter: rogerttruong, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.83 MB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Steps to reproduce:
Archlinux. X11. Ryzen 5 2500U with Radeon Vega Mobile. mesa 20.1.8 with amdgpu
x11 gpu video decoding is enabled with preferences:
gfx.webrender.all, true
media.ffmpeg.vaapi.enabled, true
media.ffmpeg.dmabuf-textures.enabled, true
media.ffvpx.enabled, false
env var MOZ_X11_EGL=1
All of this was tested on youtube videos at playback speed 2. The issues go away when speed is turned down to 1.
Actual results:
-
VP9 acceleration in particular causes lots of little issues playback not seen in H264 acceleration. When there is movement the textures create lots of grainy artifacts as seen in the screenshot1.
-
When PIP player is used, there are green flashes every 15~30 seconds, which are hard to capture. However, pausing the and closing the PIP player causes the same issue, flashing a green frame (screenshot2).
-
When 60fps video is being played and the computer is subjected to a spike in CPU load (such as opening a new browser window), the video falls back to 360p vp9. If 1080p60 is forced in youtube settings, then the playback errors out with playback id (screenshot3).
Expected results:
Switching to either software decoding or H264 using the h264ify extension results in smooth playback. From the limited testing I have done setting playback speed at 1, I have not encountered any errors. I'm also unsure if the issues are limited to the linux branch, as I don't have a windows machine that has hardware support for vp9.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
(In reply to roger from comment #0)
- When PIP player is used, there are green flashes every 15~30 seconds, which are hard to capture. However, pausing the and closing the PIP player causes the same issue, flashing a green frame (screenshot2).
I also noticed that resizing the PiP window causes green flashes very often like after each frame. Even with speed of 1. Can you confirm? I have basically the same HW and SW.
(In reply to matejm98mthw from comment #1)
(In reply to roger from comment #0)
- When PIP player is used, there are green flashes every 15~30 seconds, which are hard to capture. However, pausing the and closing the PIP player causes the same issue, flashing a green frame (screenshot2).
I also noticed that resizing the PiP window causes green flashes very often like after each frame. Even with speed of 1. Can you confirm? I have basically the same HW and SW.
it seems that i missed that and you are correct. the flashes are happening even at speed 1 and with both vp9 and h264 decoding. im thinking this deserves a separate bug report.
Comment 3•3 years ago
|
||
Unable to reproduce on RX 6600 / mesa-21.3.3. Will try on Intel later.
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Unable to reproduce, please reopen if you see it again.
Thanks.
Description
•