Saturday, November 28, 2009

ATI drivers on Karmic Koala

I set out to upgrade my older laptop to ubuntu 9.10 and I knew was going to have problems. Historically, the video card in this thing was a royal pain in the butt and just never seemed to work quite right.

I loaded the OS, logged in, and was rewarded with a jumpy/twitchy user experience. I started researching and found a thread about some tweaks a few folks made to make things better.

It turns out this didn't work for me, but a minor tweak to the tweak fixed me up.

Notably, I downloaded the radeonhd driver from synaptic, changed the xorg.conf (created above) to use radeonhd instead of radeon, then removed the bit that seems to have been autodetected by X11 for thier hardware.

This seems to have fixed my problem (for now). In addition, I can run the compiz visual effects (yeah expo).

Here is my config:


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Module"
Load "dri2"
Load "dri"
Load "dbe"
Load "extmod"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
EndSection

Section "Device"
Option "EnableDepthMoves" "True"
Option "EnablePageFlip" "True"
Option "DMAForXv" "True"
Option "AccelDFS" "True"
Option "ColorTiling" "True"
Option "RenderAccel" "True"
Option "VGAAccess" "True"
Option "AccelMethod" "EXA"
Option "DRI" "True"
Option "MigrationHeuristics" "greedy"
Option "TripleBuffer" "True"
Option "EXAOptimizeMigration" "true"
Option "EXANoComposite" "No"
Option "BackingStore" "true"
Option "AGPMode" "8"
Identifier "Card0"
Driver "radeonhd"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "Accel" "True"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "RENDER" "Enable"
Option "Composite" "True"
Option "XVideo" "Enable"
Option "XINERAMA" "False"
EndSection

Section "DRI"
Mode 0666
EndSection

No comments: