kali linux amd显卡驱动,AMD 显卡安装debian

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:

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 (change repositories to Debian Jessie).

So far so good.

This part I wouldn’t usually recommend, but we will only add few

specific software’s from Debian Jessie Repositories and quickly

remove them once we’re done. I have added this myself and removed

them once the following steps are completed. I went in and checked

as many software’s I could, but it seems only updating a few

packages doesn’t break anything. (So far!! You are most welcome to

try it).

Now comment out Kali Repositories in your

/etc/apt/sources.list and add Debian Jessie (Another

name for Debian Jessie is Debian testing) repositories.

You should be able to use leafpad to do it quickly.

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

## Debian Main

deb http://ftp.debian.org/debian testing main contrib non-free

deb-src http://ftp.debian.org/debian testing main contrib non-free

## Debian Updates

deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free

deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free

## Debian Security

deb http://security.debian.org/ jessie/updates main contrib non-free

deb-src http://security.debian.org/ jessie/updates main contrib non-free

Step 5 (update with apt-get)

Now we need to update and make sure we get the latest list from

Debian Jessie repositories. So perform an apt-get update.

apt-get update

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

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

a4c26d1e5885305701be709a3d33442f.png

But I would like to go a bit far and test glx as well. Use the

following commands to test GLX. (The reason I tested this is

because original AMD Drivers broke them previously.

glxinfo

glxgears

a4c26d1e5885305701be709a3d33442f.png

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.

Step 8 (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 radeon.modeset=0

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.

a4c26d1e5885305701be709a3d33442f.png

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值