may I have more details about this lumenera camera, is this supported by Jetson Camera Partners?
there’re sync-point timeout errors from your kernel logs. it’s due to camera stack cannot receive frame signaling within a while.
it’s Sensor Pixel Clock for camera stack for calculation, you may review the sensor timing since you’re able to restart nvargus_daemon service to make it work sometimes.
thanks
I have seen isp in the dmesg’s might be releated to the 8M
Also reviewing forums, it might be related to cpu usage. My video app is using 180% of 4 cores, I have two turned off. So is the “nice” of nvargus_daemon maybe a factor here?
I forwarded the email to lumenera, hoping they will get back on the Sensor Pixel clock
could you please use top commands, and switch the mode to Irix mode by “I” (shift+i) to get average CPU usage.
please also refer to https://www.freebsd.org/cgi/man.cgi?top(1)
thanks
before lumenera reply your question,
please check Applications Using V4L2 IOCTL Directly by using V4L2 IOCTL to verify basic camera functionality.
thanks
I ran the vctl-ctl command, when I did a ctrl-c I got
[ 1980.019899] ------------[ cut here ]------------
[ 1980.024534] WARNING: CPU: 0 PID: 12029 at drivers/media/v4l2-core/videobuf2-core.c:1667 __vb2_queue_cancel+0x11c/0x188
[ 1980.035367] —[ end trace 5d4aae212b22cc26 ]—
in the serial console, also ov5693.raw is zero length file.
v4l2-ctl is direct v4l2 interface to access the camera sensor, it’s used to validate sensor drivers.
so, here should be stability issue of lumenera camera. please contact with them for investigation.
thanks
you may upgrade the JetPack release to include the fixes.
FYI,
we’re having some fixes for camera stack, there’re changes included in the latest JetPack release.
please refer to r32.5 Release Notes for further details.
thanks
you may upgrade your JetPack release version to JetPack-4.5 / l4t-r32.5 to include error handling,
please refer to L4T Driver Package (BSP) Sources,
there’s added handling for the EVENT_TYPE_ERROR events, thanks
I can’t upgrade to r32.5, my camera driver is only good for r32.3.1
can you tell me and the camera vendor more about enhancement from r32.5 that need to be back ported to r32.3.1
Do these changes go in the camera driver?
Do these changes go in the OS?
Please give more details about what to look at in the BSP sources,
Can you forward me the info that you sent to the camera partners? I might have to do the changes the vendor gave me the camera driver code, so I think I might need to make the changes.
I did not write the camera driver, I have no information that a camera partner would have, I am experienced in linux drivers and such, but I am a camera newbee.
there’re kernel patches, you may integrate the changes and rebuilt/update the kernel;
please check the binaries under /usr/lib/, you should replace those binaries and perform a warm-reboot to make it works.
please note that, it’s only works for JetPack-4.3 / l4t-r32.3.1, please apply those for verification.
thanks
I don’t think those patches effect your display driver, as you can see, those were updates to the VI, and camera driver.
please share your kernel messages for more details, thanks
@JerryChang
added some debug to dsi side, rebuilt kernel, installed it, rebooted and Mipi DSI display came up, appears the first reboot after adding patches and libs, failed to read the device tree nvidia,dsi-reset element. It now does and more reboots are booting.
The patches might or might not have helped. I still am not 100%. I still see the messages from above when trying to start my app. It does seem to be less often, but it still does happen. Timing problem?
Next suggestion please.
Where these patches really available back in 5/2020, if so why am I just hearing about the patches now?
You better sharing some dmesg instead of only saying something not work. We don’t know what kind of error you have now. Share the log and save your own time.
as I mentioned before, it’s patches based-on r32.3.1; JetPack release is now available for JetPack-4.5.1 / l4t-r32.5.1
please share your kernel messages for more details, thanks