so, you’re using cheese app to set-up camera stream, and vlc to render the output frames?
this error may due to you’re not setting-up environment variable.
please try… $ export DISPLAY=:0, and using $ xrandr to check it’s configured correctly.
here’s another approaches by using v4l standard controls. it’ll output frame-rate below the pipeline also.
for example, $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100
When I run command (v4l2-ctl -d /dev/video0 --set-fmt-video=width=720,height=576,pixelformat=UYVY --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100) first when board just booted-up, I have an errors:
I meant compare the errors between (cheese+v4l2 command) and (only v4l2 command).
here’re some analysis with your error logs.
discarding frame logs it’s sometime a warning messages, due to unsuccess capture state, it’s dropping frames and issue a requeue for new buffers.
those frame index should keep increasing, but those frame-id looks abnormal.
note there’re two different flags:0 and flags:6 reported, which shows
3.1. Channel encountered uncorrectable error and must be reset
3.2 the error capture status of CSIMUX_FRAME shows an illegal data packet was encountered and dropped by CSIMUX, this error may have no effect on capture result or trigger other error if frame got corrupted.
please examine your sensor drivers according to above.