Home » Kali Linux 1.1.0 kernel 3.18 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver

Kali Linux 1.1.0 kernel 3.18 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver

by blackMOREOps
65 comments

Install NVIDIA driver on Kali Linux 1.1.0

This guide explains how to install proprietary “NVIDIA Accelerated Linux Graphics Driver” or NVIDIA driver on Kali Linux 1.1.0 kernel 3.18 system. By default Kali Linux installs open 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. Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - blackMORE OpsBut 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
  3. Kali Linux 1.0.7 kernel 3.14 – Install proprietary NVIDIA driver

I had to divide it into two parts:

  1. Kali Linux 1.1.0 kernel 3.18 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver
  2. Kali Linux 1.1.0 kernel 3.18 – Install NVIDIA driver kernel Module CUDA and Pyrit on Kali Linux – CUDA, Pyrit and Cpyrit-cuda (pending)

You use the first guide to install NVIDIA Driver on Kali Linux 1.1.0 kernel 3.18. For normal users, you should just stop here and enjoy your nice smooth NVIDIA graphics. Install some game or enjoy a movie.

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 this 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 or not sure 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?

Note: If you’ve tried to install NVIDIA driver from Official NVIDIA website, then this guide wont work as there will be just too many conflicts. Start fresh and save some hair or whateva!

My settings

So I’ve installed my Kali Linux v 1.1.0  running Kernel 3.18.

I’ve got a NVIDIA GeForce 210 card on this machine running a 64-bit version Kali Linux.

Which graphics card you’re using? Run the following command:

root@kali:~# uname -a
Linux kali 3.18.0-kali1-amd64 #1 SMP Debian 3.18.3-1~kali4 (2015-01-22) x86_64 GNU/Linux

root@kali:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Kali
Description:    Kali GNU/Linux 1.1.0
Release:    1.1.0
Codename:    moto

root@kali:~# lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)

Here’s the screenshot …

Kali Linux 1.1.0 kernel 3.18 - Install proprietary NVIDIA driver - NVIDIA Accelerated Linux Graphics Driver - 1

So we’re good? Ok then. let’s roll and install proprietary NVIDIA Graphics Driver that we have to install every release. This is getting quite annoying I must say…

Prerequisites

I’ve installed everything in a brand new Kali Linux 1.1.0 kernel 3.18 installation. Assuming you have the same but this guide will apply to older version that’s been upgraded as well. You need to complete the followings:

  1. Add Official Kali Linux repository.
  2. Update, upgrade and dist-upgrade Kali Linux.
  3. Reboot
root@kali:~# apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
root@kali:~# reboot

This is stock standard for most of my guides. I’ve just added one simple line here, rebooting your system. Why?

Think about it.You’ve installed installed an older version of Kali Linux and did an update, upgrade and dist-upgrade to download and install latest kernel and softwares. But, until you reboot, your don’t really boot in the new kernel (you’re possibly still at kernel 3.14 or some sort). So once you’ve rebooted your Kali Linux, you will be using Kernel 3.18. This reboot saves you having the following errors:

Couldn’t find any package whose name or description matched “linux-headers-3.12-kali1-amd64″
(or)
Couldn’t find any package whose name or description matched “linux-headers-3.14-kali1-amd64″

Moving on to installation now.

You may also like

65 comments

barnacle April 13, 2015 - 3:34 pm

Hi blackmore,

Thanks for the excellent guides. Unfortunately, I have a problem getting the nvidia drivers to work properly. Here it is: I followed your guide verbatim, and I can even get my GUI to show naturally on boot yet whenever I try “glxinfo”, it says “Error: unable to open display”. What can I do to fix this? I’ve been trying for a couple days and no one seems to have the same issue. I hope you can help!!

Reply
blackMORE Ops April 14, 2015 - 2:35 pm

aptitude install mesa-utils usually fixes that.

Reply
neil April 15, 2015 - 6:58 am

when using the command lspci | grep VGA It shows the VBox Graphics and not my 880m. How do I get past this part. Please help!

Reply
blackMORE Ops April 15, 2015 - 12:40 pm

Are you using a VBox?

Reply
akunochi April 16, 2015 - 1:32 am

I’m really looking forward to getting the cuda install…Thanks for the tutorial so far. This was way easier than the last time I had to do this on my box.

Reply
tool April 26, 2015 - 9:23 pm

i followed the guide after nvidia-xconfig nad reboot it was a black screen didnt boot

Reply
UnableToRemember April 28, 2015 - 7:19 pm

^Same here; this guide step-by-step nuked it on reboot.

Reply
Harbenger April 30, 2015 - 10:44 am

How’s the Cuda and Pyrite/Cpyrite guide coming along? Are they for the newest versions on oclhashcat (v1.36)?

Reply
Douglas Riese April 30, 2015 - 6:58 pm

I spent about a week trying to install the nvidia driver. Every step worked for me up until I generated the xorg file. Once I generated that, I would get a black screen with a blinking cursor.

If anyone else is having that problem, here is how you fix it:

Before you do the very first step of this guide, enter “apt-get remove –purge nouveau,” and it should finally work. The reason it wasn’t working is because nouveau is a bitch to disable, and blacklisting nouveau in every way I could think of wasn’t working, so I had to completely remove it. Then it worked :)

I hope the same works for others who read this :)

Reply
wiggity August 6, 2015 - 3:48 am

I fixed it with apt-get install libcuda1

Reply
chill May 11, 2015 - 7:41 am

Excellent guide! Worked perfectly on my old Dell Precision M6400 which has a Quadro FX 3700M. I’ve used CUDA on this laptop under Windows for video editing. Can’t wait for the CUDA installation guide.

Reply
Jesus Adolfo June 1, 2015 - 6:54 am

for some reason lspci | grep VGA only shows:
00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)

why is it not showing my NVIDIA GFORCE 740m?

Reply
bardak September 22, 2015 - 12:16 am

How did you decide this?

Reply
naides June 22, 2015 - 11:22 pm

Just a quick observation: I installed the latest NVIDIA dirvers following this tutorial. 3.53. . .
There is no need to sweat the nividia-settings installation
Automagically the option gets installed, even in the menu: Applications->System Tools->Preferences->Nvidia X server Settings

Reply
sudemall June 24, 2015 - 8:18 pm

Hi i just use your guide to install my nvidia drivers but it doesnt work form me , the only resolution i get after this is 640×480. My nvidia card is gt 430. But have a look also on my lspci : 00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 1313
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
If i install amd drivers everything works perfect but not with nvidia….any idea ?

Reply
irregint July 2, 2015 - 1:16 am

Thank very much everything gone smoothly i have the drivers for my nvidia

Reply
Zuco July 3, 2015 - 9:56 am

When I installing the Nvidia Driver there is an error (Black Screen). And you told us how to fix it, but now there is no Graphic card in my system Details. Help

Reply
AGENT SANDLERR July 3, 2015 - 11:30 pm

?

Reply
Ru1Sous4 (@Ru1Sous4) September 11, 2015 - 2:36 pm

Working great on Kali 2.0

root@localhost:~# glxinfo | grep -i “direct rendering”
direct rendering: Yes

root@localhost:~# lsmod | grep nvidia
nvidia 8519680 44

drm 274432 3 nvidia

Reply
Parthiv Jani September 12, 2015 - 5:23 pm

“Kali Linux 1.1.0 kernel 3.18 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver”
Sir,
I highly appreciate your method to enable Nvidia Graphics Card (mine is Nvidia Geforce
GT 610). I’ve Google a lot, (more than 5 times crashed my system & disappointed) and At last followed your method & Really Really.. Now my Screen is dancing like Mad. Whole Heartedly Thanking You a Lot.. Sir.
Regards,

Reply
Parthiv Jani September 12, 2015 - 5:41 pm

Sir,
As per your guide lines –
Can I install Cuda, Pyrit? ?
My Graphics Card – Asus Geforce GT 610 2GB DDR3 –
With hope of good response.
Thanking you.

Reply
Parthiv Jani September 13, 2015 - 2:51 am

sir,
as per your guidance, i installed NVIDIA Accelerated Linux Graphics Driver in Kali Linux 2.0.
i followed instruction given in tutorial –
Kali Linux 1.1.0 kernel 3.18 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver – Dt. February 12, 2015

now i would like to follow instructions given in tutorial –
Kali Linux 1.0.7 kernel 3.14 install NVIDIA driver kernel Module CUDA and Pyrit – CUDA, Pyrit and Cpyrit-cuda – Dt. June 30, 2014 –
to install – NVIDIA driver kernel Module CUDA and Pyrit – CUDA, Pyrit and Cpyrit-cuda

should i omit the first step – Kali Linux 1.0.7 kernel 3.14 – Install proprietary NVIDIA driver – NVIDIA Accelerated Linux Graphics Driver ??

with hope of good response.

thanking you.

Reply
bardak September 22, 2015 - 12:08 am

Please help, this thing on a laptop asus
lspci | grep VGA displays
00: 02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

in the output of lspci there
01: 00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 740M] (rev a1)

tried to install the drivers as it is written you, did not work, stared at the black screen error after point B, and a sad smile) prompt as me to be in this situation, everything else fell perfectly all right as the instructions

Reply
Dart September 25, 2015 - 12:57 pm

A few minutes ago I used this guide with the latest 32-bit Kali and nvidia driver 352. Worked perfectly. Love the site!

Reply
1 2 3

Leave your solution or comment to help others. Comment don't need registration or real email, so feel free.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About Us

blackMORE Ops - touch-icon-72x72

blackMORE Ops” does not promote, encourages and excite hackers, its purpose is to make people aware that what is going around. Know Hacking but No Hacking!

Feature Posts

Newsletter