G400, SDL and direct rendering

hi`

I heard from a few people that are unable to get their G400 cards to go
direct with any SDL GL app (like the testgl one) but succeeded with
other apps. Could someone tell me that it is possilbe to go direct with
SDL and a G400.–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

I heard from a few people that are unable to get their G400 cards to go
direct with any SDL GL app (like the testgl one) but succeeded with
other apps. Could someone tell me that it is possilbe to go direct with
SDL and a G400.

How can I tell? I’ve heard this before, so it may be a problem (though
nothing funky is happening that I’m aware of…)

m.On Wed, Mar 22, 2000 at 12:54:58AM +0100, Daniel Vogel wrote:


Programmer “Ha ha.” “Ha ha.” "What are you laughing at?"
Loki Software "Just the horror of being alive."
http://lokigames.com/~briareos/ - Tony Millionaire

— Daniel Vogel <666 at grafzahl.de> wrote:

hi`

I heard from a few people that are unable to get their G400 cards to
go
direct with any SDL GL app (like the testgl one) but succeeded with
other apps. Could someone tell me that it is possilbe to go direct
with
SDL and a G400.

The only reason I can see that people would not be able to get SDL &
G400 to go direct would be due to a unsupported OpenGL call to Utah-GLX
(assuming your using that too). As the reasoning goes, if you can get
the G400 to go direct with ‘other’ apps, then it is possible to get SDL
to go direct on the G400.

On a side note there was a similar problem with CrystalSpace and
Utah-GLX not going direct, fortunatly we were able to pull a list of
all the opengl calls made from the CS OpenGl rendering driver and check
them against the Utah-GLX opengl (implemented in hardware) list. [I didn’t do it so I don’t know if they checked against a list for utah-glx or the actual source code].=====
Jason Platt.

“In theory: theory and practice are the same.
In practice: they arn’t.”

ICQ# 1546328


Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.

I heard from a few people that are unable to get their G400 cards to go
direct with any SDL GL app (like the testgl one) but succeeded with
other apps. Could someone tell me that it is possilbe to go direct with
SDL and a G400.

How can I tell? I’ve heard this before, so it may be a problem (though
nothing funky is happening that I’m aware of…)

Mmm, well, you can turn on the performance ‘boxes’ in the Utah-GLX
’glx.conf’ config file.

No box in the upper left corner means no acceleration, a white box means
indirect accelleration, and a purple box means direct. Currently under SDL
GL apps, like ‘testgl’, I only get a white box.

jfOn Wed, 22 Mar 2000, Michael Vance wrote:

On Wed, Mar 22, 2000 at 12:54:58AM +0100, Daniel Vogel wrote:

Michael Vance wrote:

How can I tell? I’ve heard this before, so it may be a problem (though
nothing funky is happening that I’m aware of…)

All I want to hear is that someone managed to go direct with any SDL
(recent 1.1.1) GL app and a G400 :wink: Personally it didn’t work for me -
Andreas Ehliar assisted me but it simply didn’t work :(. So if someone
says “hey, it is possible” it is a user/ configuration problem and not a
SDL one. I’ve heard from people that run the XDrv with OpenUT and can go
direct but it fails with the SDLDrv (going indirect) for them… I want
to remove the XDrv completely in the future but this (and some other
minor things) keep me from doing so :(–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

All I want to hear is that someone managed to go direct with any SDL
(recent 1.1.1) GL app and a G400 :wink: Personally it didn’t work for me -
Andreas Ehliar assisted me but it simply didn’t work :(. So if someone
says “hey, it is possible” it is a user/ configuration problem and not a
SDL one. I’ve heard from people that run the XDrv with OpenUT and can go
direct but it fails with the SDLDrv (going indirect) for them… I want
to remove the XDrv completely in the future but this (and some other
minor things) keep me from doing so :frowning:

It works fine with XFree86 3.3.
I haven’t tried it with XFree86 4.0
If it doesn’t work, and it’s SDL’s fault for some reason, I’ll be happy
to look into it. A G400 would help, of course. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

It works fine with XFree86 3.3.
I haven’t tried it with XFree86 4.0
If it doesn’t work, and it’s SDL’s fault for some reason, I’ll be happy
to look into it. A G400 would help, of course. :slight_smile:

You shouldn’t have given away all those cards after LokiHack :wink: Well,
are you saying that you can go direct (purple box) with a G400 and
XFree86 3.3.6 and testgl e.g.? Indirect rendering works fine here with a
G400 and SDL, but direct rendering doesn’t work :(–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

All I want to hear is that someone managed to go direct with any SDL
(recent 1.1.1) GL app and a G400 :wink:

It works fine with XFree86 3.3.
I haven’t tried it with XFree86 4.0
If it doesn’t work, and it’s SDL’s fault for some reason, I’ll be happy
to look into it. A G400 would help, of course. :slight_smile:

Sorry for the confusion. It’s XFree 3.3 that we’re talking about with the
Utah-GLX drivers.

OGL does in fact ‘work’, just not effeciently under SDL, since the app can
only do indirect rendering through the X interface, not direct to the
hardware. It is a subtle difference, but vast in terms of performance.

XF 4.0 is out of the question until GLX and DRI merge (unless there is a
hack in the meantime).

jfOn Wed, 22 Mar 2000, Sam Lantinga wrote:

When trying to run any of the SDL OpenGL demo’s with my Geforce 256 and
nvidia’s GLX drivers it displays the initial frame and locks up right there.
Does anyone know a work around this? I’ve found that if I uncomment the
swap buffers line, it runs (very very slowly, well at least my mouse moves
and I can kill the app), but there is no display.>From: Daniel Vogel <666 at grafzahl.de>

Reply-To: sdl at lokigames.com
To: sdl
Subject: [SDL] G400, SDL and direct rendering
Date: Wed, 22 Mar 2000 00:54:58 +0100

hi`

I heard from a few people that are unable to get their G400 cards to go
direct with any SDL GL app (like the testgl one) but succeeded with
other apps. Could someone tell me that it is possilbe to go direct with
SDL and a G400.


Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right


Get Your Private, Free Email at http://www.hotmail.com

Daniel Vogel wrote:

All I want to hear is that someone managed to go direct with any SDL
(recent 1.1.1) GL app and a G400 :wink: Personally it didn’t work for me -

Yesterday I compiled XFree86 4.0 with the MGA DRI support (from the
Sourceforge CVS, http://dri.sourceforge.net), and it works great on my
G400 Max! The testgl program (from 1.1.1) gives me a framerate of about
49-50 FPS (with the SDL_Delay(20), over 800 without!).

/ Joachim======================================================================
The Arrow Email: @The_Arrow
Joachim Pileborg WWW : [Under construction]

Newsgroups: loki.open-source.sdl

Daniel Vogel wrote:

All I want to hear is that someone managed to go direct with any SDL
(recent 1.1.1) GL app and a G400 :wink: Personally it didn’t work for me -

Yesterday I compiled XFree86 4.0 with the MGA DRI support (from the
Sourceforge CVS, http://dri.sourceforge.net), and it works great on my
G400 Max! The testgl program (from 1.1.1) gives me a framerate of about
49-50 FPS (with the SDL_Delay(20), over 800 without!).

Uhh… correct me if I’m wrong, but I was under the impression that XFree86
4.0 (at least the public sources) didn’t have a driver for the G400 complete
yet, and that Utah-GLX and 4.0 were mutually exclusive.

Anyways, I think most of the problems are with Utah-GLX. I know Michael
Vance commented on the Utah-glx-dev ML that he wasn’t going direct with a
G400 and Heavy Gear 2, which uses SDL (which is why he wrote the GLX
drivers).

/ Joachim

Cheers,

Nicholas

Nicholas Vining “While you’re out there struggling
vining at pacificcoast.net with your computer, I’m naked,
icq: 20872003 clueless, and feeling good!”
- Ratbert

----- Original Message -----
From: arrow@trelleborg.mail.telia.com (The Arrow)
To: sdl at lokigames.com
Date: Thursday, March 23, 2000 10:54 PM
Subject: [SDL] Re: G400, SDL and direct rendering

Yesterday I compiled XFree86 4.0 with the MGA DRI support (from the
Sourceforge CVS, http://dri.sourceforge.net), and it works great on my
G400 Max! The testgl program (from 1.1.1) gives me a framerate of about
49-50 FPS (with the SDL_Delay(20), over 800 without!).

Uhh… correct me if I’m wrong, but I was under the impression that XFree86
4.0 (at least the public sources) didn’t have a driver for the G400 complete
yet, and that Utah-GLX and 4.0 were mutually exclusive.

I believe there is an alpha MGA driver for dri available. I’ll check it
out tomorrow and compare it to the Utah-GLX driver…

jfOn Fri, 24 Mar 2000, Nicholas Vining wrote:

jfulmer at appin.org wrote:

Yesterday I compiled XFree86 4.0 with the MGA DRI support (from the
Sourceforge CVS, http://dri.sourceforge.net), and it works great on my
G400 Max! The testgl program (from 1.1.1) gives me a framerate of about
49-50 FPS (with the SDL_Delay(20), over 800 without!).

Uhh… correct me if I’m wrong, but I was under the impression that XFree86
4.0 (at least the public sources) didn’t have a driver for the G400 complete
yet, and that Utah-GLX and 4.0 were mutually exclusive.

I believe there is an alpha MGA driver for dri available. I’ll check it
out tomorrow and compare it to the Utah-GLX driver…

jf

Yes, it is with the alpha drivers, but so far I haven’t had any problems
with it (granted, I have not played around so much with it yet…).
I used the mga-0-0-2-branch someone pointed to on the DRI development
mailing list (someone from PI I think), not the mga-0-0-1-branch they
talk about on the CVS page.

It works, it’s fast, and I can even play q3demo on my machine now! :slight_smile:

/ Joachim> On Fri, 24 Mar 2000, Nicholas Vining wrote:

The Arrow Email: @The_Arrow
Joachim Pileborg WWW : [Under construction]