Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39

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

  1. #31
    Junior Member
    Join Date
    Jul 2015
    Posts
    15

    Read the first post carefully and follow it.

    Peeps who say they cannot get it working should read the first post thoroughly. Try a new install of kali 2.0 and do not try apt-get update prior to get your card working.
    PLEASE READ THE TUT CAREFULLY AND TRY TO FOLLOW THE STEPS and don't complain about it not working when you do not follow the steps given in the very first post.
    Zenmen I don't know how you assumed the steps for installing nvidia card but you haven't read the first post for sure, please try it first before posting and tell me if you get stuck.

  2. #32
    Junior Member
    Join Date
    Jul 2015
    Posts
    15
    Do post the log who remain unsuccessful.
    Last edited by sihag; 2016-06-19 at 08:29 AM.

  3. #33
    Junior Member
    Join Date
    Sep 2016
    Posts
    1
    Quote Originally Posted by baazju View Post
    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
    followed the steps and X11 log says: No screen found. Any ideas?

  4. #34
    Junior Member
    Join Date
    Jan 2016
    Posts
    11

    Smile DKMS error

    Quote Originally Posted by sihag View Post
    Do post the log who remain unsuccessful.

    Hi

    I tried this guide and hit these flaws:
    If trying to install before doing any updates, the 4.6 doesn't seem to be available when running: apt-get install -y linux-headers-$(uname-r)

    I then ran the updates and the NVidia installer couldn't build DKMS.
    Another post I found somewhere suggested: apt-get install -y nvidia-support. It didn't for me though.

    The version I have from Nvidia is 367, tried with 370 and 375 but they had exactly the same errors.

    Any suggestions?

    Thanks

    NVidia Log:

    /usr/src/linux-headers-4.7.0-kali1-common/scripts/Makefile.build:294: recipe for target '/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel/nvidia-drm/nvidia-drm-modeset.o' failed
    make[3]: *** [/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel/nvidia-drm/nvidia-drm-modeset.o] Error 1
    /usr/src/linux-headers-4.7.0-kali1-common/scripts/Makefile.build:294: recipe for target '/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel/nvidia-drm/nvidia-drm-linux.o' failed
    make[3]: *** [/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1
    /usr/src/linux-headers-4.7.0-kali1-common/scripts/Makefile.build:294: recipe for target '/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel/nvidia-drm/nv-pci-table.o' failed
    make[3]: *** [/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel/nvidia-drm/nv-pci-table.o] Error 1
    make[3]: Target '__build' not remade because of errors.
    /usr/src/linux-headers-4.7.0-kali1-common/Makefile:1475: recipe for target '_module_/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel' failed
    make[2]: *** [_module_/tmp/selfgz3429/NVIDIA-Linux-x86_64-367.57/kernel] Error 2
    make[2]: Target 'modules' not remade because of errors.
    make[2]: Leaving directory '/usr/src/linux-headers-4.7.0-kali1-amd64'
    Makefile:150: recipe for target 'sub-make' failed
    make[1]: *** [sub-make] Error 2
    make[1]: Target 'modules' not remade because of errors.
    make[1]: Leaving directory '/usr/src/linux-headers-4.7.0-kali1-common'
    Makefile:81: recipe for target 'modules' failed
    make: *** [modules] Error 2
    ERROR: The nvidia kernel module was not created.
    ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
    Last edited by materangai; 2016-11-03 at 12:18 PM. Reason: Added logs

  5. #35
    Junior Member
    Join Date
    Mar 2013
    Posts
    9
    You don't have to change the file name to something shorter... tab completion is your friend.

  6. #36
    Junior Member
    Join Date
    Sep 2013
    Posts
    9
    have the same problem installing nvidia geforce gtx 960m driver in my Dell 7559 using Kali Rolling. I did the same step indicated from the first post, still no good. I tried also installing legacy-340xx drivers from the repo, still failed. I'm stuck with "after login hang-up" issue. Please help

    GPU: Nvidia Geforce GTX 960M
    CPU: Intel Skylake i7-6700HQ
    Laptop: Dell 7559
    OSes: Ubuntu 16.04 LTS, Windows 10, Kali 2016 RC2

    NVIDIA INSTALLER LOG
    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Tue Nov 22 05:28:47 2016
    installer version: 375.20
    
    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    
    nvidia-installer command line:
        ./nvidia-installer
        -a
    
    Unable to load: nvidia-installer ncurses v6 user interface
    
    Using: nvidia-installer ncurses user interface
    -> Detected 8 CPUs online; setting concurrency level to 8.
    -> License accepted by command line option.
    -> Installing NVIDIA driver version 375.20.
    -> Performing CC sanity check with CC="/usr/bin/cc".
    ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
    ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
    Last edited by projectrk; 2016-11-22 at 08:45 AM.

  7. #37
    Junior Member
    Join Date
    Jul 2015
    Posts
    15
    Quote Originally Posted by projectrk View Post
    have the same problem installing nvidia geforce gtx 960m driver in my Dell 7559 using Kali Rolling. I did the same step indicated from the first post, still no good. I tried also installing legacy-340xx drivers from the repo, still failed. I'm stuck with "after login hang-up" issue. Please help

    GPU: Nvidia Geforce GTX 960M
    CPU: Intel Skylake i7-6700HQ
    Laptop: Dell 7559
    OSes: Ubuntu 16.04 LTS, Windows 10, Kali 2016 RC2

    NVIDIA INSTALLER LOG
    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Tue Nov 22 05:28:47 2016
    installer version: 375.20
    
    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    
    nvidia-installer command line:
        ./nvidia-installer
        -a
    
    Unable to load: nvidia-installer ncurses v6 user interface
    
    Using: nvidia-installer ncurses user interface
    -> Detected 8 CPUs online; setting concurrency level to 8.
    -> License accepted by command line option.
    -> Installing NVIDIA driver version 375.20.
    -> Performing CC sanity check with CC="/usr/bin/cc".
    ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
    ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
    When did this error occurs? on which step precisely?

  8. #38
    Junior Member
    Join Date
    Dec 2016
    Posts
    5
    I had high hopes this would solve my issue, unfortunately this didn't work for me under latest kali with a GTX 1060 card.

    Regardless of what I do I either get the black screen and have to TTY login or after renaming the config file to get to a login it instead brings me to an oops page where my login page would be. Only option I currently have is to purge the nvidia content & use the nouveau drivers. This is a serious bummer.

    Not sure if the issue is due to Kali not being completely compatible with these newer cards or if it doesn't play nice when systems have both an intel card and gtx 1060 card. I don't think it's the latter as I've seen my same exact issue reported on various forums.

    If anyone has the latest Kali build, integrated intel graphics card + the Nvidia GTX1060 card that has gotten it to work, you'd be a godsend right about now.

  9. #39
    Junior Member
    Join Date
    Sep 2017
    Posts
    1
    Thanks a LOT!!

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
  •