We use AGX xavier to display a 4K H264 video. When the video played by the nveglglessink, we found the video is not smooth at all. The pipeline is shown as below:
$ gst-launch-1.0 -v filesrc location=bbb_sunflower_2160p_60fps_normal.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! queue ! nvegltransform ! fpsdisplaysink text-overlay=0 video-sink=nveglglessink sync=0
Then we use the nvoverlaysink. the video looks smooth, but there are stripes on the screen. The pipeline is shown as below:
$ gst-launch-1.0 -v filesrc location=bbb_sunflower_2160p_60fps_normal.mp4 ! qtdemux ! h264parse ! queue ! nvv4l2decoder ! queue ! nvoverlaysink
The video is attached. How can we solve this problem? Thank you.
We checked the monitor and make sure that it can support 3840X2160 in 60 fps.
We also execute:
sudo cat /sys/class/graphics/fb0/mode
reply is :
U:3840X2160p-60
By the way,Our Monitor can display the video input information in real time. We found that the Xavier’s HDMI output is:
HDMI 3840 X 2160
fH: 134.91 kHz
fV: 59.96 Hz
fD: 593.6 MHz
Maybe these information can help.
We also tried to downscale the video with this pipeline:
$ gst-launch-1.0 -v filesrc location=bbb_sunflower_2160p_60fps_normal.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=NV12,width=1920,height=1080’ ! queue ! nvoverlaysink
The output also become red.
Hi, when the red screen happened, we checked as your suggestions :
rootdubuntu:/home/bsm# sudo cat /sys/kernel/
tegradc.o/stats
underflows : 8
underflow frames : 0
root@ubuntu:/home/bsm# sudo cat /sys/class/graphics/fb0/mode
U:3840x2160p-60
We also checked dsmg, when red screen appear, it shows:
[ 889.344047] tegradc 15200000.nvdisplay: dc_poll_register 0x41: timeout
[ 889.344190] tegradc 15200000.nvdisplay: dc timeout waiting for cursor act_req
[ 890.528388] tegradc 15200000.nvdisplay: dc_poll_register 0x41: timeout
[ 890.528528] tegradc 15200000.nvdisplay: dc timeout waiting for cursor act_req
[ 890.580397] tegradc 15200000.nvdisplay: dc_poll_register 0x41: timeout
[ 890.580538] tegradc 15200000.nvdisplay: dc timeout waiting for cursor act_req
[ 891.316597] tegradc 15200000.nvdisplay: dc_poll_register 0x41: timeout
[ 891.316747] tegradc 15200000.nvdisplay: dc timeout waiting for cursor act_req
[ 891.368624] tegradc 15200000.nvdisplay: dc_poll_register 0x41: timeout
[ 891.368778] tegradc 15200000.nvdisplay: dc timeout waiting for cursor act_req