Hello,
I’ve problems getting the TX1 onboard camera (OV5693) to work. I followed the guideline “V4L2 on Jetson TX1” and “Example Sensor: OV5693” and I got one frame via yavta tool.
But whenever I tried to use
nvgstcapture-1.0
or use
/usr/bin/gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM),width=1920, height=1080, format=(string)I420' ! nvhdmioverlaysink -e
I always get “Camera Daemon stopped functioning…”
After some debugging it turns out that nvcamera-daemon tries to open “/dev/nvhost-ctrl-vi” which is not there that forces a SIGSEGV:
SCF: Error ResourceError: Unable to open Ioctl FD (in src/services/power/PowerServiceHwVi.cpp, function initialize(), line 41)
SCF: Error ResourceError: (propagating) (in src/services/power/PowerServiceCore.cpp, function initialize(), line 50)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf5d05450 (LWP 30236)]
0xf71e7078 in ?? () from /usr/lib/arm-linux-gnueabihf/tegra/libscf.so
(gdb) quit
[pid 30260] open("/dev/nvhost-ctrl-vi", O_RDWR|O_CLOEXEC) = -1 ENODEV (No such device)
[pid 30260] write(2, "SCF: Error ResourceError: Unable"..., 127SCF: Error ResourceError: Unable to open Ioctl FD (in src/services/power/PowerServiceHwVi.cpp, function initialize(), line 41)
) = 127
[pid 30260] close(-1) = -1 EBADF (Bad file descriptor)
[pid 30260] write(2, "SCF: Error ResourceError: (propa"..., 117SCF: Error ResourceError: (propagating) (in src/services/power/PowerServiceCore.cpp, function initialize(), line 50)
) = 117
[pid 30260] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffffff} ---
A previously opened “/dev/nvhost-ctrl” (not “/dev/nvhost-ctrl-vi”!) just went fine.
I’m using a L4T R23.2 with nVidia provided kernel source for 3.10.67 with patches to support OV5693.
Any hints?
Thank you.