Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) • DeepStream Version • JetPack Version (valid for Jetson only) • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only)
Running deepstream_imagedata-multistream.py got failed at creating nvstreammux instance.
Gst.ElementFactory.make(“nvstreammux”, “Stream-muxer”)
Creating streamux
Unable to create NvStreamMux
Traceback (most recent call last):
File "deepstream_imagedata-multistream.py", line 415, in <module>
sys.exit(main(sys.argv))
File "deepstream_imagedata-multistream.py", line 266, in main
pipeline.add(streammux)
File "/usr/lib/python3/dist-packages/gi/overrides/Gst.py", line 64, in add
if not Gst.Bin.add(self, arg):
TypeError: Argument 1 does not allow None as a value
It seems gstreamer doesn’t have plugin nvstreammux. The question is how to install this plugin, I searched around didn’t figure out yet. I installed all the packages with JetPack 4.4 and SDKmanager 1.1, isn’t that supposed to install everything needed for deepstream 5.0 applications?
Can you find nvstreammux plugin?
gst-inspect-1.0 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so
If you choose install deepstream by sdkmanager, it will automatically install the package needed.
Thanks @amycao. I do install deepstream 5.0 by sdkmanager 1.1, the nvstreammux library is there, yet the date is not the installation date, it seems the date when the plugin was generated by nvidia?
Nothing with ‘dmesg | grep -i gpu’, below is what I observed in /var/log/syslog/. It seems the gpu card was not initialized properly. This is TX2 development kit, it’s supposed to be supported by the kernel in JetPack4.4, right?
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: Error opening /sys/devices/gpu.0/power/control: 2
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: failed to write PARAM GPU_POWER_CONTROL_ENABLE: ARG GPU_PWR_CNTL_EN: PATH: /sys/devices/gpu.0/power/control VAL: on
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: Error opening /sys/devices/17000000.gp10b/devfreq/17000000.gp10b/available_frequencies: 2
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: failed to read PARAM GPU: ARG FREQ_TABLE: PATH /sys/devices/17000000.gp10b/devfreq/17000000.gp10b/available_frequencies
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: Error opening /sys/devices/gpu.0/power/control: 2
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: failed to write PARAM GPU_POWER_CONTROL_DISABLE: ARG GPU_PWR_CNTL_DIS: PATH: /sys/devices/gpu.0/power/control VAL: auto
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: failed to set power mode!
Jun 10 10:58:43 tx2-desktop nvpmodel[6090]: NVPM ERROR: optMask is 2, no request for power mode
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1146] manager: (l4tbr0): new Bridge device (/org/freedesktop/NetworkManager/Devices/4)
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1173] manager: (rndis0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/5)
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1196] manager: (usb0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/6)
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1341] devices added (path: /sys/devices/virtual/net/l4tbr0, iface: l4tbr0)
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1342] device added (path: /sys/devices/virtual/net/l4tbr0, iface: l4tbr0): no ifupdown configuration found.
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1404] devices added (path: /sys/devices/3550000.xudc/gadget/net/usb0, iface: usb0)
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1404] device added (path: /sys/devices/3550000.xudc/gadget/net/usb0, iface: usb0): no ifupdown configuration found.
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1413] devices added (path: /sys/devices/3550000.xudc/gadget/net/rndis0, iface: rndis0)
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1414] device added (path: /sys/devices/3550000.xudc/gadget/net/rndis0, iface: rndis0): no ifupdown configuration found.
Jun 10 10:58:43 tx2-desktop NetworkManager[5682]: [1591801123.1490] modem-manager: ModemManager available
Jun 10 10:58:43 tx2-desktop systemd[1]: nvpmodel.service: Main process exited, code=exited, status=255/n/a
Jun 10 10:58:43 tx2-desktop systemd[1]: nvpmodel.service: Failed with result ‘exit-code’.
Jun 10 10:58:43 tx2-desktop systemd[1]: Failed to start nvpmodel service.
I think the root cause to this issue is that the GPU card is broken. I even tried flashing JetPack 4.2.3 to this TX2, it got the same error, failed to initialize the GPU card.
Jun 11 09:17:07 tx2-desktop /usr/lib/gdm3/gdm-x-session[17430]: (==) Automatically adding GPU devices
Jun 11 09:17:07 tx2-desktop /usr/lib/gdm3/gdm-x-session[17430]: (==) Automatically binding GPU devices
Jun 11 09:17:07 tx2-desktop /usr/lib/gdm3/gdm-x-session[17430]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Jun 11 09:17:07 tx2-desktop /usr/lib/gdm3/gdm-x-session[17430]: (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
Don’t know how easy the TX2 dev kit may get broken.
Can you do one more test to try with Jetpack 3.3? it’s an earlier jetpack version. I flashed with this version, cuda sample work well, if your device still can not initialize GPU properly, then it should be GPU broken.