GLib-CRITICAL Error

Hello,

I am trying to open 2 opencv image windows on the Drive Xavier Ubuntu platform. I am able to capture the first few seconds of both camera streams, but the streams freeze shortly after. When I quit the application, I get the following errors

GLib-CRITICAL **: Source ID 277 was not found when attempting to remove it
GLib-CRITICAL **: Source ID 237 was not found when attempting to remove it

I am running the two cameras on I2C bus 0 (quad camera port A).
The frames are 640 x 513 8bit pixels at 30 fps.

I am able to run 2 much higher resolution cameras using the sample OpenGL-based application, so my guess is that it’s not a bandwidth issue.

Any help is much appreciated.

Thanks

Dear anil.dhurjaty,

Could you please let me know you’re using PDK / DriveSoftware version?
I think you’re using your own cameras not DW supported cameras. Right?
And the sample application is using gsteamer? Thanks.

Using PDK version 5.1.0.2-15191604

Installed Linux DRIVE Software 9.0

Correct, using my own cameras.

I’m not entirely sure if the sample application is using gstreamer. The sample application is nvmimg_cc (https://docs.nvidia.com/drive/active/5.1.0.2L/nvvib_docs/index.html#page/DRIVE_OS_Linux_SDK_Development_Guide%2FNvMedia%2Fnvmedia_nvmimg_cc.html%23wwconnect_header). It uses NvMediaIDPFlip (from nvmedia_idp.h) to display images to the screen.

Dear anil.dhurjaty,

Could you please update from DRIVE Software 9.0 to 10.0?
Then could you please re-check this topic? Thanks.

Hi anil.dhurjaty,

DRIVE Software 10.0 is now available to download - https://developer.nvidia.com/drive/downloads