Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My graphic card is a Mobility Radeon HD 4200 Series.
I tried the 2 answers from What is the correct way to install ATI Catalyst Video Drivers (fglrx) ?

But unfortunately, it does not work for my Mobility Radeon HD 4200

Note
when I raised this question in May 2012, there was only 2 answers to Stephen Myall's question, since then many answers have been added to his post, it is the master post about this subject

share|improve this question
add comment

marked as duplicate by minerz029, Radu Rădeanu, BuZZ-dEE, falconer, Andrea Corbellini Jan 21 at 15:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

6 Answers

EDIT: Old solution (valid from April to August 2012)

The solution described in this answer is based on ATI drivers v12.4 +patch.
Now, since August 2012, ATI drivers v12.6 are available, the way to install these drivers is described in the answer below.


The error occurs because Catalyst has not been updated to work with recent 3.2 kernels.

Check this link:

and do:

  1. Uninstall ATI driver
  2. Install free driver
  3. Reboot
  4. Install ATI driver with the patch
  5. Reboot

In detail (for 32bit):

$ sudo sh /usr/share/ati/fglrx-uninstall.sh
$ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
$ sudo rm /etc/X11/xorg.conf
$ sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 xserver-xorg-core
$ sudo dpkg-reconfigure xserver-xorg
$ sudo reboot
$ mkdir ~/catalyst12.4/
$ cd ~/catalyst12.4/

Download the appropriate driver for your machine here from the AMD/ATI Website and move it in ~/catalyst12.4/ . File should be something like amd-driver-installer-12-4-x86.x86_64.run

$ chmod +x amd-driver-installer-12-4-x86.x86_64.run
$ ./amd-driver-installer-12-4-x86.x86_64.run --extract driver
$ cd ~/catalyst12.4/driver/common/lib/modules/fglrx/build_mod/
$ wget -O fglrx.patch http://ubuntuone.com/5gNgEmVfzs3ytD5QZ2YGCi
$ patch -p1 < fglrx.patch
$ cd ~/catalyst12.4/driver/
$ ./ati-installer.sh 8.961 --buildpkg Ubuntu/precise
$ cd ~/catalyst12.4/
$ sudo dpkg -i fglrx*.deb
$ sudo amdconfig --initial -f
$ sudo reboot
$ fglrxinfo
   display: :0.0  screen: 0
   OpenGL vendor string: Advanced Micro Devices, Inc.
   OpenGL renderer string: ATI Mobility Radeon HD 4200 Series
   OpenGL version string: 3.3.11631 Compatibility Profile Context
share|improve this answer
    
It worked man ! thank you. I will try tomorrow to take time to complete your answer by describing in detail all the steps I've done. –  Boris May 3 '12 at 21:34
    
I am facing the same problem .. but not able to locate "/etc/X11/xorg.conf" or "/usr/share/ati/fglrx-uninstall.sh" anywhere. I have raised a similar question here. –  iammilind Aug 14 '12 at 16:11
add comment
up vote 16 down vote accepted

Update of the solution (18 nov 2012)

because new drivers are available in ATI website. Solution in 12.04LTS is then:


Uninstall ATI driver

$ sudo sh /usr/share/ati/fglrx-uninstall.sh   (if file is existing)
$ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

Install free driver

$ sudo rm /etc/X11/xorg.conf
$ sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 xserver-xorg-core
$ sudo dpkg-reconfigure xserver-xorg

Reboot

$ sudo reboot

Download ATI driver

Check what is your Graphic Card: lspci -v | grep -A 12 VGA

Download the appropriate driver for your machine here from the AMD/ATI Website .
File should be something like amd-driver-installer-12.6-legacy-x86.x86_64.run

Today (Sept 2013), last driver version is 13.1, in my case, installation of driver 13.1 is not working, so if like me you need to install driver 12.6, get it here.

Create a folder

$ mkdir ~/catalyst12.6/
$ cd ~/catalyst12.6/

And move your downloaded driver in it. Unzip it if needed.

$ unzip amd-driver-installer-12.6-legacy-x86.x86_64.zip

Install ATI driver

$ sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot libqtgui4
$ sudo chmod +x amd-driver-installer-12.6-legacy-x86.x86_64.run
$ sudo sh ./amd-driver-installer-12.6-legacy-x86.x86_64.run --buildpkg Ubuntu/precise
$ sudo dpkg -i fglrx*.deb
$ sudo amdconfig --initial -f

Reboot and Check if installation is successful

$ sudo reboot
$ sudo fglrxinfo
   display: :0  screen: 0
   OpenGL vendor string: Advanced Micro Devices, Inc.
   OpenGL renderer string: ATI Radeon HD 4200 Series 
   OpenGL version string: 3.3.11653 Compatibility Profile Context

It is all good, as you can see, after last reboot, fglrxinfo displays my ATI Graphic card correctly.

Thanks

I found this solution thanks to Pavel and his link

Note

I applied successfuly this solution on 3 PCs on 12.04LTS :
- one with a ATI Radeon HD 3400
- one with a ATI Radeon HD 4200
- one with a ATI Radeon HD 4350

Successfully on hybrid ATi Radeon HD 5650/Intel with driver version 12.10, Precise Pangolin 12.04.02 with configuration in BIOS select 'discrete' graphic. (Acer aspire 4745G)

share|improve this answer
1  
On Quantal I needed sudo sh ./amd-driver-installer-12.6-legacy-x86.x86_64.run --buildpkg Ubuntu/quantal and also sudo apt-get install python-apport. –  Adobe Dec 15 '12 at 21:47
    
In my case there's more to it: fglrx crashes on start up -- because (it seems to me that) it is not supported by the 3.5 kernels (yet?). So I can't make use of proprientary catalyst on quantal. I'm thinking about downgrading to 3.2.0-35 kernel. Do You experience the same? Have You switched to quantal? –  Adobe Dec 16 '12 at 7:51
    
no I m still on 12.04. You will perhaps find more help here for 12.10 : askubuntu.com/q/204410/32413 –  Boris Dec 16 '12 at 8:32
    
Thanks it's a nice thread. However, I've decided to switch back to 12.04. –  Adobe Dec 16 '12 at 9:57
    
When I install from the deb file it complains about unmet dependancies (lib32gcc1 and libc6-i386) I'm running Quantal 64 –  David Jan 6 '13 at 2:34
show 1 more comment

I found that the provided answers would not work for me until I did an additional step. If you are following the detailed instructions and still getting the badrequest error, try the following in terminal:

sudo gedit /etc/modprobe.d/blacklist-local.conf

In my case this file contained a single entry:

blacklist fglrx

This seems quite diabolical and I don't know what the cause is, but after commenting out this line

#blacklist fglrx

and rebooting, fglrxinfo now gives the correct output and fgl_glxgears works properly.

share|improve this answer
add comment

I can't reinstall packet "libgl1-mesa-glx:i386". It always gives the same result:

update-alternatives: warning: force re-alternatives / usr/lib/i386-linux-gnu/mesa/ld.so.conf, since the group of links i386-linux-gnu_gl_conf broken.
share|improve this answer
1  
no more problem found since 12-6 driver installer used. Used this manual. –  Pavel Aug 11 '12 at 11:28
1  
your response is not answer, I would suggest you to publish your own question to make it visible. But anyway you solved your issue, an share an interesting link, thank you for that. –  Boris Aug 15 '12 at 7:45
add comment

fyi: 13.1 shows up as

t@t-ubuntu:~$ fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Mobility Radeon HD 5800 Series 
OpenGL version string: 4.2.12002 Compatibility Profile Context 9.012
share|improve this answer
2  
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Radu Rădeanu May 30 '13 at 7:44
    
will it hurt? I put it in as ref. –  TiloBunt Jun 13 '13 at 2:18
add comment
  1. Remove catalyst center.
  2. Repair flrgx.
  3. Purge flrgx.
  4. Reinstall ati.
share|improve this answer
    
Can you point out to Boris from what he has presented how you came to this conclusion? –  Stephen Myall May 1 '12 at 20:27
    
you mean 1. sudo sh /usr/share/ati/fglrx-uninstall.sh 2. sudo apt-get repair flrgx 3. sudo apt-get purge flrgx 4. sudo sh ./amd-driver-installer-12-4-x86.x86_64.run ? –  Boris May 1 '12 at 20:29
2  
@Boris, Thats how to do what the answer states. While it may be the correct answer ( I can't tell) and for others who read this in the future, I think there should be some understanding of how this conclusion was arrived at. it will give other an opportunity to review and validate before you execute. The risk is yours, Im just trying to be helpful. (ATI Graphics are a tricky business in Linux) –  Stephen Myall May 1 '12 at 20:46
    
So I tried, but 2. apt-get repair is a not found command. And 3. sudo apt-get purge flrgx did not do much because there is no more flrgx after step 1. And at the end re-installing, I get the same error. @Ashu: some explanation would be appreciated please. –  Boris May 1 '12 at 21:03
add comment

protected by Community Nov 15 '12 at 20:36

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.