Hi,
We did not use the USB cameras in our ODM system unit.
In order to clarify this issue, I have changed the source from the camera to the “videotestsrc” embedded in the Nvidia TX2 module.
So, we can ignore the problem of what kinds of camera firstly. After testing my attached program in Nvidia TX2 EVK, we can observe the same issue like as live view will crash at the 128th opens every time in the our ODM system unit and show the error messages below. (we can’t really use command line to test as we can’t add/remove the elements dynamically in command line.)
Please help to highlight this issue and put this test program to NV developer forum again. And we hope that you also contact NV’s sales and let them find resources to debug this issue asap.
Thanks.
We have found the sources of the error messages like as the list below. We also attach the source code “NvDrmRenderer.cpp” of the item1 and item2 for your reference. Please contact NV’s sales and request the resource to debug.
Thanks. NvDrmRenderer.cpp (28.7 KB)
Can you clarify what is the exact steps to hit the error? I am not quite sure why we have gstreamer sample in the first comment and then we now have DRM sample in the latest comment.
These two have no connection.
Also, please stop asking us to find NV sales. Just try to describe your problem clearly first.
We have two issues on this topic. We found that as we called the “NvDrmRenderer”, it always failed at the 128th open, so please help to check this. After the 128th open failure issue is solved on the
“NvDrmRenderer”, , it will be retested and check if the other issue is solved synchronously.
Please refer to the below steps:
• Boot the Nvidia Jetson TX2 EVK.
• Execute the “a.out” test program in my attached folder
• This error will happen at every 128th open.
Hi,
In gst_sample.tgz, it switches to NULL state without EoS notification. This may not be good. We suggest send EoS and wait for it, switch to NULL state, unrefer and re-initialize the pipeline.
After following the suggestion to modify our original code, I observe that there are error messages like as my attached .txt file when we execute the a.out in Nvidia Jetson TX2 EVK. error_log.txt (1.2 KB)
I also try to put the suggesting code in different locations of our original code. However, it also shows different error messages after rebuilding and executing the a.out. gst_sample.tgz (180 KB)
After testing the simple nvdrmvideosink.py code of python on my Jetson TX2 EVK, got the error messages as the below figure. And the program would be hung at the first loop.
Please help to check. Thanks.
We followed NV’s suggestion to stop the display manager then tested the provided simple python code. And it could pass 600 times of testing. Could NV provide the related sample code in C or C++?
Thanks.
We tested the sample code that the algorithm closes the whole pipeline can test passed 600 times.
Is there any way not to close the pipeline and keeps the function works?