Thursday, April 17, 2008

Fglrx Install - Yamal's Script

Okay, here we go. Fglrx install on Mepis 7 using Yamal's script posted on Mepislovers.

This is the first full guide I've done in a while, so it comprises steps that may or may not need to be taken in the normal course of usage. The guide is split into 3 parts. Part 1 involves removing the current Fglrx 8.43 driver provided by the Mepis Repositories, as well as the 8.43 control panel. This step is not always required as two of my systems allowed upgrading without removing the old driver, but most of the other test beds I had access to required removing the existing driver.

Part 2 covers obtaining the install script from Mepislovers.org and converting the script to an executable file. Again, this step is not required if you already have the install script, or if you chose to download the install script from an already created .sh file.

Part 3 covers installing the driver itself using the install script, followed by installing the control panel.

The test bed in use was not one of my own systems, but a Radeon Xpress powered notebook provided by a client that was previously running the 8.40 driver.

Part 1 : Removing Existing Fglrx Driver

1: Start by opening up Synaptic. Enter root password as normal.


2: Left Click on Search


3: In the search box type in fglrx and then left click on search.


4: We should now have a list of all the currently installed fglrx software.


5: Right Click on each item and then Left Click on Mark for Complete Removal.

In my case, the first item to go is fglrx-amdcccle.


6: The next to go for me is the old fglrx-control


7: Followed by fglrx-driver


8: Removing the driver will also cause the kernel module to be removed.

Left Click on Mark to remove.


9: We don't need to bother with the xserver-xorg-video-ati. It's the X.org driver, and not part of Fglrx.


10: With the fglrx data ready to go, Left Click on Apply.


11: Left Click on Apply again.


12: Now the driver is being removed. A slight note while doing this, as long as you do not reboot the current video driver will remain in memory. If you do reboot, you'll probably have to run a dpkg-reconfigure xserver-xorg and set a VESA driver. So... don't reboot.


13: Left Click on Close.


14: Alright, we are done with Synaptic and we can close it out.



Part 2: The Install Script and chmod.

15: Yamal's install script is located on this thread.


16: As we scroll down the first post we'll find the script itself offset in it's own box.


17: Use your mouse to select the text inside the code box...


18: and... Copy


19: Go ahead and open up Kwrite


20: Then Paste


21: With the text from the script entered, time to Save the file.


22: You'll want to put the saved file in the folder as where the driver will be downloaded to later.

For this guide I created a sub folder under /home/(username) labeled ati


23: name the file install.sh


24: then left click on save.


25: You might want to note that the text has changed colors. Interesting, but we can close Kwrite.


Alright, now that I put you through getting the script the hardway... if you just want to download it...


26: With our install.sh file created, go ahead and head for the system icon to open up a terminal.


27: There we go, konsole is up.


28: Change the directory to the location where the install.sh file was saved.

For me this means a simple cd ati/


29: now we should be in the proper location.

Again, for me, I am now in /home/(username)ati


30: Type in su


31: enter the /root password


32: Now we should be in /root mode.


33: Type in the command chmod +x install.sh

Then hit enter on the keyboard.


34: If everything went right, we should be back at another prompt. Our install script is ready.


Part 3: The Driver Install

35: Time to go get the driver itself. AMD's main driver page is found here.


36: Right Click on the Ati Driver Installer link, and then left click on save link as.


37: It's probably a good idea to go ahead and save the driver to the folder with the install.sh file.


38: For me this means expanding Browse for other folders


39: then finding the /ati folder from earlier.


40: With the proper download location chosen left click on save.


41: Now we just wait for the download to finish.


42: Once the download is finished, head back to the Konsole.

Because I haven't changed my Konsole location I am still in /root mode at the /ati folder.


43: In the Konsole type out the command sh install.sh

Then hit Enter on the keyboard.


44: Now it's another sit back and wait moment. Depending on what software is already downloaded, the install script might complete without needing further user intervention. Do keep an eye open, if the script asks a y/n question, always enter a y for yes.


45: This system already had all of the required packages loaded, so the install is completed.


46: With the driver presumably installed properly, the control panel is next.

I've taken Konqueror to the /ati folder under /home/(username). Here we can see that the install script has created a folder labeled ati_debs_72.

Left click
on ati_debs_72 to open.


47: Here we can find the various deb files created by the installer.


48: Left click on the fglrx-amdcccle Debian file.

In this specific case the package is
fglrx-amdcccle_8.476-1_i386.deb


49: Kpackage should open up. Left Click on Install.



50: Left Click on Install again.


51: Enter the /root password


52: The control panel shouldn't take too long to complete on it's install.

Close out by Left Clicking on Done.


53: It's probably a good idea to verify the installation, so open Synaptic back up.


54: Search for fglrx and check to make sure the driver and kernel module are installed.

Here we can see that these items have green items indicating successful installs.



Depending on what driver you are currently running, the next steps can differ. If you have followed this guide straight through a simple reboot should suffice.



If you had to switch drivers to Vesa or X.org ATi, steps 55-58 apply.

55: If you get lucky, open up the Mepis X-Windows Assistant...


56: Change the driver to fglrx (official 3D).


57: Left Click on Ok...


58: Then restart...


59: Verify that the driver loaded by opening up the ATi Catalyst Control Center in the K-menu.


60: Sadly... I messed something up along the way... the driver isn't loading.


61: Not really a problem, simply run a dpkg-reconfigure xserver-xorg


And sorry... at 61 steps I wasn't really looking forward to expanding the guide to show another dpkg-reconfigure walkthrough. There we go, the latest ATi driver SHOULD be installed.

2 comments:

Anonymous said...

Do you know Asda Story gold? I like it.
My brother often go to the internet bar to buy Asda Story money and play it.
After school, He likes playing games using these buy Asda Story Gold with his friend.
I do not like to play it. Because I think that it not only costs much money but also spend much time. One day, he give me manycheap Asda Story gold and play the game
Do you know Archlord gold? I like it.
My brother often go to the internet bar to buy Archlord money and play it.
After school, He likes playing games using these archlord online Gold with his friend.
I do not like to play it. Because I think that it not only costs much money but also spend much time. One day, he give me many cheap Archlord gold and play the game with me.
I came to the bar following him and found buy Archlord gold was so cheap. After that, I also go to play game with him.

Anonymous said...

I am so happy to get some Pirates of the Burning Sea Gold and the potbs gold is given by my close friend who tells me that the potbs Doubloon is the basis to enter into the game. Therefore, I should potbs money with the spare money and I gain some buy potbs Doubloon from other players.
It is the LOTRO Gold which make me very happy these days, my brother says Lord Of The Rings Gold is his favorite games gold he likes, he usually buy some buy LOTRO Gold to start his game and most of the time he will win the cheap Lord Of The Rings Gold</a back