Please provide complete information as applicable to your setup.
• Hardware Platform GPU RTX 2060
• DeepStream Version 6.1
• NVIDIA GPU Driver Version (valid for GPU only) 510.47.03
• Issue Type questions
Hi, I’m trying to run multiple streams using deepstream. However, only 6 streams added, the fps droped to 2.
2023-04-28 02:10:53.471 | DEBUG | kbds.util.FPS:perf_print_callback:64 - **PERF:
{'stream0': 1.84, 'stream1': 1.84, 'stream2': 1.84, 'stream3': 1.84, 'stream4': 1.84, 'stream5': 1.84, 'stream6': 0.0, 'stream7': 0.0, 'stream8': 0.0, 'stream9': 0.0, 'stream10': 0.0, 'stream11': 0.0, 'stream12': 0.0, 'stream13': 0.0, 'stream14': 0.0, 'stream15': 0.0}
2023-04-28 02:11:01.093 | DEBUG | kbds.util.FPS:perf_print_callback:64 - **PERF:
{'stream0': 1.44, 'stream1': 1.44, 'stream2': 1.44, 'stream3': 1.44, 'stream4': 1.44, 'stream5': 1.44, 'stream6': 0.0, 'stream7': 0.0, 'stream8': 0.0, 'stream9': 0.0, 'stream10': 0.0, 'stream11': 0.0, 'stream12': 0.0, 'stream13': 0.0, 'stream14': 0.0, 'stream15': 0.0}
2023-04-28 02:11:09.091 | DEBUG | kbds.util.FPS:perf_print_callback:64 - **PERF:
{'stream0': 1.5, 'stream1': 1.5, 'stream2': 1.5, 'stream3': 1.5, 'stream4': 1.5, 'stream5': 1.5, 'stream6': 0.0, 'stream7': 0.0, 'stream8': 0.0, 'stream9': 0.0, 'stream10': 0.0, 'stream11': 0.0, 'stream12': 0.0, 'stream13': 0.0, 'stream14': 0.0, 'stream15': 0.0}
2023-04-28 02:11:17.220 | DEBUG | kbds.util.FPS:perf_print_callback:64 - **PERF:
{'stream0': 2.09, 'stream1': 2.09, 'stream2': 2.09, 'stream3': 2.09, 'stream4': 2.09, 'stream5': 2.09, 'stream6': 0.0, 'stream7': 0.0, 'stream8': 0.0, 'stream9': 0.0, 'stream10': 0.0, 'stream11': 0.0, 'stream12': 0.0, 'stream13': 0.0, 'stream14': 0.0, 'stream15': 0.0}
I try to find out why and get confused that my gpu is not working
hx@hx-System-Product-Name:~$ nvidia-smi
Fri Apr 28 10:05:36 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| 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:01:00.0 Off | N/A |
| 0% 45C P2 29W / 190W | 3053MiB / 6144MiB | 12% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 913 G /usr/lib/xorg/Xorg 36MiB |
| 0 N/A N/A 1131 G /usr/bin/gnome-shell 6MiB |
| 0 N/A N/A 46658 C python3 1853MiB |
+-----------------------------------------------------------------------------+
I continue to dig in and using nvidia-smi dmon
command, here is the output:
hx@hx-System-Product-Name:~$ nvidia-smi dmon
# gpu pwr gtemp mtemp sm mem enc dec mclk pclk
# Idx W C C % % % % MHz MHz
0 29 46 - 8 3 0 1 6801 1365
0 47 47 - 5 2 0 1 6801 1365
0 29 46 - 16 6 0 1 6801 1365
0 46 46 - 8 3 0 2 6801 1365
0 29 46 - 9 3 0 1 6801 1365
0 29 46 - 9 3 0 1 6801 1365
0 29 46 - 9 3 0 1 6801 1365
0 29 46 - 0 0 0 0 6801 1365
0 29 46 - 9 3 0 1 6801 1365
0 29 47 - 8 3 0 1 6801 1365
0 43 47 - 4 2 0 1 6801 1365
0 29 47 - 15 6 0 2 6801 1365
0 44 47 - 7 3 0 1 6801 1365
0 29 47 - 9 3 0 1 6801 1365
0 29 47 - 17 6 0 2 6801 1365
0 29 47 - 5 2 0 1 6801 1365
0 29 47 - 0 0 0 0 6801 1365
0 42 47 - 13 5 0 2 6801 1470
0 31 47 - 17 7 0 2 6801 1470
0 46 48 - 8 3 0 1 6801 1365
0 29 47 - 9 3 0 1 6801 1365
0 45 47 - 9 3 0 1 6801 1365
0 46 47 - 9 3 0 1 6801 1365
0 46 47 - 4 2 0 1 6801 1365
0 29 47 - 9 3 0 1 6801 1365
0 29 47 - 4 2 0 1 6801 1365
0 29 48 - 5 2 0 1 6801 1365
0 29 47 - 12 5 0 1 6801 1365
0 29 47 - 4 2 0 0 6801 1365
0 29 48 - 5 2 0 0 6801 1365
0 32 48 - 4 2 0 1 6801 1365
0 29 48 - 8 3 0 1 6801 1365
0 56 48 - 5 2 0 1 6801 1365
0 29 48 - 13 5 0 2 6801 1365
0 47 48 - 13 5 0 2 6801 1365
0 29 48 - 13 5 0 2 6801 1365
0 29 48 - 12 5 0 2 6801 1365
0 40 49 - 13 5 0 2 6801 1830
0 40 49 - 7 3 0 1 6801 1830
0 29 48 - 12 5 0 1 6801 1365
0 29 48 - 8 3 0 1 6801 1365
0 29 48 - 5 2 0 1 6801 1365
0 30 49 - 12 5 0 2 6801 1365
0 47 49 - 4 2 0 1 6801 1365
# gpu pwr gtemp mtemp sm mem enc dec mclk pclk
# Idx W C C % % % % MHz MHz
0 29 48 - 13 5 0 2 6801 1365
0 30 49 - 9 3 0 1 6801 1365
0 30 49 - 9 3 0 1 6801 1365
0 47 49 - 17 6 0 2 6801 1395
It seems the decoder is not working right? Why and how can I fix this?
By the way, I’ve set the properties of fakesink
as I searched on the google.
self.sink.set_property("sync", 0)
self.sink.set_property("qos", 0)
Thanks in advance.