SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I got a quick question.
I'm trying to get more performance
out of my ATI Radeon 9200 graphics card.
I installed the latest linux driver
from ati and still I get bad FPS performance.
After installing the driver and rebooting,
I ran this.
Code:
:~$ glxgears
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
774 frames in 5.0 seconds = 154.675 FPS
856 frames in 5.0 seconds = 171.107 FPS
807 frames in 5.0 seconds = 161.332 FPS
629 frames in 5.0 seconds = 125.622 FPS
594 frames in 5.0 seconds = 118.635 FPS
593 frames in 5.0 seconds = 118.600 FPS
580 frames in 5.0 seconds = 115.962 FPS
592 frames in 5.0 seconds = 118.315 FPS
592 frames in 5.0 seconds = 118.202 FPS
592 frames in 5.0 seconds = 118.264 FPS
591 frames in 5.0 seconds = 118.194 FPS
667 frames in 5.0 seconds = 133.355 FPS
593 frames in 5.0 seconds = 118.575 FPS
594 frames in 5.0 seconds = 118.737 FPS
How can I fix this so I can get the full
performance? I'm using slackware 11.0 with
KDE.In other distros with the same driver
I would easily get over 700 FPS with stock
settings.
1. check your xorg.conf - is it using the correct driver after you installed ATI?
2. dont use glxgears to clock your ATI drivers, its output is worthless once you're using fglrx. ATI supplies another benchmarker - flgrxgears (i think thats the name).
3. using any program like glxgears is IMO not the best barometer.. again, IMO what you really need to worry about is - do you get adequate performance when doing 3D stuff?
also check Xorg.0.log for any errors.
and have you looked at cwwilson's excellent thread? there are some ATI specific parts in there.
Well I understand that glxgears isn't the best
but at least I can see roughly whats going on.
U can see that something is wrong when u get
100 FPS instead of 700 or more.It seems
like I don't have flgrxgears. I can tell that
my graphics card isn't tuned up because I can't
really play movies... unless I make the movie
screen really small.
The ATI Proprietary Linux driver is designed to support the following ATI desktop products:
RADEON™ X800 series
RADEON™ 9000 series
RADEON™ X700 series
RADEON™ 9700 series
RADEON™ X600 series
RADEON™ 9550 series
RADEON™ X300 series
RADEON™ 9500 series
RADEON™ 9800 series
RADEON™ 9100 series
RADEON™ 9600 series
RADEON™ 8500 series
RADEON™ 9200 series
or are they lying ?
Last edited by H_TeXMeX_H; 03-31-2007 at 12:51 PM.
hmm... well, this is a bit of a shot in the dark, but do you need the "DRI" permission section in your xorg.conf?
Code:
Section "DRI"
Mode 0666
EndSection
Something like that? Not sure if the proprietary ATI drivers rely on that or not.
Not shown in your xorg.conf is server layout section. Are you pointing to the aticonfig-xxxx[0] device and screen?
Eternal_Newbie and H_TexMex_H have found seemingly conflicting evidence about the ATI drivers and your card...
I too have an (older?) ati mobile and use the radeon driver. I get ~ 1500fps after reading 'man radeon' and playing with settings. ( I once tried the ATI drivers only to get terrible performance before switching back to radeon )
~$ glxgears
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
586 frames in 5.0 seconds = 117.093 FPS
620 frames in 5.0 seconds = 123.926 FPS
620 frames in 5.0 seconds = 123.926 FPS
620 frames in 5.0 seconds = 123.994 FPS
619 frames in 5.0 seconds = 123.769 FPS
619 frames in 5.0 seconds = 123.739 FPS
590 frames in 5.0 seconds = 117.948 FPS
773 frames in 5.0 seconds = 154.389 FPS
754 frames in 5.0 seconds = 150.664 FPS
728 frames in 5.0 seconds = 145.280 FPS
501 frames in 5.0 seconds = 100.139 FPS
481 frames in 5.0 seconds = 96.195 FPS
684 frames in 5.0 seconds = 136.668 FPS
678 frames in 5.0 seconds = 135.441 FPS
675 frames in 5.0 seconds = 134.900 FPS
787 frames in 6.7 seconds = 117.033 FPS
670 frames in 5.0 seconds = 133.991 FPS
I tried like you said to remove completely
the line
Driver "radeon"
But my X would crash when I would try to start
it up.
Oh bioe007, how did you get your card to give
you that much performance? If you can give
a link to how you got your card to work good!
I'll take a look right now at the "DRI" permission section, I just wanted to update on whats going on
with my card.
I too have an (older?) ati mobile and use the radeon driver. I get ~ 1500fps after reading 'man radeon' and playing with settings. ( I once tried the ATI drivers only to get terrible performance before switching back to radeon )
If this is true, then that would be the way to do it. Change back to 'radeon' and read 'man radeon'. (I don't have an ATI card, so I wouldn't know which will give you better performance)
EDIT: In fact, you may want to run 'xorgsetup' as root when Xserver is down, it will autodetect many things which may improve performance.
Last edited by H_TeXMeX_H; 03-31-2007 at 08:08 PM.
This is weird. I added the options you
had for your card and still the FPS doesn't
go up. this is a snippet my current xorg.config section
Code:
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"
EndSection
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.
# Chipset "generic"
# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
# Device configured by xorgconfig:
Section "Device"
Identifier "ATI Radeon 9200"
Driver "radeon"
#Option "VBERestore" "true"
Option "EnablePageFlip" "true" # [<bool>]
# Option "AGPMode" "4" # <i>
Option "AGPFastWrite" "true" # [<bool>]
#VideoRam 262144
# Insert Clocks lines here if appropriate
EndSection
This is my current FPS after using the options
you used for your card.
Code:
~$ glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
1063 frames in 5.0 seconds = 212.435 FPS
1092 frames in 5.0 seconds = 218.261 FPS
1089 frames in 5.0 seconds = 217.764 FPS
1090 frames in 5.0 seconds = 217.893 FPS
1091 frames in 5.0 seconds = 218.129 FPS
I just don't know what to try. I looked at man "radeon" and couldn't see anything that could
possibly bring up the performance. If you need
to look at the other parts of my xorg.conf,
just tell me which one to post up! I can watch
movies now, But I want to get the card to work
better so I can get some games like dooom, etc
that need alot of juice! What other benchmarker
tool there is other than glxgears?
Thx again
i am no expert, but I think to get any type of great performance you'll need drm &radeon (if you're using the X11 drivers) or fglrx should show up if the ATI drivers are loaded.
can you quit X, then modprobe drm, radeon and restart to see if that helps?
i'm suspiscious of missing kernel modules. did you compile your own kernel? or using a stock one?
# modprobe radeon
WARNING: Error inserting drm (/lib/modules/2.6.17.13/kernel/drivers/char/drm/drm.ko): Cannot allocate memory
FATAL: Error inserting radeon (/lib/modules/2.6.17.13/kernel/drivers/char/drm/radeon.ko): Unknown symbol in module, or unknown parameter (see dmesg)
I'm using the stock 2.6.17.13 kernel that
came with my install dvd.I installed the
right modules for the kernel, headers,etc
so thats strange.Is there some other modules
I should install? This is why I can't get
more FPS out of my card! It's not even loading
the modules for the card!
Thx
1) press on searching for clues to the 2.6.17 kernel that comes with slack11 (i'm sure there are 'README' somewhere, or a .config)
did you install the source for the slack 2.6.17? if so you can vi <path to source>/.config and look and see what was built in, or check a readme to see if drm is built in.
2) compile your own kernel.
i've had no luck with drm built in but maybe someone else has.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.