Page 1 of 1

unknown libva error

Posted: 09 May 2024 11:16
by sinistra
On trying to play a DVD on VLC 3.0.20
on GTK 3.24.41 / GLib 2.80.0
Locale: C (charset: US-ASCII)
Operating System: Linux 6.6.15-amd64 (x86_64)

received the following print out:

:~$ vlc --reset-config
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[000055615a230430] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055615a2c39d0] main playlist: playlist is empty
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 772, resource id: 8396181, major code: 40 (TranslateCoords), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1256, resource id: 8396731, major code: 40 (TranslateCoords), minor code: 0
[00007f5378001130] dvdnav demux: DVD Title: MACBETH
[00007f5378001130] dvdnav demux: DVD Serial Number: 4CA0F209___MVB
[00007f5378001130] dvdnav demux: DVD Title (Alternative):
[00007f5378001130] dvdnav demux: DVD disk reports itself with Region mask 0x00fe0000. Regions: 01
[00007f5378001130] dvdnav demux: Attempting to retrieve all CSS keys
[00007f5378001130] dvdnav demux: This can take a _long_ time, please be patient
libva info: VA-API version 1.21.0
libva error: vaGetDriverNames() failed with unknown libva error
[00007f5354001f90] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
Segmentation fault

Any ideas how to overcome this?

Re: unknown libva error

Posted: 09 May 2024 13:48
by Rémi Denis-Courmont
Uninstall the NVIDIA VA driver probably.

Without a symbolic stack trace, who knows what is crashing though

Re: unknown libva error

Posted: 10 May 2024 22:49
by sinistra
I installed vainfo:

~$ vainfo
libva info: VA-API version 1.21.0
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit

can you interpretate this?

I don't have Nvidia VA to remove it seems. this error with libva keeps cropping up. Isn't that an Intel GPU accelerator firmware thingy? Why would that work with an Nvidia GeForce GT 1030 card anyway?

Re: unknown libva error

Posted: 11 May 2024 09:23
by Rémi Denis-Courmont
Again, you have a broken VA driver. Remove it.

Re: unknown libva error

Posted: 13 May 2024 09:16
by sinistra
I have removed all the VA drivers associated with the Debian package: va-driver-all

I looked into the libva info in /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so and found that there is a '@ sign' in front of this nvidia driver. This means in Midnight Commander, it is a symlink to that driver.

VA Initialize triggers the libva error

So the seg. fault occurs after that, not apparently it isn't per se the driver.

the error seems to be occurring after successfully accessing glconv_vaapi_x11 gl

Re: unknown libva error [SOLVED]

Posted: 16 Jun 2024 06:26
by sinistra
My current system:

GTK 3.24.42 / GLib 2.80.3
Locale: C (charset: US-ASCII)
Operating System: Linux 6.6.15-amd64 (x86_64)

contained the obsolete driver:

vdpau-va-driver

that has been out of the archive since August 2019. This was causing the libva error

I removed and purged vdpau-va-driver and installed:

nvidia-vaapi-driver

the replacement driver I needed. This solved the problems described above. All affected package dependencies in the repositories now point to the nvidia-vaapi-driver.

au revoir,