YouTube 360° videos black screen with VAAPI
Categories
(Core :: Audio/Video: Playback, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | disabled |
People
(Reporter: estemal, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: correctness)
Attachments
(1 file)
1.21 MB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
Open https://www.youtube.com/watch?v=KGerjHMa90s and start video playback
Actual results:
Playback starts, I can hear the audio, but the video area is completely black.
Also, I get this message in the JS console:
Media resource blob:https://www.youtube.com/ddd79aaf-a101-4e03-a32b-06f8141dc1da could not be decoded, error: Error Code: NS_ERROR_OUT_OF_MEMORY (0x8007000e)
Details: mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::CreateImageVAAPI(int64_t, int64_t, int64_t, MediaDataDecoder::DecodedData &): Unable to get frame by vaExportSurfaceHandle()
Expected results:
360° video playback
Reporter | ||
Updated•2 years ago
|
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 revert this change in case you think the bot is wrong.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Can you please retest with latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
If so please run Firefox on terminal with MOZ_LOG="PlatformDecoderModule:5" env variable set and attach the log here.
Thanks.
Reporter | ||
Comment 4•2 years ago
|
||
Just tried it on both release 96.0.2 and nightly. Actually on 96.0.2 the screen is not black, I can see the video, but it is very distorted by strange rendering artifacts. With nightly it's still black. To test with nightly I started it with MOZ_ENABLE_WAYLAND=1
and enabled media.ffmpeg.vaapi.enabled
. Also, I had to install the h264ify extension, because my hardware does not support vp9 decoding. The screen was black. The log with MOZ_LOG="PlatformDecoderModule:5"
is attached.
I also tried disabling media.rdd-process.enabled
, the playback was fine, but hardware decoding did not work.
Comment 5•2 years ago
|
||
Yes, I can reproduce that too, Thanks.
Comment 6•2 years ago
|
||
This should be fixed by patch in Bug 1752282 so let's retest when it lands.
Reporter | ||
Comment 7•2 years ago
|
||
I just tested it with latest nightly on different hardware. I get this error:
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
[Child 1419053: MediaPDecoder #2]: V/PlatformDecoderModule AudioTrimmer[7f9b7c156020] ::HandleDecodedResult: sample[0,21000] (decoded[0,13500] no trimming needed
libva error: dlopen of /usr/lib64/va/drivers/radeonsi_drv_video.so failed: libLLVM-13.so: cannot open shared object file: No such file or directory
libva info: va_openDriver() returns -1
And hardware decoding does not work.
With stable firefox 97 on the same system hardware decoding works well, but 360° videos are still black. Also hardware decoding works with MPV, so it's definitely Nightly problem.
Comment 8•2 years ago
|
||
Does it help if you run it with MOZ_DISABLE_RDD_SANDBOX=1 env variable?
Reporter | ||
Comment 9•2 years ago
|
||
Yep, this works. For some reason I thought this was a problem only for Intel GPUs.
Comment 10•2 years ago
|
||
Should be fixed now, please reopen if you see it again.
Thanks.
Description
•