Closed Bug 1818815 Opened 2 years ago Closed 2 years ago

VAAPI/OpenSUSE/iHD/Mesa 21/dual GPU Intel+Nvidia: Hardware video decoding fails

Categories

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

Firefox 110
x86_64
Linux
defect

Tracking

()

RESOLVED INCOMPLETE

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.

Attached file about.support.txt (deleted) —

Text data from about:support

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.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

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?

  1. 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
  2. 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/
  3. Do you have any addons installed if so can you list them?
Flags: needinfo?(ch-bugzilla)
Severity: -- → S3

Thanks for the report! Does this problem still occur?

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: Hardware video decoding fails on Linux → VAAPI/OpenSUSE/iHD/Mesa 21/dual GPU Intel+Nvidia: Hardware video decoding fails
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: