Closed Bug 1758431 Opened 2 years ago Closed 2 years ago

va-api decoding doesn't work in firefox 98

Categories

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

Firefox 98
defect

Tracking

()

RESOLVED DUPLICATE of bug 1751363

People

(Reporter: pmargeti34, Unassigned)

Details

Attachments

(1 file)

Attached file firefox vaapi log

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

Steps to reproduce:

VA-API errors out when trying to play a video:
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_13
/usr/share/libdrm/amdgpu.ids: Permission denied

Firefox is running in wayland mode on gnome.

Actual results:

video is decoded using the CPU

Expected results:

video decoding is done using the GPU

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

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

va-api worked fine in 97.0.2 and stopped working in 98

Component: Widget: Gtk → Audio/Video: Playback

Facing the exact same problem here.

libva info: VA-API version 1.12.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva error: dlopen of /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so failed: libLLVM-12.so: cannot open shared object file: No such file or directory
libva info: va_openDriver() returns -1
[RDD 290: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG:   vaInitialize failed.
[RDD 290: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG:   Failed to create VA-API device context

You need to start Firefox with MOZ_DISABLE_RDD_SANDBOX=1 environment variable until bug 1751363 is fixed.

No longer blocks: egl-linux-vaapi
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: