Hi @ShaneCCC
I try another gst-launch command and the log is such like as below.
wistron@ubuntu:~$ gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, width=(int)640, height=(int)480, format=(string)UYVY’ ! autovideosink -e -v
Setting pipeline to PAUSED …
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
Using winsys: x11
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
Pipeline is live and does not need PREROLL …
WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1773): gst_xv_image_sink_open (): /GstXvImageSink:autovideosink0-actual-sink-xvimage:
Could not open display (null)
Setting pipeline to PLAYING …
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)UYVY, framerate=(fraction)60/1, colorimetry=(string)2:4:7:1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)UYVY, framerate=(fraction)60/1, colorimetry=(string)2:4:7:1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)UYVY, framerate=(fraction)60/1, colorimetry=(string)2:4:7:1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstFakeSink:fake-video-sink.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)UYVY, framerate=(fraction)60/1, colorimetry=(string)2:4:7:1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)UYVY, framerate=(fraction)60/1, colorimetry=(string)2:4:7:1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)UYVY, framerate=(fraction)60/1, colorimetry=(string)2:4:7:1, interlace-mode=(string)progressive
And I can see something via vi debug.
vi-debug-20230728.log (33.7 KB)
And dmesg shows…
[ 1132.804096] ar0233 2-0047: Index = 0x0000 , format = 0x59565955, width = 640, height = 480, frate num = 60
[ 1134.010560] ar0233 2-0047: Index = 0x0000 , format = 0x59565955, width = 640, height = 480, frate num = 60
[ 1134.010574] ar0233 2-0047: Skipping Previous mode set …
[ 1134.104036] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 1134.120992] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 1134.137381] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
[ 1134.154331] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 131072
And here are other messages after I stop the gst-launch command.
[ 1493.120416] ar0233 2-0047: mcu_cam_stream_off 294 CAM Get CMD Stream off Success !!
[ 1493.120434] (NULL device ): vi_capture_control_message: NULL VI channel received
[ 1493.120660] t194-nvcsi 13e10000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 1498.605406] CPU:0, Error: rce-noc@be00000, irq=21
[ 1498.605577] **************************************
[ 1498.605733] CPU:0, Error:rce-noc
[ 1498.605811] Error Logger : 0
[ 1498.605928] ErrLog0 : 0x80030000
[ 1498.606007] Transaction Type : RD - Read, Incrementing
[ 1498.606130] Error Code : SLV
[ 1498.606203] Error Source : Target
[ 1498.606283] Error Description : Target error detected by CBB slave
[ 1498.606448] AXI2APB_5 bridge error: RDFIFOF - Read Response FIFO Full interrupt
[ 1498.606605] Packet header Lock : 0
[ 1498.606683] Packet header Len1 : 3
[ 1498.606761] NOC protocol version : version >= 2.7
[ 1498.606865] ErrLog1 : 0x157600
[ 1498.606961] ErrLog2 : 0x0
[ 1498.607025] RouteId : 0x157600
[ 1498.607099] InitFlow : cpu_p_i/I/0
[ 1498.607209] Targflow : cbb_t/T/0
[ 1498.607288] TargSubRange : 27
[ 1498.607362] SeqId : 0
[ 1498.607428] ErrLog3 : 0x5c01814
[ 1498.607565] ErrLog4 : 0x0
[ 1498.607771] Address accessed : 0x15c01814
[ 1498.608079] ErrLog5 : 0x387e31
[ 1498.609374] [RCE] VM0 deactivating.VM0 activating.VM0 deactivating.VM0 activating.VM0 deactivating.** DATA ABORT EXCEPTION ***
[ 1498.609532] Master ID : RCE
[ 1498.609547] Security Group(GRPSEC): 0x3f
[ 1498.612697] [RCE] R0: 15c00000 R1: 00001814 R2: 00008010 R3: 0000000b
[ 1498.616883] Cache : 0x1 – Bufferable
[ 1498.616891] Protection : 0x1 – Privileged, Secure, Data Access
[ 1498.616897] FALCONSEC : 0x0
[ 1498.616902] Virtual Queuing Channel(VQC): 0x0
[ 1498.616927] **************************************
[ 1498.617043] CPU:0, Error: cbb-noc@2300000, irq=15
[ 1498.644798] **************************************
[ 1498.649526] CPU:0, Error:cbb-noc
[ 1498.653021] Error Logger : 0
[ 1498.656091] ErrLog0 : 0x80030000
[ 1498.659671] Transaction Type : RD - Read, Incrementing
[ 1498.664750] Error Code : SLV
[ 1498.668162] Error Source : Target
[ 1498.671838] Error Description : Target error detected by CBB slave
[ 1498.678405] Packet header Lock : 0
[ 1498.682071] Packet header Len1 : 3
[ 1498.685745] NOC protocol version : version >= 2.7
[ 1498.690476] ErrLog1 : 0x9528aa
[ 1498.694145] ErrLog2 : 0x0
[ 1498.696776] RouteId : 0x9528aa
[ 1498.700189] InitFlow : rce_p2ps/I/rce_p2ps
[ 1498.704821] Targflow : host1x_p2pm/T/host1x_p2pm
[ 1498.709479] TargSubRange : 20
[ 1498.713131] SeqId : 0
[ 1498.715588] ErrLog3 : 0x1814
[ 1498.718822] ErrLog4 : 0x0
[ 1498.721710] Address accessed : 0x15c01814
[ 1498.725677] ErrLog5 : 0x2af0fc71
[ 1498.729584] Non-Modify : 0x1
[ 1498.732996] AXI ID : 0x55
[ 1498.735712] Master ID : RCE
[ 1498.738863] Security Group(GRPSEC): 0x3f
[ 1498.743322] Cache : 0x1 – Bufferable
[ 1498.747177] Protection : 0x3 – Privileged, Non-Secure, Data Access
[ 1498.754002] FALCONSEC : 0x0
[ 1498.757151] Virtual Queuing Channel(VQC): 0x0
[ 1498.762047] **************************************
[ 1498.766966] Host read timeout at address 1814
[ 1498.841388] [RCE] R4: 0bcd0188 R5: 00000000 R6: 00000000 R7: 799ce800
[ 1498.897375] [RCE] R8: 0bcc27b0 R9: 0bcc27b2 R10: 0bcc27a8 R11: 002771e0
[ 1498.897389] [RCE] R12: 00060300 SP: 0bcc2768 LR: 0bcaaa2c PC: 0bcaaa48
[ 1498.897398] [RCE] SPSR: 6000011f
[ 1498.897407] [RCE] DFSR: 00001008 DFAR: 15c01814 ADFSR: 00500000
[ 1498.897443] [RCE] IFSR: 00000000 IFAR: 00000000 AIFSR: 00000000