mrickert85 at yahoo.com
Tue Feb 24 15:14:43 PST 2004
--- Stefan Viljoen <rylan at intekom.co.za> wrote:
> I have Redhat 7.3 system, with 512megs of RAM and
> Geforce 4 MX 440 video
> I have donwloaded Mesa and a SDL-OpenGL program
> (linuxssn) - the mesa OpenGL
> demos seem to run at a reasonable rate, but the
> SDL-OpenGL program runs at
> about two seconds per frame.
Mesa is a software only version of OpenGL. If you want
hardware acceleration, you'll need to install DGA
drivers (and probably upgrade XWindows if on RH 7.3 to
support DGA). Fortunately, nvidia has such drivers.
You'll want to uninstall Mesa before installing their
> Any idea how I can speed the program up? I am a
> relative Linux newbie - I
> heard you can "renice" a process to give it more
> time on the processor? How
> can I find what is "robbing" CPU time from my SDL
Well, there probably isn't anything robbing your CPU
time, just your CPU having trouble rendering OpenGL
scenes using only software (read: icky slow,
especially with alpha transparency or anything like
If you want, you can try "ps" and "ps -A" which should
give you a list of processes and how much CPU time
they've used (you'll probably want to do "ps -A |
more" as the list is large using -A for all)
renice dosn't exactly ring a bell... 'nice' is a
program (and a measure) which allows processes to be
'nice' and be less important. Renice I assume undoes,
or is the opposite of that.
This may cause system instability in some
circumstances, it's akin to changing the priority of a
task using the task manager. Just an FYI.
> Stefan Viljoen
> Polar Design Solutions
> Software Support Technician
> SDL mailing list
> SDL at libsdl.org
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
More information about the SDL