Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 05-19-09   #1 (permalink)
Angry Linux Gamer
 
Melcar's Avatar
 
amd ati

Join Date: Sep 2005
Location: L.A.
Posts: 6,198

Rep: 508 Melcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famous
Unique Rep: 342
Trader Rating: 1
Default [How-To] Linux ATI driver installation

This is a short guide on how to install the Linux ATI proprietary driver (fglrx). This guide targets Ubuntu, but it should also work on other Debian based distros. I have had success with OpenSuse as well using a similar method.

Method 1

1.- Got to ATI's website and donwload the driver. The same installer works for both 32bit and 64bit systems.

2.- Open a terminal and move into the directory where you saved the driver in:

Code:
cd /<location of driver>
3.- Install needed dependancies:

Code:
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms  

#install ia32-libs if on a 64bit system
4.- Run the installer:

Code:
sudo sh <name of .run file>.run

#alternatively, you can simply run ati*.run
5.- A graphical interface should pop up. Just accept the defaults and let it finish. Once dropped back into the terminal (make sure no errors where given during the process):

Code:
cd
sudo aticonfig --initial
6.- Reboot

You should now have a working driver. To confirm everything went well, in a terminal type fglrxinfo and you should get something like this:
Code:
principe@magicbox:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4800 Series
OpenGL version string: 2.1.8673
If you ever need to update drivers (new ones come out every month or so) you first need to uninstall the one you have:

Code:
cd /usr/share/ati
sudo sh ./fglrx-uninstall.sh
Let the script finish; it will generate a fresh xorg.conf for you. Once this is done, you can proceed to install the new driver following the same steps in this guide (no need to restart X or reboot).


Method 2

*Note that this method involves distro specific package building. ATI's installer supports package building for several distros and the commands to accomplish this vary between distros. The following steps are for Ubuntu specificaly (it should be the same for any Debian based distro as well); if you use some other distro best you learn how to manipulate packages on that particular platform before proceeding.


1.- Got to ATI's website and donwload the driver. The same installer works for both 32bit and 64bit systems.

2.- Open a terminal and move into the directory where you saved the driver in:

Code:
cd /<location of driver>
3.- Install needed dependancies:

Code:
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms  

#install ia32-libs if on a 64bit system
4.- Build packages:

Code:
sudo sh <name of .run file> --buildpkg

#this will generate several packages inside the source directory
5.- Install packages:

Code:
sudo dpkg -i *.deb

#this will install ALL .deb files inside the directory, so make sure you don't have anything else aside from the driver
#if you are then asked about overwriting files, just tell it to go ahead (type "Y" when prompted)
6.- Initialize the driver:

Code:
cd
sudo aticonfig --initial
7.- Reboot

You should now have a working driver. To confirm everything went well, in a terminal type fglrxinfo and you should get something like this:
Code:
principe@magicbox:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4800 Series
OpenGL version string: 2.1.8673
If you install this way, uninstallation is different. Just go to Synaptic and uninstall all the packages you installed with this method; do a search for fglrx and remove all packages related to it. You can then proceed to update to the latest version of the driver if you want.


Notes:

* Besides the above given dependencies, the driver itself needs additional ones (these are specified in the driver's release notes). Most distros that I have dealt with already have all of them installed by default, but it doesn't hurt to check, specially if your installation fails.

* The driver does not support pre-release software (kernels, xservers, etc.). If you're using a distro with any of these, don't expect it to work. Once a particular kernel (or xserver) is finalized, support for it usually comes within 1-3 releases (1-3 months). This is ATI policy.

* Starting from the 9.4 diver, support for pre r6xx cards (cards earlier than HD2K) has been dropped. If you have one of these cards, you need to change to one of the open source drivers.

Links of interest:
FGLRX lookout thread

System: Magicbox
CPU
Phenom X4 9650 @ 3GHz
Motherboard
DFI DK 790FX-M2RS
Memory
2x2GB G.Skill DDR2 1000
Graphics Card
HD4850 @ 750/1100
Hard Drive
WD 640GB SATAII / Seagate 160GB SATAII
Sound Card
Audigy 2ZS
Power Supply
OCZ GameXStream 700W
Case
Chenming 602 server case
CPU cooling
Apogee
GPU cooling
MCW60
OS
Ubuntu 64bit / WindowsXP 32bit
Monitor
Acer X193W+BD 19" WS LCD (1680x1050)

Last edited by Melcar : 06-05-09 at 08:33 PM
Melcar is offline Overclocked Account   Reply With Quote
Old 05-20-09   #2 (permalink)
Linux Lobbyist
 
GodofGrunts's Avatar
 
intel nvidia

Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 2,288

Rep: 134 GodofGrunts is acknowledged by manyGodofGrunts is acknowledged by many
Unique Rep: 111
Folding Team Rank: 1180
Trader Rating: 2
Default

You could also mention that Ubuntu has prebuilt ones that you can download via the Hardware Drivers app.

Or, you can use Envy.
__________________
Quote:
Originally Posted by MrDeodorant View Post
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.
Click below to show/hide Hidden Text Below!
Quote:
Originally Posted by Raptor_Jesus View Post
Exactly what GodofGrunts said.
Quote:
Originally Posted by GodofGrunts View Post
Exactly what Raptor_Jesus said.
Quote:
Originally Posted by kerbitroy View Post
Exactly what they said :P
Quote:
Originally Posted by GodofGrunts View Post
Exactly what she said.
Quote:
Originally Posted by esocid View Post
Universe asplodes.





System: The Monolith
CPU
Q6600 G0 3.21 GHz
Motherboard
Asus P5K
Memory
4 GB 2x2GB OCZ
Graphics Card
8800GT Alpha Dog Edition 512MB
Hard Drive
WD 500GB Sata
Sound Card
Onboard
Power Supply
600W Ultra
Case
Monolith
CPU cooling
Scythe Ninja 2
GPU cooling
Aftermarket
OS
Mythbuntu 9.04 x64
Monitor
17" Dell LCD
GodofGrunts is offline I fold for Overclock.net GodofGrunts's Gallery   Reply With Quote
Old 05-20-09   #3 (permalink)
PC Gamer
 
legoman786's Avatar
 
intel ati

Join Date: Mar 2006
Location: Tucson, AZ
Posts: 6,576
Blog Entries: 7

Rep: 238 legoman786 is acknowledged by manylegoman786 is acknowledged by manylegoman786 is acknowledged by many
Unique Rep: 192
Folding Team Rank: 928
Trader Rating: 10
Default

Quote:
Originally Posted by Melcar View Post
Code:
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms  

#install ia32-libs if on a 64bit system
What do you mean by this? Where am I supposed to type in ia32-libs in the command?

EDIT: I got it
__________________
¿uʍop ǝpısdn ʇı pɐǝɹ noʎ uɐɔ
September 1, 2009 - Never forget.

System: 299,792,458 m/s² x >9000
CPU
E5200
Motherboard
DFI LP DK P45-T2RS PLUS
Memory
2x2GB G.Skill 1066 (5-5-5-15-2T 1.8V)
Graphics Card
Sapphire 4850 512MB
Hard Drive
820GB Total
Sound Card
Audigy eX Plat + ProMedia 2.1
Power Supply
Corsair VX550W
Case
Tagan CS-A+ Seenium RT
CPU cooling
Stock
GPU cooling
VF900
OS
Vista Ultimate x64
Monitor
Viewsonic Graphics G220fb 21" CRT

Last edited by legoman786 : 05-20-09 at 05:32 PM
legoman786 is online now I fold for Overclock.net legoman786's Gallery   Reply With Quote
Old 05-21-09   #4 (permalink)
Linux Lobbyist
 
GodofGrunts's Avatar
 
intel nvidia

Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 2,288

Rep: 134 GodofGrunts is acknowledged by manyGodofGrunts is acknowledged by many
Unique Rep: 111
Folding Team Rank: 1180
Trader Rating: 2
Default

Quote:
Originally Posted by legoman786 View Post
What do you mean by this? Where am I supposed to type in ia32-libs in the command?

EDIT: I got it
Just for those that didn't get it.

Code:
sudo apt-get ia32-libs
__________________
Quote:
Originally Posted by MrDeodorant View Post
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.
Click below to show/hide Hidden Text Below!
Quote:
Originally Posted by Raptor_Jesus View Post
Exactly what GodofGrunts said.
Quote:
Originally Posted by GodofGrunts View Post
Exactly what Raptor_Jesus said.
Quote:
Originally Posted by kerbitroy View Post
Exactly what they said :P
Quote:
Originally Posted by GodofGrunts View Post
Exactly what she said.
Quote:
Originally Posted by esocid View Post
Universe asplodes.





System: The Monolith
CPU
Q6600 G0 3.21 GHz
Motherboard
Asus P5K
Memory
4 GB 2x2GB OCZ
Graphics Card
8800GT Alpha Dog Edition 512MB
Hard Drive
WD 500GB Sata
Sound Card
Onboard
Power Supply
600W Ultra
Case
Monolith
CPU cooling
Scythe Ninja 2
GPU cooling
Aftermarket
OS
Mythbuntu 9.04 x64
Monitor
17" Dell LCD
GodofGrunts is offline I fold for Overclock.net GodofGrunts's Gallery   Reply With Quote
Old 06-04-09   #5 (permalink)
WaterCooler
 
Gill..'s Avatar
 
amd ati

Join Date: Jan 2009
Location: Woburn, MA - Soxnation
Posts: 749

Rep: 63 Gill.. is acknowledged by some
Unique Rep: 56
Trader Rating: 1
Default ok - before I get myself in more trouble

Do I follow uninstall directions for the crappy ATI drivers I installed after I installed Ubuntu - they're WAY behind what ATI is telling me I should use.

I heard that if I followed your directions, the previous install would fail everything (unlike if I tried the same in Windows)..

I'm relatively confident I could do it if you all can confirm the uninstall first is the appropriate approach. Also, so would normal VGA drivers be powering the system in the interim?

System: Phenom II 550 BE@3.816 X2 UNLOCKED=X4 :)
CPU
AMD Phenom II X2 550 BE X4@3.816
Motherboard
MSI GD70 790FX AM3
Memory
4GB Ripjaw @1698 DDR3
Graphics Card
HIS HD 4870 1 GB 790/1000 for gaming
Hard Drive
3.25 TB's total - BLAM.
Sound Card
7.1 onboard
Power Supply
850 PSU - Rosewill, it aint bad
Case
Aspire, with open side
CPU cooling
Danger Den 1/2" block
GPU cooling
Stock cooler..the big red jet engine
OS
Vista, and Ubuntu - x64
Monitor
24" Samsung 1900x1200
Gill.. is offline Gill..'s Gallery   Reply With Quote
Old 06-04-09   #6 (permalink)
Angry Linux Gamer
 
Melcar's Avatar
 
amd ati

Join Date: Sep 2005
Location: L.A.
Posts: 6,198

Rep: 508 Melcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famous
Unique Rep: 342
Trader Rating: 1
Default

If you installed the Ubuntu provided drivers, simply go back to System>Administration>Hardware Drivers and uncheck the applicable box. Another approach is to go to Synaptic and do a search for fglrx; remove all the packages containing the name (there should be at least 3).
You can then proceed with the install method outlined here (no need to reboot or restart X). However, to avoid possible complications, I would generate a new xorg.conf file and use the open source driver (follow my other guide in my sig); if you don't load the open source driver, next time you try to log-in you will get a black screen. After that reboot and then proceed with the installation

System: Magicbox
CPU
Phenom X4 9650 @ 3GHz
Motherboard
DFI DK 790FX-M2RS
Memory
2x2GB G.Skill DDR2 1000
Graphics Card
HD4850 @ 750/1100
Hard Drive
WD 640GB SATAII / Seagate 160GB SATAII
Sound Card
Audigy 2ZS
Power Supply
OCZ GameXStream 700W
Case
Chenming 602 server case
CPU cooling
Apogee
GPU cooling
MCW60
OS
Ubuntu 64bit / WindowsXP 32bit
Monitor
Acer X193W+BD 19" WS LCD (1680x1050)
Melcar is offline Overclocked Account   Reply With Quote
Old 06-04-09   #7 (permalink)
WaterCooler
 
Gill..'s Avatar
 
amd ati

Join Date: Jan 2009
Location: Woburn, MA - Soxnation
Posts: 749

Rep: 63 Gill.. is acknowledged by some
Unique Rep: 56
Trader Rating: 1
Default thanks

Thanks Melcar, a very thoughtful response and great guides from such an "Angry Linux Gamer". I got here by clicking on a link in your sig - so great work bro, thanks. (gotta get outta work before I go wrecking my home machine)

System: Phenom II 550 BE@3.816 X2 UNLOCKED=X4 :)
CPU
AMD Phenom II X2 550 BE X4@3.816
Motherboard
MSI GD70 790FX AM3
Memory
4GB Ripjaw @1698 DDR3
Graphics Card
HIS HD 4870 1 GB 790/1000 for gaming
Hard Drive
3.25 TB's total - BLAM.
Sound Card
7.1 onboard
Power Supply
850 PSU - Rosewill, it aint bad
Case
Aspire, with open side
CPU cooling
Danger Den 1/2" block
GPU cooling
Stock cooler..the big red jet engine
OS
Vista, and Ubuntu - x64
Monitor
24" Samsung 1900x1200
Gill.. is offline Gill..'s Gallery   Reply With Quote
Old 06-04-09   #8 (permalink)
WaterCooler
 
Gill..'s Avatar
 
amd ati

Join Date: Jan 2009
Location: Woburn, MA - Soxnation
Posts: 749

Rep: 63 Gill.. is acknowledged by some
Unique Rep: 56
Trader Rating: 1
Default Melcar, I'm living dangerously

going for the install via your method in this thread - uninstalled previous driver. Not going with the open source though, just want all or nothing - even though I see you have a 4850...if I fail, I'll try the open source too - goal here is no conflict between the two.

System: Phenom II 550 BE@3.816 X2 UNLOCKED=X4 :)
CPU
AMD Phenom II X2 550 BE X4@3.816
Motherboard
MSI GD70 790FX AM3
Memory
4GB Ripjaw @1698 DDR3
Graphics Card
HIS HD 4870 1 GB 790/1000 for gaming
Hard Drive
3.25 TB's total - BLAM.
Sound Card
7.1 onboard
Power Supply
850 PSU - Rosewill, it aint bad
Case
Aspire, with open side
CPU cooling
Danger Den 1/2" block
GPU cooling
Stock cooler..the big red jet engine
OS
Vista, and Ubuntu - x64
Monitor
24" Samsung 1900x1200
Gill.. is offline Gill..'s Gallery   Reply With Quote
Old 06-04-09   #9 (permalink)
Angry Linux Gamer
 
Melcar's Avatar
 
amd ati

Join Date: Sep 2005
Location: L.A.
Posts: 6,198

Rep: 508 Melcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famous
Unique Rep: 342
Trader Rating: 1
Default

If you're using Jaunty, the version of "radeon" provided only has 2D acceleration and TexturedVideo (for accelerating video playback) for r6xx/r7xx clas hardware, while the "radeonhd" version only has very basic support. The proprietary driver is the only real choice right now for these cards. You can still try them, if only to experiment and as a fallback driver in case you run into problems with fglrx.

System: Magicbox
CPU
Phenom X4 9650 @ 3GHz
Motherboard
DFI DK 790FX-M2RS
Memory
2x2GB G.Skill DDR2 1000
Graphics Card
HD4850 @ 750/1100
Hard Drive
WD 640GB SATAII / Seagate 160GB SATAII
Sound Card
Audigy 2ZS
Power Supply
OCZ GameXStream 700W
Case
Chenming 602 server case
CPU cooling
Apogee
GPU cooling
MCW60
OS
Ubuntu 64bit / WindowsXP 32bit
Monitor
Acer X193W+BD 19" WS LCD (1680x1050)
Melcar is offline Overclocked Account   Reply With Quote
Old 06-04-09   #10 (permalink)
WaterCooler
 
Gill..'s Avatar
 
amd ati

Join Date: Jan 2009
Location: Woburn, MA - Soxnation
Posts: 749

Rep: 63 Gill.. is acknowledged by some
Unique Rep: 56
Trader Rating: 1
Default

I thought this was for the propietary....the one I downloaded... now I don't have effects....but it's running fast as hell...

so...did the fglrxinfo...wasn't installed, (didn't I uninstall before?)....and now I'm reinstalling fglrx...display config works (didn't before) - and now I'm reinstalling the Prop drivers...

here goes..

System: Phenom II 550 BE@3.816 X2 UNLOCKED=X4 :)
CPU
AMD Phenom II X2 550 BE X4@3.816
Motherboard
MSI GD70 790FX AM3
Memory
4GB Ripjaw @1698 DDR3
Graphics Card
HIS HD 4870 1 GB 790/1000 for gaming
Hard Drive
3.25 TB's total - BLAM.
Sound Card
7.1 onboard
Power Supply
850 PSU - Rosewill, it aint bad
Case
Aspire, with open side
CPU cooling
Danger Den 1/2" block
GPU cooling
Stock cooler..the big red jet engine
OS
Vista, and Ubuntu - x64
Monitor
24" Samsung 1900x1200
Gill.. is offline Gill..'s Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 09:25 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.17271 seconds with 8 queries