Opening a file with VLC immediate fails due to the following issue:
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055d824ded550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f51e8007860] gl gl: Initialized libplacebo v5.229.0 (API v229)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f51e8007860] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
zsh: segmentation fault (core dumped) vlc Desktop/CYQ_0130.MP4
vainfo
shows the following message, including a libva initialization error:
Trying display: wayland
Trying display: x11
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error),exit
Could this be something I’ve omitted from an install when I set up manjaro?
cscs
March 28, 2023, 1:13am
2
Are you fully up to date with drivers installed/configured?
Brand new install?
Welcome to Manjaro!
To allow all of us helpful people on this forum TO HELP YOU, we need some basic information about your system. This probably means you described the symptoms of your problem, but now we need some more information to know where the origin of your issue is exactly.
Someone else probably linked you to this tutorial, so if you’re reading this in response to a question, please click the link above this text to bring you to the full and unabridged text of the tutorial…
Yes, I recently updated the kernel to 6.1.19-1.
I appear to have found a fix that works for me sourced from here .
Ultimately, I removed the libva-vdpau-driver
as suggested by ‘kenny_w’ on 7 Jan 2023 and… VLC opens again.
cscs
March 28, 2023, 1:22am
4
That is removing the vdpau backend for vaapi.
I have no idea whether that makes sense on your system or not.
VLC is notorious for not implementing hardware acceleration nicely and having often-failing defaults.
Example here:
But … also … like I have mentioned before …
What about, assuming you have HWAccel properly implemented in your system, setting VLC to use it, instead of relying on ‘automatic’ (which indicates a bug in vlc instead).
You have an amdgpu like me, so it can do VAAPI or VDPAU … though I consider vdpau more ‘native’.
VLC Preferences > Input/Codecs > Hardware-accelerated decoding
Selection: VDPAU
[image]
VLC Preferences > Video > Output
Selection: VDPAU
[image]
(again this is hardware/…
system
Closed
March 30, 2023, 3:23pm
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.