PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 09:22:32 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Improve older/xorg xserver based ATI/RADEON gfx card performance.  (Read 1680 times)
Hootiegibbon
Hero Member
*****
Offline Offline

Posts: 4206

Registered Linux User #421404


« on: July 27, 2010, 05:08:20 PM »

disclaimer ***** If you use this tip please note you do so at your own risk****** /disclaimer

I recently obtained a IBM T42 laptop, that although I was truly impressed with overall, I found myself underwhelmed with its graphics performance (was iirc circa 400fps via glxgears)

The card in this machine is
Quote
[jason@Hootiegibbon ~]$ lspci |grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

So I hit the search function and located a few tweaks that you can make to your xorg.conf to improve the performance.

This is ATI/Radeon specific using the ati xorg gfx server, there are other 'options' available for other gfx cards

In order to get this in place you need to edit xorg.conf,

REMEMBER YOU WILL NEED TO EDIT THIS AS ROOT TAKE CARE AND DO SO AT YOUR OWN RISK

start up the file manager navigate to /etc/X11/ locate the xorg.conf file then rightclick and choose the edit s root option (alternatly start your favoite text editor as root and point it to /etc/X11/xorg.conf)

Locate this section

Quote
Section "Device"
    Identifier "device1"
    Driver "ati"
    Option "DPMS"

Then add the following lines

Option "AccelMethod" "exa" #(can help with composite - comment out if want to use xaa)
Option "AccelDFS" "true"  
Option "BusType" "AGP"     #(use only if internalAGP based card)
Option "AGPMode" "4"   #(can use 8 if card is capable check out result of dmesg |grep agp)
Option "EnableDepthMoves" "on"
Option "FBTexPercent" "80"
Option "BackingStore" "true"
Option "EXAOptimizeMigration" "true"
Option "MigrationHeuristic" "greedy"
Option "DRI" "on"
Option "ScalerWidth" "2048"  #Remove/comment out this if screen has pink / discoloured arears)
Option "RenderAccel" "on"      #will disable compositing at login
Option "ColorTiling" "on"
Option "EnablePageFlip" "on"   #will disable compositing at login
Option "DynamicClocks" "off"
Option "ExaNoComposite" "false"

So that it reads

Quote
Section "Device"
    Identifier "device1"
    Driver "ati"
    Option "DPMS"
Option "AccelMethod" "exa" #(can help with composite - comment out if want to use xaa)
Option "AccelDFS" "true"  
Option "BusType" "AGP"     #(use only if internalAGP based card)
Option "AGPMode" "4"   #(can use 8 if card is capable check out result of dmesg |grep agp)
Option "EnableDepthMoves" "on"
Option "FBTexPercent" "80"
Option "BackingStore" "true"
Option "EXAOptimizeMigration" "true"
Option "MigrationHeuristic" "greedy"
Option "DRI" "on"
Option "ScalerWidth" "2048"   #Remove/comment out this if screen has pink / discoloured arears)
Option "RenderAccel" "on"
Option "ColorTiling" "on"
Option "EnablePageFlip" "on"
Option "DynamicClocks" "off"
Option "ExaNoComposite" "false"

then restart X (log out log in)
To see which options have worked you can open a Konsole and use the following cli commands

cat /var/log/Xorg.0.log |grep RADEON >/home/username/Documents/RADEONoutput.txt

cat /var/log/Xorg.0.log |grep Option >/home/username/Documents/OptionOutput.txt

or just

cat /var/log/Xorg.0.log >/home/username/Documents/XorgLogOutput.txt for the full xorg.log

this will show if any Option is not used,  (if it shows as not used then remove it)

I hope that this tip is of use, It does result here in an improvement to glxgears in the region of an extra 250 fps.

Jase


Logged

** FORUM SEARCH **

I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles
Hootiegibbon
Hero Member
*****
Offline Offline

Posts: 4206

Registered Linux User #421404


« Reply #1 on: August 20, 2010, 04:45:16 AM »


Folks,

Here is some additional information, especially of interest to those that want to have composting working on boot and have the following card (likly to effect further cards though so worth a try if having thie problem)

Quote
VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

Of the options above there are two that cause compositing to be disabled on KDE4 start up.

If you find this to be the case then comment out or remove the following options

#Option "RenderAccel" "on"
#Option "EnablePageFlip" "on"

I have added comments to the above post to point this out.

Jase
Logged

** FORUM SEARCH **

I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #2 on: August 20, 2010, 05:00:10 AM »

Nice post Jase.
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM