You are not logged in.

#1 2021-09-15 13:45:33

Cvlc
Member
Registered: 2020-03-26
Posts: 58

[SOLVED] Blacklisted Gstreamer VAAPI module

Hi
When trying to follow GStreamer#Verify_VA-API_support,

$ gst-inspect-1.0 vaapi

returns no output, and Iindeed libgstvaapi.so is blacklisted.

How can I find out why it is blacklisted ? (it's the only blacklisted module)

Thanks !

Last edited by Cvlc (2021-09-15 14:50:53)

Offline

#2 2021-09-15 13:48:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,805

Re: [SOLVED] Blacklisted Gstreamer VAAPI module

worksforme where do you see a "blacklist" ? it's a separate package though so you'll need to install gstreamer-vaapi, what's your output for

GST_DEBUG=4  gst-inspect-1.0 vaapi

Assuming proper repo packages, does vaapi itself work properly? check with vainfo.

Last edited by V1del (2021-09-15 13:52:04)

Offline

#3 2021-09-15 13:51:06

Cvlc
Member
Registered: 2020-03-26
Posts: 58

Re: [SOLVED] Blacklisted Gstreamer VAAPI module

Hi,

gstreamer-vaapi is installed

$ gst-inspect-1.0 --print-blacklist
Blacklisted files:
  libgstvaapi.so

Total count: 1 blacklisted file

Offline

#4 2021-09-15 13:52:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,805

Re: [SOLVED] Blacklisted Gstreamer VAAPI module

Mhm, see my edit.

Offline

#5 2021-09-15 13:57:16

Cvlc
Member
Registered: 2020-03-26
Posts: 58

Re: [SOLVED] Blacklisted Gstreamer VAAPI module

$ GST_DEBUG=4 LANG=en gst-inspect-1.0 vaapi
0:00:00.000015989  4289 0x5648f0451000 INFO                GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.18.4
0:00:00.000028813  4289 0x5648f0451000 INFO                GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib
0:00:00.000032861  4289 0x5648f0451000 INFO                GST_INIT gst.c:605:init_pre: Linux modern15 5.14.2-arch1-2 #1 SMP PREEMPT Thu, 09 Sep 2021 09:42:35 +0000 x86_64
0:00:00.000107979  4289 0x5648f0451000 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000257479  4289 0x5648f0451000 INFO                GST_INIT gstcontext.c:85:_priv_gst_context_initialize: init contexts
0:00:00.000324919  4289 0x5648f0451000 INFO      GST_PLUGIN_LOADING gstplugin.c:325:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000356041  4289 0x5648f0451000 INFO      GST_PLUGIN_LOADING gstplugin.c:233:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000359295  4289 0x5648f0451000 INFO      GST_PLUGIN_LOADING gstplugin.c:235:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000367667  4289 0x5648f0451000 INFO            GST_REGISTRY gstregistry.c:1755:ensure_current_registry: reading registry cache: /home/cedric/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.005791329  4289 0x5648f0451000 INFO            GST_REGISTRY gstregistrybinary.c:666:priv_gst_registry_binary_read_cache: loaded /home/cedric/.cache/gstreamer-1.0/registry.x86_64.bin in 0.005414 seconds
0:00:00.005812121  4289 0x5648f0451000 INFO            GST_REGISTRY gstregistry.c:1614:scan_and_update_registry: Validating plugins from registry cache: /home/cedric/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.007273213  4289 0x5648f0451000 INFO      GST_PLUGIN_LOADING gstplugin.c:1537:gst_plugin_ext_dep_extract_env_vars_paths:<plugin246> ignoring environment variable content 'iHD': either not an absolute path or not a path at all
0:00:00.007298247  4289 0x5648f0451000 INFO            GST_REGISTRY gstregistry.c:1713:scan_and_update_registry: Registry cache has not changed
0:00:00.007301149  4289 0x5648f0451000 INFO            GST_REGISTRY gstregistry.c:1790:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.007305431  4289 0x5648f0451000 INFO                GST_INIT gst.c:806:init_post: GLib runtime version: 2.68.4
0:00:00.007307778  4289 0x5648f0451000 INFO                GST_INIT gst.c:808:init_post: GLib headers version: 2.66.7
0:00:00.007309330  4289 0x5648f0451000 INFO                GST_INIT gst.c:810:init_post: initialized GStreamer successfully
No such element or plugin 'vaapi'

I tried Ignoring the driver_whitelist but it doesn't change anything. Intel Media Driver should be supported anyway since 1.18

$ vainfo
vainfo: VA-API version: 1.12 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.3.2 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain               :	VAEntrypointEncSliceLP
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointEncSliceLP
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile1            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileVP9Profile3            :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointEncSlice
      VAProfileHEVCMain422_10         :	VAEntrypointVLD
      VAProfileHEVCMain422_10         :	VAEntrypointEncSlice
      VAProfileHEVCMain422_12         :	VAEntrypointVLD
      VAProfileHEVCMain422_12         :	VAEntrypointEncSlice
      VAProfileHEVCMain444            :	VAEntrypointVLD
      VAProfileHEVCMain444            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         :	VAEntrypointVLD
      VAProfileHEVCMain444_10         :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          :	VAEntrypointVLD
      VAProfileHEVCSccMain10          :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         :	VAEntrypointVLD
      VAProfileHEVCSccMain444         :	VAEntrypointEncSliceLP
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointEncSliceLP

Last edited by Cvlc (2021-09-15 13:58:07)

Offline

#6 2021-09-15 14:04:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,805

Re: [SOLVED] Blacklisted Gstreamer VAAPI module

0:00:00.007273213  4289 0x5648f0451000 INFO      GST_PLUGIN_LOADING gstplugin.c:1537:gst_plugin_ext_dep_extract_env_vars_paths:<plugin246> ignoring environment variable content 'iHD': either not an absolute path or not a path at all

reads like it misinterprets LIBVA_DRIVER_NAME=iHD as a path. What happens if you unset that before running the inspect command?

Offline

#7 2021-09-15 14:10:21

Cvlc
Member
Registered: 2020-03-26
Posts: 58

Re: [SOLVED] Blacklisted Gstreamer VAAPI module

LANG=en LIBVA_DRIVER_NAME="" GST_DEBUG=4 gst-inspect-1.0 vaapi
0:00:00.000016084  4671 0x556db4072000 INFO                GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.18.4
0:00:00.000028064  4671 0x556db4072000 INFO                GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib
0:00:00.000031828  4671 0x556db4072000 INFO                GST_INIT gst.c:605:init_pre: Linux modern15 5.14.2-arch1-2 #1 SMP PREEMPT Thu, 09 Sep 2021 09:42:35 +0000 x86_64
0:00:00.000106928  4671 0x556db4072000 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000255088  4671 0x556db4072000 INFO                GST_INIT gstcontext.c:85:_priv_gst_context_initialize: init contexts
0:00:00.000322701  4671 0x556db4072000 INFO      GST_PLUGIN_LOADING gstplugin.c:325:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000353363  4671 0x556db4072000 INFO      GST_PLUGIN_LOADING gstplugin.c:233:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000358457  4671 0x556db4072000 INFO      GST_PLUGIN_LOADING gstplugin.c:235:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000365325  4671 0x556db4072000 INFO            GST_REGISTRY gstregistry.c:1755:ensure_current_registry: reading registry cache: /home/cedric/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.005861862  4671 0x556db4072000 INFO            GST_REGISTRY gstregistrybinary.c:666:priv_gst_registry_binary_read_cache: loaded /home/cedric/.cache/gstreamer-1.0/registry.x86_64.bin in 0.005487 seconds
0:00:00.005917368  4671 0x556db4072000 INFO            GST_REGISTRY gstregistry.c:1614:scan_and_update_registry: Validating plugins from registry cache: /home/cedric/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.007424534  4671 0x556db4072000 INFO            GST_REGISTRY gstregistry.c:1713:scan_and_update_registry: Registry cache has not changed
0:00:00.007430283  4671 0x556db4072000 INFO            GST_REGISTRY gstregistry.c:1790:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.007433231  4671 0x556db4072000 INFO                GST_INIT gst.c:806:init_post: GLib runtime version: 2.68.4
0:00:00.007435790  4671 0x556db4072000 INFO                GST_INIT gst.c:808:init_post: GLib headers version: 2.66.7
0:00:00.007437364  4671 0x556db4072000 INFO                GST_INIT gst.c:810:init_post: initialized GStreamer successfully
No such element or plugin 'vaapi'

It suppresses the warning but the module is still blacklisted.

Offline

#8 2021-09-15 14:16:42

Cvlc
Member
Registered: 2020-03-26
Posts: 58

Re: [SOLVED] Blacklisted Gstreamer VAAPI module

OK

I did

$ rm ~/.cache/gstreamer-1.0/registry.x86_64.bin 

and now :

$ gst-inspect-1.0 vaapi
Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /usr/lib/gstreamer-1.0/libgstvaapi.so
  Version                  1.18.4
  License                  LGPL
  Source module            gstreamer-vaapi
  Source release date      2021-03-15
  Binary package           gstreamer-vaapi
  Origin URL               https://www.archlinux.org/

  vaapijpegdec: VA-API JPEG decoder
  vaapimpeg2dec: VA-API MPEG2 decoder
  vaapih264dec: VA-API H264 decoder
  vaapivc1dec: VA-API VC1 decoder
  vaapivp8dec: VA-API VP8 decoder
  vaapivp9dec: VA-API VP9 decoder
  vaapih265dec: VA-API H265 decoder
  vaapioverlay: VA-API overlay
  vaapipostproc: VA-API video postprocessing
  vaapidecodebin: VA-API Decode Bin
  vaapisink: VA-API sink
  vaapimpeg2enc: VA-API MPEG-2 encoder
  vaapih264enc: VA-API H264 encoder
  vaapijpegenc: VA-API JPEG encoder
  vaapih265enc: VA-API H265 encoder

  15 features:
  +-- 15 elements

Maybe the module was blacklisted before the iHD driver was whitelisted ?

Offline

Board footer

Powered by FluxBB