Since maybe september/october VAAPI (can't pinpoint exact versions, sorry) is broken for me on wayland (KDE).
I have a Sandy Bridge gen CPU therefore I'm using libva-intel-driver, with LIBVA_DRIVER_NAME set to 'i965' as it should.
mpv gives the following error:
error: failed to resolve wl_drm_interface(): /usr/lib/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
[vaapi] libva: /usr/lib/dri/i965_drv_video.so init failed
and vainfo:
Trying display: wayland
error: failed to resolve wl_drm_interface(): /usr/lib/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
libva error: /usr/lib/dri/i965_drv_video.so init failed
vaInitialize failed with error code -1 (unknown libva error),exit
I haven't tried in other wayland compositors, but I can certainly be sure that error will still be there.
Of course in Xorg it Just Works™.
Make sure you haven't done a 'partial upgrade' in any way shape or form.
Read https://gitlab.archlinux.org/archlinux/packaging/packages/libva-intel-driver/-/merge_requests/1
I have no idea if that patch will still apply ?
Or the sane approach (imho). Use Xorg.
I haven't done any partial update.
Apparently some related fix already got merged upstream some days ago: https://github.com/intel/intel-vaapi-driver/pull/566#issuecomment-2439962936
Now I only have to wait for the updated version to hit the repos so... solved already?
Side note: So after that patch, the intel-vaapi-driver got killed? Really? Even though old computers still work fine? Man these people... Hopefully someone will fork it and keep fixing any problems...
I wish but sooner or later R*d h*t will kill Xorg and Mesa developers will refuse to keep supporting Xorg. Also on Wayland I can use portals so I get a sane file picker (not that gtk garbage).
Pls provide more details, starting with the output of commands:
- mpv
- pacman -Q mesa
- ls -l /usr/lib/libEGL_mesa.so.0
- lspci|grep Graphics
artistusr
I installed libva-intel-driver-git from the AUR, indeed the patch fixes the issue, so I will mark it as solved.
Still no signs of a new formal release from upstream containing the bugfix...