Control: reassign -1 src:libva 2.7.0-1 Control: forcemerge 955585 -1 On 2020-04-09 12:31:06 +0200, Paul Menzel wrote: > Package: vainfo > Version: 2.6.0+ds1-1 > Severity: normal > > Dear Debian folks, > > > With an Intel Broadwell laptop > > $ lspci -nn -s 0:2 > 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics > 5500 [8086:1616] (rev 09) > > I am trying to get H264 decoded on the GPU. Therefore, I installed > *intel-media-va-driver-non-free* [1], which uninstalled > *intel-media-va-driver*. Now, `va_openDriver()` fails to load the > appropriate library. > > ``` > $ vainfo > libva info: VA-API version 1.7.0 > libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so > libva info: va_openDriver() returns -1 > vaInitialize failed with error code -1 (unknown libva error),exit
That's #955585 causing libva's detection of the driver to fail. Reassigning and merging. > $ sudo ln -s /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so > /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so > $ vainfo > libva info: VA-API version 1.7.0 > libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so > libva info: Found init function __vaDriverInit_1_7 > libva info: va_openDriver() returns 0 > vainfo: VA-API version: 1.7 (libva 2.6.0) > vainfo: Driver version: Intel iHD driver - 19.4.0 > vainfo: Supported profile and entrypoints > VAProfileNone : VAEntrypointVideoProc > VAProfileNone : VAEntrypointStats > VAProfileMPEG2Simple : VAEntrypointVLD > VAProfileMPEG2Simple : VAEntrypointEncSlice > VAProfileMPEG2Main : VAEntrypointVLD > VAProfileMPEG2Main : VAEntrypointEncSlice > VAProfileH264Main : VAEntrypointVLD > VAProfileH264Main : VAEntrypointEncSlice > VAProfileH264Main : VAEntrypointFEI > VAProfileH264High : VAEntrypointVLD > VAProfileH264High : VAEntrypointEncSlice > VAProfileH264High : VAEntrypointFEI > VAProfileVC1Simple : VAEntrypointVLD > VAProfileVC1Main : VAEntrypointVLD > VAProfileVC1Advanced : VAEntrypointVLD > VAProfileJPEGBaseline : VAEntrypointVLD > VAProfileH264ConstrainedBaseline: VAEntrypointVLD > VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice > VAProfileH264ConstrainedBaseline: VAEntrypointFEI > VAProfileVP8Version0_3 : VAEntrypointVLD > ``` > > How should the non-free library be included appropriately? It really makes a > difference as mpv usages drops from around 40 % to 12 %. As a temporary workaround: export LIBVA_DRIVER_NAME=iHD. Cheers > > > Kind regards, > > Paul > > -- System Information: > Debian Release: bullseye/sid > APT prefers unstable-debug > APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, > 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores) > Kernel taint flags: TAINT_WARN, TAINT_UNSIGNED_MODULE > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), > LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) > 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.30-4 > ii libva-drm2 2.7.0-1 > ii libva-wayland2 2.7.0-1 > ii libva-x11-2 2.7.0-1 > ii libva2 2.7.0-1 > ii libwayland-client0 1.18.0-1 > ii libx11-6 2:1.6.9-2 > > vainfo recommends no packages. > > vainfo suggests no packages. > > -- no debconf information > -- Sebastian Ramacher
signature.asc
Description: PGP signature