Hardware acceleration?

Hello every one !!! (And great thanks to people that took time to respond
to my last message,…)
I’ve got an Nvidia GeForce 2 MX 400, correctly configured on my RedHat8
distro … Last time
I tried on of my 2D game using SDL_SWSURFACE, and then SDL_HWSURFACE ,I got
the same performance (exactly !!)
Then I decided to look further at what does SDL_GetVideoInfo() returns ,I
found (and I was very supprised) that no kind of
hardware acceleration was available (remember I got an Nvidia GeForce2)
!!!(I called GetVideoInfo before SetVideoMode()
Further ,before I downloaded my video card drivers,3D games such as TuxRacer
were running very slow,but after configuring my 3D card ,TuxRacer becomes
running fast ,…so I deduced that my config was ok !!!

Do I need to reinstall SDL (after installing the good drivers) to take
adventage of my 3D card ?
Is it better to switch SDL_HWSURFACE(and SDL_DOUBLEBUF) even if I’m using
only 2D graphics ??
Should I recheck my config ,to reinstall the drivers???

PS: Is it fatser to call SDL_UpdateRects on an array of SDL_Rects then to
call SDL_UpdateRect() on each of them ?
------- Thanks in advence -------

Seems that we have a new guy in the neighborhood :slight_smile:
You wont get hardware accel under X, unless you use DGA (or maybe opengl).
See the FAQ. I know nvidia says that its drivers provides both 2d/3d
hardware accel, well, to say it more decently, thats not quite close to
reality.On Wed, 20 Aug 2003, Freeman wrote:

Hello every one !!! (And great thanks to people that took time to respond
to my last message,…)
I’ve got an Nvidia GeForce 2 MX 400, correctly configured on my RedHat8
distro … Last time
I tried on of my 2D game using SDL_SWSURFACE, and then SDL_HWSURFACE ,I got
the same performance (exactly !!)


Roger D. Vargas
ICQ: 117641572
Linux User: 180787

  • Much to learn you still have *
    Master Yoda, AOTC


Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est? limpio.