[SDL] Help! Linux version is very very slow!
Sweeney, Steven (FNB)
SweeneS at fnb.co.uk
Mon Mar 4 05:46:01 PST 2002
Oh no... My game uses good old 2D! hehehe! :) I'll see what I can do by
playing about with stuff. I must be doing something very very wrong
somewhere. Yes, but game runs in 8 bit, but my X screen is 16 bit. So,
yeah... something's a miss... :|
> -----Original Message-----
> From: none [SMTP:none at none.com]
> Sent: Sunday, March 03, 2002 7:54 AM
> To: sdl at libsdl.org
> Subject: Re: [SDL] Help! Linux version is very very slow!
> I've got a similar laptop video chip to yours i think.
> I've got an ATI rage mobility chip with 8 megs. And redhat 7.2.
> I took me a while to figure out why DRI wasn't working.
> I'm not sure if your sdl code is using openGL, but if it is, and glxinfo
> telling you DRI is not enabled, chances are that you are rendering with
> Mesa, which can be very slow.
> According to a post i found on dri.sourceforge.net, 8 megs of video is not
> all that much for 3D
> So I switched X from 24 to 16 bit in 1024x768, DRI became enabled and
> were good :)
> Check out the recent posts in loki.games.ut
> I put my X config up there.
> "Sweeney, Steven (FNB)" <SweeneS at fnb.co.uk> wrote in message
> news:mailman.1015074362.11159.sdl at libsdl.org...
> > Hi,
> > I just started using Linux and compiled my game for it using SDL and
> > Under Windows it was very fast and smooth (running in 800 x 600 in 256
> > colors). However, when I run it on Linux it craaaaaaaaaaaaaaaaaaaaawls!
> > understand that this has something to do with not being able to get
> > surfaces or enable SDL_DoubleBuf when I set up the videomode.
> > But I haven't been able to find any messages or information on what my
> > alternative might be. I understand that I have to do something like set
> > environmental variable called SDL_VIDEODRIVER but I'm wonder which video
> > driver people would recommend..?
> > Any more info on this would be very much appreciated.
> > Oh... I'm running Red Hat Linux 7.1 with KDE, with 256MBs RAM, 1Ghz AMD
> > an 8MB ATI Rage 3D Card (it's a laptop, btw)
> > Cheers.
> SDL mailing list
> SDL at libsdl.org
More information about the SDL