Intermittently, video will play one frame and freeze, only fixed by a reboot
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: surlaget, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
Steps to reproduce:
Not really sure how to reproduce this, but it pretty consistently happens on my computer every week or so despite rebooting pretty much daily.
Actual results:
Video from any source will play a single frame and then freeze. Audio will also be played for an instant and then stop. If I skip to another spot on the timeline, it will again play one frame and then stop. On Youtube, it will display the standard loading wheel. Fully quitting out of Firefox and reopening will not solve the issue, but it is always fixed by rebooting the computer.
Expected results:
Video should play without freezing.
Comment 1•2 years 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.
Thanks for the report! Would you be able to paste the contents of your about:support
? I'm wondering if restarting Firefox in safe mode after this problem has cropped up would make a difference, or if it's something related to hardware acceleration -- disabling that might have an impact as well. Does anything interesting come up in your kernel/syslog when this happens? Which video drivers are you using? Do VLC/etc. still work as expected afterwards?
If you could capture the logs of this behavior by starting Firefox with the following commandline and sending over the firefox-logs*
files that are generated, that would be helpful in debugging as well.
MOZ_LOG_FILE="firefox-logs" MOZ_LOG="AudioStream:4,AudioSinkWrapper:4,MediaDecoder:5,MediaFormatReader:5,MediaDecoderStateMachine:5,PlatformDecoderModule:5" firefox
(In reply to az [:az] from comment #2)
Thanks for the report! Would you be able to paste the contents of your
about:support
? I'm wondering if restarting Firefox in safe mode after this problem has cropped up would make a difference, or if it's something related to hardware acceleration -- disabling that might have an impact as well. Does anything interesting come up in your kernel/syslog when this happens? Which video drivers are you using? Do VLC/etc. still work as expected afterwards?If you could capture the logs of this behavior by starting Firefox with the following commandline and sending over the
firefox-logs*
files that are generated, that would be helpful in debugging as well.MOZ_LOG_FILE="firefox-logs" MOZ_LOG="AudioStream:4,AudioSinkWrapper:4,MediaDecoder:5,MediaFormatReader:5,MediaDecoderStateMachine:5,PlatformDecoderModule:5" firefox
I have attached a PDF of about:support which also includes driver details. Since I'm not really sure how to replicate the bug, I can't try out all the other things you have mentioned. Next time it happens I will make sure to. Leaving the needinfo flag on, will clear it when I am able to try the other steps.
firefox-logs.child-4.moz_log was too large to upload here, so it can be found at https://drive.google.com/file/d/1F07UoGRRPmdoahC_TF5WztxfWdDCvIHs/view?usp=sharing
(In reply to az [:az] from comment #2)
Thanks for the report! Would you be able to paste the contents of your
about:support
? I'm wondering if restarting Firefox in safe mode after this problem has cropped up would make a difference, or if it's something related to hardware acceleration -- disabling that might have an impact as well. Does anything interesting come up in your kernel/syslog when this happens? Which video drivers are you using? Do VLC/etc. still work as expected afterwards?If you could capture the logs of this behavior by starting Firefox with the following commandline and sending over the
firefox-logs*
files that are generated, that would be helpful in debugging as well.MOZ_LOG_FILE="firefox-logs" MOZ_LOG="AudioStream:4,AudioSinkWrapper:4,MediaDecoder:5,MediaFormatReader:5,MediaDecoderStateMachine:5,PlatformDecoderModule:5" firefox
Well, it happened again (maybe), and I think I tracked down the cause. I was playing video when I connected my bluetooth headphones, switching from speakers (while video was playing). The video immediately froze. Disconnect headphones, video works. Reconnect them, even while video is paused, playing is broken again. I check VLC, and it worked both with and without headphones. I wasn't able to find anything that seemed related in kernel/syslog, but I am not very experienced dealing with those things. I tried launching firefox with the debug command you gave, but then the issue resolved itself. Which means one of the following:
a) Past me is an idiot, and the bug can just be fixed by restarting the browser (more likely)
b) This is a separate occurrence of a bug with very similar symptoms (less likely)
I'm not sure how helpful they'll be since the logs were taken after the bug resolved, but I have attached all that were over 0B in size.
Ok re-reading that I'm not sure I was entirely clear, so quick clarification: I believe the cause is that the audio output was switched while playing media.
Comment 9•2 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 11•2 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
![]() |
||
Updated•2 years ago
|
Description
•