Friday, June 27, 2014

Kali Linux 1.0.7 kernel 3.14 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver

Read full details here: Kali Linux 1.0.7 kernel 3.14 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver

This guide explains how to install proprietary “NVIDIA Accelerated Linux Graphics Driver” or NVIDIA driver on Kali Linux 1.0.7 kernel 3.14 system. The first part where you install NVIDIA Driver is very straight forward (well exactly same as before) but on the second part where you install NVIDIA CUDA driver, you get an error while running pyrit “ERROR: could not insert ‘nvidia_uvm’: Invalid argument”. This two part series guide will help you to install NVIDIA Driver and NVIDIA CUDA on your Kali Linux machines. I am not too sure if this applies to all Ubuntu or Debian variants, but it sure works if you have those errors or trying to do it in Kali Linux.
By default Kali Linux installs pen source NVIDIA driver nouveau which works great if you just want a display. Open source drivers can be confirmed by using  lsmod | grep nouveau command. But like I said in my previous guides, it doesn’t give you 3D acceleration features or GPU acceleration based applications (such as CUDA and GPU pass through). That means you MUST install proprietary NVIDIA driver.
The proprietary “NVIDIA Accelerated Linux Graphics Driver” provides optimized hardware acceleration of OpenGL applications via a direct-rendering X server. It is a binary-only Xorg driver requiring a Linux kernel module for its use. The first step is to fully update your Kali Linux system and make sure you have the kernel headers installed.
This guide replaces the old guides
  1. How to Install NVIDIA Kernel Module CUDA and Pyrit in Kali Linux
  2. Install proprietary NVIDIA driver on Kali Linux – NVIDIA Accelerated Linux Graphics Driver
I had to divide it into two parts:
  1. Kali Linux 1.0.7 kernel 3.14 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver
  2. Kali Linux 1.0.7 kernel 3.14 – Install NVIDIA driver kernel Module CUDA and Pyrit on Kali Linux – CUDA, Pyrit and Cpyrit-cuda
You use the first guide to install NVIDIA Driver on Kali Linux 1.0.7 kernel 3.14. For normal users, you should just stop here and enjoy your nice smooth NVIDIA graphics. Install some game or enjoy a movie.
For the more advanced users or those who want GPU acceleration, (cudahashcat, GPU pass through etc.) follow the second guide (link above).Since Kali 1.0.7 was introduced along with Kernel 3.14, users been plagued with this annoying error message “ERROR: could not insert ‘nvidia_uvm’: Invalid argument” while running pyrit or simialr GPU based tools. I have since tried multiple times and thanks to use Shinri show came up with the correct advise and solution. This was a bug and there’s way around it, so that’s good news.
I’ve included as much details I can, including troubleshooting steps and checks but I would like to hear your part of the story, so leave a comment with your findings and issues.


Is this guide for me?

I have a freshly installed Kali Linux installation where I updated, upgraded everything following special guide … 20 things to do after Installing Kali Linux.
So except  proprietary NVIDIA driver, everything was installed and working. In case those who are not so familiar which guide to follow, ask yourself these questions:
  1. Do I have a NVIDIA card?
  2. Is this a freshly installed Kali system?
  3. When did I installed it?
  4. Did I upgrade everything like blackMORE advised?
  5. Is this the correct version of guide to run on my Kali Linux?

blackMORE’s settings

So I’ve installed my Kali Linux v 1.0.7 running Kernel 3.14 on 26/05/2014. I’ve got a NVIDIA GeForce 210 card on this machine running a 64-bit version Kali Linux. How do I know that? You can run the following commands to ensure those:
To find out when you’ve installed your Kali Linux, run the following two commands:
passwd -S sys | tail -1 | awk '{print $3}'
tune2fs -l /dev/sda5 |grep  'Filesystem created'
Which CPU you’re running on? Run the following command:
lscpu
Which graphics card you’re using? Run the following command:
lspci | grep VGA
Here’s mine…




Read the rest of it here: Kali Linux 1.0.7 kernel 3.14 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver

No comments:

Post a Comment