Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Slashdot Deals: Cyber Monday Sale Extended! Courses ranging from coding to project management - all eLearning deals 20% off with coupon code "CYBERMONDAY20". ×

Submission + - How do we get smooth animation on Linux?

Chemisor writes: For animation to be smooth, you need to do three things. First, draw to an offscreen buffer to avoid flicker. Second, swap buffers during the vblank interval to avoid tearing. Third, synchronize animation frames to vblank interval to avoid stuttering. Thirty years ago, the X11 SYNC extension was designed with this exact purpose in mind, but except for one failed attempt in 2006, a vblank counter still has not been implemented. VBlank detection capability also exists via the DRI2 extension, but DRI2 is only available with open source drivers, can not be used remotely, and has no Xlib API. OpenGL can synchronize buffer swapping, but only in 3D application, and only synchronously via glFinish. As things currently stand, smooth animation is not possible to implement under X, so here's a question for you, Slashdot: what can we do about this? Whom can we beg or pay for this functionality, so important if we are ever to see any games on Linux?

365 Days of drinking Lo-Cal beer. = 1 Lite-year