X: 25 years and still lacking vsync'ed double buffering
X: 25 years and still lacking vsync'ed double buffering
Posted Oct 2, 2009 7:49 UTC (Fri) by hrydgard (guest, #54085)In reply to: X: 25 years and still lacking vsync'ed double buffering by dgm
Parent article: LPC: 25 years of X
tearing remains a problem. How else would the signal get to the display, did
you think there were individual wires from each cell of framebuffer memory
to each pixel on the display?
Posted Oct 2, 2009 17:02 UTC (Fri)
by dlang (guest, #313)
[Link] (4 responses)
on an LCD it takes no more time to go from the bottom of the display to the top of the display than it takes to go from the first row to the second row.
in any case, the cause of tearing was caused by disrupting the sync signals (most commonly the horizontal sync at the beginning of each line) causing the display to 'tear' horizontally across the screen. by waiting to update the video ram until the vertical retrace period (when the CRT isn't displaying anything anyway)you avoided causing this problem.
with dual-port ram or a digital feed to the display this problem just doesn't exist
Posted Oct 2, 2009 17:39 UTC (Fri)
by mjg59 (subscriber, #23239)
[Link] (3 responses)
Whatever the original meaning of the word "tearing" as relating to video, its use to describe the effect caused by framebuffer updates not being synchronised with scanout and the associated discontinuity in the image is well established.
Posted Oct 2, 2009 17:59 UTC (Fri)
by dlang (guest, #313)
[Link] (2 responses)
having an image change halfway through an update from one frame to the next with no other distortion of the screen (and cleaned up on the next frame refresh) is a _very_ minor issue compared to loosing sync which scrambles the screen for a significant amount of time (several seconds on a LCD)
Posted Oct 2, 2009 18:02 UTC (Fri)
by mjg59 (subscriber, #23239)
[Link] (1 responses)
They do. A *lot* depends on having that interval available.
"having an image change halfway through an update from one frame to the next with no other distortion of the screen (and cleaned up on the next frame refresh) is a _very_ minor issue compared to loosing sync which scrambles the screen for a significant amount of time (several seconds on a LCD)"
The common case is watching videos or playing games, where it's not cleared up on the next frame refresh because another update has happened in the meantime. It manifests itself as a consistent discontinuity in the image. It's greatly irritating.
Posted Oct 11, 2009 22:24 UTC (Sun)
by Ross (guest, #4065)
[Link]
Yes, but the delay between updates can be very small in comparison to what are needed for CRTs. This can even be taken advantage of with normal analog VGA connections to get a higher refresh rate and/or resolution with the same pixel clock (see reduced blanking modes).
> The common case is watching videos or playing games, where it's not cleared up on the next frame refresh because another update has happened in the meantime. It manifests itself as a consistent discontinuity in the image. It's greatly irritating.
Or it may slowly move up or down the screen. It can be very distracting in the right situation.
-Ross
Posted Oct 11, 2009 22:18 UTC (Sun)
by Ross (guest, #4065)
[Link]
X: 25 years and still lacking vsync'ed double buffering
X: 25 years and still lacking vsync'ed double buffering
X: 25 years and still lacking vsync'ed double buffering
X: 25 years and still lacking vsync'ed double buffering
X: 25 years and still lacking vsync'ed double buffering
X: 25 years and still lacking vsync'ed double buffering
