onsdag 5. mars 2014

WORKING HOWTO Install nVidia (CUDA) drivers on Kali 1.0.6

HOWTO Install nVidia drivers on Kali 1.0.6.

I used alot of time and effort to search he net for a guide on how to install nVidia (CUDA) drivers on Kali 1.0.6. I did try the solution described on the official Kali site, but it did not work. Only got the black screen with blinking cursor in upper left corner during reboot. Most of the other guides I found was more or less the same.

Until I stumbled upon this a blog called Samiux's Blog. Which had a guide that worked flawlessly! BIG thank you for this guide.

Guide is shown below but visit his blog for more information. Link to the guide here

Step 1 :

apt-get install libcudart4 linux-headers-$(uname -r) nvidia-cuda-toolkit

Step 2 :

mkdir /etc/X11/xorg.conf.d

echo -e 'Section "Device"\n\tIdentifier "nVidia GPU"\n\tDriver "nvidia"\n\tOption "NoLogo" "1"\n\tOption "RenderAccel" "1"\n\tOption "TripleBuffr" "true"\n\tOption "MigrationHeuristic" "greedy"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf


Step 3 :

Update the boot loader to disable the open source nvidia display driver.

sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
update-grub
reboot