For some reason after the last update videos just close with VLC. Started the media player in the Terminal and get some error with libva
vlc
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[00005575482945d0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005575483310d0] main playlist: playlist is empty
[00007efcf80073f0] gl gl: Initialized libplacebo v5.229.0 (API v229)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007efcf80073f0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
Segmentation fault (core dumped)
[william@william-pc ~]$ vlc
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000562c4b5e05d0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000562c4b67d0d0] main playlist: playlist is empty
So how do fix VLC to play videos with the video exiting? Some clips it will play,
No idea… I used to use vlc back when I was on WinXP/7, but since then I use mplayer or mpv. It always works. Guess you have to increase the log by switching to debug to get hint what went wrong.
You mentioned you use nvidia. I had a simular issue with vlc awhile ago crashing when trying to play mkv files, and what fixed it for me was going into vlc video settings and changing the video output from automatic to VDPAU output.
I believe there is a setting in vlc to turn off video acceleration. Just for testing, try turning it off and see what happens? It might become erratic and not play very well, but it might open at least.
“libva” has something to do with that.https://github.com/intel/libva
“[…] provides access to graphics hardware acceleration capabilities for video processing.”