Re: [Xpert]VBlank interrupt?

2002-10-22 Thread Michel Dänzer
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. >

Re: [Xpert]VBlank interrupt?

2002-10-22 Thread Mark Vojkovich
On Tue, 22 Oct 2002, Tony Wu wrote: > Does XFree86 video driver support VBlank(Vsync) interrupt? If it does, > how to enable it? XFree86 drivers are user-space drivers, and as such cannot service interrupts. Only the kernel can handle interrupts. Since most XFree86 drivers do not have a kern

[Xpert]VBlank interrupt?

2002-10-22 Thread Tony Wu
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 inte