How To Install Amd Drivers Kali Linux

Posted on -

What is AMD APP Technology?

UPDATE: If you’re using Kali Linux v1.0.6 with Kernel 3.12-6, there’s yet no solution to suite everyone’s need. I am working hard to find a solution and a generic method of implementation that can be followed easily by everyone. If you come across a solution, please let me know. Following guide works flawlessly with Kernel v3.7.

AMD APP technology is a set of advanced hardware and software technologies that enable AMD graphics processing cores (GPU), working in concert with the system’s x86 cores (CPU), to execute heterogeneously to accelerate many applications beyond just graphics. This enables better balanced platforms capable of running demanding computing tasks faster than ever, and sets software developers on the path to optimize for AMD Accelerated Processing Units (APUs).

This guide is a walk-through on how to install the AMD APP technology in Kali to allow applications to be accelerate by your GPU.

1. Download respective AMD APP technology SDK from here

Make sure to correct select either the 32-bit or 64-bit depending on the version your OS is running.

In most cases, it will download under $HOME/Downloads

2. Extract and install the SDK

For the sake of this post, I chose to download and install the v2.9-1

When you execute the shell script, it will ask where it should be installed as seen below:

The default is /opt, keep it as is.

Note: If you see the following message, you will need to run the shell script with root privileges.

3. Set environment variables

If step 2 went smoothly, you should find the SDK installed under /opt/AMDAPPSDK-X.X-X where X.X-X represents the version.

Edit /root/.bashrc and add the following lines at the end

6. Reboot

Found this post useful?

Subscribe to our RSS feed, follow us on Twitter or help us grow by sharing our content using the buttons below

Google

Related

UPDATE 11/02/2014: Post published on How to Install AMD ATI proprietary driver (fglrx) in Kali Linux 1.0.6 running Kernel version 3.12.6. Follow instructions in new post if you’re running Kali 1.0.6 with Kernel version 3.12.6.

UPDATE 10/02/2014: Finally I have managed to install AMD ATI proprietary driver (fglrx) in Kali Linux 1.0.6 running Kernel version 3.12-6. I will write a new guide soon. Thanks for your patience and I appreciate the emails/feedback/comment’s I’ve received asking for this solution. Here’s a screenshot from my running configuration:

UPDATE 16/01/2014: If you’re using Kali Linux v1.0.6 with Kernel 3.12-6, there’s yet no solution to suite everyone’s need. I am working hard to find a solution and a generic method of implementation that can be followed easily by everyone. If you come across a solution, please let me know. Following guide works flawlessly with Kernel v3.7.

I always had issues with ATI/Intel gfx cards in pretty much every version of Linux I’ve used. Kali is no different. Following guide would help to resolve the problem for everyone with similar issues. Many thanks to ‘Sani Morphic’ for his original post. Also big thanks goes to “http://wiki.debian.org/ATIProprietary” for their updates on Linux Header and ATIEventSD notes. This post will guide you through installation of AMD ATI Driver in Kali Linux 1.x.

This guide (Install AMD ATI Driver (fglrx) in Kali Linux 1.x) is part of a series that guides readers on How to install FGLRX, AMD APP SDK, CAL++ and Pyrit in Kali Linux. The idea is to install correct drivers in Kali Linux for your GPU and use CPU+GPU combination with Pyrit to make raw data crunching faster. An example would be to utilize this combined processing power to crunch though WPA/WPA2 capture file to find Wifi password.

Check AMD APP SDK Installation

Check if AMD APP SDK is installed. If not installed, follow this guide to install it.

Check CAL++ Installation

Check if CAL++ is installed. If not installed, follow this guide to install it.

How to install Pyrit in Kali Linux?

Check if Pyrit is installed. If not installed, follow this guide to install it.

Readers, please follow this series in the following order:

Install AMD ATI Driver (fglrx) in Kali Linux

Following instructions are for Kali Linux 1.0

Output:

Step 1 (remove old or unused drivers and fix source file)

Check your /etc/apt/sources.list. If it’s anything different to the following, you need to fix it.
There’s another post with how to update your srouces.list .

Kali

Step 2 (update with apt-get)

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 recovering wii password faster) see the following posts:

Step 3 (install linux headers and necessary drivers)

At this point, you will see the following error message. This is why I had to write this guide to fix and patch kernel which allows you to install official AMD Catalyst Center.

Step 4 (download patch and patch)

Now we need to patch the kernel

Download fglrx-3.7.patch (I’ve personally used this path but users are advised to check/verify it before installing.)

Download and “fglrx-3.7.patch“ and copy to /root
(Thanks to Henry Hermawan for posting this patch)

Copy the file fglrx-modules-dkms_1%3a12-6+point-3_amd64.deb
(check if amd64 architecture or i386, based on which version you’re using file-names might be slightly different)

to /root

from

/var/cache/apt/archives

Step 5 (patch and repack)

At this point we are making folders and unpacking the downloaded .deb file so that we can patch it and re-pack it.

Driver

First we make a directory so that all of our work is in that folder. Don’t want to mess up /root folder

Now unpack .deb file.

Install Kali Linux On Laptop

Copy patch to correct directory and patch it.

You will see the following output

Once patching is done, we need to re-build the package, pack it again for installation.

dpkg-deb will show you the following output. This also creates the necessary .deb packages.

Time to install our newly patched .deb package.

And the final output is as follows:

Now we generate a xorg configuration file which will be in /etc/X11 folder.

Step 6 (radeon 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:

you see this: Combining multiple rar files.

How To Install Amd Processor

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

So the line above becomes this:

Note:fee64a58-2e36-43f5-962d-8c33f936d452UUID would be different for every PC. Use your one here.

Save and exit. Then reboot.

Enjoy your AMD ATI fglrx driver in Kali Linux 3.7-trunk Kernel.

Lastly, I couldn’t thank Offensive Security enough for bringing such great pen-test distro like Kali Linux.

Thanks for reading. Please share.