Institut für Computersprachen >>
Home Page of Stefan Kral >>
Current/Past Projects >>
Eye-friendly Animations in XFree86
Double-buffering alone can only prevent flicker, it can not prevent tearing effects.
Syncing with the vertical retrace of the CRT-screen and using some double-buffering facility can help prevent all these problems.
Unfortunately, this trick does not work with all video-drivers.
This is the current status of XF86VidModeSetViewPort with several video-drivers. Commercial drivers are listed in italic fonts.
| driver \ xfree86 | 4.0.3 | 4.1.0 | 4.1.0.1 | 4.2.0 |
|---|---|---|---|---|
| atimisc_drv | P | P | ||
| i810_drv | B | P? | ||
| mga_drv | OK | OK | ||
| trident_drv | B | P | P | |
| vga_drv | P | |||
| nvidia_drv | OK |
The symbols have the following meaning:
| 'OK' | The driver properly supports synchronization with the vertical retrace. |
| 'B' | The driver does not support synchronization with the vertical retrace. |
| 'P' | A patched, tested version of the driver is available. |
| 'P?' | A patched, untested version of the driver is available. |
| (empty cell) | No information is available about that particular combination. |