Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: VAAPI is broken in Wayland (Read 482 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

VAAPI is broken in Wayland

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:
Code: [Select]
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:
Code: [Select]
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™.

 

Re: VAAPI is broken in Wayland

Reply #2
Make sure you haven't done a 'partial upgrade' in any way shape or form.
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...

Or the sane approach (imho). Use Xorg.

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).


Re: VAAPI is broken in Wayland

Reply #3
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

Re: VAAPI is broken in Wayland

Reply #4
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...