<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Josh Q<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> engnfrc@gmail.com <engnfrc@gmail.com> <br><b>Sent:</b> Thursday, December 15, 2022 2:59 PM<br><b>To:</b> gstreamer-devel@lists.freedesktop.org<br><b>Cc:</b> engnfrc@gmail.com<br><b>Subject:</b> nvcodec 0 features loaded in Ubuntu 22.04 using gstreamer1.0-plugins-bad package<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Good Afternoon,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I found this similar issue (<a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1293">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1293</a>) 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?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OS: Ubuntu 22.04.1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kernel: 5.15.0-56-generic<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>sudo nvidia-smi<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>Thu Dec 15 14:47:22 2022<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>+-----------------------------------------------------------------------------+<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>| NVIDIA-SMI 525.60.11    Driver Version: 525.60.11    CUDA Version: 12.0     |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|-------------------------------+----------------------+----------------------+<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|                               |                      |               MIG M. |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|===============================+======================+======================|<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|   0  NVIDIA GeForce ...  Off  | 00000000:65:00.0 Off |                  N/A |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|  0%   49C    P8    19W / 170W |     53MiB / 12288MiB |      0%      Default |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|                               |                      |                  N/A |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>+-------------------------------+----------------------+----------------------+<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal style='margin-left:.5in'>+-----------------------------------------------------------------------------+<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>| Processes:                                                                  |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|        ID   ID                                                   Usage      |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|=============================================================================|<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|    0   N/A  N/A      1227      G   /usr/lib/xorg/Xorg                 46MiB |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>|    0   N/A  N/A      1357      G   /usr/bin/gnome-shell                5MiB |<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>+-----------------------------------------------------------------------------+<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>dpkg -l | grep gst<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gir1.2-gstreamer-1.0:amd64                 1.20.3-0ubuntu1                         amd64        GObject introspection data for the GStreamer library<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gst-crypto-hel:amd64                       1.3.7-1ubuntu1                          amd64        GStreamer crypto plugin - HEL branch.<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gst-timestamp-manipulator:amd64            1.3.6-1ubuntu1                          amd64        GStreamer plugins to manipulate buffer timestamps.<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstd-1-hel                                 1.3.6-1ubuntu1                          amd64        GStreamer Daemon - HEL branch.<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstd-1-hel-config                          1.3.7-1ubuntu1~rc3                      amd64        Configuration and startup files for GStreamer Daemon - HEL Edition.<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-alsa:amd64                    1.20.1-1                                amd64        GStreamer plugin for ALSA<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-clutter-3.0:amd64             3.0.27-2ubuntu1                         amd64        Clutter PLugin for GStreamer 1.0<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-espeak:amd64                  0.5.0-1                                 amd64        GStreamer plugin for eSpeak speech synthesis<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-gl:amd64                      1.20.1-1                                amd64        GStreamer plugins for GL<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-packagekit                    1.2.5-2ubuntu2                          amd64        GStreamer plugin to install codecs using PackageKit<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-pipewire:amd64                0.3.48-1ubuntu2                         amd64        GStreamer 1.0 plugin for the PipeWire multimedia server<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-plugins-bad:amd64             1.20.3-0ubuntu1                         amd64        GStreamer plugins from the "bad" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-plugins-base:amd64            1.20.1-1                                amd64        GStreamer plugins from the "base" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-plugins-base-apps             1.20.1-1                                amd64        GStreamer helper programs from the "base" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-plugins-good:amd64            1.20.3-0ubuntu1                         amd64        GStreamer plugins from the "good" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-plugins-ugly:amd64            1.20.1-1                                amd64        GStreamer plugins from the "ugly" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-pulseaudio:amd64              1.20.3-0ubuntu1                         amd64        GStreamer plugin for PulseAudio (transitional package)<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-tools                         1.20.3-0ubuntu1                         amd64        Tools for use with GStreamer<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-vaapi:amd64                   1.20.1-1ubuntu1                         amd64        VA-API plugins for GStreamer<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  gstreamer1.0-x:amd64                       1.20.1-1                                amd64        GStreamer plugins for X11 and Pango<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  libclutter-gst-3.0-0:amd64                 3.0.27-2ubuntu1                         amd64        Open GL based interactive canvas library GStreamer elements<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  libgstdcore:amd64                          1.3.6-1ubuntu1                          amd64        Core library for GStreamer Daemon - HEL branch.<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  libgstreamer-gl1.0-0:amd64                 1.20.1-1                                amd64        GStreamer GL libraries<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  libgstreamer-plugins-bad1.0-0:amd64        1.20.3-0ubuntu1                         amd64        GStreamer libraries from the "bad" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  libgstreamer-plugins-base1.0-0:amd64       1.20.1-1                                amd64        GStreamer libraries from the "base" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  libgstreamer-plugins-good1.0-0:amd64       1.20.3-0ubuntu1                         amd64        GStreamer development files for libraries from the "good" set<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>ii  libgstreamer1.0-0:amd64                    1.20.3-0ubuntu1                         amd64        Core GStreamer libraries and elements<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>gst-inspect-1.0 nvcodec<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>Plugin Details:<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Name                     nvcodec<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Description              GStreamer NVCODEC plugin<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Version                  1.20.3<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  License                  LGPL<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Source module            gst-plugins-bad<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Source release date      2022-06-15<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Binary package           GStreamer Bad Plugins (Ubuntu)<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Origin URL               <a href="https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0">https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0</a><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal style='margin-left:.5in'>  0 features:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>Plugin Details:<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Name                     nvcodec<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Description              GStreamer NVCODEC plugin<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Version                  1.20.3<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  License                  LGPL<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Source module            gst-plugins-bad<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Source release date      2022-06-15<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Binary package           GStreamer Bad Plugins (Ubuntu)<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  Origin URL               <a href="https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0">https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0</a><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal style='margin-left:.5in'>  cudadownload: CUDA downloader<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  cudaupload: CUDA uploader<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvh264dec: NVDEC h264 Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvh264enc: NVENC H.264 Video Encoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvh264sldec: NVDEC H.264 Stateless Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvh265dec: NVDEC h265 Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvh265enc: NVENC HEVC Video Encoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvh265sldec: NVDEC H.265 Stateless Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvjpegdec: NVDEC jpeg Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvmpeg2videodec: NVDEC mpeg2video Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvmpeg4videodec: NVDEC mpeg4video Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvmpegvideodec: NVDEC mpegvideo Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvvp8dec: NVDEC vp8 Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvvp8sldec: NVDEC VP8 Stateless Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvvp9dec: NVDEC vp9 Video Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  nvvp9sldec: NVDEC VP9 Stateless Decoder<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal style='margin-left:.5in'>  16 features:<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>  +-- 16 elements<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Josh Q<o:p></o:p></p></div></body></html>