GeForce 256 hw acceleration under linux

I am running under XFree86 4.0.1 with a geforce 256 (debian woody). I
am using the original nvidia driver (not the xfree86 one)

but SDL says that I have no hw acceleration. It recognizes all the x
window and visual info, like the bpp, but not the hw acceleration. Also,
it detects only 0Kb of free vide mem :slight_smile:

do I need to change something? or geforce is not supported by SDL under
linux?–
signed
derethor of centolos

Derethor wrote:

I am running under XFree86 4.0.1 with a geforce 256 (debian woody). I
am using the original nvidia driver (not the xfree86 one)

but SDL says that I have no hw acceleration. It recognizes all the x
window and visual info, like the bpp, but not the hw acceleration. Also,
it detects only 0Kb of free vide mem :slight_smile:

do I need to change something? or geforce is not supported by SDL under
linux?

–
signed
derethor of centolos

Hello !

Are you speaking of the OpenGL Demos ???
Is so, have you loaded in the XF86Config the glx module ?

In the section Screen you can tell the amount of VideoRam, maybe this
could
help !

Regards
Anes

but SDL says that I have no hw acceleration. It recognizes all the x
window and visual info, like the bpp, but not the hw acceleration. Also,
it detects only 0Kb of free vide mem :slight_smile:

SDL isn’t capable of using any hw acceration when running under X

I am using Geforce/ Xfree4.0.1 with nvidia drivers under linux with SDL
and it works perfectly… the testgl app that comes with the source works
fine with me. Are you sure you have configured your opengl correctly?? I
mean have you tested your Geforce with another opengl accelerated app like
the glut demos??On Tue, 7 Nov 2000, Derethor wrote:

I am running under XFree86 4.0.1 with a geforce 256 (debian woody). I
am using the original nvidia driver (not the xfree86 one)

but SDL says that I have no hw acceleration. It recognizes all the x
window and visual info, like the bpp, but not the hw acceleration. Also,
it detects only 0Kb of free vide mem :slight_smile:

do I need to change something? or geforce is not supported by SDL under
linux?

–
signed
derethor of centolos

WRONG, It works fine on my machine with X4.0.1/Geforce nvidia drivers
0.9-5 either in a window or in full screen mode. Check my engine at
utopia3d.sourceforge.net using SDL both on win/linux with HW acceleration.On Tue, 7 Nov 2000, Mattias Engdegard wrote:

but SDL says that I have no hw acceleration. It recognizes all the x
window and visual info, like the bpp, but not the hw acceleration. Also,
it detects only 0Kb of free vide mem :slight_smile:

SDL isn’t capable of using any hw acceration when running under X

WRONG, It works fine on my machine with X4.0.1/Geforce nvidia drivers
0.9-5 either in a window or in full screen mode. Check my engine at
utopia3d.sourceforge.net using SDL both on win/linux with HW acceleration.

Sorry, I meant 2D. (SDL doesn’t use any 3D acceleration either, but allows
the user to use openGL, which does.)

Anes Lihovac wrote:

Are you speaking of the OpenGL Demos ???
Is so, have you loaded in the XF86Config the glx module ?

yes, i did it, but I am talking about the SDL_GetVideoInfo function

opengl demos are working, btw…–
signed
derethor of centolos

I am using Geforce/ Xfree4.0.1 with nvidia drivers under linux with SDL
and it works perfectly… the testgl app that comes with the source works
fine with me. Are you sure you have configured your opengl correctly?? I
mean have you tested your Geforce with another opengl accelerated app like
the glut demos??
I have the same problem with a MatroxG400, both under XFree 3.0.1(with GLX)
and XFree 4.01(I didn’t try the matrox driver, since it’s a beta). I get 3D
accelleration(Infact my GL apps and games like Quake 3 work…)
The problem is about hw blits, the amount of video mem…

Marco Iannaccone @Marco_Iannaccone
ICQ: 18748121 Tolkien

“I’ve… seen things you people wouldn’t believe. Attack ships on fire off
the shoulder of Orion.
I watched C-beams… glitter in the dark near the Tanhauser Gate. All
those… moments will be lost… in time…, like… tears… in… rain.”

Wed, 08 Nov 2000 Marco Iannaccone wrote:

I am using Geforce/ Xfree4.0.1 with nvidia drivers under linux with SDL
and it works perfectly… the testgl app that comes with the source works
fine with me. Are you sure you have configured your opengl correctly?? I
mean have you tested your Geforce with another opengl accelerated app like
the glut demos??
I have the same problem with a MatroxG400, both under XFree 3.0.1(with GLX)
and XFree 4.01(I didn’t try the matrox driver, since it’s a beta). I get 3D
accelleration(Infact my GL apps and games like Quake 3 work…)

BTW, I had 3.3.6 working with Utah-GLX on my G400, but after failing to push
3.3.6 beyond 1600x1200 (21" EIZO; 1200 scan lines result in visible black
stripes… heh), and getting the impression that the DRI drivers sholud be
faster than Utah-GLX (?), I decided to move to 4.0.1.

Now, I can run 1920x1440 just fine, but 2048x1536 won’t work, probably because
the card (MAX DH, 32 MB) is downclocked. The problem is that the X kernel
modules won’t load; insmod complains about not being able to find any module
version info, even though I’ve configured the kernel (2.4.0-test10) not to
require it.

Oh well, I tried this just this morning in a great hurry, so it might just be
that I didn’t get a clean build of the kernel or something. Will keep trying,
and probably track down my stupid mistake, but if anyone has any quick
thoughts…

//David

…- M u C o S -------------------------. .- David Olofson --------.
| A Free/Open Source | | Audio Hacker |
| Plugin and Integration Standard | | Linux Advocate |
| for | | Open Source Advocate |
| Professional and Consumer | | Singer |
| Multimedia | | Songwriter |
-----> http://www.linuxdj.com/mucos -'—> david at linuxdj.com -’

I have the same problem with a MatroxG400, both under XFree 3.0.1(with GLX)
and XFree 4.01(I didn’t try the matrox driver, since it’s a beta). I get 3D
accelleration(Infact my GL apps and games like Quake 3 work…)
The problem is about hw blits, the amount of video mem…

As somebody mentioned, the X11 driver has no information about your video
card. Hardware acceleration is not possible at the application level.
The DGA2 driver does have hardware acceleration, but requires root priviliges.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Wed, 08 Nov 2000 David Olofson wrote:

BTW, I had 3.3.6 working with Utah-GLX on my G400, but after failing to push
3.3.6 beyond 1600x1200 (21" EIZO; 1200 scan lines result in visible black
stripes… heh), and getting the impression that the DRI drivers sholud be
faster than Utah-GLX (?), I decided to move to 4.0.1.

OTOH, some documents specifically on the G400 and DRI, suggest that Utah-GLX is
faster than current DRI drivers. I’m currently more interested in setting up a
fast X server with 3D acceleratio than I am in getting the fastest possible 3D
acceleration, but it would be nice to have some idea where on the scale
(useless…windows…theoretical max speed) these solutions are. Some game
benchmarks?

Now, I can run 1920x1440 just fine, but 2048x1536 won’t work, probably because
the card (MAX DH, 32 MB) is downclocked. The problem is that the X kernel
modules won’t load; insmod complains about not being able to find any module
version info, even though I’ve configured the kernel (2.4.0-test10) not to
require it.

Forget the above - I just messed up the files and versions!

However, I still haven’t found a kernel/DRM module/X server versions combo that
works. I’ve tried the old mga.o that comes with the 2.2.16 kernel, and a newer
one from the XFree86 source tree, but both just kill the keyboard and leave me
with a moving but useless mouse cursor as soon as I try to run anything 3D…

I’d be grateful for some version numbers and configuration hints, if anyone
happens to have a working XFree86 4.0.1 + G400 setup. (Would be even cooler if
it’s working well with SDL as well, as that’s what I plan to use! :slight_smile:

//David

…- M u C o S -------------------------. .- David Olofson --------.
| A Free/Open Source | | Audio Hacker |
| Plugin and Integration Standard | | Linux Advocate |
| for | | Open Source Advocate |
| Professional and Consumer | | Singer |
| Multimedia | | Songwriter |
-----> http://www.linuxdj.com/mucos -'—> david at linuxdj.com -’