nvcodec 0 features loaded in Ubuntu 22.04 using gstreamer1.0-plugins-bad package
engnfrc at gmail.com
engnfrc at gmail.com
Thu Dec 15 20:18:42 UTC 2022
Turns out the issue was in the cache located at
`~/.cache/gstreamer-1.0/registry*`, someone removed it for me and now
`gst-inspect-1.0 nvcodec` shows 16 features present.
Josh Q
From: engnfrc at gmail.com <engnfrc at gmail.com>
Sent: Thursday, December 15, 2022 2:59 PM
To: gstreamer-devel at lists.freedesktop.org
Cc: engnfrc at gmail.com
Subject: nvcodec 0 features loaded in Ubuntu 22.04 using
gstreamer1.0-plugins-bad package
Good Afternoon,
I'm trying to use the `nvh264enc` element, but gst-inspect-1.0 cannot see
it, it also cannot see `nvcodec`. I see in the inspect that nvcodec has
Filename = "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so" and if
I run `gst-inspect-1.0
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so` I get 16 features
listed. Can someone help me figure out why they exist but can't be seen and
used?
I found this similar issue
(https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1293) but
running `export NVIDIA_DRIVER_CAPABILITIES=all` and `export
NVIDIA_VISIBLE_DEVICES=all` and they don't make any difference for me. Are
there other tags I need to set? Am I setting this incorrectly?
OS: Ubuntu 22.04.1
Kernel: 5.15.0-56-generic
sudo nvidia-smi
Thu Dec 15 14:47:22 2022
+---------------------------------------------------------------------------
--+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0
|
|-------------------------------+----------------------+--------------------
--+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr.
ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute
M. |
| | | MIG
M. |
|===============================+======================+====================
==|
| 0 NVIDIA GeForce ... Off | 00000000:65:00.0 Off |
N/A |
| 0% 49C P8 19W / 170W | 53MiB / 12288MiB | 0%
Default |
| | |
N/A |
+-------------------------------+----------------------+--------------------
--+
+---------------------------------------------------------------------------
--+
| Processes:
|
| GPU GI CI PID Type Process name GPU
Memory |
| ID ID Usage
|
|===========================================================================
==|
| 0 N/A N/A 1227 G /usr/lib/xorg/Xorg
46MiB |
| 0 N/A N/A 1357 G /usr/bin/gnome-shell
5MiB |
+---------------------------------------------------------------------------
--+
dpkg -l | grep gst
ii gir1.2-gstreamer-1.0:amd64 1.20.3-0ubuntu1
amd64 GObject introspection data for the GStreamer library
ii gst-crypto-hel:amd64 1.3.7-1ubuntu1
amd64 GStreamer crypto plugin - HEL branch.
ii gst-timestamp-manipulator:amd64 1.3.6-1ubuntu1
amd64 GStreamer plugins to manipulate buffer timestamps.
ii gstd-1-hel 1.3.6-1ubuntu1
amd64 GStreamer Daemon - HEL branch.
ii gstd-1-hel-config 1.3.7-1ubuntu1~rc3
amd64 Configuration and startup files for GStreamer Daemon - HEL
Edition.
ii gstreamer1.0-alsa:amd64 1.20.1-1
amd64 GStreamer plugin for ALSA
ii gstreamer1.0-clutter-3.0:amd64 3.0.27-2ubuntu1
amd64 Clutter PLugin for GStreamer 1.0
ii gstreamer1.0-espeak:amd64 0.5.0-1
amd64 GStreamer plugin for eSpeak speech synthesis
ii gstreamer1.0-gl:amd64 1.20.1-1
amd64 GStreamer plugins for GL
ii gstreamer1.0-packagekit 1.2.5-2ubuntu2
amd64 GStreamer plugin to install codecs using PackageKit
ii gstreamer1.0-pipewire:amd64 0.3.48-1ubuntu2
amd64 GStreamer 1.0 plugin for the PipeWire multimedia server
ii gstreamer1.0-plugins-bad:amd64 1.20.3-0ubuntu1
amd64 GStreamer plugins from the "bad" set
ii gstreamer1.0-plugins-base:amd64 1.20.1-1
amd64 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-apps 1.20.1-1
amd64 GStreamer helper programs from the "base" set
ii gstreamer1.0-plugins-good:amd64 1.20.3-0ubuntu1
amd64 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-ugly:amd64 1.20.1-1
amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.0-pulseaudio:amd64 1.20.3-0ubuntu1
amd64 GStreamer plugin for PulseAudio (transitional package)
ii gstreamer1.0-tools 1.20.3-0ubuntu1
amd64 Tools for use with GStreamer
ii gstreamer1.0-vaapi:amd64 1.20.1-1ubuntu1
amd64 VA-API plugins for GStreamer
ii gstreamer1.0-x:amd64 1.20.1-1
amd64 GStreamer plugins for X11 and Pango
ii libclutter-gst-3.0-0:amd64 3.0.27-2ubuntu1
amd64 Open GL based interactive canvas library GStreamer elements
ii libgstdcore:amd64 1.3.6-1ubuntu1
amd64 Core library for GStreamer Daemon - HEL branch.
ii libgstreamer-gl1.0-0:amd64 1.20.1-1
amd64 GStreamer GL libraries
ii libgstreamer-plugins-bad1.0-0:amd64 1.20.3-0ubuntu1
amd64 GStreamer libraries from the "bad" set
ii libgstreamer-plugins-base1.0-0:amd64 1.20.1-1
amd64 GStreamer libraries from the "base" set
ii libgstreamer-plugins-good1.0-0:amd64 1.20.3-0ubuntu1
amd64 GStreamer development files for libraries from the "good" set
ii libgstreamer1.0-0:amd64 1.20.3-0ubuntu1
amd64 Core GStreamer libraries and elements
gst-inspect-1.0 nvcodec
Plugin Details:
Name nvcodec
Description GStreamer NVCODEC plugin
Filename
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so
Version 1.20.3
License LGPL
Source module gst-plugins-bad
Source release date 2022-06-15
Binary package GStreamer Bad Plugins (Ubuntu)
Origin URL
https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0
0 features:
gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so
Plugin Details:
Name nvcodec
Description GStreamer NVCODEC plugin
Filename
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so
Version 1.20.3
License LGPL
Source module gst-plugins-bad
Source release date 2022-06-15
Binary package GStreamer Bad Plugins (Ubuntu)
Origin URL
https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0
cudadownload: CUDA downloader
cudaupload: CUDA uploader
nvh264dec: NVDEC h264 Video Decoder
nvh264enc: NVENC H.264 Video Encoder
nvh264sldec: NVDEC H.264 Stateless Decoder
nvh265dec: NVDEC h265 Video Decoder
nvh265enc: NVENC HEVC Video Encoder
nvh265sldec: NVDEC H.265 Stateless Decoder
nvjpegdec: NVDEC jpeg Video Decoder
nvmpeg2videodec: NVDEC mpeg2video Video Decoder
nvmpeg4videodec: NVDEC mpeg4video Video Decoder
nvmpegvideodec: NVDEC mpegvideo Video Decoder
nvvp8dec: NVDEC vp8 Video Decoder
nvvp8sldec: NVDEC VP8 Stateless Decoder
nvvp9dec: NVDEC vp9 Video Decoder
nvvp9sldec: NVDEC VP9 Stateless Decoder
16 features:
+-- 16 elements
Thanks,
Josh Q
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221215/66e1e415/attachment-0001.htm>
More information about the gstreamer-devel
mailing list