UPDATE: 05/03/2015 – Please follow the in conclusion direct instead of this 1 to Install AMD ATI proprietary fglrx driver inwards Kali Linux 1.0.6 running Kernel version 3.12.6 – Final
Install AMD ATI proprietary driver (fglrx) inwards Kali Linux 1.0.6 running Kernel version 3.12.6.
Kali Linux release it’s novel version 1.0.6 which installed novel Kernel 3.12.6 inwards early on Jan 2014. Since in addition to thence every AMD proprietary graphics card driver stopped working equally the existing version inwards repository was non compatible alongside novel Kernel. Well, to hold upwards honest, the existing AMD ATI proprietary fglrx driver inwards repo was broken anyway in addition to needed patching for Kernel 3.7. We’ve tried anything in addition to everything that nosotros could bring out in addition to finally constitute a workable solution that worked for novel Kernel 3.12.6 inwards Kali Linux 1.0.6. Obviously this solution is all the same novel in addition to nosotros would similar to a greater extent than people to exam it in addition to confirm that this is working for them. Like whatever solution, there’s a fair run a endangerment this mightiness non function for you, but in addition to thence again, fglrx proprietary driver is already broken in addition to there’s no sign that either AMD or Kali developers going to function on it in addition to release a fix. The chief occupation alongside AMD ATI fglrx driver was that it was breaking CAL++ in addition to Pyrit equally Kali Linux 1.0.6 couldn’t notice a fglrx driver in addition to didn’t utilization the graphics card properly. But this is non alone Kali Linux issue, this is truly an AMD driver issue. Open source driver (vesa) worked simply fine inwards Kali Linux 1.0.6, but from the discussions in addition to earthworks what nosotros constitute that AMD pretty much repacked an one-time driver in addition to modified a few files without checking it against around of the large names inwards Linux (Debian). I am non certain if nosotros tin blame AMD either, the driver did function inwards Ubuntu based distributions in addition to I estimate because Ubuntu is to a greater extent than supported in addition to focused yesteryear Hardware vendors, that’s all that matters to them.
But similar every similar case, Debian guru’s jumped inwards in addition to started testing it inwards Debian Jessie (Jessie is the novel testing release afterward Wheezy). I accidentally constitute that AMD ATI proprietary fglrx driver from Debian Jessie industrial plant inwards Kali Linux. I wanted to exam it showtime myself in addition to ensure it wasn’t breaking anything else inwards my existing Kali Linux installation. So far I receive got constitute no issues.
I receive got tested the next applications afterward I’ve implemented this alter in addition to they worked simply fine:
- Metasploit Framework
- SQLmap
- Burpsuite
- Aircrack-ng
- Wireshark
- nmap
- owasp-zap
- maltego
- wpscan
- john
- hydra
- wifite
- pyrit
- oclhashcat
- beef
- Armitage
- Setoolkit
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 dissimilar to the following, y'all require to ready it. You tin follow this direct to add official Kali Linux Repositories if you’re non likewise certain on how to create it. For the sake of clarity I volition proceed things unproblematic here.
leafpad /etc/apt/sources.list
Remove or comment out existing lines in addition to add together the following:
## Kali Regular repositories
deb http://http.kali.org/kali kali chief non-free contrib
deb http://security.kali.org/kali-security kali/updates chief contrib non-free
## Kali Source repositories
deb-src http://http.kali.org/kali kali chief non-free contrib
deb-src http://security.kali.org/kali-security kali/updates chief contrib non-free
Step 2 (update alongside apt-get)
Now nosotros require to update in addition to brand certain nosotros larn the latest listing from Kali Linux official repositories. So perform an apt-get update.
apt-get updateSTOP: NVIDIA users afterward driver installation in addition to cuda/pyrit related issues kicking the bucket here: How to Install Nvidia Kernel Module Cuda in addition to Pyrit inwards Kali Linux
Also those who would similar to utilization Graphics card processing ability to mash information (such equally recovering wii password faster) run into the next posts:
- Helpful ATIconfig fglrx commands
- How to install Pyrit inwards Kali Linux?
- How to install CAL++ inwards Kali Linux?
- How to install AMD APP SDK inwards Kali Linux?
Step three (install Linux headers in addition to recommended softwares)
Now that nosotros receive got the right repositories nosotros tin add together these next recommended apps. The close of import purpose is to add together the right headers.
apt-get install firmware-linux-nonfree
apt-get install amd-opencl-icd
apt-get install linux-headers-$(uname -r)
NOTE: You should hold upwards able to larn all these from Kali Linux repositories equally added/updated from Step 1 above. When this direct was written, all these were available inwards the Kali Repositories.
Step iv (change repositories to Debian Jessie).
So far thence good.
This purpose I wouldn’t unremarkably recommend, but nosotros volition only add together few specific software’s from Debian Jessie Repositories in addition to chop-chop take them 1 time we’re done. I receive got added this myself in addition to removed them 1 time the next steps are completed. I went inwards in addition to checked equally many software’s I could, but it seems only updating a few packages doesn’t suspension anything. (So far!! You are close welcome to endeavour it).
Now comment out Kali Repositories inwards your /etc/apt/sources.list in addition to add together Debian Jessie (Another mention for Debian Jessie is Debian testing) repositories.
You should hold upwards able to utilization leafpad to create it quickly.
leafpad /etc/apt/sources.list
Remove or comment out existing lines in addition to add together the following:
## Kali Regular repositories
#deb http://http.kali.org/kali kali chief non-free contrib
#deb http://security.kali.org/kali-security kali/updates chief contrib non-free
## Kali Source repositories
#deb-src http://http.kali.org/kali kali chief non-free contrib
#deb-src http://security.kali.org/kali-security kali/updates chief contrib non-free
## Debian Main
deb http://ftp.debian.org/debian testing chief contrib non-free
deb-src http://ftp.debian.org/debian testing chief contrib non-free
## Debian Updates
deb http://ftp.debian.org/debian/ jessie-updates chief contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates chief contrib non-free
## Debian Security
deb http://security.debian.org/ jessie/updates chief contrib non-free
deb-src http://security.debian.org/ jessie/updates chief contrib non-free
Step v (update alongside apt-get)
Now nosotros require to update in addition to brand certain nosotros larn the latest listing from Debian Jessie repositories. So perform an apt-get update.
apt-get update
Step six (install fglrx drivers in addition to control)
Almost done, simply install fglrx drivers in addition to control. The best purpose is that it’s all y'all require to do. Debian Jessie fixed the issues alongside fglrx in addition to latest driver, thence 1 time y'all install these drivers, everything simply works.
apt-get install fglrx-atieventsd fglrx-driver fglrx-control fglrx-modules-dkms -yNOTE: At this point, y'all volition run into bunch of popups (we run into those hardly inwards Linux, but aptitude pops upwards alongside asking to update around libraries(opencl in addition to glx) in addition to restart services such equally network etc., I receive got chosen YES to all of them. My installation of Kali is all the same working in addition to I am yet to bring out a problem. Your experience mightiness hold upwards different.
Once the installation if finished, nosotros require to exam if it was all good.
Step vii (testing your installation in addition to generate xorg.conf file)
Now that our installation is all proficient in addition to went without an error, nosotros require to exam fglrx drivers. You tin exam fglrx using the next ii commands:
fglrxinfo
fgl_glxgears
But I would similar to kicking the bucket a fighting far in addition to exam glx equally well. Use the next commands to exam GLX. (The argue I tested this is because master copy AMD Drivers broke them previously.
glxinfo
glxgears
If everything worked well, y'all tin generate xorg.conf file using the next command
aticonfig --initial -f
xorg.conf file volition hold upwards located at /etc/X11 folder.
Step 8 (update grub.cfg file in addition to reboot)
Almost there. AMD cards needs the next parameters passed into grub.cfg during boot. Let’s create that: Edit the grub.cfg file:
leafpad /boot/grub/grub.cfgyou run into this:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, alongside Linux 3.12-kali1-amd64' --class debian --class gnu-linux --class gnu --class bone {
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 inwards the cease of the next line
linux /boot/vmlinuz-3.12-kali1-amd64 root=UUID=129deb3c-0edc-473b-b8e8-507f0f2dc3f9 ro initrd=/install/gtk/initrd.gz placidity radeon.modeset=0
So the occupation higher upwards becomes this:
linux /boot/vmlinuz-3.12-kali1-amd64 root=UUID=129deb3c-0edc-473b-b8e8-507f0f2dc3f9 ro initrd=/install/gtk/initrd.gz placidity radeon.modeset=0
Note: 129deb3c-0edc-473b-b8e8-507f0f2dc3f9 UUID would hold upwards dissimilar for every PC. Use your 1 here.
Save in addition to exit. Then reboot.
rebootOnce y'all reboot, your should hold upwards able to login inwards GUI in addition to savour your AMD ATI proprietary driver (fglrx) inwards Kali Linux 1.0.6 running Kernel version 3.12.6.
Step 8.a (interesting findings)
I constitute something interesting piece doing this change. If y'all cheque your lsb_release -a output, it shows
Description: Debian GNU/Linux testing (unknown.new.testing)
root@kali: # lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (unknown.new.testing)
Release: testing
Codename: unknown.new.testing
Other version details shows Kali GNU/Linux 1.0.6
root@kali: # cat /etc/issue
Kali GNU/Linux 1.0.6 \n \l
root@kali: # linux-version list
3.12-kali1-amd64
3.7-trunk-amd64
root@kali: # truthful cat /proc/version
Linux version 3.12-kali1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Debian 3.12.6-2kali1 (2014-01-06)
Really puzzling.
Step ix (Revert to official Kali Linux Repositories)
At this indicate y'all should hold upwards logged inwards to your Kali Linux. But squall upwards that nosotros all the same receive got Debian Jessie repositories inwards our /etc/apt/sources.list file. We require to alter it dorsum to Kali Linux Repositories equally otherwise y'all volition cease upwards getting testing updates which WILL BREAK STUFFS. So simply opened upwards your sources.list using your favorite editor in addition to take all Debian Jessie repositories.
leafpad /etc/apt/sources.list
Remove or comment out existing lines in addition to add together the following:
## Kali Regular repositories
deb http://http.kali.org/kali kali chief non-free contrib
deb http://security.kali.org/kali-security kali/updates chief contrib non-free
## Kali Source repositories
deb-src http://http.kali.org/kali kali chief non-free contrib
deb-src http://security.kali.org/kali-security kali/updates chief contrib non-free
This is what your sources.list should hold back similar afterward this change.You mightiness desire to take Debian Jessie Lines completely.
Now let’s cheque lsb_release -a output 1 time to a greater extent than to confirm version is shown correctly:
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
Looks proficient to me.
Step 10 (run ATI Catalyst Control Center)
Run ATI Catalyst Control Center from Applications Menu > System Tools > Preferences > ATI Catalyst Control Center.
You should hold upwards able to launch amdcccle in addition to brand changes equally required.
There’s to a greater extent than that y'all tin create using Aticonfig. You tin alter fan speed or setup multiple monitors or straight cheque GPU temperatures. I receive got demo them inwards around other postal service alongside a compilation of useful aticonfig commands. However, I constitute that around commands were removed from this version aticonfig. (AMD does it everytime they release a novel driver). But close of the commands work. So experience gratis to cheque in addition to study them back.
Disclaimer: This direct uses Debian Jessie which is testing repositories to brand fglrx work. You are advised to take these from your sources.list file equally presently y'all implement this change. We receive got tested this method equally much equally possible, but equally ever there’s ever a possibility something else mightiness hold upwards affected. We accept no responsibility. Like Linux itself, y'all utilization these information’s equally it is.
Thanks for reading.
If this helped your number running AMD ATI proprietary driver (fglrx) inwards Kali Linux 1.0.6 running Kernel version 3.12.6, in addition to thence delight portion in addition to similar us on Facebook/Twitter.


