Page 1 of 1

hacking 2.3 to run the ATI driver

PostPosted: Mon Jan 25, 2010 1:26 am
by dyackalXP
How to hack 2.3 to run ATI driver....--->>> Post your instruction here for all to see.. make ubuntu the desktop OS of the future lets kick windows.

Re: hacking 2.3 to run the ATI driver

PostPosted: Mon Jan 25, 2010 11:35 pm
by Cell
Hacking Jaunty to use ATI proprietary driver.Even if you lost support for your card.


You won't be able to upgrade to anything....I don't recommend upgrading any ways.

WARNING: Running commands as root (using sudo or su) can potentially damage your operating system. Be sure to CAREFULLY read EVERYTHING. Only proceed with these steps if you are confident with what you are doing.

ALSO: This tutorial is not guaranteed to work on every system.


First off we will want to backup your current “sources.list” (the file that contains all of the repository information), so simply run the command:
Code: Select all
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak



Now, we will open up the original “sources.list” file and set it all back to the intrepid repositories. This can easily be done with Gedit’s replace tool. You can, of course, use any other text editor. To open the file in Gedit, just type the following into a terminal.
Code: Select all
sudo gedit /etc/apt/sources.list


In gedit, simply select the word “jaunty” anywhere in the file and click on “Replace” on the tool bar. When the dialogue box comes up, type “intrepid” into the box labeled “Replace With:” and click “Find” then “Replace All”

After replacing “jaunty”, save the file and close out of Gedit (or what ever text editor you used), and go back to a terminal and type:
Code: Select all
sudo apt-get update


Once the repositories are updated, make sure all ATI drivers are uninstalled.

Now we will uninstall the current version of the xserver using the following command. (Note that gnome-session and fast-user-switcher-applet are specific to Ubuntu. Variants like Kubuntu(I do believe Ultimate Edition is built off of Kubuntu) and Xubuntu will not need to remove these because they are not installed)
Code: Select all
sudo apt-get autoremove xserver-xorg gnome-session fast-user-switch-applet


This may take a minute or so. After it completes, we will reinstall the xserver and also install the ATI drivers. (Note that gnome-session and fast-user-switcher-applet are specific to Ubuntu. Variants like Kubuntu and Xubuntu will not need to install them because they are not part of your desktop environment)
Code: Select all
sudo apt-get install xserver-xorg fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx libdrm2=2.3.1-0build1 gnome-session fast-user-switch-applet=2.24.0-0ubuntu6


When everything is finished installing, you will want to open up Synaptic Package Manager and lock all of the xserver-xorg*, fglrx*, xorg-driver-fglrx, libdrm2, gnome-session, and fast-user-switch-applet packages at their current version. This is done by selecting the package then going to the “Package” menu and clicking on “Lock Version”. You can also do this in the terminal by running:
Code: Select all
sudo su


then
Code: Select all
echo 'package-name hold' | dpkg --set-selections



Make sure to repeat the last command for each package that was installed by the previous commands. (This should total to about 47 packages or so.)

Once all of the xserver and ATI driver packages have been locked, run
Code: Select all
sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list


After you restart, make sure to go to the Hardware Drivers manager under the “System” menu: Administration > Hardware Drivers and enable that ATI driver and reboot again.


Use at your own risk.Does not work with Karmic,only Jaunty.Also if you have updated your kernel from the Jaunty stock one it will not work.This ATI driver is only supported in the kernel .28,and lower *I think check first your self.
I've done this,and have had success.Keep in mind your hacking the cr@p out of your jaunty install.If it didn't work then you most likely did a step wrong.Search the net if you need info on one of the steps.Again it might not be worth the effort if ATI has cr@py support for your card in linux to begin with...all cards aren't the same


Cell ;)