Skip to main content

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 :)


  1. Thank you very much!

  2. glad it helped...

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

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

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

  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 ?

  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 ?

  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,

  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?


  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.



  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

  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.

  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..

  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).

  15. Hi Andrew,

    I don't have xorg.conf & its not mandatory. Chere here

    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.

  16. Hi Bergreat

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


  17. Hi Greg

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

    Best Regds

  18. Would it reduce the over heating as well?


Post a Comment

Popular posts from this blog

CentOS / Redhat : Configure CentOS as a Software Router with two interfaces

Linux can be easily configured to share an internet connection using iptables. All you need to have is, two network interface cards as follows: a) Your internal (LAN) network connected via eth0 with static ip address b) Your external WAN) network is connected via eth1 with static ip address  ( public IP provided by ISP ) Please note that interface eth1 may have public IP address or IP assigned by ISP. eth1 may be connected to a dedicated DSL / ADSL / WAN / Cable router: Step # 1: Enable Packet Forwarding Login as the root user. Open /etc/sysctl.conf file # vi /etc/sysctl.conf Add the following line to enable packet forwarding for IPv4: net.ipv4.conf.default.forwarding=1 Save and close the file. Restart networking: # service network restart Step # 2: Enable IP masquerading In Linux networking, Network Address Translation (NAT) or Network Masquerading (IP Masquerading) is a technique of transceivin

Virtual Box and Alt/Tab Keys

I use virtual box for all my testing activities. It comes too often that I have a virtual box VM window open & I want to switch to my host machine to see some stuff like tutorials etc.. If you press the alt+tab combination it just works inside the VM & doesn't switches to host machine. In these scenarios you can press the host key once ( not hold it ) & then whatever you press goes to host machine. So in general where host key is the default Right Ctrl, just press Right Ctrl once & now press the alt+tab & it will switch you out to host machine. This is really helpful when you have the VM windows open or you're working on seamless mode. Hope it help others too.