vainfo requires a nvidia sofile not in repositories

Bug #1890815 reported by Patola
190
This bug affects 44 people
Affects Status Importance Assigned to Milestone
libva-utils (Ubuntu)
Invalid
Undecided
Unassigned
vdpau-video (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
$ ls -la /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
ls: cannot access '/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so': No such file or directory
$ apt-file search nvidia_drv_video.so
$

The bug report interface does not allow me to say it's in the 'vainfo' package, so I had to use what ubuntu-bug made me use, libva-utils.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: vainfo 2.6.0+ds1-1
Uname: Linux 5.6.0-19.1-liquorix-amd64 x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ICEWM
Date: Fri Aug 7 14:21:03 2020
InstallationDate: Installed on 2018-01-08 (942 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
SourcePackage: libva-utils
UpgradeStatus: Upgraded to focal on 2020-05-01 (97 days ago)
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2018-12-08T09:39:42.468905

Revision history for this message
Patola (patola) wrote :
Revision history for this message
Matt McDonald (gardotd426) wrote :

Yeah the package missing is vdpau-va-driver, which is in previous releases of Ubuntu, but for some reason was dropped for Canonical.

This breaks numerous things on 20.04 when using the Nvidia proprietary drivers.

What's crazy is that this actually isn't Nvidia's fault, Ubuntu dropped the package.

Can you guys please add the package to the repositories for Focal like you have for previous versions?

Link to the files for the package in the bionic repos:

https://packages.ubuntu.com/bionic/amd64/vdpau-va-driver/filelist

That package does not exist on Focal.

Revision history for this message
Patola (patola) wrote :

Incredible. More than one week later, this bug report has not been touched and it's still unassigned. What happened with Canonical?

Revision history for this message
Goro Daimon (gorodaimon71113) wrote :

When will they fix this error?

Revision history for this message
Patola (patola) wrote :

For anyone looking at this bug report, if you use debian's packages it works. It's vdpau-va-driver:

64 bits:
http://ftp.br.debian.org/debian/pool/main/v/vdpau-video/vdpau-va-driver_0.7.4-7_amd64.deb

32 bits:
http://ftp.br.debian.org/debian/pool/main/v/vdpau-video/vdpau-va-driver_0.7.4-7_i386.deb

Install both. Then run vainfo.

Revision history for this message
Patola (patola) wrote :

And this bug is left unattended for 42 days now. Is this a new record or something? Congratulations for the incompetence in dealing even with the most basic and easy to fix bugs, Canonical. Just for the sake of it, I opened a bug in Arch Linux stating the same thing, even referencing this one. The result? Assigned and closed with the solution in less than one hour and a half. https://bugs.archlinux.org/task/67932

Learn how to deal with bugs, Canonical. You don't just let them lingering around.

Revision history for this message
Goro Daimon (gorodaimon71113) wrote :

Canonical doesn't even care about its users. This is a bad support.

Revision history for this message
nukedathlonman (areginato) wrote :

Well, still broken....Or rather a key package is MIA. Trying to configuring up my new HTPC and this was one of the major headaches I was having with getting the video card operating properly. But thanks to Patola, I pulled the missing package (vdpau-va-driver_0.7.4-7_amd64.deb) from Debian - yes everything is functioning properly now.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libva-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Srijan Kumar Sharma (raja-srijan) wrote :

I'm facing same issue. This is not the only package missing in 20.04 I has issues install some other packages too.

Revision history for this message
Pander (pander) wrote :

Can more people confirm that this is also an issue for 21.04?

Revision history for this message
Tarassov Sergey (satarasov) wrote :

This is still an issue in 21.10 after I made do-release-upgrade from 21.04.

Revision history for this message
Francisco Canela (fcanela) wrote :

Installing the package from 18.04 (https://launchpad.net/ubuntu/cosmic/amd64/vdpau-va-driver/0.7.4-6ubuntu1) worked for me. Just download the .deb and install it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The vdpau-va-driver was removed from Debian as deprecated in 2019, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934397 so that's not the solution there

Norbert (nrbrtx)
tags: added: hirsute impish jammy
Revision history for this message
Norbert (nrbrtx) wrote :

Please finally fix this bug by SRU or something. Rebuild VLC, vainfo and so on.
It continues to happen - see questions like https://askubuntu.com/q/1378418/66509 even with fresh Ubuntu 20.04.3 LTS (20210819) installation.

Moreover I have just confirmed this bug while running vainfo on Ubuntu MATE 22.04 LTS on VAIO F13Z1 with Nvidia GT425M using 390.144 video driver. Can't play a video with VLC player (see attached log). It is unbelievable.
Fixed by using package from 18.04 LTS as follows:

```
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/v/vdpau-video/vdpau-va-driver_0.7.4-6ubuntu1_amd64.deb
sudo apt-get install ./vdpau-va-driver_0.7.4-6ubuntu1_amd64.deb
```

But it absolutely unexpected for newbies and inexperienced users.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vdpau-video (Ubuntu):
status: New → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

vdpau-video 0.7.4 was released over nine years ago, there has been no updates to it since, Debian removed the package and we had it synced from there so naturally it got removed from Ubuntu as well

Since nvidia supports VDPAU natively, why can't you use it instead?

Changed in vdpau-video (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Norbert (nrbrtx) wrote :

@Timo could you please reproduce the issue without this 9years comments?

I have video GT425M card which is older, but still works on 18.04 LTS. But not on 20.04 LTS and 22.04 LTS. See above screenscast. It can't play video in VLC.

Changed in vdpau-video (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I don't have nvidia

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

that said, if the automatic setting isn't good, force it to use vdpau

Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

For NVIDIA cards, use VDPAU. Most media players (if not all) have auto-detection implemented and otherwise the settings can usually be changed to force VDPAU. The message " Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so" is harmless (and part of the probing). There is nothing to fix.

Changed in libva-utils (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Marcos Alano (mhalano) wrote :

What about NVENC/NVDEC? New standard created to replace VDPAU? This project implements a VA-API driver for this technology: https://github.com/elFarto/nvidia-vaapi-driver I think it would be a nice idea to package it.

Revision history for this message
Martin Privat (martinprivat) wrote :

@Sebastian I need to use gstreamer1.0 with hardware acceleration for some video processing application in MATLAB (MATLAB uses gstreamer1.0, I know I should be using python but a lot of scripts I am using are already in MATLAB and I am not going to reinvent the wheel). Is there a way to use hardware acceleration with gstreamer directly through VDPAU ? If not I am missing the functionality provided by vdpau-va-driver

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.