See3CAM_CU130 on TX1 with OpenCV

Hi

I purchased a See3CAM_CU130 which is listed as supported camera here:

I am able to access the camera with opencv and gstreamer, but I have no luck with the framerate.

The camera should be able to give 30 fps at 4k.

For gstreamer this pipeline is working with high fps (not sure how to measure fps but it looks close to 30) but it seems that the colors are wrongly interpreted

gst-launch-1.0 -v  v4l2src ! image/jpeg, width=3840, height=2160, framerate=30/1 ! nvjpegdec ! nvoverlaysink

Additionally at each frame this error is thrown:

libnvv4l2_utils: dmabuf_fd (1059) is already mapped

This pipeline resulting in the same output:

gst-launch-1.0 -v  v4l2src ! image/jpeg, width=3840, height=2160, framerate=30/1 ! nvjpegdec ! "video/x-raw(memory:NVMM), format=I420" ! nvoverlaysink

I am getting correct colors but much less fps when I run this pipeline:

gst-launch-1.0 -v  v4l2src ! image/jpeg, width=3840, height=2160, framerate=30/1 ! nvjpegdec ! "video/x-raw, format=I420" ! nvoverlaysink

For OpenCV I was not lucky to get more then 15 fps this way:

cv::VideoCapture("v4l2src device=/dev/video0 ! image/jpeg, width=1920, height=1080, framerate=60/1 ! nvjpegdec ! video/x-raw(memory:NVMM), format=I420 ! nvvidconv ! video/x-raw, format=BGRx ! videoconvert ! appsink caps='video/x-raw, format=BGR'")

This is also working but only with 3 fps:

cv::VideoCapture(0)

If I am using

nvgstcapture-1.0

i am only getting a completely green image.

Does any one have the same camera or some ideas how to improve performance?

Please give a try with the new usb3 fw from,
https://devtalk.nvidia.com/default/topic/919354/jetson-tx1/usb-3-transfer-failures/post/4899105/#4899105