LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ATI drivers and low fps...any tweaks? (https://www.linuxquestions.org/questions/linux-newbie-8/ati-drivers-and-low-fps-any-tweaks-112774/)

nro 11-05-2003 03:03 PM

ATI drivers and low fps...any tweaks?
 
Let me start off by saying that I have an ATI Radeon 8500 128ddr and I'm running RH 9 with 2.4.20-20.9 kernel. I simply ran the rpm fglrx-glc22-4.1.0-3.2.8.i586.rpm for my video card. That's that. Whether it ran/worked or not, I'm not quite sure. If there is some way to test this, and you are aware of this way, please let me know. I ran glxgears and got the following output:

2054 frames in 5.0 seconds = 410.800 FPS
2262 frames in 5.0 seconds = 452.400 FPS
2262 frames in 5.0 seconds = 452.400 FPS
2262 frames in 5.0 seconds = 452.400 FPS
2184 frames in 5.0 seconds = 436.800 FPS

If you know of any tweaks or ATI specific tools that I could use for upping my fps, I would greatly appreciate any help. Thanks!

LogicG8 11-05-2003 03:12 PM

you seem to have direct rendering enabled
your speeds are quite good.

You might be able to squeeze out a few more
fps by nicing whatever process is going to be rendering

try this in a terminal for details
man nice

Shade 11-05-2003 04:18 PM

Actually, if all you did was run the RPM, then I don't believe anything was installed.
All that happened was the module and/or code to build modules were placed in /lib/modules

Here's watcha do -- as root

Code:

#cd /lib/modules/fglrx/build_mod
#./make.sh
#cd ..
#./make_install.sh

That's that. Next step is to change your /etc/X11/XF86Config (may end in -4)
Change the driver line from whatever it is (probably vesa, ati, or radeon) to fglrx.
Make sure the default color depth is set to 24. Instead of 32 or 16.

That should be all you need to do.

NOTE: to build the modules above, you need to have your kernel sources installed at /usr/src/linux. And they need to match your running kernel :-D I'm relatively sure that the source isn't there by default in Red Hat... You may need to find out how to get the source for your modified / patched Red Hat kernel.

-Shade

nro 11-05-2003 04:25 PM

Here is my first error:

[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /lib/modules/2.4.20-20.9/build/include do not match current kernel.
they are versioned as "2.4.20-20.9custom"
instead of "2.4.20-20.9".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

Any ideas? :-/

Shade 11-05-2003 04:40 PM

I'm not sure how to fix that without recompiling with new source... And I do not believe you have the sources for the kernel you're running.
I don't know how to "adjust your symlinks" . Any of my advice here will probably screw you up ;)

However, you could get the 2.4.22 sources and give a shot at compiling your own kernel.
You'll need a little more expert advice to do it with what you have, though.

Kernel recompilation requires a bit of in-depth knowledge of your system, you may or may not feel up to it yet.
-Shade

Shade 11-05-2003 04:42 PM

Another thought -- your install discs probably have the source for the kernel on them in srpm format, as well as the original .config made to build it (I'd hope.)

Check your install discs and see if you can find the kernel sources on them.

-Shade


All times are GMT -5. The time now is 01:45 AM.