Issue connecting IMX219 waveshare camera with jetson nano production module

I am trying to connect Waveshare IMX219 160deg camera with jetson nano production module. I am getting follwing error.

jetpack version is 4.5.2

DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1’ ! nvoverlaysink -e
No protocol specified
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
No protocol specified
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 3264 H = 2464
seconds to Run = 0
Frame Rate = 21.000000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…

(gst-launch-1.0:10947): GStreamer-CRITICAL **: 08:41:09.297: gst_mini_object_set_qdata: assertion ‘object != NULL’ failed
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 266)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 368)

hello yadavaprasath,

it looks you’re not select the supported sensor mode to launch the camera stream, please have a try to modify the parameters as shown in the available Sensor modes.

btw, please refer to the sample commands and please do have a try with the Applications Using V4L2 IOCTL Directly, it uses V4L2 IOCTL to verify basic functionality during sensor bring-up.
thanks

Again same error.

$ DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=1280, height=720, format=(string)NV12, framerate=(fraction)60/1’ ! nvoverlaysink -e
No protocol specified
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
No protocol specified
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 5
Output Stream W = 1280 H = 720
seconds to Run = 0
Frame Rate = 120.000005
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…

(gst-launch-1.0:9961): GStreamer-CRITICAL **: 11:39:29.090: gst_mini_object_set_qdata: assertion ‘object != NULL’ failed
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 266)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 368)
^[[1;2B^[[1;2A^Chandling interrupt.
Interrupt: Stopping pipeline …
Interrupt while waiting for EOS - stopping pipeline…
Execution ended after 0:00:14.929151287
Setting pipeline to PAUSED …
Setting pipeline to READY …
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87)
Caught SIGSEGV

hello yadavaprasath,

please check developer guide, Applications Using V4L2 IOCTL Directly.
you should confirm with V4L2 IOCTL to verify basic functionality during sensor bring-up.
thanks

Sorry. i couldnt understand this. they have given a command. if i copy paste it in terminal nothing is happening. can u let me know that how to use it please?

hello yadavaprasath,

you’ll need to confirm the sensor pixel formats and the supported resolutions.
for example, $ v4l2-ctl -d /dev/video0 --list-formats-ext.
and, that’s what I had on Nano platform,

ioctl: VIDIOC_ENUM_FMT
        Index       : 0
        Type        : Video Capture
        Pixel Format: 'UYVY'
        Name        : UYVY 4:2:2
...
                Size: Discrete 1920x1080
                        Interval: Discrete 0.017s (60.000 fps)

after that,
please assign parameter with the supported formats, you may increase the stream-counts to fetch several sensor frames.
for example,

$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=UYVY --stream-mmap --stream-count=100
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 60.01 fps

if the camera function works, it’ll report “<” for each success captured frame.
the average fps will also reported below the pipeline.
thanks

First command results below

v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: ‘RG10’
Name : 10-bit Bayer RGRG/GBGB
Size: Discrete 3264x2464
Interval: Discrete 0.048s (21.000 fps)
Size: Discrete 3264x1848
Interval: Discrete 0.036s (28.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1640x1232
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)

second command is not giving any resuts.

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720,pixelformat=UYVY --stream-mmap --stream-count=100

it does not print any symbols after running it.

hello yadavaprasath,

you should assign correct pixel format, (i.e. RG10) into the pipeline,
check this,
$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720,pixelformat=RG10--stream-mmap --stream-count=100

Hi,

I have changed the pixel format as u suggested. now also the same problem. nothing is printed on the terminal.

hello yadavaprasath,

what’s the messages reported from kernel side, you may enable a terminal with $ dmesg --follow and enable v4l utility to check the logs.
please also contact with the sensor vendor to understand which software release it has verified.
thanks

I have reflashed the module with jetpack 4.4. now i am running csi camera example Jetsonhacksnano repository, now i am not getting any error but it freezes at some point.

~/CSI-Camera$ python3 simple_camera.py
nvarguscamerasrc sensor_id=0 ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)120/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
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 4
Output Stream W = 1280 H = 720
seconds to Run = 0
Frame Rate = 120.000005
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.

please share the kernel error logs for more details.

[ 5.867405] mt7601u 1-2.3:1.0: Warning: unsupported EEPROM version 0d
[ 5.879875] mt7601u 1-2.3:1.0: EEPROM ver:0d fae:00
[ 5.897812] nvgpu: 57000000.gpu gk20a_pmu_isr:724 [ERR] pmu exterr intr not implemented. Clearing interrupt.
[ 5.909731] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:560 [ERR] <<< FALCON id-0 DEBUG INFORMATION - START >>>
[ 5.921063] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:504 [ERR] FALCON IMEM BLK MAPPING (PA->VA) (96 TOTAL):
[ 5.932284] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x00: 0x01000000 0x01000100 0x01000200 0x01000300
[ 5.944077] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x04: 0x01000400 0x01000500 0x01000600 0x01000700
[ 5.955813] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x08: 0x01000800 0x01000900 0x01000a00 0x01000b00
[ 5.967612] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x0c: 0x01000c00 0x01000d00 0x01000e00 0x01000f00
[ 5.979386] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x10: 0x01001000 0x01001100 0x01001200 0x01001300
[ 5.991167] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x14: 0x01001400 0x01001500 0x01001600 0x01002d00
[ 6.002885] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x18: 0x01002e00 0x01002f00 0x01003000 0x01003100
[ 6.015907] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x1c: 0x01001c00 0x01001d00 0x01001e00 0x01001f00
[ 6.030395] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x20: 0x01002000 0x01002100 0x01002200 0x01004b00
[ 6.045086] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x24: 0x01004c00 0x01004d00 0x01004e00 0x01004f00
[ 6.059923] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x28: 0x01005000 0x01005100 0x01002300 0x01002400
[ 6.073381] zram: Added device: zram0
[ 6.073821] zram: Added device: zram1
[ 6.074274] zram: Added device: zram2
[ 6.074825] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x2c: 0x01002500 0x01003200 0x01003300 0x01003400
[ 6.076691] zram: Added device: zram3
[ 6.089930] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x30: 0x01003500 0x01003600 0x01003700 0x01003800
[ 6.102548] zram0: detected capacity change from 0 to 519434240
[ 6.105150] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x34: 0x01003900 0x01003a00 0x01003b00 0x01003c00
[ 6.120421] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x38: 0x01003d00 0x01003e00 0x01003f00 0x01004000
[ 6.135814] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x3c: 0x01004100 0x01004200 0x01004300 0x01004400
[ 6.151356] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x40: 0x01004500 0x01004600 0x01004700 0x01004800
[ 6.166875] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x44: 0x01004900 0x01004a00 0x01005200 0x01005300
[ 6.182434] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x48: 0x01005400 0x01005500 0x01005600 0x01005700
[ 6.198075] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x4c: 0x01005800 0x01005900 0x01005a00 0x01005b00
[ 6.213731] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x50: 0x01005c00 0x01005d00 0x01005e00 0x01005f00
[ 6.229347] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x54: 0x01006000 0x01006100 0x01006200 0x01006300
[ 6.244984] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:518 [ERR] 0x58: 0x01006400 0x01006500 0x01006600 0x01002600
[ 6.260626] nvgpu: 57000000.gpu gk20a_falcon_dump_imblk:520 [ERR] 0x5c: 0x01002700 0x01002800 0x01002900 0x01002c00
[ 6.276229] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:541 [ERR] PC TRACE (TOTAL 7 ENTRIES. entry 0 is the most recent branch):
[ 6.292734] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:549 [ERR] FALCON_TRACEPC(0) : 0x0000054a
[ 6.304632] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:549 [ERR] FALCON_TRACEPC(1) : 0x00000545
[ 6.316587] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:549 [ERR] FALCON_TRACEPC(2) : 0x0000054e
[ 6.319079] Adding 507256k swap on /dev/zram0. Priority:5 extents:1 across:507256k SS
[ 6.322102] zram1: detected capacity change from 0 to 519434240
[ 6.328605] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:549 [ERR] FALCON_TRACEPC(3) : 0x00001041
[ 6.332895] Adding 507256k swap on /dev/zram1. Priority:5 extents:1 across:507256k SS
[ 6.335749] zram2: detected capacity change from 0 to 519434240
[ 6.340541] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:549 [ERR] FALCON_TRACEPC(4) : 0x000015e2
[ 6.345696] Adding 507256k swap on /dev/zram2. Priority:5 extents:1 across:507256k SS
[ 6.348728] zram3: detected capacity change from 0 to 519434240
[ 6.352427] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:549 [ERR] FALCON_TRACEPC(5) : 0x0000160e
[ 6.358659] Adding 507256k swap on /dev/zram3. Priority:5 extents:1 across:507256k SS
[ 6.364174] nvgpu: 57000000.gpu gk20a_falcon_dump_pc_trace:549 [ERR] FALCON_TRACEPC(6) : 0x00000a59
[ 6.375832] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:567 [ERR] FALCON ICD REGISTERS DUMP
[ 6.386883] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:575 [ERR] FALCON_REG_PC : 0x1041
[ 6.397631] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:582 [ERR] FALCON_REG_SP : 0x43c4
[ 6.408492] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:575 [ERR] FALCON_REG_PC : 0x1041
[ 6.419279] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:582 [ERR] FALCON_REG_SP : 0x43c4
[ 6.430019] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:575 [ERR] FALCON_REG_PC : 0x110
[ 6.440641] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:582 [ERR] FALCON_REG_SP : 0xd78
[ 6.451197] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:575 [ERR] FALCON_REG_PC : 0x1041
[ 6.461768] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:582 [ERR] FALCON_REG_SP : 0x43c4
[ 6.472316] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:589 [ERR] FALCON_REG_IMB : 0xff5071
[ 6.482982] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:595 [ERR] FALCON_REG_DMB : 0xff50d8
[ 6.493623] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:601 [ERR] FALCON_REG_CSW : 0x300001
[ 6.504217] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:607 [ERR] FALCON_REG_CTX : 0x0
[ 6.514426] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:613 [ERR] FALCON_REG_EXCI : 0x693
[ 6.524869] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:622 [ERR] FALCON_REG_RSTAT[0] : 0xa5a5a5a5
[ 6.535936] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:622 [ERR] FALCON_REG_RSTAT[1] : 0xa5a5a5a5
[ 6.546926] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:622 [ERR] FALCON_REG_RSTAT[2] : 0xa5a5a5a5
[ 6.557920] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:622 [ERR] FALCON_REG_RSTAT[3] : 0xa5a5a5a5
[ 6.568971] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:622 [ERR] FALCON_REG_RSTAT[4] : 0xa5a5a5a5
[ 6.579858] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:622 [ERR] FALCON_REG_RSTAT[5] : 0xa5a5a5a5
[ 6.590697] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:625 [ERR] FALCON REGISTERS DUMP
[ 6.600738] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:627 [ERR] falcon_falcon_os_r : 0
[ 6.610687] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:629 [ERR] falcon_falcon_cpuctl_r : 0x60
[ 6.621171] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:631 [ERR] falcon_falcon_idlestate_r : 0x0
[ 6.631886] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:633 [ERR] falcon_falcon_mailbox0_r : 0x0
[ 6.642342] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:635 [ERR] falcon_falcon_mailbox1_r : 0x0
[ 6.652764] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:637 [ERR] falcon_falcon_irqstat_r : 0x60
[ 6.663214] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:639 [ERR] falcon_falcon_irqmode_r : 0xfc24
[ 6.673709] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:641 [ERR] falcon_falcon_irqmask_r : 0x7879
[ 6.684174] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:643 [ERR] falcon_falcon_irqdest_r : 0x90372
[ 6.694689] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:645 [ERR] falcon_falcon_debug1_r : 0x10000
[ 6.705127] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:647 [ERR] falcon_falcon_debuginfo_r : 0x0
[ 6.715475] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:649 [ERR] falcon_falcon_bootvec_r : 0x3200
[ 6.725908] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:651 [ERR] falcon_falcon_hwcfg_r : 0x400cc060
[ 6.736569] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:653 [ERR] falcon_falcon_engctl_r : 0x0
[ 6.746774] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:655 [ERR] falcon_falcon_curctx_r : 0x707fffe7
[ 6.757594] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:657 [ERR] falcon_falcon_nxtctx_r : 0x707fffe7
[ 6.768446] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:659 [ERR] falcon_falcon_exterrstat_r : 0x85002efb
[ 6.779597] nvgpu: 57000000.gpu gk20a_falcon_dump_stats:661 [ERR] falcon_falcon_exterraddr_r : 0x18405818
[ 6.790742] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(0) : 0x0
[ 6.800784] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(1) : 0x0
[ 6.810822] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(2) : 0x0
[ 6.810826] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(3) : 0x0
[ 6.810830] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(4) : 0x0
[ 6.810840] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(5) : 0x0
[ 6.810876] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(6) : 0x0
[ 6.810880] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(7) : 0x0
[ 6.810883] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(8) : 0x0
[ 6.810887] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(9) : 0x0
[ 6.810891] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(10) : 0x0
[ 6.810895] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:630 [ERR] pwr_pmu_mailbox_r(11) : 0x0
[ 6.810899] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:635 [ERR] pwr_pmu_debug_r(0) : 0x0
[ 6.810902] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:635 [ERR] pwr_pmu_debug_r(1) : 0x0
[ 6.810906] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:635 [ERR] pwr_pmu_debug_r(2) : 0x2b
[ 6.810910] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:635 [ERR] pwr_pmu_debug_r(3) : 0x0
[ 6.810913] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:639 [ERR] pwr_pmu_bar0_error_status_r : 0x0
[ 6.810918] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:652 [ERR] pwr_pmu_bar0_fecs_error_r : 0xbadf1201
[ 6.810922] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:655 [ERR] pwr_falcon_exterrstat_r : 0x85002efb
[ 6.810926] nvgpu: 57000000.gpu gk20a_pmu_dump_falcon_stats:659 [ERR] pwr_falcon_exterraddr_r : 0x18405818
[ 6.810961] nvgpu: 57000000.gpu print_pmu_trace:88 [ERR] dump PMU trace buffer
[ 6.810967] nvgpu: 57000000.gpu nvgpu_pmu_dump_falcon_stats:51 [ERR] pmu state: 7
[ 6.810969] nvgpu: 57000000.gpu nvgpu_pmu_dump_falcon_stats:52 [ERR] elpg state: 0
[ 6.810973] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:129 [ERR] gr_fecs_os_r : 0
[ 6.810977] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:131 [ERR] gr_fecs_cpuctl_r : 0x60
[ 6.810980] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:133 [ERR] gr_fecs_idlestate_r : 0x0
[ 6.810984] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:135 [ERR] gr_fecs_mailbox0_r : 0x0
[ 6.810987] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:137 [ERR] gr_fecs_mailbox1_r : 0x0
[ 6.810990] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:139 [ERR] gr_fecs_irqstat_r : 0x0
[ 6.810993] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:141 [ERR] gr_fecs_irqmode_r : 0x4
[ 6.810997] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:143 [ERR] gr_fecs_irqmask_r : 0x8704
[ 6.811000] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:145 [ERR] gr_fecs_irqdest_r : 0x0
[ 6.811003] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:147 [ERR] gr_fecs_debug1_r : 0x40
[ 6.811007] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:149 [ERR] gr_fecs_debuginfo_r : 0x0
[ 6.811024] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:151 [ERR] gr_fecs_ctxsw_status_1_r : 0x382
[ 6.811028] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(0) : 0x1
[ 6.811032] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(1) : 0x0
[ 6.811036] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(2) : 0x1
[ 6.811040] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(3) : 0x0
[ 6.811050] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(4) : 0x1ffda0
[ 6.811053] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(5) : 0x0
[ 6.811056] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(6) : 0x0
[ 6.811059] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(7) : 0x0
[ 6.811063] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(8) : 0x0
[ 6.811066] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(9) : 0x0
[ 6.811069] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(10) : 0x0
[ 6.811073] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(11) : 0x0
[ 6.811076] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(12) : 0x0
[ 6.811079] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(13) : 0x0
[ 6.811083] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(14) : 0x0
[ 6.811086] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:155 [ERR] gr_fecs_ctxsw_mailbox_r(15) : 0x0
[ 6.811089] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:159 [ERR] gr_fecs_engctl_r : 0x0
[ 6.811092] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:161 [ERR] gr_fecs_curctx_r : 0x0
[ 6.811096] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:163 [ERR] gr_fecs_nxtctx_r : 0x0
[ 6.811100] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:169 [ERR] FECS_FALCON_REG_IMB : 0xbadfbadf
[ 6.811103] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:175 [ERR] FECS_FALCON_REG_DMB : 0xbadfbadf
[ 6.811107] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:181 [ERR] FECS_FALCON_REG_CSW : 0xbadfbadf
[ 6.811111] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:187 [ERR] FECS_FALCON_REG_CTX : 0xbadfbadf
[ 6.811115] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:193 [ERR] FECS_FALCON_REG_EXCI : 0xbadfbadf
[ 6.811118] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:200 [ERR] FECS_FALCON_REG_PC : 0xbadfbadf
[ 6.811122] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:206 [ERR] FECS_FALCON_REG_SP : 0xbadfbadf
[ 6.811126] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:200 [ERR] FECS_FALCON_REG_PC : 0xbadfbadf
[ 6.811130] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:206 [ERR] FECS_FALCON_REG_SP : 0xbadfbadf
[ 6.811133] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:200 [ERR] FECS_FALCON_REG_PC : 0xbadfbadf
[ 6.811137] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:206 [ERR] FECS_FALCON_REG_SP : 0xbadfbadf
[ 6.811140] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:200 [ERR] FECS_FALCON_REG_PC : 0xbadfbadf
[ 6.811144] nvgpu: 57000000.gpu gk20a_fecs_dump_falcon_stats:206 [ERR] FECS_FALCON_REG_SP : 0xbadfbadf
[ 6.813068] nvgpu: 57000000.gpu gm20b_mc_log_pending_intrs:294 [INFO] Pending stall intr0=0x10000000
[ 7.012312] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.013358] eth0: 0xffffff80

that’s incomplete, please consider to include code block or attach the text file to share the logs.
btw, instead of dump all kernel message, you should enable a terminal with $ dmesg --follow to gather the log while issue happened.

log.txt (108.5 KB)

hello yadavaprasath,

what’s your actual use-case,
it looks you’re having stability issue, there’s sync-point timeout.

[  259.695250] fence timeout on [ffffffc0eb37ea80] after 1500ms
[  259.695259] name=[nvhost_sync:21], current value=0 waiting value=1
...
[  259.695324] ---- syncpts ----
[  259.695325] id 21 (54680000.isp_1) min 0 max 3 refs 4 (previous client : )
[  259.695328] id 22 (54680000.isp_2) min 7 max 15 refs 10 (previous client : )
[  259.695342] fence timeout on [ffffffc0f1bfe780] after 1500ms
[  259.695346] name=[nvhost_sync:20], current value=0 waiting value=1
[  259.695349] ---- mlocks ----

had you contacted with the sensor vendor to understand which software release it has verified?

My use case is face recognition. the same error comes up with raspberry pi 2.1 camera

hello yadavaprasath,

could you please confirm your camera preview stream doing well.
is this failure only happened when you enable the algorithm to perform face recognition?

No. I am using jetson emmc module. It has opencv inbuild without cuda enabled. the same board, i am using another jetson dev kit module sd card type. In which i have opencv with cuda support. that is working for Imx219 and raspi 2,1 camera.

I couldnt rebuild opencv with cuda in emmc module due to space issue.

is this failure only happened when you enable the algorithm to perform face recognition? NO

what’s the difference of those two platforms, what’s the JetPack release of them?
please check release tag, $ cat /etc/nv_tegra_release for confirmation.
thanks