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 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, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
Thanks and Regards, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Julien, Thanks! for your suggestion. I tried setting the variable LIBVA_DRIVER_NAME=i965 Following that I ran the vainfo command and output is as follows: libva info: VA-API version 1.3.0 libva info: va_getDriverName() returns -1 libva info: User requested driver 'i965' libva info: Trying to open /opt/intel/mediasdk/lib64/i965_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Also, I ran the command: gst-inspect-1.0 vaapi I still get 0 features. Is there something else I need to do? I need to use hardware accelerated vaapi encoding elements and as they are unavailable, I am unable to do so. Regards, Saurabh Bora On Thu, May 2, 2019 at 11:48 PM Julien Isorce <[hidden email]> wrote:
Thanks and Regards, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Try: LIBVA_DRIVERS_PATH= /usr/lib/x86_64-linux-gnu/dri/ LIBVA_DRIVER_NAME=i965 vainfo - Julien On Thu, May 2, 2019 at 12:06 PM Saurabh Bora <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Julien, After I set the variables as suggested, I get following output on running vainfo command: libva info: VA-API version 1.3.0 libva info: va_getDriverName() returns -1 libva info: User requested driver 'i965' libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_1 libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Regards, Saurabh Bora On Fri, May 3, 2019 at 12:49 AM Julien Isorce <[hidden email]> wrote:
Thanks and Regards, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
VA_INTEL_DEBUG=3 LIBVA_DRIVERS_PATH= /usr/lib/x86_64-linux-gnu/dri/ LIBVA_DRIVER_NAME=i965 vainfo Report the issue there https://github.com/intel/libva/issues - Julien On Thu, May 2, 2019 at 12:45 PM Saurabh Bora <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
export LIBVA_DRIVER_NAME=i965
vainfo libva info: VA-API version 1.7.0 libva info: User environment variable requested driver 'i965' libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_6 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.7 (libva 2.6.0) vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 2.4.0 vainfo: Supported profile and entrypoints -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
What driver does vainfo select if you don't set LIBVA_DRIVER_NAME? On Sun, Jul 12, 2020 at 6:24 AM jeyp4 <[hidden email]> wrote: export LIBVA_DRIVER_NAME=i965 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, 15 Jul 2020 at 17:24, Tyler Compton wrote:
> What driver does vainfo select if you don't set LIBVA_DRIVER_NAME? libva will iterate among the available VADevices (drm/x11/wayland) to find a driver name compatible with the kernel driver with the open device. > > On Sun, Jul 12, 2020 at 6:24 AM jeyp4 <[hidden email]> wrote: > > > export LIBVA_DRIVER_NAME=i965 > > > > vainfo > > libva info: VA-API version 1.7.0 > > libva info: User environment variable requested driver 'i965' > > libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so > > libva info: Found init function __vaDriverInit_1_6 > > libva info: va_openDriver() returns 0 > > vainfo: VA-API version: 1.7 (libva 2.6.0) > > vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 2.4.0 > > vainfo: Supported profile and entrypoints > > > > > > > > -- > > Sent from: http://gstreamer-devel.966125.n4.nabble.com/ > > _______________________________________________ > > gstreamer-devel mailing list > > [hidden email] > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |