gst-inspect-1.0 vaapi gives 0 features on Ubuntu

Julien Isorce julien.isorce at gmail.com
Thu May 2 18:18:46 UTC 2019


Hi,

Try LIBVA_DRIVER_NAME=i965 vainfo
or uninstall the intel media sdk ->
/opt/intel/mediasdk/lib64/iHD_drv_video.so

I do not know why it defaults to media sdk, you can create an issue to
libva here https://github.com/intel/libva/issues
as this does not look like a gstreamer issue.

Julien


On Thu, May 2, 2019 at 10:59 AM Saurabh Bora <saurabh9bora at gmail.com> wrote:

> Hi Experts!!
>
> Could anyone please explain why there are 0 features in gstreamer-vaapi
> plugin. Is it unavialable in my installed gsteramer-1.14.4 version.
> Do I need to install any other specific version to be able to use
> gstreamer-vaapi elements?
>
> Any help would be appreciated.
>
> Regards,
> Saurabh Bora
>
> On Fri, Apr 26, 2019, 23:05 Saurabh Bora <saurabh9bora at gmail.com> wrote:
>
>> Hi,
>>
>> Please find output of below commands:
>> 1) dmesg | grep drm
>> --> No Output
>>
>> 2) ls /dev/dri/
>> -->by-path  card0  renderD128
>>
>> 3) ls /usr/lib/x86_64-linux-gnu/dri/
>> -->i915_dri.so        nouveau_dri.so        r200_dri.so
>> radeon_dri.so          swrast_dri.so
>> i965_dri.so        nouveau_drv_video.so  r300_dri.so
>> radeonsi_dri.so        vdpau_drv_video.so
>> i965_drv_video.so  nouveau_vieux_dri.so  r600_dri.so
>> radeonsi_drv_video.so  virtio_gpu_dri.so
>> kms_swrast_dri.so  nvidia_drv_video.so   r600_drv_video.so
>> s3g_drv_video.so       vmwgfx_dri.so
>>
>> 4)vainfo
>> -->libva info: VA-API version 1.3.0
>> libva info: va_getDriverName() returns -1
>> libva info: User requested driver 'iHD'
>> libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
>> libva info: Found init function __vaDriverInit_1_3
>> libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
>> libva info: va_openDriver() returns 18
>> vaInitialize failed with error code 18 (invalid parameter),exit
>>
>>
>> Regards,
>> Saurabh Bora
>>
>> On Fri, Apr 26, 2019 at 9:31 PM Julien Isorce <julien.isorce at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Can you provide output of:
>>>   dmesg | grep drm
>>>   ls /dev/dri/
>>>   ls /usr/lib/x86_64-linux-gnu/dri/
>>>   vainfo
>>>
>>> -
>>> Julien
>>>
>>>
>>> On Fri, Apr 26, 2019 at 8:41 AM Saurabh Bora <saurabh9bora at gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have installed prebuilt binaries of gstreamer 14.4 on Ubuntu 18.04
>>>> It did not have gstreamer1.0-vaapi. Hence, I installed it using command
>>>> - sudo apt-get install gstreamer1.0-vaapi.
>>>> Now, when I run the following command, I get output stating 0 features:
>>>> gst-inspect-1.0 vaapi
>>>>
>>>>
>>>> //-------------------------------------------------------------------------------------
>>>> Plugin Details:
>>>>   Name                     vaapi
>>>>   Description              VA-API based elements
>>>>   Filename
>>>>  /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so
>>>>   Version                  1.14.1
>>>>   License                  LGPL
>>>>   Source module            gstreamer-vaapi
>>>>   Source release date      2018-05-17
>>>>   Binary package           gstreamer-vaapi
>>>>   Origin URL
>>>> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
>>>>
>>>>
>>>>   0 features:
>>>>
>>>> //----------------------------------------------------------------------------------------------------------------------
>>>>
>>>> I expected output stating features such as vaapivp8enc, vaapivp8dec,
>>>> etc.
>>>> Could anyone please help me understand the reason behind this?
>>>>
>>>> --
>>>> Thanks and Regards,
>>>> Saurabh Bora
>>>>
>>>> PH NO : 7038166900
>>>> EMAIL : saurabh9bora at gmail.com
>>>>              saurabh9bora at outlook.com
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>
>> --
>> Thanks and Regards,
>> Saurabh Bora
>>
>> PH NO : 7038166900
>> EMAIL : saurabh9bora at gmail.com
>>              saurabh9bora at outlook.com
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190502/f328069f/attachment-0001.html>


More information about the gstreamer-devel mailing list