View Single Post
Old February 10th, 2009   #15
Yashiro
Grande Half-n-Half Cinnamon Ubuntu
 
Yashiro's Avatar
 
Join Date: Oct 2008
Location: England
Beans: 960
Ubuntu 8.04 Hardy Heron
Re: NVIDIA to ATI...getting Linux back up

Assuming you've purged nvidia stuff from your machine.

Running:
Quote:
ati-driver-installer-9-1-x86.x86_64.run --buildpkg Ubuntu/8.10
will give you the .deb package files. If you're running another build of Ubuntu substitute your build name above.
Running sudo ati-driver-installer-9-1-x86.x86_64.run --listpkg will tell you what names to use.

These are the md5 hashes of the .deb packages if you wish to check.
Quote:
7c2257608a61d56aaeb1997e8a15391c /home/ati/9.1/fglrx-kernel-source_8.573-0ubuntu1_amd64.deb
5caa54cca422d80825382438533bf7e0 /home/ati/9.1/fglrx-amdcccle_8.573-0ubuntu1_amd64.deb
fc16d2ce724d5c44b0cfe5b253ed96ff /home/ati/9.1/fglrx-modaliases_8.573-0ubuntu1_amd64.deb
9d9e0470838f39c628b1dfc8823aa168 /home/ati/9.1/libamdxvba1_8.573-0ubuntu1_amd64.deb
68b4fe530ef0ee1763ba6c44e829b976 /home/ati/9.1/xorg-driver-fglrx_8.573-0ubuntu1_amd64.deb
Now make sure that /etc/modprobe.d/blacklist-local
contains # blacklist fglrx. The hash means it's NOT blacklisted. Which for this file is what we want.
Add lines here to blacklist any nvidia display modules, if you have them installed.

Also check/etc/default/linux-restricted-modules-common
contains DISABLED_MODULES="fglrx"
This disables the fglrx module from the Ubuntu repositories.
Supposedly not needed anymore with the new modalias .deb but I have it there from way back anyway.

Reboot and select the recovery mode kernel from grub. Drop into root console.
(Or get root via whatever means you see fit, sudo -i, su - whatever)

If you have an Ati driver already installed do:
Quote:
rmmod fglrx
Skip if you don't.


Now, navigate to the folder where you have those .deb files from earlier.

Run
Quote:
apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms ia32libs linux-headers-$(uname -r)
Quote:
dpkg -i fglrx-kernel-source_*.deb
dpkg -i fglrx-amdcccle_*.deb
dpkg -i fglrx-modaliases_*.deb
dpkg -i libamdxvba1_*.deb
dpkg -i xorg-driver-fglrx_*.deb
That should be the driver installed now.

Run
Quote:
aticonfig --initial -f
If you are not upgrading from an older Ati driver xorg config.

Reboot.

This method has not failed for me yet unlike the default install and other scripts I have tried. Some parts here can be done without the need for rebooting. But for tutorials sake just reboot unless you know what you're doing. In which case you don't need this lame tutorial.

Here's the list of commands used.

ati-driver-installer-9-1-x86.x86_64.run --buildpkg Ubuntu/8.10
apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms ia32libs linux-headers-$(uname -r)
dpkg -i fglrx-kernel-source_*.deb
dpkg -i fglrx-amdcccle_*.deb
dpkg -i fglrx-modaliases_*.deb
dpkg -i libamdxvba1_*.deb
dpkg -i xorg-driver-fglrx_*.deb

Last edited by Yashiro; February 10th, 2009 at 04:57 AM..
Yashiro is offline   Reply With Quote