Hi everyone!
I’m trying to use a raspberry camera on my jetson, which should be compatible, but I can’t get it to work. I’d appreciate any ideas on things to check to troubleshoot this. Thanks in advance!
{HW}
-nv-jetson-nano-sd-card-image-r32.2.1
-Camera V2 rasp pi 8 megapixel Sony IMX219 image sensor
bought from element 14, its exactly this one:
https://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/raspberry-pi-camera-board
{Details}
I followed instructions on the following video
In specific, after I connect the camera, the test
gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=616' ! nvvidconv ! nvegltransform ! nveglglessink -e
throws a no cameras connected error:
Setting pipeline to PAUSED ...
Using winsys: x11
Pipeline is live and does not need PREROLL ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:521 No cameras available
Got EOS from element "pipeline0".
Execution ended after 0:00:00.223809135
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
I also tried the example python script on CSI-Camera, indicated in the tutorial
python simple_camera.py
,which outputs the same rror as befor
nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)60/1 ! nvvidconv flip-method=0 ! video/x-raw, width=(int)1280, height=(int)720, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:521 No cameras available
Gtk-Message: 16:46:10.491: Failed to load module "canberra-gtk-module"
I googled possible errors. Following instructions on the following thread Raspberry Pi Camera v2.1 - Device not detected error thrown - Jetson Nano - NVIDIA Developer Forums, I exported klog.txt
dmesg > klog.txt
I looked it up and found an error in this file
imx219_board_setup error during i2c read probe -121
This error looks the same to this thread
, but theres no sulotion for this. Any ideas on what I can check next?
thanks in advance!