I just received my TX2 developer kit and when I try to use the onboard camera I get an error. I’ve tried with different demos. They all give me the same error in dmesg:
[cuda] cudaAllocMapped 8192 bytes, CPU 0x102a02000 GPU 0x102a02000
[gstreamer] gstreamer transitioning pipeline to GST_STATE_PLAYING
[gstreamer] gstreamer failed to set pipeline state to PLAYING (error 0)
imagenet-camera: failed to open camera for streaming
The gst-launch complains about WARNING: erroneous pipeline: no element “nvoverlaysink”
The v4l2 command seems to work but when I open the test.raw file that’s been created I only see some green noise. I use the following command to open the file:
So I gave nvgstcapture-1.0 a try and I get the following error:
Runtime encoder configuration options:
Set Encoding Bit-rate(in bytes):
br:<val> e.g., br:4000000
Get Encoding Bit-rate(in bytes):
gbr
Set Encoding Profile(only for H.264):
ep:<val> e.g., ep:1
(0): Baseline
(1): Main
(2): High
Get Encoding Profile(only for H.264):
gep
Force IDR Frame on video Encoder(only for H.264):
Enter 'f'
Encoder null, cannot set bitrate!
Encoder Profile = Baseline
** (nvgstcapture-1.0:2332): ERROR **: <get_video_encoder:2031> Can't Create video encoder element
Trace/breakpoint trap (core dumped)
could you please run the launching camera failure use-case again and gather the kernel message,
please also keep the kernel message from the system booting stage. thanks
I’m having issues with a Zed camera and a usb webcam on software I’ve been running on the TX1 with no issues. Ros-kinetic-usb_cam. The Zed sdk was just released however on the TX2 I have it also fails. The usb_webcam puts out one image then goes dark. The Zed doesn’t come up at all. Something seems funky with video4linux.
according to the attachment, i saw the nvcamera-daemon service keep crashing, nvcamera-daemon is the background service for handling camera pipeline.
could you please try to stop the default service and launch nvcamera-daemon manually, this may provide more information.
may i know what’s your commands to launch Zed camera and kinetic usb camera?
since this topic is talking about default onboard camera, i would suggest you file a new topic for tracking dual camera use-case. thanks
there’s another framework could access camera too, could you please take a try to access camera via mm api to help us narrow down the issue.
you’re able to download the L4T Multimedia API Reference from Embedded Download Center for reference.
thanks
I tried the 09_camera_jpeg_capture sample in the l4t multimedia API and I still get a segfault. When looking at dmesg after that segfault I always get back to the same error:
Sorry for the long silence, I just had time to reflash my Jetson TX2 with the latest JetPack 3.0 and it did fix it. For some reason I can’t find a way to accept your latest suggestion as solving the problem :S