I am chasing down a bug with VAAPI and VDPAU and found the linked bug post on Debian's bug tracker. I am seeing exactly what the original bug poster reported and the solution was an update to libva-vdpau-driver to 0.7.4-7 from an older version. Can we get a version bump on libva-vdpau-driver to the latest? Reproducible: Always Steps to Reproduce: 1. Install nvidia-drivers 2. Unmask and install x11-libs/libva-2.3.0 3. run `vainfo` Actual Results: Errors out saying the driver doesn't have a function $ vainfo libva info: VA-API version 1.3.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so libva error: /usr/lib64/va/drivers/nvidia_drv_video.so has no function __vaDriverInit_1_0 libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Expected Results: Information about video acceleration capabilities of nvidia driver via VDPAU like in the older versions of libva: $ vainfo libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: User requested driver 'vdpau' libva info: Trying to open /usr/lib64/va/drivers/vdpau_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.39 (libva 1.7.3) vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG4Simple : VAEntrypointVLD VAProfileMPEG4AdvancedSimple : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD
We have three of Debian's four patches already. The Debian bug report's solution was rebuilding vdpau-video against libva2. We could add a slot dependency, but I'm not sure it's worth the trouble. Just try rebuilding this package after libva-2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe323bf48050358c9e2a7be98421c108978bf12 commit 0fe323bf48050358c9e2a7be98421c108978bf12 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-06-13 19:42:00 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-06-13 19:59:23 +0000 x11-libs/libva-vdpau-driver: Port to EAPI=7 And fix s/DEPEND/RDEPEND/ typo (bug 687780), add missing libva slot dep (bug 673376), and add a patch from Debian while we're here. Closes: https://bugs.gentoo.org/673376 Closes: https://bugs.gentoo.org/687780 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../libva-vdpau-driver-0.7.4-libvdpau-0.8.patch | 4 +- .../libva-vdpau-driver-0.7.4-sigfpe-crash.patch | 21 ++++++++++ .../libva-vdpau-driver-0.7.4-r5.ebuild | 47 ++++++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-)