VAAPI/OpenSUSE/iHD/Mesa 21/dual GPU Intel+Nvidia: Hardware video decoding fails
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: ch-bugzilla, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Steps to reproduce:
A recent Firefox upgrade broke VA-API hardware video decoding on a Broadwell Intel iGPU setup that was previously working. Unsure which version is responsible. Hardware video decoding still works with VLC.
To reproduce:
set about:config media.hardware-video-decoding.force-enabled: true
install h264ify
attempt to play any video on YouTube.
Running with MOZ_LOG="PlatformDecoderModule:5 Dmabuf:5" appears to suggest some kind of DMABuf issue causing VA-API to be disabled. Full log in attachments, short portion below:
[RDD 12406: MediaPDecoder #2]: D/Dmabuf DMABufSurfaceYUV::CreateEGLImage() UID 1 plane 0
[RDD 12406: MediaPDecoder #2]: D/Dmabuf EGLImageKHR creation failed
[RDD 12406: MediaPDecoder #2]: D/Dmabuf failed to create EGL image!
[RDD 12406: MediaPDecoder #2]: D/Dmabuf DMABufSurfaceYUV::ReleaseEGLImages() UID 1
[RDD 12406: MediaPDecoder #2]: D/Dmabuf failed to create texture over DMABuf memory!
...
[RDD 12406: MediaSupervisor #1]: D/PlatformDecoderModule FFMPEG: VAAPI is disabled by parent decoder module.
Actual results:
High CPU usage, no video decoder activity seen in intel_gpu_top.
Expected results:
Low CPU usage, video decoder activity visible in intel_gpu_top.
Reporter | ||
Comment 1•2 years ago
|
||
Text data from about:support
Comment 2•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.
Comment 3•2 years ago
|
||
Hello! I have tried to reproduce the issue using firefox 112.0a1 (2023-03-08) on Ubuntu 22.04 but unfortunately I wasn't able to reproduce it on my end.
Could you please answer the following questions in order to further investigate this issue?
- Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
- Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
- Do you have any addons installed if so can you list them?
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Thanks for the report! Does this problem still occur?
Updated•2 years ago
|
Description
•