Hi Quang_OpenStack,
Not sure how much this error may be related to our monitors capabilities.
Is yours able to display 4K ?
Mine is certainly not, but I can see this error as well with standard onboard camera and my old monitor (using 1680x1050 59.96*+ 74.90).
Indeed:
gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM), format=I420, width=1280, height=720, framerate=30/1' ! nvoverlaysink overlay-w=640 overlay-h=480
works, although the frame aspect ratio conversion took the bottom left corner as reference.
However, using :
gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM), format=I420, width=2592, height=1944, framerate=30/1' ! nvoverlaysink overlay-w=640 overlay-h=480
or
gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM), format=I420, width=2592, height=1458, framerate=30/1' ! nvoverlaysink overlay-w=640 overlay-h=480
lead to the same nvdisplay errors in dmesg.
Using nvvidconv in the pipeline seems to be a good workaround:
gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM), format=I420, width=2592, height=1944, framerate=30/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), format=I420, width=640, height=480' ! nvoverlaysink overlay-w=640 overlay-h=480
Not sure why you’re using nvtee, but you may give it a trial with a lower resolution as output of nvvidconv and same as overlay-w and overlay-h parameters.