Saturday, February 25, 2012

Install nvidia drivers on BT5R2

In order to install the nvidia graphics drivers on BT5R2 you need to enter the following into a terminal prompt while X is not running.

This process is slightly longer than in BT5 because of nouveau drivers being loaded.

First you need to disable the nouveau drivers, which can be done thus:

nano /etc/modprobe.d/blacklist.conf

Now add the following 6 lines at the end

blacklist vga16fb
blacklist nouveau
blacklist nouveaufb
blacklist rivafb
blacklist nvidiafb
blacklist rivatv


update-initramfs -u

Finally reboot and nouveau drivers will now be disabled.

Then you need to prepare the kernel sources if you have not done so already by:

Please remember to copy and paste these commands into your terminal prompt as formatting can make long lines wrap over into two or more lines !

apt-get update
apt-get install linux-source
cd /usr/src/linux
cp -rf include/generated/* include/linux/
cd /

Then for 32bit BT5: following the prompts

chmod +x

Or for 64bit BT5: following the prompts

chmod +x

And that's it, you should now be able to restart, and startx enjoying the full glory of BackTrack at the full resolution offered by your graphics card and monitor.