Hardware acceleration on old Intel integrated GPU

Hello there, wondering if anyone has a tip or trick on getting HW acceleration running on a 3rd generation i5 where vainfo gives this output:

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

lshw gives this output:

 description: Computer
    width: 64 bits
    capabilities: smp vsyscall32
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 16GiB
     *-cpu
          product: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          version: 6.58.9
          size: 3093MHz
          capacity: 3300MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d cpufreq
          configuration: microcode=33
     *-pci
          description: Host bridge
          product: 3rd Gen Core processor DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 09
          width: 32 bits
          clock: 33MHz
          configuration: driver=ivb_uncore
          resources: irq:0
        *-display
             description: VGA compatible controller
             product: 3rd Gen Core processor Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             logical name: /dev/fb0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: vga_controller bus_master cap_list rom fb
             configuration: depth=32 driver=i915 latency=0 resolution=1600,900
             resources: irq:33 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:6000(size=64) memory:c0000-dffff
        *-usb:0
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB xHCI Host Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:25 memory:f2520000-f252ffff
        *-communication:0
             description: Communication controller
             product: 7 Series/C216 Chipset Family MEI Controller #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:30 memory:f2535000-f253500f

I have libva installed, as well as libva-intel-driver. Running on Gnome and Wayland. Appreciate any thoughts you may have. Thanks.

Seems to be bug. Fixed upstream but there’s no release.

Since libva-intel isn’t maintained anymore it’s probably not worth waiting for one. Either arch has to patch it, you patch it yourself or you could try aur/libva-intel-driver-git.

1 Like

Do you have libva-utils installed? Did you set the environmental variably for intel? I think it should be va_gl

Did you verify using vainfo

I did; thanks for your help. I’ll try patching like Schlaefer suggested. For now I can continue to run under X11; it’s a real pleasure the machine is still quite operational using EndeavourOS.

1 Like

Did you verify va-api and also vdpau? You need to set environmental variables for both with proper packages installed and verify.

https://wiki.archlinux.org/title/Hardware_video_acceleration

Ex: /etc/environment

LIBVA_DRIVER_NAME=i965
VDPAU_DRIVER=va_gl

Then verify if correct for each.