[SDL] DGA problem

Loren Osborn linux_dr at yahoo.com
Tue Aug 27 02:39:01 PDT 2002


On Tue, 2002-08-27 at 00:59, sandra.jhonson at softhome.net wrote:
> hi all, 
> 
> i want to enable XFree86-DGA extension on my X-server. 
> 
> in my XF86Config-4 file, i'm using this command
> Load "extmod"
> according to the log
> /var/log/XFree86.0.log
> i've
> (II) Loading extension XFree86-DGA
> doesn't this mean that i've DGA loaded right? now when i 'startx' and run 
> the testvidinfo.c program. 
> 
> the output doesn't show any of the hw accelerated feature or the video ram 
> etc. the msg received is:
> A window manager is available 
> 
> Should the hw surface and hw accelerated blitting options be displayed with 
> my configuration which is, GeForce MX 200 with latest driver module 
> installed on RedHat 7.3 


The thing to bare in mind about DGA (like SVGAlib) is that only programs
running as root can use it... (unless something has changed this in the
last couple years.)  Try running your test program as root and see what
happens...  Also SDL looks at the SDL_VIDEODRIVER environment variable
to help it pick which video driver to use...

Look at http://sdldoc.csn.ul.ie/sdlenvvars.php for more details.

Best regards,

-Loren






More information about the SDL mailing list