VA-API stops being used
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: pmenzel+bugzilla.mozilla.org, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
On Debian sid/unstable use BigBlueButton Web configuring system. VP8 is used as codec and supported by the Dell Latitude E7250 with Intel Broadwell, so VA-API can be used.
Actual results:
Since a while, randomly VA-API is not being used or is stopped being used. Today it happened with Nightly 100.0a1, 20220313212642. ccording to intel_gpu_top
the video engine was not used, and the fan starts spinning.
In the MOZ_LOG="PlatformDecoderModule:5"
logs, I just saw:
[RDD 91746: MediaPDecoder #1]: D/PlatformDecoderModule Created new VA-API DMABufSurface UID = 8
[AVHWDeviceContext @ 0x7f6002cb7e40] Format 0x3132564e -> unknown.
[RDD 91746: MediaPDecoder #1]: D/PlatformDecoderModule VideoFrameSurfaceVAAPI: creating surface UID = 8
[RDD 91746: MediaPDecoder #1]: D/PlatformDecoderModule failed to create texture over DMABuf memory!
Expected results:
VA-API should have been used, and the video engine be used.
Please find the beginning of the logs attached. The file with all captured messages has a size of 84 MB, I am unable to attach.
Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Reporter | ||
Comment 5•2 years ago
|
||
Sorry, I though the log contains that information, but this was with MOZ_DISABLE_RDD_SANDBOX=1
– full command line is MOZ_LOG="PlatformDecoderModule:1" MOZ_DISABLE_RDD_SANDBOX=1 nightly |& tee /dev/shm/nightly-decoder.txt
.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Please attach log of MOZ_LOG="PlatformDecoderModule:5 Dmabuf:5"
Thanks.
Updated•2 years ago
|
Reporter | ||
Comment 7•2 years ago
|
||
As I haven’t figured out how to reproduce it yet, it might take a while to provide the logs.
Reporter | ||
Comment 8•2 years ago
|
||
I think it happened today again with Nightly 100.0a1 (20220314214902). First the video engine utilization was only 0.56 % and eight participants (video streams) were shown in BigBlueButton (WebRTC, VP8). After some participants left, checking at the end the video engine utilization was shown as 0.
MOZ_LOG="PlatformDecoderModule:5 Dmabuf:5" MOZ_DISABLE_RDD_SANDBOX=1 nightly >& /dev/shm/nightly-dma.txt
The log is almost half a gigabyte in size, and I didn’t find anything obvious in there. It’d be great if you could extract the relevant lines and attach them here, so I can delete it.
Updated•2 years ago
|
Comment 9•2 years ago
|
||
bug1751363 |
I have the exact same problem which I have reported downstream on Redhat Bugzilla after getting the update in Fedora. If I understand the log correctly, it fails around here:
[Parent 6652: Compositor]: D/Dmabuf DMABufSurfaceYUV::ImportSurfaceDescriptor() UID 1
[Parent 6652: Compositor]: D/Dmabuf plane 0 fd 172 size 320 x 176 format 20203852
[Parent 6652: Compositor]: D/Dmabuf plane 1 fd 173 size 160 x 88 format 38385247
[RDD 6979: MediaPDecoder #1]: D/Dmabuf DMABufSurfaceYUV::CreateEGLImage() UID 2 plane 0
[RDD 6979: MediaPDecoder #1]: D/Dmabuf EGLImageKHR creation failed
[RDD 6979: MediaPDecoder #1]: D/Dmabuf DMABufSurfaceYUV::ReleaseEGLImages() UID 2
[RDD 6979: MediaPDecoder #1]: D/PlatformDecoderModule failed to create texture over DMABuf memory!
Comment 10•2 years ago
|
||
(In reply to Paul Menzel from comment #8)
I think it happened today again with Nightly 100.0a1 (20220314214902). First the video engine utilization was only 0.56 % and eight participants (video streams) were shown in BigBlueButton (WebRTC, VP8). After some participants left, checking at the end the video engine utilization was shown as 0.
MOZ_LOG="PlatformDecoderModule:5 Dmabuf:5" MOZ_DISABLE_RDD_SANDBOX=1 nightly >& /dev/shm/nightly-dma.txt
The log is almost half a gigabyte in size, and I didn’t find anything obvious in there. It’d be great if you could extract the relevant lines and attach them here, so I can delete it.
Thanks, you can clear it - it really does not contain any useful info.
The decoder seems to be restarted to SW decode but without any obvious reason.
Do you have any related crash in coredumpctl?
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_coredumpctl_to_get_backtrace
Thanks.
Comment 11•2 years ago
|
||
Please reopen if you have nay further info.
Reporter | ||
Comment 12•9 months ago
|
||
Sorry for not replying sooner. I haven’t experienced this in the last months, so something was fixed. Thank you.
Description
•