Video playback with hardware acceleration results in repeated and corrupted frames randomly - Steam Deck
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: ShapeShifter499, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
46.67 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0
Steps to reproduce:
Video playback with hardware acceleration results in repeated and corrupted frames randomly.
Actual results:
After a seemingly random amount of time, notice the video starts repeating some frames with severe corruption before recovering and playing normally again. Attached video showing issue.
Expected results:
Video should not skip or repeat frames, video should not appear corrupted at any time unless purposefully edited to do so.
Reporter | ||
Comment 1•4 months ago
|
||
Reporter | ||
Comment 2•4 months ago
|
||
ADDITIONAL INFORMATION
==System==
Steam Deck LCD
BIOS F7A0131
AMD APU 0405
16 GB Ram
Arch Linux (not SteamOS) Kernel 6.13.8-arch1-1
Gnome 48
Wayland
ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.0.3-arch1.1 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 19.1.7, DRM 3.61, 6.13.8-arch1-1)
Reporter | ||
Comment 3•4 months ago
|
||
Disabling either VP9 codec support or disabling hardware acceleration stops the issue from occurring.
I can not reproduce this on Google Chrome. The "Stats for nerds" option on Youtube shows that both Firefox and Google Chrome are pulling "vp09.00.51.08.01.01.01.01.00 (313) / opus (251)"
Both show a tiny amount of dropped frames, but only Firefox has the corruption and repeated frames sometimes.
Reporter | ||
Comment 4•4 months ago
|
||
I have also collected a Performance profile during one of the cases I saw.
https://share.firefox.dev/3FYaQEB
Comment 5•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Comment 6•4 months ago
|
||
I got the 137.0.1 Firefox update, the issue still seems to occur though the codec used seems to have changed. Youtube "stats for nerds" page now shows "av01.0.12M.08 (401) / opus (251)". It doesn't appear as severe as with VP9.
Took a new Performance profile dump with the update here: https://share.firefox.dev/44lchH4
Reporter | ||
Comment 7•4 months ago
|
||
https://share.firefox.dev/4lju2wt -- one more dump recorded with repeated corrupted frames.
Comment 8•4 months ago
|
||
I'm not seeing corrupted frames in the screenshots in the profiles. Are you able to capture a screenshot showing the kind of corruption, please?
Reporter | ||
Comment 9•4 months ago
|
||
(In reply to Karl Tomlinson (:karlt) from comment #8)
I'm not seeing corrupted frames in the screenshots in the profiles. Are you able to capture a screenshot showing the kind of corruption, please?
The video used during both of these dumps were from this URL: https://www.youtube.com/watch?v=fwq5sT-zLLk
https://share.firefox.dev/4lju2wt - 2m40.50s and on to the end you can see where the video screenshots show the same scene glitches and repeats itself.
https://share.firefox.dev/44lchH4 - 24.85s to 24.96s the video glitches and repeats before recovering normal video playback.
I don't see where my original video attached was. But I posted a recorded video demonstrating the whole issue at reddit: https://www.reddit.com/r/firefox/comments/1jv3m3m/firefox_on_linux_sometimes_videoes_glitch_and/
Reporter | ||
Comment 10•4 months ago
|
||
I'm sorry, the video used in that dump was
https://www.youtube.com/watch?v=EBsIag0TJKk
Comment 11•4 months ago
|
||
Thanks. I see what you mean with a small set of frames being played repeatedly, which gives an effect as if the video is getting stuck repeatedly jumping back and forward by small steps over the same frames.
Comment 12•4 months ago
|
||
I have the same issue on the same'ish hardware (Steam Deck - OLED version) but with stock SteamOS installed. Also observed when playing on external screen (haven't tried on built-in screen).
Video showing it : https://immich.h.thelazy.net/share/zNRwxywK6ys5bg6d7ZInPTjvow2V6wRIPF3zbqkm2YoF1GlpLoClZA1nd8I0eHWdBi4
Comment 13•4 months ago
|
||
I'm having the same issue. Steam Deck 512 LCD, Firefox 137.0.2 (64-bit) (Mozilla Flatpak 1.0). Stock SteamOS. Using external monitor. Everything else works great.
Updated•4 months ago
|
Reporter | ||
Comment 14•2 months ago
|
||
Any updates on this?
I'm currently on version 139.0.1 and can still reproduce this bug.
Based on some comments here and some from the original reddit post I made: https://www.reddit.com/r/firefox/comments/1jv3m3m/firefox_on_linux_sometimes_videoes_glitch_and/ It does appear it could be an issue with dual displays or external monitors maybe?
Reporter | ||
Comment 15•2 months ago
|
||
I'm sorry, I noticed at least one other person who said it occurs on the main screen on the reddit post. I don't use my deck that often not plugged into a monitor to watch youtube. It does appear to occur on all displays after checking.
Updated•2 months ago
|
Comment 16•2 months ago
|
||
I get this green whenever playing videos on 139.0.4 using the VP9 or AV1 codec. When turning troubleshooting mode on, the issue disappears. I have no extensions in my browser either. I used both the Flatpak distribution of Firefox and the Fedora packaged one on Fedora 42.
Reporter | ||
Comment 17•1 month ago
|
||
Valve released a new BIOS, F7A0133. I updated the BIOS and set "memory power down mode" to "disabled" with the thought it might help crashes and glitches.
Firefox was updated to v 140.0.4, kernel was updated to 6.15.5-arch1-1
I'm not sure which update seemed to change the issue but I switched back on hardware acceleration and I don't appear to be getting video glitches on YouTube anymore. Can anyone else following this confirm?
Reporter | ||
Comment 18•1 month ago
|
||
I wish you could add edits to a previous comment. It just took longer for it to start appearing this time.
Description
•