<div dir="ltr">Hi Julien, <div>After I set the variables as suggested, I get following output on running vainfo command:</div><div><br><div><div>libva info: VA-API version 1.3.0</div><div>libva info: va_getDriverName() returns -1</div><div>libva info: User requested driver 'i965'</div><div>libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so</div><div>libva info: Found init function __vaDriverInit_1_1</div><div>libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed</div><div>libva info: va_openDriver() returns -1</div><div>vaInitialize failed with error code -1 (unknown libva error),exit</div></div></div><div><br></div><div>Regards,</div><div>Saurabh Bora</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 3, 2019 at 12:49 AM Julien Isorce <<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Try:<div><br></div><div>LIBVA_DRIVERS_PATH= /usr/lib/x86_64-linux-gnu/dri/ LIBVA_DRIVER_NAME=i965 vainfo<br></div><div><br></div><div>-</div><div>Julien</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 2, 2019 at 12:06 PM Saurabh Bora <<a href="mailto:saurabh9bora@gmail.com" target="_blank">saurabh9bora@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Julien, <div><br></div><div>Thanks! for your suggestion.</div><div><br></div><div>I tried setting the variable LIBVA_DRIVER_NAME=i965</div><div>Following that I ran the vainfo command and output is as follows:</div><div><div>libva info: VA-API version 1.3.0</div><div>libva info: va_getDriverName() returns -1</div><div>libva info: User requested driver 'i965'</div><div>libva info: Trying to open /opt/intel/mediasdk/lib64/i965_drv_video.so</div><div>libva info: va_openDriver() returns -1</div><div>vaInitialize failed with error code -1 (unknown libva error),exit</div></div><div><br></div><div>Also, I ran the command: gst-inspect-1.0 vaapi</div><div>I still get 0 features. Is there something else I need to do?</div><div>I need to use hardware accelerated vaapi encoding elements and as they are unavailable, I am unable to do so.</div><div><br></div><div>Regards,</div><div>Saurabh Bora</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 2, 2019 at 11:48 PM Julien Isorce <<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>Try LIBVA_DRIVER_NAME=i965 vainfo<br></div><div>or uninstall the intel media sdk -> /opt/intel/mediasdk/lib64/iHD_drv_video.so</div><div><br></div><div>I do not know why it defaults to media sdk, you can create an issue to libva here <a href="https://github.com/intel/libva/issues" target="_blank">https://github.com/intel/libva/issues</a></div><div>as this does not look like a gstreamer issue.</div><div><br></div><div>Julien</div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 2, 2019 at 10:59 AM Saurabh Bora <<a href="mailto:saurabh9bora@gmail.com" target="_blank">saurabh9bora@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Experts!!<div dir="auto"><br></div><div dir="auto">Could anyone please explain why there are 0 features in gstreamer-vaapi plugin. Is it unavialable in my installed gsteramer-1.14.4 version. </div><div dir="auto">Do I need to install any other specific version to be able to use gstreamer-vaapi elements?</div><div dir="auto"><br></div><div dir="auto">Any help would be appreciated.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Saurabh Bora</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 26, 2019, 23:05 Saurabh Bora <<a href="mailto:saurabh9bora@gmail.com" target="_blank">saurabh9bora@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, <div><br></div><div>Please find output of below commands:</div><div>1) dmesg | grep drm</div><div>--> No Output</div><div><br></div><div>2) ls /dev/dri/</div><div>-->by-path card0 renderD128</div><div><br></div><div>3) ls /usr/lib/x86_64-linux-gnu/dri/<br></div><div>-->i915_dri.so nouveau_dri.so r200_dri.so radeon_dri.so swrast_dri.so</div><div>i965_dri.so nouveau_drv_video.so r300_dri.so radeonsi_dri.so vdpau_drv_video.so</div><div>i965_drv_video.so nouveau_vieux_dri.so r600_dri.so radeonsi_drv_video.so virtio_gpu_dri.so</div><div>kms_swrast_dri.so nvidia_drv_video.so r600_drv_video.so s3g_drv_video.so vmwgfx_dri.so</div><div><br></div><div>4)vainfo </div><div>-->libva info: VA-API version 1.3.0</div><div>libva info: va_getDriverName() returns -1</div><div>libva info: User requested driver 'iHD'</div><div>libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so</div><div>libva info: Found init function __vaDriverInit_1_3</div><div>libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed</div><div>libva info: va_openDriver() returns 18</div><div>vaInitialize failed with error code 18 (invalid parameter),exit</div><div><br></div><div><br></div><div>Regards,</div><div>Saurabh Bora</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 26, 2019 at 9:31 PM Julien Isorce <<a href="mailto:julien.isorce@gmail.com" rel="noreferrer" target="_blank">julien.isorce@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>Can you provide output of: </div><div> dmesg | grep drm</div><div> ls /dev/dri/</div><div> ls /usr/lib/x86_64-linux-gnu/dri/</div><div> vainfo</div><div><br></div><div>-</div><div>Julien</div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 26, 2019 at 8:41 AM Saurabh Bora <<a href="mailto:saurabh9bora@gmail.com" rel="noreferrer" target="_blank">saurabh9bora@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi All, <div><br></div><div>I have installed prebuilt binaries of gstreamer 14.4 on Ubuntu 18.04</div><div>It did not have gstreamer1.0-vaapi. Hence, I installed it using command - sudo apt-get install gstreamer1.0-vaapi.</div><div>Now, when I run the following command, I get output stating 0 features:</div><div>gst-inspect-1.0 vaapi</div><div><br></div><div>//-------------------------------------------------------------------------------------</div><div><div>Plugin Details:</div><div> Name vaapi</div><div> Description VA-API based elements</div><div> Filename /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so</div><div> Version 1.14.1</div><div> License LGPL</div><div> Source module gstreamer-vaapi</div><div> Source release date 2018-05-17</div><div> Binary package gstreamer-vaapi</div><div> Origin URL <a href="http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer" rel="noreferrer" target="_blank">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</a></div><div><br></div><div><br></div><div> 0 features:</div><div>//----------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>I expected output stating features such as vaapivp8enc, vaapivp8dec, etc.</div><div>Could anyone please help me understand the reason behind this?</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_947461296418235365gmail-m_4319045348184607071gmail-m_4671780406103954740gmail-m_-6511010448559453279m_2722065910013926477gmail-m_-2876860779378867515gmail-m_-7301176909018382856gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Thanks and Regards,</div><div dir="ltr">Saurabh Bora<br><div><br></div><div>PH NO : 7038166900</div><div>EMAIL : <a href="mailto:saurabh9bora@gmail.com" style="font-size:12.8px" rel="noreferrer" target="_blank">saurabh9bora@gmail.com</a></div><div> <a href="mailto:saurabh9bora@outlook.com" rel="noreferrer" target="_blank">saurabh9bora@outlook.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_947461296418235365gmail-m_4319045348184607071gmail-m_4671780406103954740gmail-m_-6511010448559453279m_2722065910013926477gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Thanks and Regards,</div><div dir="ltr">Saurabh Bora<br><div><br></div><div>PH NO : 7038166900</div><div>EMAIL : <a href="mailto:saurabh9bora@gmail.com" style="font-size:12.8px" rel="noreferrer" target="_blank">saurabh9bora@gmail.com</a></div><div> <a href="mailto:saurabh9bora@outlook.com" rel="noreferrer" target="_blank">saurabh9bora@outlook.com</a></div></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_947461296418235365gmail-m_4319045348184607071gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Thanks and Regards,</div><div dir="ltr">Saurabh Bora<br><div><br></div><div>PH NO : 7038166900</div><div>EMAIL : <a href="mailto:saurabh9bora@gmail.com" style="font-size:12.8px" target="_blank">saurabh9bora@gmail.com</a></div><div> <a href="mailto:saurabh9bora@outlook.com" target="_blank">saurabh9bora@outlook.com</a></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Thanks and Regards,</div><div dir="ltr">Saurabh Bora<br><div><br></div><div>PH NO : 7038166900</div><div>EMAIL : <a href="mailto:saurabh9bora@gmail.com" style="font-size:12.8px" target="_blank">saurabh9bora@gmail.com</a></div><div> <a href="mailto:saurabh9bora@outlook.com" target="_blank">saurabh9bora@outlook.com</a></div></div></div></div></div></div></div></div></div>