staticn0de
2015-04-18, 00:38
Hey guys,
I was asked for a write up on installing the new(ish) omega drivers on Kali linux. There are a couple of ways to do this, the easiest I found was using the Debian experimental repo.
Now, everyone should know just how bad using a non-kali repo is. It's made much, much worse by using an experimental repo. This repo can and will break your install. Don't say I didn't warn you.
Lets get started.
1. Update Kali. If a new kernel is installed, reboot after this command.
apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade
2. Install headers
apt-get install linux-headers-$(uname -r)
3. Add the debian experimental repo
nano /etc/apt/sources.list
add the line:
deb http://ftp.debian.org/debian experimental main contrib non-free
4. Update
apt-get update
5. Install the driver (notice that apt-get is a little different when using an experimetal repo)
apt-get -t experimental install fglrx-driver fglrx-atieventsd fglrx-control
6. You're going to see an error, it will fail to build. You would also get this (amoungst others) if you tried to install from the driver on the ATI website.
Error during install:
Building initial module for 3.18.0-kali3-amd64
Error! Bad return status for module build on kernel: 3.18.0-kali3-amd64 (x86_64)
Consult /var/lib/dkms/fglrx/14.12/build/make.log for more information.
7. Lets fix that error
nano +834 /var/lib/dkms/fglrx/14.12/build/kcl_acpi.c
change the line so it reads what is below. Make sure you keep the leading #
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,7) && LINUX_VERSION_CODE < KERNEL_VERSION(3,18,0)
8. Rebuild the module
cd /var/lib/dkms/fglrx/14.12/build
make
cp /var/lib/dkms/fglrx/14.12/build/fglrx.ko /lib/modules/3.18.0-kali3-amd64/kernel/drivers/video/
9. Update module dependencies and the such
depmod -a
update-initramfs -u
aticonfig --initial
10. Remove the debian experimetal repo
nano /etc/apt/sources.list
remove the line:
deb http://ftp.debian.org/debian experimental main contrib non-free
11. Clean up
apt-get clean && apt-get update
12. Reboot
shutdown -r now
13. If you open the amd control center from the menu, you should see 14.501 (which is omega) loaded on the information screen.
I was asked for a write up on installing the new(ish) omega drivers on Kali linux. There are a couple of ways to do this, the easiest I found was using the Debian experimental repo.
Now, everyone should know just how bad using a non-kali repo is. It's made much, much worse by using an experimental repo. This repo can and will break your install. Don't say I didn't warn you.
Lets get started.
1. Update Kali. If a new kernel is installed, reboot after this command.
apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade
2. Install headers
apt-get install linux-headers-$(uname -r)
3. Add the debian experimental repo
nano /etc/apt/sources.list
add the line:
deb http://ftp.debian.org/debian experimental main contrib non-free
4. Update
apt-get update
5. Install the driver (notice that apt-get is a little different when using an experimetal repo)
apt-get -t experimental install fglrx-driver fglrx-atieventsd fglrx-control
6. You're going to see an error, it will fail to build. You would also get this (amoungst others) if you tried to install from the driver on the ATI website.
Error during install:
Building initial module for 3.18.0-kali3-amd64
Error! Bad return status for module build on kernel: 3.18.0-kali3-amd64 (x86_64)
Consult /var/lib/dkms/fglrx/14.12/build/make.log for more information.
7. Lets fix that error
nano +834 /var/lib/dkms/fglrx/14.12/build/kcl_acpi.c
change the line so it reads what is below. Make sure you keep the leading #
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,7) && LINUX_VERSION_CODE < KERNEL_VERSION(3,18,0)
8. Rebuild the module
cd /var/lib/dkms/fglrx/14.12/build
make
cp /var/lib/dkms/fglrx/14.12/build/fglrx.ko /lib/modules/3.18.0-kali3-amd64/kernel/drivers/video/
9. Update module dependencies and the such
depmod -a
update-initramfs -u
aticonfig --initial
10. Remove the debian experimetal repo
nano /etc/apt/sources.list
remove the line:
deb http://ftp.debian.org/debian experimental main contrib non-free
11. Clean up
apt-get clean && apt-get update
12. Reboot
shutdown -r now
13. If you open the amd control center from the menu, you should see 14.501 (which is omega) loaded on the information screen.