linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #15708
[Bug 1424201] Re: Web browsers lacking hardware-accelerated video decoding
I have packages for Nvidia VAAPI and EGL in my system.
When I manually turned it on a few months ago, the acceleration in
Firefox was working. With new Nvidia drivers or whatever it broke.
I tried the 550, 560 and 565 drivers.
Still the same on Xorg or Wayland.
Tested with Snap and FLATPAK(ffmpeg + vaapi installed) Firefox.
NVD_LOG=1 firefox
libEGL warning: egl: failed to create dri2 screen
or similar error on X11 with EGL.
eglinfo -B -p wayland
Wayland platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 565.57.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 565.57.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 565.57.01
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
similar problem
https://forums.developer.nvidia.com/t/hardware-egl-not-working-on-wayland-libegl-warning-egl-failed-to-create-dri2-screen/262167/4
I think that you have known this problem for a long time and you have no
choice but to wait for the upstream to release a new things about
Nvidia? Wayland? Firefox?
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/1424201
Title:
Web browsers lacking hardware-accelerated video decoding
Status in Chromium Browser:
Unknown
Status in Mozilla Firefox:
Fix Released
Status in chromium-browser package in Ubuntu:
Fix Released
Status in firefox package in Ubuntu:
Fix Released
Status in chromium-browser package in CentOS:
Unknown
Bug description:
This is a Meta Bug for GPU accelerated video decoding on Ubuntu/Linux browsers.
We will close this bug when most browsers will have Va-api decoding working OOTB without user interaction like in WinOS and MacOS
January 2024:
- Quickest answer : Install firefox Flatpak https://flathub.org/fr/apps/org.mozilla.firefox
activate VAAPI with the flag media.ffmpeg.vaapi.enabled=true
- Snap : Test in Progress
- deb from mozilla : not tested.
August 2022 :
* Ubuntu 22.04 : Launch firefox snap on Intel Tiger lake -> Check with
intel_gpu_top that no codec are GPU decoded ( either VP9 , H264 or AV1
)
-> change media.ffmpeg.vaapi.enabled to true = VP9 and H264 decoding works
-> AV1 hwdec does not work in Firefox or VLC , but does with MPV . We need to fix this as most youtube is AV1 now.
* In july 2020, things are getting better :
- Chromium :
A patch is used on most distro packages. , more info here
https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/1816497
- Firefox :
Firefox team has done a great job and now Va-api decoding in Wayland
is possible and X11 is possible in nightly !
Follow it here : https://bugzilla.mozilla.org/show_bug.cgi?id=1210727
* In 2015 I opened this bug , no easy solution was available and
battery drained when playing video in browser was crazy.
To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/1424201/+subscriptions