FS#67932 - [libva-utils] vainfo depends on unpackaged library nvidia_drv_video.so

Attached to Project: Community Packages
Opened by Cláudio Sampaio (patola) - Friday, 18 September 2020, 14:32 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Friday, 18 September 2020, 15:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
vainfo from libva-utils depends on a library (nvidia_drv_video.so) that is not included in the package or its dependencies in the case of nvidia.

Additional info:
* package version(s)
community/libva-utils 2.9.0-1

* config and/or log files etc.
No config

* link to upstream bug report, if any

Steps to reproduce:
Just run vainfo, having a NVIDIA card with any of the packaged drivers. Tried with many of them, from stable to AUR, it doesn't seem to belong to any package.

[16:26] [3099] [patola@risadinha build]% vainfo
vaInitialize failed with error code -1 (unknown libva error),exit
[16:26] [3100] [patola@risadinha build]% strace vainfo 2>&1 | grep ENOENT
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
connect(3, {sa_family=AF_UNIX, sun_path="/run/user/1000/wayland-0"}, 27) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/dri/nvidia_drv_video.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/usr/lib/dri/nvidia_drv_video.so", F_OK) = -1 ENOENT (No such file or directory)
[16:27] [3101] [patola@risadinha build]% pacman -Q | grep -i nvidia
lib32-nvidia-utils-beta 450.66-1
lib32-opencl-nvidia-beta 450.66-1
nvidia-beta 450.66-1
nvidia-settings-beta 450.66-1
nvidia-utils-beta 450.66-1
opencl-nvidia-beta 450.66-1
[16:30] [3103] [patola@risadinha build]% pacman -Q | grep libva
lib32-libva 2.8.0-1
libva 2.9.0-1
libva-utils 2.9.0-1

BTW, there's a duplicate of this bug in ubuntu's bugtracker which has not even been touched for more than a month. https://bugs.launchpad.net/ubuntu/+source/libva-utils/+bug/1890815
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Friday, 18 September 2020, 15:49 GMT
Reason for closing:  Not a bug
Comment by Cláudio Sampaio (patola) - Friday, 18 September 2020, 14:34 GMT
BTW, configuration here, if it is of any interest
[16:33] [3104] [patola@risadinha build]% inxi -bGI
System: Host: risadinha Kernel: 5.8.9-arch2-1 x86_64 bits: 64 Desktop: IceWM 1.8.2 Distro: Arch Linux
Machine: Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING PLUS (MS-7C37) v: 2.0 serial: <superuser/root required>
UEFI: American Megatrends v: A.70 date: 01/09/2020
CPU: Info: 8-Core AMD Ryzen 7 3700X [MT MCP] speed: 4200 MHz
Graphics: Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] driver: nvidia v: 450.66
Device-2: Valve USB5744 type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.9 driver: nvidia unloaded: modesetting resolution: 2560x1080~144Hz
OpenGL: renderer: GeForce RTX 2070 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 450.66
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
Drives: Local Storage: total: 11.85 TiB used: 5.91 TiB (49.9%)
Info: Processes: 328 Uptime: 2h 45m Memory: 31.37 GiB used: 3.20 GiB (10.2%) Shell: Zsh inxi: 3.1.06
Comment by Bruno Pagani (ArchangeGabriel) - Friday, 18 September 2020, 15:49 GMT
$ pacman -F /usr/lib/dri/nvidia_drv_video.so
usr/lib/dri/nvidia_drv_video.so is owned by extra/libva-vdpau-driver 0.7.4-4

Which is expected since the only way to use VAAPI with the proprietary driver is through this VAAPI→VDPAU translation layer.

Loading...