You are not logged in.
I installed Devuan Daedalus (testing) i386 on a ThinkPad with i3 cpu. While installing, on the tasksel screen, I unchecked everything except standard utilities (last one) for a minimal setup. After install I logged in to the system and installed xserver-xorg package, openbox and some other things.
From openbox session when I run vainfo I get a "iHD_drv_video.so init failed" error:
$ vainfo
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva error: /usr/lib/i386-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/i386-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.17 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake Mobile - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Setting "LIBVA_DRIVER_NAME=i965" gets rid of the error though:
$ LIBVA_DRIVER_NAME=i965 vainfo
libva info: VA-API version 1.17.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/lib/i386-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.17 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake Mobile - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I haven't tried setting it on environment system-wide. Is that a good idea?
Searching around I found this thread which links to this task on Arch Linux project that has these 2 comments:
Downgrading intel-gmmlib 22.1.2-1 -> 22.0.3-1 is enough to restore functionality.
...
Rebuilding intel-media-driver against uptodate intel-gmmlib is enough to fix the issue as well.
Other outputs:
$ sudo lshw -c CPU | head -n4
*-cpu
description: CPU
product: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
vendor: Intel Corp.
$ lspci -nn | grep -E 'VGA|Display'
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
$ glxinfo | grep ^Open
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics (ILK)
OpenGL version string: 2.1 Mesa 22.3.3
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 22.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 02
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=1280,800
resources: irq:27 memory:f2000000-f23fffff memory:d0000000-dfffffff ioport:1800(size=8) memory:c0000-dffff
$ sudo dmesg | grep i915
[ 18.602520] intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled until i915 loads
[ 20.326065] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 20.328931] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 20.377923] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 20.379331] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 20.393557] fbcon: i915drmfb (fb0) is primary device
[ 20.996558] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 23.910795] intel ips 0000:00:1f.6: i915 driver attached, reenabling gpu turbo
Is there a solution to this?
Offline