Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 39

Thread: Guide:- Install any version of NVIDIA drivers on KALI SANA 2.0 (Solved)

  1. #21
    Junior Member
    Join Date
    Jun 2015
    Posts
    4
    Update: I just used this guide to get my laptop with dual GTX980m cards working.
    For fun I ran an cudaHashcat benchmark-

    Code:
    Device #1: GeForce GTX 980M, 8191MB, 1126Mhz, 12MCU
    Device #2: GeForce GTX 980M, 8191MB, 1126Mhz, 12MCU
    
    Hashtype: MD4
    Workload: 1024 loops, 256 accel
    
    Speed.GPU.#1.: 15339.6 MH/s
    Speed.GPU.#2.: 15379.7 MH/s
    Speed.GPU.#*.: 30719.3 MH/s
    
    Hashtype: MD5
    Workload: 1024 loops, 256 accel
    
    Speed.GPU.#1.:  7324.5 MH/s
    Speed.GPU.#2.:  7348.8 MH/s
    Speed.GPU.#*.: 14673.4 MH/s

    Here is a sort of condensed version that I used...

    I'm using: kali-linux-2.0-amd64 with NVIDIA-Linux-86_64-352.63

    Update and Upgrade
    Code:
    apt-get update
    Code:
    apt-get dist-upgrade
    Code:
    apt-get install -y linux-headers-$(uname-r)
    Download latest NVIDIA driver
    http://www.nvidia.com/download/index.aspx

    Move to terminal with CTRL+ALT+F1

    Purge old drivers
    Code:
    apt-get remove nvidia-kernel-dkms
    Code:
    apt-get remove nvidia-* --purge
    Code:
    apt-get remove nvidia* --purge
    Move to downloads folder
    Code:
    cd /root/Downloads
    Make executable
    Code:
    chmod +x <Your NVIDIA file name>
    Stop gdm3
    Code:
    service gdm3 stop
    Run the NVIDIA setup
    Code:
    ./<Your NVIDIA file name> -a
    Ignore warning about 32bit stuff

    Accept xconfig notice

    Start gdm3 and return to GUI
    Code:
    service gdm3 start
    Create blacklist file
    Code:
    nano /etc/modeprob.d/nvidia-installer-disable-nouveau.conf
    Add the following
    Code:
    blacklist nouveau
    options nouveau modeset=0
    options nouveau.modeset=0
    Final updates
    Code:
    apt-get update && apt-get upgrade

    NOTE: This was all learned following sihag's tutorial and all props go to him. I am not responsible for any issues or typos but will correct them as I learn about them
    Last edited by baazju; 2015-12-13 at 05:16 PM.

  2. #22
    Junior Member
    Join Date
    Jul 2015
    Posts
    15
    Quote Originally Posted by RageinHell View Post
    I'm about to set up my Virtual Machine using VMWare. I have read a lot of threads about people having these issues with the lovely Nvidia GPUs and I understand it's a driver issue. Running a Kali on VM, will I encounter these problems as well? If need be I can switch to my CPU with Intels awesome built in graphics (total sarcasm).
    Quote Originally Posted by RageinHell View Post
    Update: VM works on a GTX 980M so far. Will test and post results if anyone is interested.
    Sounds still good if runs somehow but still we would like to know what your complete build is so to suggest if any other measure will install Nvidia drivers.
    Am not good at VM as I used Bactrack on VM and that drove me away from linux.
    I am running an old graphics card and that do not have any supported cuda drivers so I will suggest you to install your cuda drivers only instead of installing Nvidia drivers as told in the guide. It might not install xconfig or it might but the drivers might install if you follow it correctly. If there is any step which is not clear or you get stuck please ask in the thread.

  3. #23
    Junior Member
    Join Date
    Jul 2015
    Posts
    15
    Quote Originally Posted by baazju View Post
    NOTE: This was all learned following sihag's tutorial and all props go to him. I am not responsible for any issues or typos but will correct them as I learn about them
    Thanks @baazju for your humbleness and simplifying steps of the guide. I am assuming if only proper cuda drivers are installed for the relevant card the drivers should work. What do you think? (I don't have a Cuda supported graphics card)
    Might need some help (hardware suggestions) in near future for my new build.

  4. #24
    Hi ,

    i did forget to disable the nouveau driver before rebooting and now i do have the oops error how can i get the nouveau driver to get lost from that point?

    im on usb live with persistance and cant reach the desktop help plz sniff

  5. #25
    Junior Member
    Join Date
    Jul 2015
    Posts
    15
    Quote Originally Posted by JapaneseNinja View Post
    Hi ,

    i did forget to disable the nouveau driver before rebooting and now i do have the oops error how can i get the nouveau driver to get lost from that point?

    im on usb live with persistance and cant reach the desktop help plz sniff
    Try this:-


    # Start your pc with pen drive installation.
    # Once in the black screen
    # open TTY by pressing CTRL+ALT+F1

    service gdm3 stop

    #Edit this file now with any file manager (Nano or GVim) by opening TTY2.

    /etc/modprobe.d/nvidia-installer-disable-nouveau.conf

    # Copy paste or type these lines in the file:-

    blacklist nouveau
    options nouveau modeset=0
    options nouveau.modeset=0

    #than back to TTY1

    service gdm3 start

    #Hope it helps your problem...
    Last edited by sihag; 2016-03-07 at 09:09 AM.

  6. #26
    Junior Member
    Join Date
    Jul 2015
    Posts
    15
    Quote Originally Posted by 1witness View Post
    I got the nvidia-340 driver loaded with this guide but it did fail on the first attempt because nouveau was still in use. I blacklisted nouveau and did a reboot then the installation went through. The only problem I have now is actually making use of the card.

    Code:
    root@Eagle:~# lsmod | grep nvidia
    nvidia              10518528  41 
    drm                   274432  3 nvidia
    
    root@Eagle:~# glxinfo | grep rendering
    direct rendering: Yes
        GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, 
        GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, 
    
    root@Eagle:~# pyrit list_cores
    Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+
    
    The following cores seem available...
    #1:  'CPU-Core (SSE2)'
    #2:  'CPU-Core (SSE2)'
    So as you see my card is not showing up when I run <pyrit list_cores> I am assuming that I need nvidia-cuda-toolkit but am stuck trying to install it when I do

    Code:
    aptitude install nvidia-cuda-toolkit nvidia-opencl-icd
    then the installation complains about a previous install and will not finish. The nvidia driver is definitely installed and working. Anyone know what I'm doing wrong here?
    Could you please try to install only the CUDA drivers for your card and not the NVIDIA drivers and than check? Or the CUDA drivers first than if it permits and if needed try to install NVIDIA drivers later.

  7. #27
    Junior Member
    Join Date
    Mar 2016
    Location
    USA
    Posts
    1
    i have the same tortured, more and less. I check and this happend because there is something wrong surrounded by the xorg.conf, by now installing he driver there were no xorg.conf, if you rename it wthis shackle will disapeard. But for me this right to use the showing off in for calculation problems because i have nvidia optimus a nothing accomplish right.

    Been having some enormous issues when than getting the latest NVIDIA drivers on the go and your guide was resolute. Thank you!!!
    Life's Great!

  8. #28
    Junior Member
    Join Date
    Mar 2016
    Location
    Sweden
    Posts
    3
    Hey can u help me? I also have kali booted off my flash drive (with persistence) and i have nvidea graphics card Geforce 500 series.
    When i try to get the headers this is what happens

    root@kali:~# apt-get install -y linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.3.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.3.0-kali1-amd64'

    I have tried changing the repositories to default and i have done all the updates (including apt-get dist-upgrade)
    Even when i do all ur steps (i have treid the others too) this problem persists
    PLS help

  9. #29
    Junior Member
    Join Date
    Mar 2016
    Posts
    1
    Hello free people
    Can someone please help me with nvidia-driver problem?
    This is second time i have problem when installing nvidia-driver on Kali sana.
    1st time was over synaptic, 2nd over Kali site, step by step.
    apt-get update
    apt-get dist-upgrade
    apt-get install -y linux-headers-$(uname -r)
    apt-get install nvidia-kernel-dkms
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    reboot
    Every time i can't go back on linux. When I reboot all i got is black screen, and if i boot in recovery mode, i get message "[ OK ] Starting LBS: thin ...script" without quotes. And then trying to solve something, but in basics I can't go back on Kali again.
    Can this be solved without installing OS again? Thank YOU

    I've installed Kali Sana again. People, DO NOT ever install nvidia driver on Kali. Simply doesn't work together.
    Peace
    Last edited by zenmen; 2016-03-22 at 12:22 AM.

  10. #30
    Junior Member
    Join Date
    Sep 2014
    Posts
    11
    Quote Originally Posted by zenmen View Post
    Hello free people
    Can someone please help me with nvidia-driver problem?
    This is second time i have problem when installing nvidia-driver on Kali sana.
    1st time was over synaptic, 2nd over Kali site, step by step.
    apt-get update
    apt-get dist-upgrade
    apt-get install -y linux-headers-$(uname -r)
    apt-get install nvidia-kernel-dkms
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    reboot
    Every time i can't go back on linux. When I reboot all i got is black screen, and if i boot in recovery mode, i get message "[ OK ] Starting LBS: thin ...script" without quotes. And then trying to solve something, but in basics I can't go back on Kali again.
    Can this be solved without installing OS again? Thank YOU

    I've installed Kali Sana again. People, DO NOT ever install nvidia driver on Kali. Simply doesn't work together.
    Peace
    Same problem here, man.
    It just looks impossible to install the nVidia drivers on the last Kali version (2016.1) by any meaning. Any guide I found on the internet is working for me.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •