First generate a xorg.conf.new file…
(you’re going to end up with no GUI until you restart X, so you might want to print this off)
To generate xorg.conf.new you need to switch to a virtual console using the key-combo Ctrl+Alt+F1
You will then need to log-in with your username and password
First make sure you are in your home directory
Now execute the following commands:
This will stop X.
sudo service gdm stop
Now generate an xorg.conf file:
sudo Xorg -configure
(remember Linux IS case sensitive)
This has generated the file xorg.conf.new in your home directory
Now restart X:
sudo service gdm start
Your desktop GUI will start again…Next backup your /etc/X11/xorg.conf file (if there is one)
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Then move xorg.conf.new from your home directory to the /etc/X11/ directory, and rename it xorg.conf
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf
Now open the /etc/X11/xorg.conf file in gedit:
sudo gedit /etc/X11/xorg.conf
and, add the following 2 lines to the end of the Section “Device” section, just above the EndSection line
Option "DRI" "False" Option "AccelMethod" "EXA"so it looks like this
Option "DRI" "False" Option "AccelMethod" "EXA" EndSectionand save.
Next I added the xorg-edgers Launchpad PPA to my repositories… which will update the radeon drivers (and DRI) with “tweaked” versions.
BE AWARE these are not “official” packages and are applied “at your own risk”, but they worked flawlessly for me.
More info here (read first):
If you want to try them (in karmic or higher)… in a terminal:
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
then run update manager
I was expecting 2D performance to improve, but I also expected disabling DRI would give me a 3D performance “hit”… in reality I ended up with MUCH faster 2D performance, including smooth youtube and flashplayer video for the first time ever , but 3D performance also improved … although it’s still no games machine