Closed Bug 1742416 Opened 4 years ago Closed 4 years ago

YouTube 360° Videos Not Playing On Linux With VA-API

Categories

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

Firefox 94
defect

Tracking

()

RESOLVED DUPLICATE of bug 1739546

People

(Reporter: immcterra10, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

Opened 360° video on YouTube with Firefox 94.0.2 on Arch Linux, with the X11 display server and hardware video acceleration (VA-API) enabled using the media.ffmpeg.vaapi.enabled configuration option in about:config.

vainfo output:

vainfo: VA-API version: 1.13 (libva 2.13.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.4.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

Actual results:

Video failed to play. Failure mode varies between distorted video with artifacts that frequently restarts playback, to a tab crash.
In addition, in one attempt to play the video my entire system froze up and a few seconds of audio played on a loop until I force rebooted the system by holding the power button.

The following errors were outputted to the terminal:
[Child 8139, MediaDecoderStateMachine #1] WARNING: Decoder=7f468c330c00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /build/firefox/src/firefox-94.0.2/dom/media/MediaDecoderStateMachine.cpp:3562
and
[Child 8139, MediaDecoderStateMachine #1] WARNING: Decoder=7f468d0ad000 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: -5: file /build/firefox/src/firefox-94.0.2/dom/media/MediaDecoderStateMachine.cpp:3562

Further, the error disappears when disabling VA-API and using software rendering; the video plays fine.

Expected results:

The video plays correctly with no errors.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Severity: -- → S3
Priority: -- → P3
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Hi, I don't believe this is a duplicate. The linked issue has a different error and a different symptom (black screen vs crashes/glitches).

You need to log in before you can comment on or make changes to this bug.