How do I tell SDL to use the DGA 2.0 video driver?
Make sure that you have XFree86 4.01 or newer, run the program as root, set the environment variable SDL_VIDEODRIVER to “dga”, and use a video card like the Voodoo 3000, Matrox G400, or any other card with a decent DGA driver.Q:When I specify SDL_FULLSCREEN in X11, the screen goes black and my window is centered in the middle, instead of covering the whole screen!A:X needs to be able to switch to the desired resolution. For this to work, your monitor must support the resolution, and you need to have the resolution listed in your X server configuration. The following example is taken from my config for XFree86 4.0.1, but 3.3.x is similiar. Note that if your monitor isn’t capable of using these video modes, the X server will drop these modes from the list of available video modes. Example: Section “Screen” Identifier “Screen 1” Device “3dfx” Monitor “Samsung LCD” DefaultDepth 16 Subsection “Display” Depth 8 Modes “1280×1024” “1024×768” “800×600” “640×480” “320×240” ViewPort 0 0 EndSubsec