Source: libva
Version 2.7.0-1
Control: forwarded -1 https://github.com/intel/libva/issues/396
Control: retitle -1 libva: fails to detect driver with mesa 20

On 2020-04-02 21:32:13, Patrice Duroux wrote:
> Hi,
> 
> 1. Using libva (2.7.0-1) and intel-media-driver (19.4.1+dfsg1-1), and with
> vainfo (2.6.0+ds1-1)
> I am facing this:
> 
> patrice@kos-moceratops ~> 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
> 
> patrice@kos-moceratops ~ [3]> ls /usr/lib/x86_64-linux-gnu/dri/
> i915_dri.so        iHD_drv_video.so   nouveau_dri.so        r200_dri.so
>  r600_drv_video.so  radeonsi_drv_video.so  vmwgfx_dri.so
> i965_dri.so        iris_dri.so        nouveau_drv_video.so  r300_dri.so
>  radeon_dri.so      swrast_dri.so          zink_dri.so
> i965_drv_video.so  kms_swrast_dri.so  nouveau_vieux_dri.so  r600_dri.so
>  radeonsi_dri.so    virtio_gpu_dri.so
> 
> patrice@kos-moceratops ~> LIBVA_DRIVER_NAME=iHD vainfo
> libva info: VA-API version 1.7.0
> libva info: User environment variable requested driver 'iHD'
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_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
>       VAProfileMPEG2Simple            : VAEntrypointVLD
>       VAProfileMPEG2Main              : VAEntrypointVLD
>       VAProfileH264Main               : VAEntrypointVLD
>       VAProfileH264Main               : VAEntrypointEncSliceLP
>       VAProfileH264High               : VAEntrypointVLD
>       VAProfileH264High               : VAEntrypointEncSliceLP
>       VAProfileJPEGBaseline           : VAEntrypointVLD
>       VAProfileJPEGBaseline           : VAEntrypointEncPicture
>       VAProfileH264ConstrainedBaseline: VAEntrypointVLD
>       VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
>       VAProfileVP8Version0_3          : VAEntrypointVLD
>       VAProfileHEVCMain               : VAEntrypointVLD
>       VAProfileHEVCMain10             : VAEntrypointVLD
>       VAProfileVP9Profile0            : VAEntrypointVLD
>       VAProfileVP9Profile2            : VAEntrypointVLD

This seems to be an upstream bug that surfaced due to mesa renaming the
driver. See https://github.com/intel/libva/issues/396.

Turning this into a bug.

Best
Sebastian

> 
> But the README.Debian providing this information has been removed from
> intel-media-driver(-non-free).
> Why libav is not able to initialize correctly and find a suitable driver?
> 
> 2. https://salsa.debian.org/multimedia-team/libva/-/tree/master/debian
> show a README.Debian, but which is the binary package that provides it?
> I do not see it under /usr/share/doc/libva2
> 
> May be this file could be a place to give such a clue if needed?
> 
> 3. Also to me vainfo output is creating some confusion about versions by
> showing '(libva 2.6.0)',
> so I suppose it has to be understood as '(libva-utils 2.6.0)' (or the
> version of vainfo), isn't it?
> 
> Thanks,
> Patrice
> 
> ps: do not hesitate to tell me to fill bugreport(s) in case.

-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to