Covered here are 3 different methods of installing your ATI drivers.
1) Envy
2) Restricted drivers Manager
3) Compiling them yourself (for geeks only)
________________________To_install_your_drivers_with_Envy______________________________
make sure your hooked up to the net
open Envy (Applications/System tools/Envy)
Select "Install ATI drivers"
Envy should detect your card, install the correct driver & reboot.
if this brings you to your desktop, you're done
If this doesn't bring you back to your desktop
from a terminal type
- Code: Select all
sudo envy-t
This will start the envy GUI
this time select "install the Driver Manually"
To select correct version read Which ATI driver do I use
Envy should install the correct driver & reboot.
if this brings you to your desktop, you're done
If this doesn't bring you back to your desktop
from a terminal type
- Code: Select all
sudo envy --uninstall-all
Reboot & post in the Help & Support section
______________________To_install_your_drivers_with_Restricted_driver_manager_____________
Make sure your hooked up to the net
Open Restricted driver manager (System/Administration/Restricted driver manager)
Enter your password
Check the box in the "enable" column
select "Enable Driver"
After it downloads & installs your driver, you need to restart your computer.
If this brings you to your desktop, you're done
If this doesn't bring you back to your desktop,
- Code: Select all
sudo cp /var/cache/restricted-manager/ATI.oldconfig /etc/X11/xorg.conf
make sure X11 uses capitol "X"
this will roll-back your xorg.conf to the configuration before you used Restricted Manager.
Or...
you need to reconfigure xorg,
so you can get back to your desktop and try a different method.
Hopefully you've read the Dreaded Black Screen Post, which tells you how to do this.
_________________________________**Note**___________________________________________
It's generally best to compile your drivers yourself.
However, as Envy is MUCH easier & faster, try it first.
You get newer drivers, which can solve possible issues,
you can start the Envy GUI from the command line,
and it's easier to uninstall a problem driver.
_________________________________To_compile_the_drivers_yourself_________________________
Copied from Drama1981's How-to
updated to latested version on jan 31st 2008 4:12AM
_________________________________**Note**______________________________________________
The ati restricted driver (fglrx) now includes aiglx finally.
For those that dont know about aiglx it basically replaces xgl and allows you have direct rendering enabled even while running compiz/beryl
(if you havent installed xgl you can skip this step.)
Since we no longer need xgl you can remove it...
Open synaptics and search for xserver-xgl.
Totally remove this.
Next disable the restricted driver from the restricted manager (if you have installed it)
or use envy to remove it if you installed it that way.
reboot.
if you haven't installed the restricted driver then this step can be skipped too
(now the next step isn't totally necessary but i find it makes things run smoother so I'd do it anyway.)
Open synaptic (system-->admin-->synaptic package manager).
We wanna get rid of the fglrx packages.
hit search and type fglrx.
choose completely remove for anything it finds installed.
there are 2 packages i know of for sure. fglrx control and xserver-xorg-fglrx.
(there may also be 1 additional package listed as installed but i cant remember for sure.
if so remove it)
basically anything that has fglrx in the name should be removed
___________________Now_it"s_time_to_build_the_new_driver_packages________________________
(thankx goes to jerick70 for most of these directions)
1) Download the ATI driver installer at: http://www2.ati.com/drivers/linux/ati-driver-installer-8-01-x86.x86_64.run
it should go to the desktop.
2)Get all the necessary tools
- Code: Select all
sudo apt-get update
- Code: Select all
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic dkms
NOTE: IF YOU HAVE USED THIS HOWTO IN THE PAST MAKE SURE YOU STILL GET DKMS. IT IS NOW NEED FOR THE BUILD AS WELL (AUTO BUILDS KERNEL MOD)
3)Build .deb packages
- Code: Select all
cd /home/user/Desktop
replace user with your username
- Code: Select all
sudo bash ati-driver-installer-8-01-x86.x86_64.run --buildpkg Ubuntu/gutsy
wait for that to finish. it may take a few mins depending on the speed of your pc.
you should now have 3 or 4 new files on your desktop.
4)Blacklist old fglrx module from linux-restricted-modules:
__________GNOME USERS__________
- Code: Select all
gksu gedit /etc/default/linux-restricted-modules-common
___________KDE USERS____________
- Code: Select all
kdesu kate /etc/default/linux-restricted-modules-common
Change
DISABLED_MODULES=""
To
DISABLED_MODULES="fglrx"
Save it
5)Remove any old fglrx debs from /usr/src/
- Code: Select all
sudo rm /usr/src/fglrx-kernel*.deb
__________**Note__________
it may say nothing was found. which is fine and there is nothing to worry about in that case.
6) Install .deb packages
- Code: Select all
sudo dpkg -i xorg-driver-fglrx-dev_8.452.1-1_i386.deb xorg-driver-fglrx_8.452.1-1_i386.deb fglrx-kernel-source_8.452.1-1_i386.deb fglrx-amdcccle_8.452.1-1_i386.deb
you will then get the following message:
Configuration file `/etc/xdg/compiz/compiz-manager'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** compiz-manager (Y/I/N/O/D/Z) [default=N] ?
its your choice what to do here.
I also choose Y. (install the package maintainer's version).
(it has never caused me any problems)
7) compiling the kernel module is no longer needed, since it now does it automatically. that is why dkms is now needed.
8) Create a symbolic link for fglrx.ko
- Code: Select all
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko
9) You may need to add this to your rc.local so a symbolic link is created on boot.
Some installs of Gutsy will remove the link on boot.
If this link is not present you will not have 3D acceleration
__________GNOME USERS__________
- Code: Select all
gksu gedit /etc/rc.local
____________KDE USERS___________
- Code: Select all
kdesu kate /etc/rc.local
before the "exit 0" line add the following :
insmod /lib/modules/$(uname -r)/misc/fglrx.ko
10)Reboot
11)Login and Configure Driver
- Code: Select all
sudo aticonfig --initial --force
- Code: Select all
sudo aticonfig --overlay-type=Xv --force
12) reboot
13) now we need to edit xorg.conf slightly
__________GNOME USERS__________
- Code: Select all
sudo gedit /etc/X11/xorg.conf
____________KDE USERS___________
- Code: Select all
kdesu kate /etc/X11/xorg.conf
change
Section "Extensions"
Option "Composite" "0"
EndSection
to
Section "Extensions"
Option "Composite" "1"
EndSection
Under Section "ServerLayout", add this:
Option "AIGLX" "True"
(i just add it to the bottom of that section)
be sure to leave a blank line between that and the next line down.
I didn't and it caused me problems.
if Section "ServerLayout" doesn't appear just add it.
it should exist but I've noticed that sometimes it doesn't.
save it.
14) Permit fglrx to launch compiz effect
__________GNOME USERS__________
- Code: Select all
sudo gedit /usr/bin/compiz
____________KDE USERS___________
- Code: Select all
kdesu kate /usr/bin/compiz
add fglrx to the beginning of
# Driver whitelist
WHITELIST="nvidia intel ati radeon i810"
should look like this when you are done
# Driver whitelist
WHITELIST="fglrx nvidia intel ati radeon i810"
next unblacklist pciid's.
you may not have to do this with your card but i had to with mine.
prob a good idea to do it anyway.
find an entry looking like this:
# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
T=" 1002:5954 1002:5854 1002:5955" # ati rs480
T="$T 1002:4153" # ATI Rv350
T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
T="$T 8086:2972" # i965 (x3000)
T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
BLACKLIST_PCIIDS="$T"
unset T
change it to
# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
#T=" 1002:5954 1002:5854 1002:5955" # ati rs480
#T="$T 1002:4153" # ATI Rv350
#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
#T="$T 8086:2972" # i965 (x3000)
#T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
BLACKLIST_PCIIDS="$T"
unset T
now save that file.
reboot.
check that its properly installed.
run
- Code: Select all
fglrxinfo
you should get a result similar to this
jeremy@deadly-soundz-07:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon Xpress Series
OpenGL version string: 2.1.7276 Release
the main thing we want to be sure of is the vendor and version strings.
renderer will vary depending on your card.
check that dri is enabled
- Code: Select all
glxinfo | grep direct
you should get the following.
jeremy@deadly-soundz-07:~$ glxinfo | grep direct
direct rendering: Yes
notice that you now have dri with compiz/beryl running.
this due to no needing xgl anymore because aiglx is supported.
it should now work.
if you have any probs just let me know. ill see if i can figure it out. cheers:)
credits
basilebasilic over at ubuntuforums.org-editing compiz file
jerick70-rest of the instructions
(minor edits from myself. updated driver link to reflect new version)
p.s. you will need to use the sudo command to remove the added files. just do the following
- Code: Select all
sudo rm -i /home/user/Desktop/fglrx*
- Code: Select all
sudo rm -i /home/user/Desktop/xorg*
it will ask you to confirm. hit y for yes.
be sure to replace "user" with your username.