Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #266426

Re: Can't view videos in firefox: VA-API test failed

From Charles Curley <charlescurley@charlescurley.com>
Newsgroups linux.debian.user
Subject Re: Can't view videos in firefox: VA-API test failed
Date 2024-01-21 22:30 +0100
Message-ID <HYNy9-4EOx-7@gated-at.bofh.it> (permalink)
References <HYtpL-4snc-5@gated-at.bofh.it>
Organization occasionally

Show all headers | View raw


On Sat, 20 Jan 2024 18:51:17 -0500
Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> So, IIUC the problem is that the hardware video decoder drivers aren't
> found for some reason.  I checked my VA-related packages and they seem
> to be installed:
> 
>     # aptitude search '\<va\>' | grep '^i'
>     i A i965-va-driver - VAAPI driver for Intel G45 & HD Graphics
> family i  intel-media-va-driver - VAAPI driver for the Intel GEN8+
> Graphics family i A libvdpau-va-gl1 - VDPAU driver with OpenGL/VAAPI
> backend i A mesa-va-drivers - Mesa VA-API video acceleration drivers
>     i  va-driver-all - API de Video Acceleration (VA) – métapaquet de
> pilotes i A vdpau-va-driver - VDPAU-based backend for VA API
>     #
> 
> I tried to install `intel-media-va-driver-non-free` to see if that's
> the problem, but it did not make any difference.

You and I seem to be having similar problems. I suspect that it has to
do with drivers initializing properly, not our respective browsers. I
can run Firefox just fine, but not chromium.


root@jhegaala:~# pre '\<va\>'
i965-va-driver	2.4.1+dfsg1-1		amd64
intel-media-va-driver	23.1.1+dfsg1-1		amd64
libvdpau-va-gl1	0.4.2-1+b1		amd64
mesa-va-drivers	22.3.6-1+deb12u1		amd64
va-driver-all	2.17.0-1		amd64
root@jhegaala:~#

I seem to be missing vdpau-va-driver, but it does not seem to be
available for me (bookworm):

root@jhegaala:~# apt install vdpau-va-driver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vdpau-va-driver is not available, but is referred to by another
package. This may mean that the package is missing, has been obsoleted,
or is only available from another source
However the following packages replace it:
  mesa-va-drivers

E: Package 'vdpau-va-driver' has no installation candidate
root@jhegaala:~# 

I've documented what I have so far in a thread with the subject
"Chromium oops: libva error:
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so"

root@jhegaala:~# lspci -vs 2.0
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09) (prog-if
00 [VGA controller]) Subsystem: Lenovo ThinkPad T520 Flags: bus master,
fast devsel, latency 0, IRQ 28, IOMMU group 0 Memory at f0000000
(64-bit, non-prefetchable) [size=4M] Memory at e0000000 (64-bit,
prefetchable) [size=256M] I/O ports at 6000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915

root@jhegaala:~# 


VLC also plays MP4 movies just fine. It reports:

charles@jhegaala:~/ogg$ VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[000055febf968d30] [http] lua interface: Lua HTTP interface
[000055febf882550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f76bc0042f0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
[00007f76bc0042f0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
[00007f76d4c18c50] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-21 01:00 +0100
  Re: Can't view videos in firefox: VA-API test failed Max Nikulin <manikulin@gmail.com> - 2024-01-21 05:00 +0100
    Re: Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-21 15:30 +0100
  Re: Can't view videos in firefox: VA-API test failed Dan Ritter <dsr@randomstring.org> - 2024-01-21 16:40 +0100
    Re: Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-21 18:20 +0100
      Re: Can't view videos in firefox: VA-API test failed Dan Ritter <dsr@randomstring.org> - 2024-01-21 18:40 +0100
        Re: Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-21 23:00 +0100
          Re: Can't view videos in firefox: VA-API test failed Dan Ritter <dsr@randomstring.org> - 2024-01-22 12:40 +0100
            Re: Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-23 17:30 +0100
              Re: Can't view videos in firefox: VA-API test failed Dan Ritter <dsr@randomstring.org> - 2024-01-23 18:50 +0100
                Re: Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-23 22:30 +0100
                Re: Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-23 22:40 +0100
                Re: Can't view videos in firefox: VA-API test failed Max Nikulin <manikulin@gmail.com> - 2024-01-25 16:00 +0100
                Re: Can't view videos in firefox: VA-API test failed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-26 01:20 +0100
                Re: Can't view videos in firefox: VA-API test failed Max Nikulin <manikulin@gmail.com> - 2024-01-26 04:10 +0100
  Re: Can't view videos in firefox: VA-API test failed Sven Joachim <svenjoac@gmx.de> - 2024-01-21 19:30 +0100
  Re: Can't view videos in firefox: VA-API test failed Charles Curley <charlescurley@charlescurley.com> - 2024-01-21 22:30 +0100
    Re: Can't view videos in firefox: VA-API test failed Max Nikulin <manikulin@gmail.com> - 2024-01-22 04:30 +0100

csiph-web