Hi, all:
My camera resolution is 1280728, but vi receive data is not stable, sometimes resolution is 1280 727, sometimes resolution is 1280*726, and so on.
I want modify the driver to ignore the error of width size . I want set the resolution is 1280730, When the resolution is less than 1280 730, the driver will set data to 1280*730, the missing part is set 1 or 0.
can you tell me how should i do to ignore the width size error and set the missing part is 1 or 0?
Thanks.
hello cxl824158933,
may I know what’s the actual sensor streaming height?
is your sensor streaming embedded with metadata?
according to your example, you had unstable streaming height, (it also means number of lines), could you please also check the sensor specification to double confirm your sensor settings.
you should configure the sensor device tree to match the sensor streaming to avoid potential issues. (such as frame length change for different exposure time)
please also refer to Sensor Driver Programming Guide , you should check the [Property-Value Pairs] to set correct settings.
thanks
Hi JerryChang:
Now, I want want modify the driver to ignore the error of width size, could you tell me how do this?
Thanks.
hello cxl824158933,
may I have more details about why you need to ignore the errors.
the correct solution should be setting actual values that indicate the sensor streaming.
thanks
Hi, JerryChang:
I use gmsl max9286/max96705, I set the desserial chip output mode is WH 4 ,not use virtual channel for tx2.
When I use one camera, the image is ok, the data resolution is 1280727 1. the frame rate is 30fps.
When I use two camera, the image is not good, when I set the fmt 1280727 2, the frame rate is 21 fps. I cat the log ,some frame resolution is 1280726 2 or 1280725 2.
When I use three camera, the image is not good, when I set the fmt 1280727 3, the frame rate is 10 fps. I cat the log ,some frame resolution is 1280726 3 or 1280725 3.
When I use four camera, the image is not good, when I set the fmt 1280727 4, the frame rate is 2 fps. I cat the log ,some frame resolution is 1280726 4 or 1280725 4.
From the log, the more cameras connected, the more frames that lose data.
So I want ignore the error that lose some data. and receive 1280720 n Whatever the actual data is.
I hope you can help me solve this problem.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<< 28.30 fps
<<<<<<<<<<<<< 28.31 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.33 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.36 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.38 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.40 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.43 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.45 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.47 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.49 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 28.51 fps
kworker/0:4-6112 [000] .... 321.822356: rtos_queue_send_from_isr_failed: tstamp:10202153364 queue:0x0b4ac998
kworker/0:4-6112 [000] .... 321.822358: rtos_queue_send_from_isr_failed: tstamp:10202153504 queue:0x0b4ae518
kworker/0:4-6112 [000] .... 321.822360: rtos_queue_send_from_isr_failed: tstamp:10202153641 queue:0x0b4af2d8
kworker/0:4-6112 [000] .... 321.822362: rtos_queue_send_from_isr_failed: tstamp:10202153779 queue:0x0b4b0098
kworker/0:4-6112 [000] .... 321.822364: rtos_queue_send_from_isr_failed: tstamp:10202153916 queue:0x0b4b0e58
kworker/0:4-6112 [000] .... 321.822366: rtos_queue_send_from_isr_failed: tstamp:10202154054 queue:0x0b4b1c18
kworker/0:4-6112 [000] .... 321.822368: rtos_queue_send_failed: tstamp:10202155476 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.822370: rtcpu_vinotify_event: tstamp:10202156948 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:10202155696 data:0x00000001
kworker/0:4-6112 [000] .... 321.878233: rtos_queue_peek_from_isr_failed: tstamp:10202895835 queue:0x0b4b4500
kworker/0:4-6112 [000] .... 321.878241: rtcpu_vinotify_event: tstamp:10203050705 tag:CHANSEL_PXL_SOF channel:0x00 frame:74 vi_tstamp:10203050174 data:0x00020001
kworker/0:4-6112 [000] .... 321.878243: rtcpu_vinotify_event: tstamp:10203050916 tag:ATOMP_FS channel:0x00 frame:74 vi_tstamp:10203050189 data:0x00000000
kworker/0:4-6112 [000] .... 321.878244: rtcpu_vinotify_event: tstamp:10203054180 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:74 vi_tstamp:10203053798 data:0x08000000
kworker/0:4-6112 [000] .... 321.878245: rtcpu_vinotify_event: tstamp:10204021059 tag:CHANSEL_PXL_EOF channel:0x00 frame:74 vi_tstamp:10204020022 data:0x05ad0002
kworker/0:4-6112 [000] .... 321.878246: rtcpu_vinotify_event: tstamp:10204021560 tag:CSIMUX_FRAME channel:0x00 frame:74 vi_tstamp:10204020042 data:0x00400060
kworker/0:4-6112 [000] .... 321.878247: rtcpu_vinotify_event: tstamp:10204022106 tag:ATOMP_FE channel:0x00 frame:74 vi_tstamp:10204020045 data:0x00000000
kworker/0:4-6112 [000] .... 321.938350: rtos_queue_send_from_isr_failed: tstamp:10204444103 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938373: rtos_queue_send_from_isr_failed: tstamp:10204444251 queue:0x0b4aad68
kworker/0:4-6112 [000] .... 321.938380: rtos_queue_send_from_isr_failed: tstamp:10204444391 queue:0x0b4ac998
kworker/0:4-6112 [000] .... 321.938386: rtos_queue_send_from_isr_failed: tstamp:10204444530 queue:0x0b4ae518
kworker/0:4-6112 [000] .... 321.938392: rtos_queue_send_from_isr_failed: tstamp:10204444667 queue:0x0b4af2d8
kworker/0:4-6112 [000] .... 321.938398: rtos_queue_send_from_isr_failed: tstamp:10204444823 queue:0x0b4b0098
kworker/0:4-6112 [000] .... 321.938405: rtos_queue_send_from_isr_failed: tstamp:10204444959 queue:0x0b4b0e58
kworker/0:4-6112 [000] .... 321.938410: rtos_queue_send_from_isr_failed: tstamp:10204445100 queue:0x0b4b1c18
kworker/0:4-6112 [000] .... 321.938425: rtos_queue_send_failed: tstamp:10204445793 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938431: rtos_queue_send_from_isr_failed: tstamp:10204756241 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938435: rtos_queue_send_from_isr_failed: tstamp:10204756737 queue:0x0b4aad68
kworker/0:4-6112 [000] .... 321.938439: rtos_queue_send_from_isr_failed: tstamp:10204757194 queue:0x0b4ac998
kworker/0:4-6112 [000] .... 321.938445: rtos_queue_send_from_isr_failed: tstamp:10204757785 queue:0x0b4ae518
kworker/0:4-6112 [000] .... 321.938453: rtos_queue_send_from_isr_failed: tstamp:10204758240 queue:0x0b4af2d8
kworker/0:4-6112 [000] .... 321.938457: rtos_queue_send_from_isr_failed: tstamp:10204758695 queue:0x0b4b0098
kworker/0:4-6112 [000] .... 321.938463: rtos_queue_send_from_isr_failed: tstamp:10204759152 queue:0x0b4b0e58
kworker/0:4-6112 [000] .... 321.938467: rtos_queue_send_from_isr_failed: tstamp:10204759607 queue:0x0b4b1c18
kworker/0:4-6112 [000] .... 321.938473: rtos_queue_send_failed: tstamp:10204761667 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938479: rtos_queue_send_from_isr_failed: tstamp:10205285145 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938484: rtos_queue_send_from_isr_failed: tstamp:10205285762 queue:0x0b4aad68
kworker/0:4-6112 [000] .... 321.938489: rtos_queue_send_from_isr_failed: tstamp:10205286221 queue:0x0b4ac998
kworker/0:4-6112 [000] .... 321.938494: rtos_queue_send_from_isr_failed: tstamp:10205286679 queue:0x0b4ae518
kworker/0:4-6112 [000] .... 321.938500: rtos_queue_send_from_isr_failed: tstamp:10205287137 queue:0x0b4af2d8
kworker/0:4-6112 [000] .... 321.938506: rtos_queue_send_from_isr_failed: tstamp:10205287617 queue:0x0b4b0098
kworker/0:4-6112 [000] .... 321.938512: rtos_queue_send_from_isr_failed: tstamp:10205288068 queue:0x0b4b0e58
kworker/0:4-6112 [000] .... 321.938516: rtos_queue_send_from_isr_failed: tstamp:10205288537 queue:0x0b4b1c18
kworker/0:4-6112 [000] .... 321.938522: rtos_queue_send_failed: tstamp:10205290700 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938528: rtos_queue_send_from_isr_failed: tstamp:10205300665 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938535: rtos_queue_send_from_isr_failed: tstamp:10205301119 queue:0x0b4aad68
kworker/0:4-6112 [000] .... 321.938541: rtos_queue_send_from_isr_failed: tstamp:10205301575 queue:0x0b4ac998
kworker/0:4-6112 [000] .... 321.938547: rtos_queue_send_from_isr_failed: tstamp:10205302029 queue:0x0b4ae518
kworker/0:4-6112 [000] .... 321.938553: rtos_queue_send_from_isr_failed: tstamp:10205302482 queue:0x0b4af2d8
kworker/0:4-6112 [000] .... 321.938559: rtos_queue_send_from_isr_failed: tstamp:10205302934 queue:0x0b4b0098
kworker/0:4-6112 [000] .... 321.938565: rtos_queue_send_from_isr_failed: tstamp:10205303387 queue:0x0b4b0e58
kworker/0:4-6112 [000] .... 321.938571: rtos_queue_send_from_isr_failed: tstamp:10205303844 queue:0x0b4b1c18
kworker/0:4-6112 [000] .... 321.938577: rtos_queue_send_failed: tstamp:10205309891 queue:0x0b4a7258
kworker/0:4-6112 [000] .... 321.938587: rtcpu_vinotify_event: tstamp:10206176232 tag:CHANSEL_PXL_SOF channel:0x00 frame:77 vi_tstamp:10206175370 data:0x00020001
kworker/0:4-6112 [000] .... 321.938590: rtcpu_vinotify_event: tstamp:10206177023 tag:ATOMP_FS channel:0x00 frame:77 vi_tstamp:10206175383 data:0x00000000
kworker/0:4-6112 [000] .... 321.938593: rtcpu_vinotify_event: tstamp:10206183451 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:77 vi_tstamp:10206182899 data:0x08000000
kworker/0:4-6112 [000] .... 321.994293: rtcpu_vinotify_event: tstamp:10207146193 tag:CHANSEL_PXL_EOF channel:0x00 frame:77 vi_tstamp:10207145218 data:0x05ad0002
kworker/0:4-6112 [000] .... 321.994309: rtcpu_vinotify_event: tstamp:10207146687 tag:ATOMP_FE channel:0x00 frame:77 vi_tstamp:10207145240 data:0x00000000
kworker/0:4-6112 [000] .... 321.994312: rtcpu_vinotify_event: tstamp:10207217841 tag:CHANSEL_PXL_SOF channel:0x00 frame:78 vi_tstamp:10207217101 data:0x00020001
kworker/0:4-6112 [000] .... 321.994316: rtcpu_vinotify_event: tstamp:10207218485 tag:ATOMP_FS channel:0x00 frame:78 vi_tstamp:10207217114 data:0x00000000
kworker/0:4-6112 [000] .... 321.994319: rtcpu_vinotify_event: tstamp:10207224819 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:78 vi_tstamp:10207224267 data:0x08000000
kworker/0:4-6112 [000] .... 321.994333: rtos_queue_peek_from_isr_failed: tstamp:10207896151 queue:0x0b4b4500
kworker/0:4-6112 [000] .... 322.054215: rtcpu_vinotify_event: tstamp:10208187855 tag:CHANSEL_PXL_EOF channel:0x00 frame:78 vi_tstamp:10208186949 data:0x05ad0002
kworker/0:4-6112 [000] .... 322.054220: rtcpu_vinotify_event: tstamp:10208188351 tag:ATOMP_FE channel:0x00 frame:78 vi_tstamp:10208186973 data:0x00000000
kworker/0:4-6112 [000] .... 322.054221: rtcpu_vinotify_event: tstamp:10208259568 tag:CHANSEL_PXL_SOF channel:0x00 frame:79 vi_tstamp:10208258833 data:0x00020001
kworker/0:4-6112 [000] .... 322.054222: rtcpu_vinotify_event: tstamp:10208260214 tag:ATOMP_FS channel:0x00 frame:79 vi_tstamp:10208258847 data:0x00000000
kworker/0:4-6112 [000] .... 322.054223: rtcpu_vinotify_event: tstamp:10208268194 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:79 vi_tstamp:10208267643 data:0x08000000
kworker/0:4-6112 [000] .... 322.054224: rtcpu_vinotify_event: tstamp:10209229369 tag:CHANSEL_PXL_EOF channel:0x00 frame:79 vi_tstamp:10209228681 data:0x05ad0002
kworker/0:4-6112 [000] .... 322.054225: rtcpu_vinotify_event: tstamp:10209229531 tag:ATOMP_FE channel:0x00 frame:79 vi_tstamp:10209228702 data:0x00000000
kworker/0:4-6112 [000] .... 322.054226: rtcpu_vinotify_event: tstamp:10209301091 tag:CHANSEL_PXL_SOF channel:0x00 frame:80 vi_tstamp:10209300566 data:0x00020001
kworker/0:4-6112 [000] .... 322.054227: rtcpu_vinotify_event: tstamp:10209301298 tag:ATOMP_FS channel:0x00 frame:80 vi_tstamp:10209300579 data:0x00000000
kworker/0:4-6112 [000] .... 322.054228: rtcpu_vinotify_event: tstamp:10209304657 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:80 vi_tstamp:10209304269 data:0x08000000
kworker/0:4-6112 [000] .... 322.110375: rtcpu_vinotify_event: tstamp:10210271087 tag:CHANSEL_PXL_EOF channel:0x00 frame:80 vi_tstamp:10210270414 data:0x05ad0002
Thanks.
hello cxl824158933,
it’s suggested to enable virtual channel for your GMSL streaming. please contact Jetson Preferred Partner for camera solutions.
FYI,
if you’re not using virtual channel, you should consider it as single streaming and you need to cropped by VI to distinguish them. thanks
JerryChang:
hello cxl824158933,
it’s suggested to enable virtual channel for your GMSL streaming. please contact Jetson Preferred Partner for camera solutions.
FYI,
if you’re not using virtual channel, you should consider it as single streaming and you need to cropped by VI to distinguish them. thanks
Hi, JerryChang:
I have enable virtual channel and it is ok for gmsl chip max9286.
If i use four camera, the vc-id0 is 20fps, vc-id1 is 8fps, vc-id2 is 2fps, vc-id1 is 1fps.
If i use two camera, the vc-id0 is 25fps, vc-id1 is 12fps.
If i use one camera, the vc-id0 is 30fps.
The log show PXCL_SHORT_FRAME.
So, I want ignore the size. Could you tell me how do this?
Thank you very much.