Closed Bug 1661292 Opened 4 years ago Closed 3 years ago

VAAPI X11 videos stop playing and display error when switching to another desktop

Categories

(Core :: Audio/Video: Playback, defect, P5)

x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox82 --- disabled

People

(Reporter: u658943, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image 2020-08-26-123550_1456x767_scrot.png (deleted) —

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0

Steps to reproduce:

  • Play youtube video with X11 VAAPI enabled in nightly/stable
  • switch to another desktop/tag (dwm window manager in my case) but this occurs on others
  • video will stop playing and display the error attached below in the picture

Actual results:

I switch over to another desktop to open another application so i can listen to the video in the background, and when I do so the video stops playing and displays the error shown. I should note that this does not occur if i switch to another tab beforehand and then switch to another desktop.

Expected results:

The video should have kept playing in the background, as it does on firefox without VAAPI or on other browsers like chromium (even with VAAPI enabled)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

I have same exact problem. I see the following errors:

[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 717552, MediaDecoderStateMachine #2] WARNING: Decoder=7fd48116e000 Decode error: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) - virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::DoDecode(mozilla::MediaRawData *, uint8_t *, int, bool *, MediaDataDecoder::DecodedData &): avcodec_send_packet error: -1094995529: file /build/firefox-3WGgad/firefox-80.0+build2/dom/media/MediaDecoderStateMachine.cpp, line 3470

Just to chip in - in my case when I open new tab which has video (mp4) causes this issue.

Please run with MOZ_LOG="PlatformDecoderModule:5" on terminal and attach the full log here.
Thanks.

Flags: needinfo?(jacobmee)

(In reply to Martin Stránský [:stransky] from comment #4)

Please run with MOZ_LOG="PlatformDecoderModule:5" on terminal and attach the full log here.
Thanks.

Thank you. Link to the log here. Please alert me if I did anything wrong and I can redo it or attach more/different logs.

Flags: needinfo?(jacobmee)
Severity: -- → S3
Priority: -- → P5

Any updates on this issue?

DreamlikeCuttlefish: is this still an issue for you? Thanks!

Flags: needinfo?(daphnei.mee)

(In reply to Robert Mader [:rmader] from comment #7)

DreamlikeCuttlefish: is this still an issue for you? Thanks!

Nope.

Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(daphnei.mee)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: