unknown libva error

*nix specific usage questions
sinistra
New Cone
New Cone
Posts: 9
Joined: 20 Dec 2008 01:24

unknown libva error

Postby sinistra » 09 May 2024 11:16

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: unknown libva error

Postby Rémi Denis-Courmont » 09 May 2024 13:48

Uninstall the NVIDIA VA driver probably.

Without a symbolic stack trace, who knows what is crashing though
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sinistra
New Cone
New Cone
Posts: 9
Joined: 20 Dec 2008 01:24

Re: unknown libva error

Postby sinistra » 10 May 2024 22:49

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?
Last edited by sinistra on 11 May 2024 00:13, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: unknown libva error

Postby Rémi Denis-Courmont » 11 May 2024 09:23

Again, you have a broken VA driver. Remove it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sinistra
New Cone
New Cone
Posts: 9
Joined: 20 Dec 2008 01:24

Re: unknown libva error

Postby sinistra » 13 May 2024 09:16

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

sinistra
New Cone
New Cone
Posts: 9
Joined: 20 Dec 2008 01:24

Re: unknown libva error [SOLVED]

Postby sinistra » 16 Jun 2024 06:26

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,


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 37 guests