X11 HDMI output synchronization - screen tearing

Moderators: mdrjr, odroid

X11 HDMI output synchronization - screen tearing

Unread postby janmoravec » Mon Jul 09, 2018 6:29 pm

Hi,

I've encountered an issue when displaying images through HDMI. If I change the images fast, there can be seen "synchronization" issue or "screen tearing effect" - one part of the displayed image is new, the second is the old one.

I'm developing Qt application for displaying live camera video. The video is played with images - I update the scene with current camera image 20x per second to get somehow smooth video output. But when the scene moves, sometimes the "synchronization" issue is noticeable. I've tested the same app code on my desktop and the video was OK, so I guess it must be in Odroid XU4 HDMI output.

Could you please help me to get rid of this tearing effect?
Attachments
2018-07-09_08-59-25.jpg
2018-07-09_08-59-25.jpg (97.86 KiB) Viewed 52 times
janmoravec
 
Posts: 3
Joined: Tue Apr 10, 2018 9:19 pm
languages_spoken: english
ODROIDs: Odroid XU4

Re: X11 HDMI output synchronization - screen tearing

Unread postby crashoverride » Mon Jul 09, 2018 8:05 pm

If you set the application to full screen (no idea how to do that in QT), the display will sync to the monitor vertical refresh if using the official ubuntu 18.04 image.
crashoverride
 
Posts: 3689
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1


Return to Issues

Who is online

Users browsing this forum: No registered users and 0 guests