DGA problem

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

please guide me, waiting…

regards,
sandra.

a little correction in the following msg.> etc. the LAST msg received is:

A window manager is available

----- Original Message -----
From: @Sandra (Sandra)
To:
Sent: Tuesday, August 27, 2002 12:59 AM
Subject: [SDL] DGA problem

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

please guide me, waiting…

regards,
sandra.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

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,

-LorenOn 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

You have to be root, or your program needs to be setuid root.On 27-Aug-2002, 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

please guide me, waiting…

regards,
sandra.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Patrick “Diablo-D3” McFarland || unknown at panax.com
"Computer games don’t affect kids; I mean if Pac-Man affected us as kids, we’d
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." --Kristian Wilson, Nintendo, Inc, 1989

thank you for reply, i was missing the second point of setenv()> ----- Original Message -----

From: linux_dr@yahoo.com (Loren Osborn)
To:
Sent: Tuesday, August 27, 2002 2:38 AM
Subject: Re: [SDL] DGA problem

On Tue, 2002-08-27 at 00:59, @Sandra 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


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

after registering the environment variable forllowing were the results:

hw_available Is it possible to create hardware surfaces? AVAILABLE
wm_available Is there a window manager available NOT AVAILABLE
blit_hw Are hardware to hardware blits accelerated? AVAILABLE
blit_hw_CC Are hardware to hardware colorkey blits accelerated?AVAILABLE
blit_hw_A Are hardware to hardware alpha blits accelerated? AVAILABLE
blit_sw Are software to hardware blits accelerated? NOT AVAILABLE
blit_sw_CC Are software to hardware colorkey blits accelerated? NOT
AVAILABLE
blit_sw_A Are software to hardware alpha blits accelerated? NOT AVAILABLE
blit_fill Are color fills accelerated? AVAILABLE

I’ve nVidia GeForce 2 MX 200, doesn’t it support the rest of the
functionalities (I am particularty interested in sw to hw blits). or am i
missing something once again?

regards,
sandra> ----- Original Message -----

From: linux_dr@yahoo.com (Loren Osborn)
To:
Sent: Tuesday, August 27, 2002 2:38 AM
Subject: Re: [SDL] DGA problem

On Tue, 2002-08-27 at 00:59, @Sandra 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


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I haven’t played around with DGA, but I suspect it probably just isn’t
availible. Keep in mind, most users won’t trouble themselves with DGA
programs, because suid root programs are so dangerous. I think it’s
best to write the application first, then optomize the hell out of it on
an-needed bassis. (The environment variables are more for the USER’S
benifit, so THEY can decide what target to use, etc.)

ALSO… Please fix your system clock… It’s now off by a year. I
remember it NOT being off by a year when you first posted. This is a
good example why running as root is a BAD IDEA: It’s too easy to
change the wrong thing!!!

Best wishes,

-LorenOn Mon, 2001-08-27 at 17:05, Sandra wrote:

after registering the environment variable forllowing were the results:

hw_available Is it possible to create hardware surfaces? AVAILABLE
wm_available Is there a window manager available NOT AVAILABLE
blit_hw Are hardware to hardware blits accelerated? AVAILABLE
blit_hw_CC Are hardware to hardware colorkey blits accelerated?AVAILABLE
blit_hw_A Are hardware to hardware alpha blits accelerated? AVAILABLE
blit_sw Are software to hardware blits accelerated? NOT AVAILABLE
blit_sw_CC Are software to hardware colorkey blits accelerated? NOT
AVAILABLE
blit_sw_A Are software to hardware alpha blits accelerated? NOT AVAILABLE
blit_fill Are color fills accelerated? AVAILABLE

I’ve nVidia GeForce 2 MX 200, doesn’t it support the rest of the
functionalities (I am particularty interested in sw to hw blits). or am i
missing something once again?

regards,
sandra