Help with gstreamer-vaapi + rockchip vpu vaapi driver
Víctor Jáquez
vjaquez at igalia.com
Thu Aug 16 09:22:57 UTC 2018
Ezequiel,
As v4l2 driver is not in the whitelist of VA driver backends you should disable
the backend test, setting the environment variable
$ export GST_VAAPI_ALL_DRIVERS=1
For more info you can glance this post:
https://blogs.igalia.com/vjaquez/2018/03/28/gstreamer-va-api-troubleshooting/
vmjl
On Wed, 15 Aug 2018 at 19:58, Ezequiel Garcia wrote:
> Hi guys,
>
> I'm trying to get gstreamer-vaapi to work with the VPU codec driver
> I'm working (for Rockchip platforms).
> However, despite having a seemingly working vaapi driver:
>
> # vainfo
> error: can't connect to X server!
> libva info: VA-API version 1.2.0
> libva info: va_getDriverName() returns -1
> libva info: User requested driver 'v4l2_request'
> libva info: Trying to open /usr/lib/va/v4l2_request_drv_video.so
> libva info: Found init function __vaDriverInit_1_2
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 1.2 (libva 2.2.0)
> vainfo: Driver version: v4l2-request
> vainfo: Supported profile and entrypoints
>
> v4l2-request: Unable to set MG2S format for type 10: Invalid argument
> VAProfileH264Main : VAEntrypointVLD
> VAProfileH264High : VAEntrypointVLD
> VAProfileH264ConstrainedBaseline: VAEntrypointVLD
> VAProfileH264MultiviewHigh : VAEntrypointVLD
> VAProfileH264StereoHigh : VAEntrypointVLD
>
> Gstreamer-vaapi don't output any elements:
>
> # LIBVA_DRIVER_NAME=v4l2_request gst-inspect-1.0 vaapi
> Plugin Details:
> Name vaapi
> Description VA-API based elements
> Filename /usr/lib/gstreamer-1.0/libgstvaapi.so
> Version 1.14.2
> License LGPL
> Source module gstreamer-vaapi
> Source release date 2018-07-20
> Binary package gstreamer-vaapi
> Origin URL
> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
>
>
> 0 features:
>
> Any hints on how I can debug this?
>
> Thanks!
More information about the gstreamer-devel
mailing list