Bug#1082533: intel-vaapi-driver: Hardware acceleration is broken on Wayland
Source: intel-vaapi-driver
Version: 2.4.1+dfsg1-1
Severity: important
Tags: upstream patch
X-Debbugs-Cc: severusseptimius7@gmail.com
Since libva 22.2, HW acceleration on Wayland is broken. The error message shown if trying to play a video with mpv is:
>> error: failed to resolve wl_drm_interface(): /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
>> [vaapi] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
The cause for this is the fact that the 'wl_drm' interface has been superseded by the linux-dmabuf protocol, and, as such,
the 'wl_drm_interface' symbol is no longer public, triggering the aforementioned error.
The patch proposed [here](https://salsa.debian.org/S.7/intel-vaapi-driver/-/raw/master/debian/patches/0005-remove-wl_drm_interface.patch?ref_type=heads] removes the use of said symbol.
It is based on this upstream PR: https://github.com/intel/intel-vaapi-driver/pull/566, but instead of making the use of 'wl_drm' optional, it completly removes it.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.10.11-1-liquorix-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Reply to: