Option dri 3 need for va-api-egl. And I don't know, how it works with old gpu. But without dri 3, va-api works for me with Intel UHD video and latest Ubuntu, i965 driver. va-api-glx seems to be staying for older systems, and support for glx is being removed.
Hi, I am having this issue with an N3150 processor based VDR. I suppose neither an Intel J3455 nor an N3150 are really "old" CPUs.
root@vdr:/var/log/apt# vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) CherryView - 2.4.1
vainfo: Supported profile and entrypoints
...
Display More
root@vdr:/var/log/apt# inxi -G
Graphics:
Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics
driver: i915 v: kernel
Display: server: X.org v: 1.21.1.11 driver: X: loaded: intel dri: i965 gpu: i915 tty: 167x39
resolution: 1280x720
API: EGL v: 1.5 drivers: crocus,swrast platforms: gbm,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.2.8-1ubuntu1~24.04.1
note: console (EGL sourced) renderer: Mesa Intel HD Graphics 400 (BSW), llvmpipe (LLVM 19.1.1
128 bits)
After upgrading to the latest Ubuntu Mesa drivers (24.2.8-1ubuntu1~24.04.1 => 25.0.7-0ubuntu0.24.04.2), the screen shows no video but there is just audio with va-api-egl enabled for softhddevice.
Switching to va-api and removing
Option "DRI" "3"
in /etc/X11/xorg.conf.d/20-intel.conf fixes this for my VDR under yaVDR Ansible.
I recognised after all of the above that Kodi 21.3 (flatpak) is not working properly any longer: There is audio, no video but high CPU usage (approx. 200-300%).
So I rolled back the Mesa drivers going back to the initial settings and VDR and Kodi are working again.
I am afraid I do not get the clue here so i also had to hold the current Mesa driver packages on my VDR to workaround the issue which in my case are
libegl-mesa0 libgbm1 libgl1-mesa-dri libglx-mesa0 libxatracker2 mesa-libgallium mesa-vulkan-drivers