How to install ATI Driver?

  • bugsy
Posted: Sat, 03/21/2009 - 14:31
Hi All, I have recently built a system with AMD64 Anthlon running on Asus mobo which has ATI card onboard. I wanted to have a dual monitor so have installed an PCIe graphics card from ATI - Radeon HD 4350. To start off with I am trying to install this 64studio for almost a week now as I need a concrete platform for audio video editing (I am neither a Linux pro nor a hardware specialist) - to start with it was not able to detect the HDD which was a SATA drive - so after researching I went and bought an IDE drive and installed the 64 box in it - after some hiccups it got installed and almost booted to my utter surprise (Considering am trying for a week now and installed a new IDE drive yest)...but again it was not detecting my SATA drive so again researching I am loading from IDE Drive and have configured SATA in AHCI mode in the BIOS - now atleast the booting is happing upto a stage and its not getting stuck due to HDDs. I am getting the X config error now. I did some research and found out that in xorg.conf the driver is indeed showing as 'vesa' - then its supposed to load but its not loading. So anyway I researched lil further and downloaded one driver which is for Linux Distros from ATI, now I have that in a different computer which can be transferred to an usb stick or cd rom that "ati-driver-installer-9.2-x86.x86_64.run" Question is if I am going in the right direction - how will I install the driver in the new system which I built for A/V purpose? Stage I can go up to and know a) Reach that command screen with root and root password..(thats how i checked that xorg.config) b) I can transfer .run file in a usb and attach it to the new system Then what? Mind you I do not know what drive is what as I cant even reach the GUI desktop its stopping with x serv fail or can't load or something. I really do want to run 64studio so this lil suggestion will be helpful. One more advice needed is it ok to run SATA discs in AHCI mode and not in SATA mode..else its not getting detected atall? Ok..the 64S distro I am running is 2.1 stable release and 3 Beta is just not happing in my system Best...

Update

  • MadDuk
  • 08/17/07
  • Tue, 05/19/2009 - 18:12
The Ubuntu guide for installing the radeonhd driver has been changed. Instructions for an 8.04 installation has been removed. Please use this guide on phoronix's website. [RADEONHD GUIDE](http://www.phoronix.com/scan.php?page=article&item=843&num=1 "UPDATE GUIDE") After I crashed my gtk trying to install an older program I had to reinstall. The ubuntu guide no longer works with 64studio, but I had immediate success with the phoronix guide. I am running the rt11 kernel and did previously install the fglrx drivers. Make sure the fglrx drivers are uninstalled to get the most out of the radeonhd drivers. The fglrx driver will cause slow scrolling and slow window movement. Side note: The fglrx driver did not work at ALL in Ubuntu Studio 9.04. Where as in 64Studio it did work but the slow window movement/scrolling is annoying.

Use radeonhd driver

  • MadDuk
  • 08/17/07
  • Tue, 03/31/2009 - 23:08
Forget fglrx, use the radeonhd driver instead since you have a HD card. I have had the same results of choppy window movement with the fglrx driver in Ubuntu Studio. Now I have 3D support and good desktop movement, my ATI card has finally come alive in 64 studio! I used [this guide in the ubuntu documentation](https://help.ubuntu.com/community/RadeonHD) I have seen someone comment about this somewhere in the forums but I couldn't remember where it was. Before you start... In Synaptic you need to enable the Source Code repository under Ubuntu Software. You may have to manually download and install the libtdl7 an libtdl7-dev packages.

Ya right

  • bugsy
  • 03/16/09
  • Mon, 03/30/2009 - 15:04
I think so too that it was added and old settings were not deleted. Planning to give your xorg.conf a try in a few days time..sometimes thinking why not stick with "vesa" as I am preparing the video editing setup for windows presently..so probably will use 64 studio for audio and graphics!

It looks like you have run

  • MadDuk
  • 08/17/07
  • Thu, 03/26/2009 - 20:22
It looks like you have run the aticonfig command and I believe you are having the same problem I had by the looks of your xorg.conf. Althoug I can get X to work I still have problems. [Here is my xorg.conf](http://paste.ubuntu.com/138488/) For some reason whenever I sent a command by way of aticonfig in the terminal the new settings were added to xorg and the old ones were not deleted. So as well as the regular ati setup with the fglrx drivers loaded I also had lines still remaining from the "default" configuration. Also I am still unable to get visual effects enabled at all. But yet I still have 3D performance enabled. Window movement is choppy and scrolling is slow.

Work Around

  • bugsy
  • 03/16/09
  • Thu, 03/26/2009 - 17:15
Hi I am trying to work around the problem as I need a NLE solution within a week actually - I am making the system dual boot with windows and started building the edit setup in windows to start with. I will run the 64studio in another disc and mainly for audio work - that I guess can do without dual screen logically. 64 studio has anyway limited video functionality I found out but very good Audio and Graphics software. So basically I want to do the video work in windows and audio work in 64 studio. Dual monitor is no issue in windows and after some research I found out that Fedora has a dual monitor option which can be put in to effect very easily through a GUI. This feature I think 64Studio must incorporate as Dual Monitors are a life saver in a Multimedia production environment. Anyway this is my workaround as i need a working solution in a short time...giving a few days to build the NLE based on windows and then again will experiment with 64 Studio after the NLE has been built.

My ATI Probs

  • MadDuk
  • 08/17/07
  • Wed, 03/25/2009 - 02:43
My 3D accel is running great, much better than 2.1. And the dual screen setup was a bit easier this time around. I just installed the fglrx driver from synaptic and edited my xorg.conf just a bit. My problem is for some reason I am getting terrible window movement and scrolling in the terminal and browsers. I have run glxgears and am getting about 800 fps, which I am more than happy with. I have tried to turn the visual settings up to normal in appearance preferences but it keeps reseting to none. All I really need is a good dual screen setup so I can see more than one app at a time. I know this is a beta but I just thought I'd mention it if there may be some setting in gdm I can change or maybe I've added too much or not enough to xorg.conf. Here is my module and device section: Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "v4l" EndSection Section "Device" Identifier "aticonfig-Device[0]" Driver "fglrx" Option "DRI" "true" Option "AccelMethod" "XAA" Option "EnablePageFlip" "true" Option "TripleBuffer" "true" Option "AGPMode" "4" Option "AGPFastWrite" "true" Option "BusType" "PCIE" Option "DesktopSetup" "horizontal" BusID "PCI:1:0:0" EndSection Thanks -JT

Experiments

  • bugsy
  • 03/16/09
  • Tue, 03/24/2009 - 13:09
Hi I tried few but have not been able to work out a perfect match - but have managed to restore the screen by going back to a position before the new driver install. Right now running on Vesa only. I am also facing some problems regarding network and On board LAN I am opening another thread there as its out of scope of this topic I guess. Any suggestion regarding a proper xorg.conf from the one i posted? I tried few combinations didn't work

Load "dri" - Driver "vesa" - Driver "fglrx"

  • skullnotions
  • 09/29/07
  • Mon, 03/23/2009 - 16:25
You have 3 drivers loading See Section Devices in your link. Load "dri" Driver "vesa" Driver "fglrx" BackUp your xorg.conf before you begin ;-) Cheers! Dave.

Screen gone black!

  • bugsy
  • 03/16/09
  • Mon, 03/23/2009 - 13:33
Hi the driver got installed properly and it modified the xorg.conf as I will post in a link...but after re booting the system the screen went and totally black when it is supposed to load the login name window. I have copied the modified xorg.config before the restart and here it is in this link http://paste.ubuntu.com/136014/ Any ideas? I tried some experiments with the modified xorg.conf but so far no results or some error or the other...

Re: sh ......run installation

  • skullnotions
  • 09/29/07
  • Mon, 03/23/2009 - 12:36
See post: nVidia binary driver install See post: which version Cheers! Dave.

sh ......run installation

  • alex stone
  • 11/30/07
  • Mon, 03/23/2009 - 12:24
Might not be relavent here, but i read quite a while ago that installing a graphics driver with an "sh run" file, was best done from a root prompt at boot up (change runlevel relavent to distro), before the x server was even started. I tried this at the time, and it worked when all else had failed in UBstudio gutsy. (Nvidia) Not sure if ATI would respond the same, but i got a consistently better result when using this method. I'd be interested to know how others do their install of this type of executable. Alex.

sudo & root

  • skullnotions
  • 09/29/07
  • Mon, 03/23/2009 - 03:42
Hi kaimerra, You are right about sudo this was more of a typo in my post. I also install nvidia with sudo sh but I do remember times, one in particular when no other method but using root would import a key for apt, probably a bug and fixed now. Starting to learn a bit about ati now. Cheers! Dave.

To do something that

  • kaimerra
  • 11/14/08
  • Mon, 03/23/2009 - 01:56
To do something that requires root privlegidges from GUI its easiest just to open a terminal window by right clicking onthe desktop or from the Accessories menu. Then you can issue: gksudo gedit /etc/X11/xorg.conf Generally, you shouldn't log in as root, just use sudo when something needs superuser rights. Use 'sudo' before a command that is terminal based, and gksudo before a command that opens up a GUI window. Once installing the ATI drivers, Catalyst Control Center might be able to do the dual monitor config, it didn't months ago when I tried it, but they have been updating quite a bit. As far as running the install file, when you open a terminal you should start in your home directory(/home/bugsy). Type 'ls' to see a list of files and make sure its there. sudo sh ati-driver......just hit tab and the filename will fill out...

Re: Managed to load the GUI

  • skullnotions
  • 09/29/07
  • Sun, 03/22/2009 - 20:04
Hi, I'm really not sure with ati so I can only give nvidia comparisons. I've been reading up a bit on ati and found references to two tools, "aticonfig" & "Crystal Control Centre" but I don't undersand how they relate to your system. I normally cd into the directory where my downloaded driver is, and run the nvidia command from there. Don't you need kernel headers? or is this the free ati driver? bugsy wrote: "sh home/ati-driver-installer-9.2-x86.x86_64.run"? cd /home/path/to/driver/ sh ati-driver-installer-9.2-x86.x86_64.run (as root) You can create a root password using sudo if you haven't already. You may need to research the Screen section of xorg.conf Cheers! Dave.

Managed to load the GUI

  • bugsy
  • 03/16/09
  • Sun, 03/22/2009 - 19:04
Hi one experiment worked that is after changing Bus ID "PCI: 1:5:0" to Bus ID "PCI: 2:0:0" in xorg.conf and keeping vesa as driver - the GUI loaded surprisingly! Now I can load the desktop and getting stuck in two areas 1) Installation of the original driver by using command sh ./ati-driver-installer-9.2-x86.x86_64.run (As mentioned in ATI Help File). I have saved it in home what command do i give in terminal to load it from the home location? I tried giving "sh home/ati-driver-installer-9.2-x86.x86_64.run" - its not loading and says no directory or file of same name. 2) After driver install i need to change the xorg.conf with one of these http://ubuntuforums.org/showthread.php?t=81188 to have dual monitor, now problem is from the GUI i am not being able to replace the xorg.conf as its saying you dont have the permission. Any ideas how to change the xorg.conf from GUI? I understand i need to log in as root but could not see any option of logging in as root in the GUI. Another problem area is the load time of the OS and SATA compatibility - its not loading a SATA disc (os installed in separate IDE disc) when SATA is configured as SATA in BIOS - but loading after SATA is configured as AHCI - and that loading is going through a series of errors for quite some time. So I gather for regular use its a tough proposition - so I am thinking of getting a SATA to IDE converter and run SATA disc using that converter as IDE. Can that hamper disc/system performance? Thanks all

Your busid in xorg.conf

  • kaimerra
  • 11/14/08
  • Sun, 03/22/2009 - 17:22
Your busid in xorg.conf should match numbers listed in the output of lspci for your video card. Now that I am thinking about this more, I remember I had the same problem when i install 64Studio 2.1 on my laptop with a Radeon x1600. But, I don't remember how exactly I fixed it. I think it had something to do with defining the screens in xorg.conf. What I do know is that it isn't an issue with new versions of xorg because 64Studio 3.0 doesn't have that problem for me, it configures automattically. Check out this ubuntu thread and maybe installing some updates will help. http://ubuntuforums.org/showthread.php?t=241254

Re: Detailed Error

  • skullnotions
  • 09/29/07
  • Sun, 03/22/2009 - 10:41
Hi bugsy, I really don't know how much I can help I've never had\used ati card but I agree the conflicting error is strange. What happens if you remove the entry all together? or use the Bus ID PCI: 2:0:0 instead. Googled: install ATI DriverRadeon HD 4350 Googled: Radeon HD 4350 xorg.conf And got some interesting hits Use paste.ubuntu.com for your xorg.conf & post the resulting link back here: Cheers! Dave.

Detailed Error

  • bugsy
  • 03/16/09
  • Sun, 03/22/2009 - 09:42
Hi this is the error details - posting both as they are little different a) First one is with "vesa" in xorg.conf settings is this ---------------------------- Section "Device " Identifier "ATI Technologies Default Card" Driver "vesa" Bus ID "PCI: 1:5:0" ----------------------------------- X server start error for the same is this... ---------------------------------------------- (WW) VESA: No matching device section for instance (Bus ID PCI: 2:0:0) (EE) Screens found, but none have an usable configuration Fatal Server Error: No Screens Found b) Second one is with "ati" in xorg.conf settings is this ---------------------------- Section "Device " Identifier "ATI Technologies Default Card" Driver "ati" Bus ID "PCI: 1:5:0" ----------------------------------- X server start error for the same is this... ---------------------------------------------- (WW) Radeon: No matching device section for instance (Bus ID PCI: 2:0:0) (EE) No Devices Detected Fatal Server Error: No Screens Found --------------------------------------------- Any ideas? What I find strange is in xorg.conf I can see "Bus ID PCI: 1:5:0" but error is coming from "Bus ID PCI: 2:0:0" Let me add in Bios I have configured the 4350 card to be the primary display driver. But error is same when internal VGA is selected as primary instead of the card. Display out I am taking from the Card itself and not from the internal one.

No change

  • bugsy
  • 03/16/09
  • Sun, 03/22/2009 - 07:39
Hi will like to add that, I changed xorg.conf to "ati" still getting error, screen not found

The specs

  • bugsy
  • 03/16/09
  • Sun, 03/22/2009 - 04:06
@ Fer Servadu, That VESA driver I saw is the default driver that came in the box. I have plugged both monitors into the PCIe Grapgics card and not on the on-board one, I am getting so far two separate video outputs and not a continuous stretched one as I want it to be. So yes I have both monitors running at the same time from the PCIe GPU. One is running from regular VGA connector, another I have put a DVI-I to VGA converter and running 2nd monitor from that. Radeon HD 4350 card has two video outs - VGA and DVI-I. @ kaimerra, the on-board graphics card is Radeon HD 3200 and the PCIe Card is Radeon HD 4350 - as mentioned I am running monitors from Radeon HD 4350. I will try to load with the ATI as driver and post the results Thanks

ATI Onboard

  • kaimerra
  • 11/14/08
  • Sat, 03/21/2009 - 19:24
Do you know what ATI chipset you have on that motherboard? All but the last two generations have good support from the open source ati radeon driver, which I believe comes with 64STudio 2.1. Try changing your /etc/X11/xorg.conf Section "Device" Driver "ati" ... EndSection This driver may not give you the best 3d acceleration for your video editing needs, but at least might give you a stable Xwindow system(GUI) to work with and figure more out.

Hi Bugsy. Regarding your X

  • Fer Servadu
  • 02/07/09
  • Sat, 03/21/2009 - 17:22
Hi Bugsy. Regarding your X problem, would you clarify something-- have you tried to boot with the vesa driver and a single monitor?