Package: vainfo
Version: 2.22.0+ds1-1
Severity: normal
X-Debbugs-Cc: t...@fastmail.com

Hello Maintainers,

The current vainfo release does not support 'drm' as display driver, which 
fails on Debian headless/server installations:

| vainfo
| Trying display: wayland
| Trying display: x11
| error: can't connect to X server!
| error: failed to initialize display
|
| vainfo --display drm
| error: failed to initialize display 'drm'

apt installs 'libdrm2' but it seems 'libva-drm2' is no longer installed as 
dependency (on bookworm it did).
I did the following to compile and install a local vainfo with drm display 
support:

| apt install build-essential libtool pkg-config git libdrm-dev libva-dev
| git clone https://salsa.debian.org/multimedia-team/libva-utils.git
| cd libva-utils
| ./autogen.sh
| make && make install 

ldd drm from vainfo (apt) and vainfo (local):

| ldd /usr/bin/vainfo | grep drm
| libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f14bbaaf000)
|
| ldd /usr/local/bin/vainfo | grep drm
| libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f17fcd50000)
| libva-drm.so.2 => /lib/x86_64-linux-gnu/libva-drm.so.2 (0x00007f17fcd4b000)

Output from vainfo (local):

| vainfo
| Trying display: wayland
| Trying display: drm
| libva info: VA-API version 1.22.0
| libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
| libva info: Found init function __vaDriverInit_1_22
| libva info: va_openDriver() returns 0
| vainfo: VA-API version: 1.22 (libva 2.22.0)
| vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 25.1.2 ()
| vainfo: Supported profile and entrypoints
| ...

I'm not sure whether this is actually a bug or if DRM display support was 
intentionally left out. However, for those running Debian headless, having DRM 
display support would be useful.

Best regards,
Tom Wijnroks

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.17-amd64 (SMP w/18 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vainfo depends on:
ii  libc6               2.40-7
ii  libva-wayland2      2.22.0-3
ii  libva-x11-2         2.22.0-3
ii  libva2              2.22.0-3
ii  libwayland-client0  1.23.1-3
ii  libx11-6            2:1.8.10-2

vainfo recommends no packages.

vainfo suggests no packages.

-- no debconf information

Reply via email to