X31 Thinkpad mit Ubuntu 9.x
Submitted by infin on Thu, 11/12/2009 - 05:48
Gern habe ich es flott bei der Arbeit mit dem Rechner. Beschleunigtes Xorg mit Offscreenrendering darf da nicht fehlen. Leider habe ich nicht die Kohlen um mich mit aktuellster Hardware zu versorgen und arbeite daher mobil sehr viel mit einem X31 Thinkpad. Wer da schnelle Grafikausgabe unter Ubuntu haben will, dem kann ich evtl. ein wenig Arbeit erspaaren und meine Screen-Section aus der Xorg.conf ans Herz legen. Neuerdings wird ja alles automatisch konfiguriert. Auch X - damit sieht ein Xorg.conf file nach frischer Installation recht leer aus. X startet problemlos und auch compiz und Konsorten lassen sich benutzen. Allerdings sehr langsam. Wenn man dazu noch Google-Earth oder Blender benutzen will, hat man ein Problem. Es ist Handarbeit gefragt. Was ein XServer so alles toll automatisch konfiguriert, sagt er im log unter /var/log/Xorg.0.log. Der Treiber "radeon" bringt eine manpage mit und X kann mit der Option -configure dazu bewegt werden ein xorg.conf file mit seinen automatisch ermittelten Werten inkl. weiterer Optionen anzulegen. Das haben ich alles zu einer neuen Config zusammengewuerfelt. Diese laeuft absolut Problemlos und mit 1500fps glx-gears bei aktiviertem compiz auch so schnell, das ich damit sehr gut arbeiten kann.
meine xorg.conf von dem X31 Thinkpad unter Ubuntu 9.10:
Section "Device"
Identifier "ATI" # this is infins xorg.conf device-section for using with ubuntu 9.x on my x31 thinkpad
Driver "radeon"
Option "AccelMethod" "XAA" # EAX is not usable - screen hangs with compiz
Option "AGPMode" "4" # default: 2
Option "AGPFastWrite" "off" # on brings no boost but runs instable
Option "GARTSize" "128" # the maximum memory agp can allocate lspci shows a range 128mb
Option "EnablePageFlip" "on" # boost performance
Option "RenderAccel" "on" # no effect/ dont know why i had this here
Option "ColorTiling" "on" # boost performance
Option "AGPSize" "16" # default: 8
Option "SWcursor" "false" # a swcursor isn't usable
Option "RingSize" "4" # increases performance
Option "BufferSize" "2" # increases performance
Option "XAANoOffscreenPixmaps" "false" # false for running google earth and blender
Option "ClockGating" "on" # for dynamic clocking - is usefull on laptops
Option "DRI" "true" # just using dri for 3d accel
Option "DynamicPM" "false" # absolute unstable if true
# not used Option "DynamicClocks" "on"
# not used Option "BIOSHotkeys" "on"
# not used Option "DRI2" "false"
EndSection
Unter 9.04 habe ich die folgende Config benutzt und absolut keine Fehler:
Section "Device"
Identifier "ATI"
Driver "radeon"
Option "AccelMethod" "XAA"
Option "AGPMode" "4"
Option "AGPFastWrite" "off"
Option "GARTSize" "64"
Option "EnablePageFlip" "on"
Option "RenderAccel" "on"
Option "DynamicClocks" "on"
Option "BIOSHotkeys" "on"
Option "ColorTiling" "on"
Option "AGPSize" "16" # default: 8
Option "SWcursor" "false" # MUST BE TRUE!!!
Option "RingSize" "4"
Option "BufferSize" "2"
Option "XAANoOffscreenPixmaps" "true"
EndSection
Ganz wichtig ist das man DRI aktiviert und konfiguriert!
Dazu meine Konfiguration aus ~/.drirc:
Technorati Tags: 

~/.drirc
öhmm. da fehlt wohl etwas ;-)