On Thu, 08 Jul 2004 10:23:36 -0400 "Robert S. Kerr" <[EMAIL PROTECTED]> wrote:
> Hello, > > Is there a way to access the vsync pulse through the DRI S3 Savage > driver? (e.g. through the 'drmWaitVBlank' method?) I'd like to know > when the card is doing a retrace to synchronize draws to the screen. > > Background: > I've been using a PC based DVR application (www.mythtv.org) for some > time now, and there are display artifacts that occur when rendering the > video that are related (I think) to rendering the screen out of sync > with the vertical retrace. During pans expecially, tearing (moderate, > but noticable) occurs in the images that detracts from the viewing > experience. The application has support for forcing redraws to occur > during retrace events, but for that to work, the driver has to expose > this information. Is it available? Not yet. The S3 Savage can trigger an interrupt on vertical retraces. I'm planning to make that available in the DRM driver some time. I'd also like to use interrupts for waiting when the command queue is full, so the driver doesn't waste CPU cycles in busy waiting. But there are more basic things to do in the DRM first (there's basically no functioning DRM at the moment, everything is done in the user space driver). > > Thanks, > Rob > Regards, Felix P.S.: Cross-posting to dri-devel, as this is really a development issue. | Felix Kühling <[EMAIL PROTECTED]> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel