Home » Install AMD ATI proprietary fglrx driver in Kali Linux 1.0.6

Install AMD ATI proprietary fglrx driver in Kali Linux 1.0.6

by blackMOREOps
169 comments

Kali dev team added new version of AMD ATI proprietary fglrx driver which is now available via Kali Linux repositories. That means, those who are following this other guide, Install AMD ATI proprietary driver fglrx in Kali Linux 1.0.6 running Kernel version 3.12.6 can use this new Final version to install fglrx driver in their Kali Linux 1.0.6. This guide is less complicated and everything should work out of the box instead of messing about with Debian Jessie repository.

Step by step guide to install proprietary fglrx driver in Kali Linux

Following instructions were tested on 64-bit Kali Linux 1.0.6 running Kernel version 3.12.6:

lsb_release -a

Output:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux Kali Linux 1.0.6
Release:    Kali Linux 1.0.6
Codename:   n/a

Step 1 (add official Kali Linux Repositories)

Check your /etc/apt/sources.list. If it’s anything different to the following, you need to fix it. You can follow this guide to add official Kali Linux Repositories if you’re not too sure on how to do it. For the sake of clarity I will keep things simple here.

leafpad /etc/apt/sources.list

Remove or comment out existing lines and add the following:

## Kali Regular repositories
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Kali Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

Step 2 (update with apt-get)

Now we need to update and make sure we get the latest list from Kali Linux official repositories. So perform an apt-get update.

apt-get update

STOP: NVIDIA users after driver installation and cuda/pyrit related issues go here: How to Install Nvidia Kernel Module Cuda and Pyrit in Kali Linux

Also those who would like to use Graphics card processing power to crunch data (such as cracking wii password faster) see the following posts:

  1. Helpful ATIconfig fglrx commands
  2. How to install Pyrit in Kali Linux?
  3. How to install CAL++ in Kali Linux?
  4. How to install AMD APP SDK in Kali Linux?

Step 3 (install Linux headers and recommended softwares)

Now that we have the correct repositories we can add these following recommended apps. The most important part is to add the correct headers.

apt-get install firmware-linux-nonfree 
apt-get install amd-opencl-icd 
apt-get install linux-headers-$(uname -r)

NOTE: You should be able to get all these from Kali Linux repositories as added/updated from Step 1 above. When this guide was written, all these were available in the Kali Repositories.

Step 4 (install fglrx drivers and control)

Almost done, just install fglrx drivers and control. The best part is that it’s all you need to do. Debian Jessie fixed the issues with fglrx and latest driver, so once you install these drivers, everything just works.

apt-get install fglrx-atieventsd fglrx-driver fglrx-control fglrx-modules-dkms -y

Install AMD ATI proprietary fglrx driver in Kali Linux 1.0.6 - Final - 3 - blackMORE Ops

NOTE: At this point, you will see bunch of popups (we see those hardly in Linux, but aptitude pops up with request to update some libraries(opencl and glx) and restart services such as network etc., I have chosen YES to all of them. My installation of Kali is still working and I am yet to find a problem. Your experience might be different.

Once the installation if finished, we need to test if it was all good.

Step 5 (testing your installation and generate xorg.conf file)

Now that our installation is all good and went without an error, we need to test fglrx drivers. You can test fglrx using the following two commands:

fglrxinfo 
fgl_glxgears

Install AMD ATI proprietary fglrx driver in Kali Linux 1.0.6 - Final - 11 - blackMORE Ops

If everything worked well, you can generate xorg.conf file using the following command

aticonfig --initial -f

xorg.conf file will be located at /etc/X11 folder.

Install AMD ATI proprietary fglrx driver in Kali Linux 1.0.6 - Final - 2 - blackMORE Ops

Step 6 (update grub.cfg file and reboot)

Almost there. AMD cards needs the following parameters passed into grub.cfg during boot. Let’s do that: Edit the grub.cfg file:

leafpad /boot/grub/grub.cfg

you see this:

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.12-kali1-amd64' --class debian --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 129deb3c-0edc-473b-b8e8-507f0f2dc3f9
    echo    'Loading Linux 3.12-kali1-amd64 ...'
    linux    /boot/vmlinuz-3.12-kali1-amd64 root=UUID=129deb3c-0edc-473b-b8e8-507f0f2dc3f9 ro initrd=/install/gtk/initrd.gz quiet
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-3.12-kali1-amd64
}

add radeon.modeset=0 in the end of the following line

linux    /boot/vmlinuz-3.12-kali1-amd64 root=UUID=129deb3c-0edc-473b-b8e8-507f0f2dc3f9 ro initrd=/install/gtk/initrd.gz quiet

So the line above becomes this:

linux    /boot/vmlinuz-3.12-kali1-amd64 root=UUID=129deb3c-0edc-473b-b8e8-507f0f2dc3f9 ro initrd=/install/gtk/initrd.gz quiet radeon.modeset=0

Note: 129deb3c-0edc-473b-b8e8-507f0f2dc3f9 UUID would be different for every PC. Use your one here.

grub.cfg - Install AMD ATI proprietary driver (fglrx) in Kali Linux 1.0.6 running Kernel version 3.12.6 - blackMORE Ops

Save and exit. Then reboot.

reboot

Once you reboot, your should be able to login in GUI and enjoy your AMD ATI proprietary driver (fglrx) in Kali Linux 1.0.6 running Kernel version 3.12.6.

Step 7 (run ATI Catalyst Control Center)

Run ATI Catalyst Control Center from Applications Menu > System Tools > Preferences > ATI Catalyst Control Center.

Install AMD ATI proprietary fglrx driver in Kali Linux 1.0.6 - Final - 7 - blackMORE Ops

You should be able to launch amdcccle and make changes as required.

Install AMD ATI proprietary fglrx driver in Kali Linux 1.0.6 - Final - 9 - blackMORE Ops

Conclusion

There’s more that you can do using Aticonfig. You can change fan speed or setup multiple monitors or directly check GPU temperatures. I have show them in another post with a compilation of useful aticonfig commands. However, I found that some commands were removed from this version aticonfig. (AMD does it everytime they release a new driver). But most of the commands work. So feel free to check and report them back.

Thanks for reading.

If this helped your issue running AMD ATI proprietary driver fglrx in Kali Linux 1.0.6 running Kernel version 3.12.6 – Final edition, then please share and like us on Facebook/Twitter.

You may also like

169 comments

Johnie January 22, 2015 - 12:37 am

Hi blackMORE Ops
I got laptop dell inspiron 15 (5537), 8GB RAM, AMD Radeon HD 8670M 2GB DDR3, i7-4500U Processor. I followed step by step on this tutorial (clean system, updated, upgraded, dist-upgraded) alle installed fine, but after that i got OpenGL vendor string: VMware, Inc. issue (fglrxinfo). After reboot got error like kernel bug error:

kernel BUG at /build/kalibuild-linux_3.14.5-1kali2-amd64-igeTGG/linux-3.14.5/drivers/pci/msi.c:939| (its only a small part of that error)

…and after another reboot – blank screen. After gui back by restore xorg.conf, i tried to reinstall mesa utils (aptitude reinstall mesa-utils) as u suggested below to someone, but nothing changed….And i got different output from fglrxinfo now:
fglrxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 135 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12

Can you help me please…i digged whole internet and i couldnt find solution
Thank You

Reply
iamsrn January 28, 2015 - 8:29 pm

Iam using kali linux 1.0.9 dualboot with windows 8.1 os..while checking my vga card it shows “VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)” its not showing my ati card.. also i found this “Display controller: Advanced Micro Devices [AMD] nee ATI Device 6663”..my lap is lenovo g510 and iam using amd readon 8750m

Reply
nono February 4, 2015 - 11:54 am

Thank you it works fine!!!!!!
i m on kali with an Ati 6970.
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6900 Series
Distributor ID: Debian
Description: Debian GNU/Linux Kali Linux 1.0.9
Release: Kali Linux 1.0.9

Reply
lxnfrk February 13, 2015 - 12:30 am

Hello blackMORE Ops,

thanks for all your guides, they helped a lot. Unfortunately, after the last upgrade of Kali to 1.1.0 and Kernel 3.18 I had problems with the ATI driver again. So I tried to remove the driver and reinstall it from the kali repos. They failed at building the DKMS. The same happens if I download and try to install the driver from the AMD web site. It fails with “[Error] Kernel Module : Failed to build fglrx-14.501.1003 with DKMS”. Nevertheless it still works if I boot with the 3.14 Kernel. Does anybody has experienced the same problem?

Reply
linux user February 13, 2015 - 10:43 am

can any one help me plz i have a hp dv6 laptop with a ati graphic card
this the out put for lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Manhattan [Mobility Radeon HD 5400 Series] [1002:68e0]

when ever i install fglrx system setting window does not open and it does’nt detect my graphic card

Reply
Z February 17, 2015 - 12:42 pm

Used these instruction on a HD 5450 and it worked like a champ. Much appreciated. Had tried to use the linux driver from the AMD site. It worked to some extent, but the xorg control center would not work. Now I have great resolution, the control center works….life is good. Thanks again.

Reply
Fatih February 22, 2015 - 1:56 am

When I tried in step 5 this code: aticonfig –initial -f
I take error that is ” aticonfig: No supported adapters detected”
My gpu card is Amd Readen R5 M230
but I can test and I take result like your pictures.

Reply
AmiGoZ February 27, 2015 - 5:02 am

Any news about fglrx on kali 1.1.0 with kernel 3.18?

Reply
Kamachi March 12, 2015 - 4:08 am

I would also like to know that!

Reply
RoOoMaAaNcY April 4, 2015 - 11:32 am

try this :

apt-get update
apt-get upgrade
apt-get dist-upgrade
……….
make sure this is done without an error’s … ( if any programes like a zaproxy comes with downloading errors .. go to synaptic and delete it . and update and upgrade and dist-upgrade . .then :

apt-get reinstall firmware-linux-nonfree
apt-get install amd-opencl-icd
apt-get install linux-headers-$(uname -r)

…………..
then :

aticonfig –initial -f

then STEP 6

then

reboot

and after reboot you will be able to see changes when you type :

fglrxinfo

and you are done ..

this is my way to do it and the most steps i’ve learned from (blackmore) but added some and it worked like a charm . this is right way to do it on 3.18

root@Secure:~# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7500/7600 Series
OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006.1001

root@Secure:~# uname -a
Linux Secure 3.18.0-kali3-amd64 #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux
root@Secure:~#

Reply
Tommy Bergström March 3, 2015 - 7:57 pm

Hi!
I have a hashcat-disk used with ubuntu 12.0.4 server and 3pc R9 290X + a old 6970 card. Works fine, but….

I’m really into Kali 1.1.0 right now, is it possible to use fglrx and Catalyst in the latest Kali?

Reply
blackMORE Ops March 6, 2015 - 10:09 pm

Hi Tommy,
Yes it works.
But if you’re using those cards for hashcat only, I strongly suggest to stick with Ubuntu as recommended by Hashcat. The amount of annoying little workarounds are quite frustrating && that’s coming from a Kali user. Hope that helps. Cheers,
-BMO

Reply
lonetraveller March 12, 2015 - 7:19 pm

Thank you @blackMORE Ops . I was able to install AMD HD 7600M driver on my Kali 1.1.0 with Kernel 3.18.

Reply
AJ March 18, 2015 - 12:55 pm

Can you please tell me what did you do? I have the same gpu but when I open catalyst control centre it says no drivers are installed and also a black scree appears when there is file ‘xorg.conf’ in X11 folder

Reply
Johnie March 12, 2015 - 7:32 pm

Hi blackMORE Ops
I got laptop dell inspiron 15 (5537), 8GB RAM, AMD Radeon HD 8670M 2GB DDR3, i7-4500U Processor. I followed step by step on this tutorial (clean system, updated, upgraded, dist-upgraded) alle installed fine, but after that i got OpenGL vendor string: VMware, Inc. issue (fglrxinfo). After reboot got error like kernel bug error:

kernel BUG at /build/kalibuild-linux_3.14.5-1kali2-amd64-igeTGG/linux-3.14.5/drivers/pci/msi.c:939| (its only a small part of that error)

…and after another reboot – blank screen. After gui back by restore xorg.conf, i tried to reinstall mesa utils (aptitude reinstall mesa-utils) as u suggested below to someone, but nothing changed….And i got different output from fglrxinfo now:
fglrxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 135 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12

Can you help me please…i digged whole internet and i couldnt find solution
Thank You

Its this same situation on Kali 1.1.0 !!!!!
Please help

Reply
renatolordes March 8, 2015 - 2:02 am

Thanks Sir. You solve me problem.

Reply
Delta-Kiloz March 16, 2015 - 4:51 am

I’m wondering if a recent update broke some of the AMD driver functionalities. I previously ran through this entire tutorial with Kali 32-bit v1.0.9 without any issues (Radeon R9 280X) and had great benchmark results. However, yesterday I noticed that Pyrit wouldn’t even work anymore. I decided to re-image my machine with 32-bit v1.1.0a, and now even the AMD ATI drivers seem to be having issues installing. Here is what I’m getting after reboot and check fglrxinfo:

root@kali10:~# fglrxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 139 (ATIFGLEXTENSION)
Minor opcode of failed request: 66 ()
Serial number of failed request: 13
Current serial number in output stream: 13

It looks like some other folks are getting some of the same errors, hoping someone smarter than me is able to dig into this and see what’s going on.

Reply
AJ March 18, 2015 - 5:46 am

Hey! nice job bro..
The artcle is complete and easy to follow.
I am facing three problems right now,

1.
root@localhost:~# apt-get install linux-headers-$(uname -r)
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package linux-headers-3.14-kali1-amd64
E: Couldn’t find any package by regex ‘linux-headers-3.14-kali1-amd64’
(remaining two were installed flawlessly)

2. whenever there is this file “xorg.conf” in X11 I cannot start Kali, I have to rename it to “xorg.conf.bkp”

3. ATI catalyst control centre is there in the preferences but when it is opened it shows an error that no drivers are installed

Thanks once again

Reply
AJ March 18, 2015 - 12:00 pm

Okay problem 1 was pretty dumb. Used this command “apt-get install linux-headers-3.18.0-kali1-all-amd64” and it installed it. But the other two problems are still there

Reply
blackMORE Ops March 18, 2015 - 12:04 pm

You possibly installed an older Kali distro. You need to update, upgrade and dist-upgrade. Then apt-get install linux-headers-$(uname -r) will work without any issues.

Reply
AJ March 18, 2015 - 12:59 pm

Yes there is dist-update available. After I update it should I use “apt-get install linux-headers-$(uname -r)” as it is or should I replace $(uname -r)? Thank you for replying so fast :)

Reply
AJ March 18, 2015 - 8:48 pm

Finally installed it successfully.. Thanks a lot man..

Reply
Tony March 22, 2015 - 1:58 am

Does it have to be Kali Linux 1.0.6, or can we use the latest one 1.1.0?

Reply
Tony March 22, 2015 - 2:01 am

Sry for this stupid question, i am new on Linux, i am still learning stuff.

Reply
Barry March 23, 2015 - 6:08 am

Hey Tony,

Yes, this works on 1.1, I just installed it on my machine. I had to run aticonfig –initial -f, then update grub and reboot before doing the test. worked fine!

Reply
corvid March 30, 2015 - 7:08 am

I have a toshiba laptop running kali 1.1.0 as the only OS installed. I have installed FGLRX using ubuntu when ubuntu was installed previously. I know the drivers will work. For some reason kali thinks my os is a virtual machine. It’s not. when I run: fglrxinfo I get the following
display: :0 screen: 0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x209)
OpenGL version string: 1.4 (2.1 Mesa 8.0.5)

FGLRX fails to initialize with this error:
aticonfig: No supported adapters detected

Is their a way to get this working in kali? So far this site is the only one worth anything when trying to get kali to behave rationally. Any help is appreciated. Could it be a header issue?

Reply
Andy Tran April 3, 2015 - 1:53 pm

Hello Webmaster,

I have a hand cap file, but I can’t install AMD Radeon driver ( it’s say doesnt support my device).
Could you please help me to decode this?

Many thank you,
Andy

Reply
blackMORE Ops April 4, 2015 - 3:24 am

Hi Andy,
There are professional services available for that. Look it up. Cheers,
-BMO

Reply
Kamachi April 4, 2015 - 6:51 pm

I did as the tutorial said on kali 1.0.9a. And it worked great. Then after a dist-upgrade and upgrade to 1.1.0 the whole screen is lagging. it’s slow, really slow. I followed the steps in this tutorial again but it didn’t work.

Reply
reagan April 16, 2015 - 7:23 am

Im getting this error “aticonfig: No supported adapters detected” when running this command “aticonfig –initial -f” what do I do?

Reply
Max April 21, 2015 - 3:55 pm

Hi, blackMORE Ops. Thank for your great job and please, help. After all points in this manual i dont see my graphic card ATI Radeon R9 200. system – Kali Linux 1.1.0. after reinstall system i see it but still some time or after reboot its appear. What the problem? What can i do?

Reply
david May 2, 2015 - 8:49 pm

Hi blackMORE Ops, uber noob here.
I’ve followed your instructions exactly, however when I get to the ‘leafpad /boot/grub/grub.cfg’ step it opens an empty file. Upon further research it seems that there is no grub.cfg in my file system. I’ve tried all I can to get it to work but no luck.
I’m using a USB install with persistence.

Any ideas?
Thanks :)

Reply
mario May 4, 2015 - 4:47 am

VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)

can i use hashcat with that type

Reply
1 2 3 4 5

Leave your solution or comment to help others. Comment don't need registration or real email, so feel free.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About Us

blackMORE Ops - touch-icon-72x72

blackMORE Ops” does not promote, encourages and excite hackers, its purpose is to make people aware that what is going around. Know Hacking but No Hacking!

Feature Posts

Newsletter