Archive for the 'ATI' Category

Upgrade Ubuntu Feisty Fawn, plus ATI and Compiz

I decided to upgrade from Ubuntu Edgy Eft to Feisty Fawn. First impression is good. I had only to reconfigure VMware Server. There’s also some disturbing property in Gaim 2.0beta6; it’s still downloading old Gmail friends list. But new feature, mail notification, is very cool, so no harm done :-).

To upgrade your Ubuntu distribution type (in terminal):

sudo update-manager -c -d

Click here and there, wait a bit of time (mine upgrade took about 2h, with downloading). Important thing is to answer some questions whether to keep or overwrite configuration files of some services. Usually it is better to keep your old confs. And thats it! How do you like your new operating system? :-)

With ATI/Compiz it took me some time to get it all working. First I followed some tutorials. But it only messed with my xorg.conf. So I loaded oldest conf (from first installation I think) and started from scratch.

Step-by-step (or better cmd-after-cmd :-)):

Just in case:

sudo modprobe -r fglrx

Then:

sudo apt-get remove xorg-driver-fglrx

You probably already have it, but:

sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri

OK, now edit your xorg.conf:

sudo gedit /etc/X11/xorg.conf

Find Section “Device”, and edit, so it look like this:

Section "Device"
Identifier "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
Driver "radeon"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "DisableGLXRootClipping" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
EndSection

Yeah, I know I mentioned in other post that I have 9550 but I’ve done some kinky tweaks on my graphic card and it’s now 9600 (rv350), even PRO :-).

In Section “Screen” I’ve left only one resolution, It’s good choice for me, because I never change it. My LCD gives best view on max resolution, wich is 1280×1024.

There are two more things to do. In Section “ServerLayout” add this line:

Option "AIGLX" "true"

From what I know it has to be on top of other entries in this section.

And the last step is to add two more sections:

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Instead of Enable you can put 1 (one).To make the changes take effect, you have to restart your X server. Do this by rebooting your computer or simply by pressing Ctrl+Alt+Backspace.

Voila!

Now you should go to System->Preferences->Desktop Effects and enable Composite manager (Compiz by default). You can try and play with more feature-based Beryl, but I do, really, not recommend it. It’s highly unstable. Maybe with Nvidia cards it works better, but if you have ATI – stay away.

Optionally add some compiz packages through Synaptic.

TIP! I encountered a very annoying problem after first enabling Compiz. I’ve lost my left mouse button functinality, LOL! It was really funny when I tried to click something and all I could get was another screenshot#.png file on my desktop. It wasn’t hard to google answer. It is reported on launchpad.net under Bug #90918. Quick how-to:
Open gconf-editor, and navigate to apps/compiz/plugins/screenshot/allscreens/options. Disable initiate_button.

Uff. Have a nice day.

Ubuntu edgy and ATI step-by-step

I found the best way to set up ATI drivers on Ubuntu 6.10. This doesn’t cover any errors, so do not take another steps until you handle your problem(s).
Here is what to do:

wget https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.33.6-x86.x86_64.run

(or newer from ATI driver download page)

mkdir ati-ins

cp ati-driver-installer-8.33.6-x86.x86_64.run ati-ins

cd ati-ins

sudo aptitude install module-assistant build-essential debhelper debconf dh-make fakeroot libstdc++5 linux-headers-$(uname -r)

sudo gedit /etc/X11/xorg.conf

add this at the end of file:

Section "Extensions"
Option "Composite" "Disable"
EndSection

then

sudo gedit /etc/default/linux-restricted-modules-common

add text so it’ll look like this:

DISABLED_MODULES="somemodule2 fglrx"

save and exit, then

sudo ln -sf bash /bin/sh

bash ./ati-driver-installer-.run --buildpkg Ubuntu/edgy

wait…

sudo ln -sf dash /bin/sh

sudo dpkg -i *.deb

sudo module-assistant prepare,update

sudo module-assistant build,install fglrx-kernel

sudo depmod

sudo rm -f /usr/src/fglrx-kernel*.deb

finish

sudo aticonfig --initial

sudo aticonfig --overlay-type=Xv

reboot.

Check with:

fglrxinfo

glxinfo | grep direct

output should be something like this:
luc@luc-desktop:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9550 Generic
OpenGL version string: 2.0.6286 (8.33.6)
luc@luc-desktop:~$ glxinfo | grep direct
direct rendering: Yes

More on Binary Driver Howto ATI on Ubuntu help page.