On Die, 2002-10-22 at 23:12, Tony Wu wrote: > Does XFree86 video driver support VBlank(Vsync) interrupt? If it does, how to enable >it? > I know some librarys offer function calls to sync to Vsync (linke SDL_Flip), but >they use > polling instead Vsync interrupt. The performance suffers a lot. > > I did some experiment by probing the vidoe interrupt pin on the AGP VGA card. It's >active > under MS Windowns but not Linux. I just don't know why Linux doesn't support a basic >and vital > function like vsync interrupt?
The DRM in DRI CVS has an ioctl for this. Only the radeon DRM implements it so far, but mga is in the works and it shouldn't be hard to add for the others. You may want to check the dri-devel archives and maybe ask there. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert