vaInitialize: unknown libva error [Optimus Laptop] cannot playing

Hi folks, I’m struggled because when try to play anything multimedia contttent on my nev Dell Inspirion 7510+ I get in trouble 99% of time!

Damn I really think to get back on windoze for multimedia task. On linux multimedia support, hardware accelleration features look very unstable for me on my hardware and Endeavour Arch combo. :weary:

So today I try for play some videos and get same error type crossing different apps among.

Dragon Player start, and play audio, but not video stream, inside windows I see stranger background overlay.

VLC simply refuse to start and get output error log like this:

$ vlc 00\ -\ Psy-Lounge\ -\ Trance\ Dispatch.mp4
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000555f44bfb550] main libvlc: Esecuzione di vlc con l’interfaccia predefinita. Usa ‘cvlc’ per utilizzare vlc senza interfaccia.
[00007f5ce0c0fa50] mpeg4audio packetizer: AAC channels: 2 samplerate: 44100
[00007f5ccc0073d0] gl gl: Initialized libplacebo v5.229.0 (API v229)
[00007f5ccc0073d0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
Errore di segmentazione (core dump creato)

Same under Firefox, when try to force hardware VAAPI tasks.

Well I don’t know if is my mistake because installed some packages but I would know if this is fixable or not.

Some info below for pacman -Qm:

bottles 2:50.2-1
browser-vacuum 4-21
cef-minimal-obs-studio-browser-bin 94.4.11-1
chrome-shutdown-hook 1.3.2-1
contemporary-cursors 1.0-0
dosbox-staging-git 0.81.0.alpha.188.g90a95a530-1
edid-decode-git r649.915b0ce-1
envycontrol 2.3-1
ffmpeg-obs 5.1.2-2
fvs 0.3.4-1
gamin 0.1.10-9
gconf 3.2.6+11+g07808097-10
gnome-mime-data 2.18.0-8
gnome-python 2.28.1-14
gnome-vfs 2.24.4-12
htop-git 1:3.2.2.8.ge3481a98-1
icoextract 0.1.4-1
iir1 1.9.4-1
kvantum-theme-nordic-git 2.2.0.r42.g8a04242-1
layan-kde-git r66.2cf1cac-1
libajantv2 1:16.2_bugfix5-1
libart-lgpl 2.3.21-5
libbonobo 2.32.1-4
libbonoboui 2.24.5-3
libffi7 3.3-2
libglade 2.6.4-8
libgnome 2.32.1-8
libgnome-data 2.32.1-8
libgnomecanvas 2.30.3-4
libgnomeui 2.24.5-3
libkdcraw-git v22.12.0.r2.g79b80f6-1
libkexiv2-git 22.12.2.r0.g9253280-1
librist 0.2.7-1
libva-vdpau-driver-chromium 0.7.4-8
minetest-arcade3d 2022.04.26-1
nordic-kde-git 2.2.0.r42.g8a04242-1
nordic-theme-git 2.2.0.r42.g8a04242-1
nordic-wallpapers 20221209-1
nvidia-tweaks 510-4
obs-studio-git 29.0.0.124-1
orbit2 2.14.19-7
papirus-folders-nordic 4.5-3
patool 1.12-5
polkit-qt5-git v0.114.0.r13.g590e710-1
pygtk 2.24.0-12
python-aigpy 2022.7.8.1-1
python-lyricsgenius 3.0.0-1
python-pydub 0.25.1-3
python-steamgriddb 1.0.5-1
python2 2.7.18-8
python2-cairo 1.18.2-4
python2-gobject2 2.28.7-7
python2-numpy 1.16.6-2
python2-setuptools 2:44.1.1-2
pywinery 0.3.3-2
q4wine-git 1.3.13.3.g70a4c33-1
qt-solutions-git 56.777e95b-1
sddm-nordic-theme-git 2.2.0.r42.g8a04242-1
spacecadetpinball-git 2.0.1.r73.gd99fbb0-1
sshd-launcher 1-1
stormbaancoureur 2.1.6-3
teamviewer 15.38.3-1
tela-icon-theme 2023.02.03-1
tidal-dl-git 2022.08.29.1.r33.g513be57-1
ventoy-bin 1.0.88-1
vkbasalt-cli 3.1.1-1
whatsie 4.12.0-1
wine-git 8.1.r76.g9df04bfdb03-1
winetricks-git 20220411.r140.g61058ec6-1
zenmap 7.92-5

eos-log-tool full dump ahead; https://0x0.st/HrgK.txt

And of course, I’m glad for anyone who want help me to solve this issue, if is possible to solve anything lol :heart:

Yep, I do little step ahead…
Acutally I found some packages missing and some packages messed up by previous Open Broadcaster Software…
I revert to ffmpeg and installed missing intel-media-driver ( is missing on my setup, I don’t know why)
So VLC start and get VAAPI hardware correctly

$ vlc 01\ -\ Goa\ Spirit\ -\ Goa\ Spirit\ -\ Planet\ X\ -\ Original\ Mix.mp4
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[00007ff098c11aa0] mpeg4audio packetizer: AAC channels: 2 samplerate: 44100
[00007ff0800073d0] gl gl: Initialized libplacebo v5.229.0 (API v229)
[00007ff098c20210] avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 23.1.0 () for hardware decoding

Dragon Player still issue video, and show some back-layer of desktop instead of video frame, this is really strange, and issued similar behavior within Spectacle, so unable to get “correct” screenshot of wanted window or region selected, it complete messed up lol.

Another thing is errors of VAAPI when launching VLC with prime-run and video still “flashing” and vlc throw many errors.
I’m use envycontrol on hybrid mode, just after uninstalled and reinstalled all nvidia package group ,

libvdpau-va-gl: VideoSurface::GetBitsYCbCrImpl(): not implemented conversion VA FOURCC-VDP_YCBCR_FORMAT_YV12
[00007fdf40b004c0] vdpau_chroma filter error: video surface export failure: VDP_STATUS_INVALID_Y_CB_CR_FORMAT
VLC initial info line get not specific for my nvidia GPU assume is “fine”:
[00007fcf28c13e10] mpeg4audio packetizer: AAC channels: 2 samplerate: 44100
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007fcf1c0073d0] gl gl: Initialized libplacebo v5.229.0 (API v229)
[00007fcf18048520] main video output error: video output creation failed
[00007fcf28c213f0] main decoder error: failed to create video output
[00007fcf1c102ce0] gl gl: Initialized libplacebo v5.229.0 (API v229)
[00007fcf1c102ce0] glconv_vdpau gl error: glVDPAUInitNV failed: 0x502

[00007fcf28c213f0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding

Envycontrol on nvidia mode, after bootup, just not start sddm, and I need to login on TTY for reconfigure it, hybrid or integrated only works.
Soo if any help for hint is welcome btw I do another installation on my other nvme drive just fres installed today… I think to run Buntu kde cause Dell ships some hardware with it, just for compare multimedia stuff between distro…

See you later guys :innocent: :stuck_out_tongue: