Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I tell SDL to use the DGA 2.0 video driver?

dga driver SDL video
0
Posted

How do I tell SDL to use the DGA 2.0 video driver?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123