AMD Radeon™ HD 7670M on Ubuntu 12.04


Update:  Recently I install kubuntu 13.10 and there is no problem with graphics. It just works  fine out of the box.

I've seen many blog posts on how to make AMD HD7670M work on Ubuntu 12.04, specially when its in switchable graphics board like Dell Inspiron 15R 5520. I tried many things to make it work so that I could use the cinnamon desktop on ubuntu & other things too.. But to my surprise even the drivers from AMD site didn't work.

Then I tried a combination of those blog posts I read & somehow I became successful in running the full graphics including compiz settings inside My Ubuntu Machine.

Following are the steps I followed & it worked...

1. Create a backup of your xorg configuration file:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK

2. Remove/purge current fglrx and fglrx-amdcccle :

sudo apt-get remove --purge fglrx*

3. Install the driver:

sudo apt-get install fglrx fglrx-amdcccle

4. Install additional components for advanced graphics:

sudo apt-get install xvba-va-driver libva-glx1 libva-egl1 vainfo

5. Generate a fresh xorg.conf:

sudo aticonfig --initial

6. Reboot.

Take a deep breath....

The graphics should work now...

In case you still have problem getting them to work, make sure you have following lines in the /etc/fstab


tmpfs /dev/shm tmpfs defaults 0 0

none /sys/kernel/debug debugfs defaults 0 0


Hope it helps :)



Share This Post


21 comments :

  1. Thank you very much!

    ReplyDelete
  2. glad it helped...

    ReplyDelete
  3. How does this card handle 1080p playback? E.g. h.264

    ReplyDelete
  4. Yes, it handles 1080p perfectly.
    I don't have any stats type of thing to show, but its working really well for me.

    ReplyDelete
  5. Thanks a lot, this saved me a lot of time (and frustration).

    ReplyDelete
  6. I also have problems installing drivers for this graphics card. Did you try to install Gnome Shell ? Does it works fine with this solution ?

    ReplyDelete
  7. I've try with Gnome Shell, but it have graphical bugs (black bakcground on activities overview, and battery icon missing).
    I have try with Cinnamon, it seems works fined. Just, the battery icon is still missing. Do you have the same problèm ?

    ReplyDelete
  8. Hello,

    I have intel/ ati radeon hd 7670m in dell inspiron 15 3521 and ubuntu 12.04 LTS.

    The graphic card work fine in 64 bit or 32 bit, but when switch to integrate intel graphics and reboot

    the fan still work and make a lot of noise, so do you have methode to fix this problem (to control it or some thing like that)

    knowing that, i have tried many methods (lm-sensors, fan control, min power, switcheroo) but nothing of them work in my case

    they disable a card but the fan still make noise (in temperature 49 C !).

    thank's a lot for replaying.

    Best regards,

    ReplyDelete
  9. Hello, please help me!


    I have a Dell Inspiron 15R 5520, with AMD Radeon HD 7670M 1Gb. I installed successfully ubuntu 12.04 and apparently have the same graphical issue.

    So, I followed exactly the steps until 5 where:

    sudo aticonfig --initial

    reponse in terminal:

    sudo: aticonfig: command not found

    what shoud I do?



    thanks

    ReplyDelete
  10. Hi Mike

    Make sure step 3 was a success. You can check whether you've installed the drivers by running the command:-

    # dpkg -l | grep -i amd

    The output on my laptop is:-

    ii qemu-kvm 1.0+noroms-0ubuntu14.8 Full virtualization on i386 and amd64 hardware
    ii xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 X.Org X server -- AMD/ATI display driver wrapper
    ii xserver-xorg-video-radeon 1:6.14.99~git20111219.aacbd629-0ubuntu2 X.Org X server -- AMD/ATI Radeon display driver

    Make sure you've installed the drivers.

    If not, repeat the steps.

    Thanks

    Balvinder

    ReplyDelete
  11. hey, i followed your steps and now I can't enter my ubuntu, it says it couldn't load the graphic drivers. any tips do undo this ?? thanks

    ReplyDelete
  12. Hi,

    Thanks for this tutorial!

    I followed steps 1 through 4 and apparently they worked well. However, when I run the command "sudo aticonfig --initial" it returns the following error: "aticonfig: No supported adapters detected".

    What can be causing this issue?
    I have a Radeon HD 7670m, running on ubuntu 13.04 and it is an HP ENVY ultrabook.

    ReplyDelete
  13. Hi

    Please try the following commands in seq:-

    $ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx

    $ sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon

    $ sudo apt-get install xserver-xorg-video-ati
    $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
    $ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak



    Then reboot.
    Hope it helps..

    ReplyDelete
  14. Hi,

    I have a simular machine as you from Dell. I have a vostro with an i7-3632QM and the same Radeon HD 7670M.

    I followed all of your steps on a fresh and up to date installation of Ubuntu 12.04 LTS 64bit.

    I get the follow error from CCC (also here is my xorg.conf after following your steps and rebooting).

    ReplyDelete
  15. Hi Andrew,

    I don't have xorg.conf & its not mandatory. Chere here http://askubuntu.com/questions/26290/50-synaptics-conf-options-not-working/27017#27017

    However the error shows it didn't find the drivers. Make sure your system has the drivers installed. Try following command:-
    dpkg -l | grep -i amd

    Here is the output from my machine:-

    root@balvinder-Inspiron-5520:/etc/X11# dpkg -l | grep -i amd
    ii qemu-kvm 1.0+noroms-0ubuntu14.8 Full virtualization on i386 and amd64 hardware
    ii xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 X.Org X server -- AMD/ATI display driver wrapper
    ii xserver-xorg-video-radeon 1:6.14.99~git20111219.aacbd629-0ubuntu2 X.Org X server -- AMD/ATI Radeon display driver

    Here you can see I have both ( AMD display driver wrapper & AMD Radeon display driver) installed.

    Please check the same in your machine & repeat the steps if not installed already.

    ReplyDelete
  16. Hi Bergreat

    Sorry for late reply but I couldn't find any resolution for that.


    Regards

    ReplyDelete
  17. Hi Greg


    I know its late but it just worked fine for me. No issue with Gnome, Unity, Cinnamon


    Best Regds
    Balvinder

    ReplyDelete
  18. thank youu :D

    ReplyDelete
  19. Would it reduce the over heating as well?

    ReplyDelete