

# echo "deb stretch main contrib non-free" > /etc/apt/sources.list Add them to your /etc/apt/sources.list file. Then update your cache index and do a system upgrade. $ sudo apt-get upgrade & sudo apt-get dist-upgradeĪfter all above is successfully executed, install the appropriate linux-headers and kernel module packages: $ sudo apt install linux-headers-$(uname -r|sed 's/*-*-//') nvidia-driver nvidia-kernel-dkms #How to install nvidia drivers kali linux 2.0 update

This will install the nvidia-driver package. DKMS will build the nvidia module for your system, via the nvidia-kernel-dkms package.įor the nouveau Xorg display driver to be blacklisted, restart your system. Use nvidia-smi command which reads temps directly from the GPU without the need to use X at all. It will give you information about NVIDIA driver version. NVIDIA module should be properly loaded for this to work. If execution of the above command fails for any reason since NVIDIA module couldn't be loaded, you can always see NVIDIA version number by directly retrieving nvidia.ko module using the modinfo Linux command.

The below command will check for NVIDIA driver version under your currently running kernel: nbsp modinfo /usr/lib/modules/$(uname -r)/kernel/drivers/video/nvidia.ko | grep ^version version: 390.77 Creating empty nfįor systems, you may need to remove nf file to Nvidia to work properly. $ sudo mv /etc/X11/nf /etc/X11/Īnd reboot the system. If you need to modify your nf for Nvidia driver, a sample configuration is provided below. The configuration shown is for a 1920x1080 resolution. #How to install nvidia drivers kali linux 2.0 update.
