Help with gstreamer-vaapi + rockchip vpu vaapi driver

Ezequiel Garcia ezequiel at vanguardiasur.com.ar
Wed Aug 15 22:58:34 UTC 2018


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!
-- 
Ezequiel GarcĂ­a, VanguardiaSur
www.vanguardiasur.com.ar


More information about the gstreamer-devel mailing list