Results 1 to 16 of 16

Thread: Kali 2018.2 Installing Nvidia Driver and Cuda

  1. #1
    Join Date
    2018-May
    Posts
    4

    Kali 2018.2 Installing Nvidia Driver and Cuda

    Hi,
    I'm trying to install nvidia drivers and cuda after follow this page https://docs.kali.org/general-use/in...-on-kali-linux
    I found there is no nvidia-cuda-tookit on repo and after install the driver and reboot I got a black screen before login

    I already follow a lot of tutorials and follow a lot of forum solution what give me bad results

    there is a way to install nvidia drivers and cuda on kali 2018.2???


    DISTRIB_ID=Kali
    DISTRIB_RELEASE=kali-rolling
    DISTRIB_CODENAME=kali-rolling
    DISTRIB_DESCRIPTION="Kali GNU/Linux Rolling"
    PRETTY_NAME="Kali GNU/Linux Rolling"
    NAME="Kali GNU/Linux"
    ID=kali
    VERSION="2018.3"
    VERSION_ID="2018.3"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="https://www.kali.org/"
    SUPPORT_URL="https://forums.kali.org/"
    BUG_REPORT_URL="https://bugs.kali.org/"

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    CUDA has been deprecated in favor of OpenCL.

    If your nvidia card is supported by the current nvidia driver, you may try apt-get install hashcat-nvidia which will take care of all the dependencies. But looking at how your system is, I would strongly recommend to reinstall then install all updates (apt update && apt dist-upgrade), rebooting then running that apt command. If you have a laptop with Optimus, it may not work.

  3. #3
    Join Date
    2018-May
    Posts
    4
    hi,

    that works for me

    do you know where can i find nvcc ?

    thanks for reply

  4. #4
    Join Date
    2018-Aug
    Posts
    6
    oh i have same problem.

    and if i install 390.70 vision driver my OS will blank screen and cant enter bash.that's strang

  5. #5
    Join Date
    2018-Aug
    Posts
    6
    hi guys i soloved this.

    1.download 396.54 nvidia driver there:

    https://www.nvidia.com/object/unix.html

    2.Modify permissions and install

    2-1.installation will auto generate nvidia-installer-disable-nouveau.conf file.then you should reboot

    2-2.installtation will ask you if need modify kernel choose no.

    3.download cuda there https://developer.nvidia.com/cuda-downloads

    3-1 cuda installation will ask you need to install driver. choose no.

    3-2 nvcc will be in /usr/local/cuda/bin.you need to set path environment.

    export PATH=/usr/local/cuda/bin:$PATH

    soloved..

    I was already installed driver and cuda so I cant re-install again.
    if you have any problem just take screenshot and @me

  6. #6
    Join Date
    2018-Aug
    Posts
    2
    error unable to find kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for the kernel and that they are properly configured.
    Then I get installation failed.
    Any help is appreciated thanks

  7. #7
    Join Date
    2018-Aug
    Posts
    6

  8. #8
    Join Date
    2016-Dec
    Posts
    806
    Install the kernel sources as suggested by the error message

  9. #9
    Join Date
    2018-Aug
    Posts
    2
    Quote Originally Posted by Mister_X View Post
    Install the kernel sources as suggested by the error message
    I don't get that option it takes me directly to this after running the file i was able to disable nvidia-installer-disable-nouveau.conf file then restart then ran the file again and I get this screen that says: error unable to find kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for the kernel and that they are properly configured.
    All i can click is ok

  10. #10
    Join Date
    2018-Jun
    Location
    Belgium
    Posts
    3
    Quote Originally Posted by Mister_X View Post
    CUDA has been deprecated in favor of OpenCL.

    If your nvidia card is supported by the current nvidia driver, you may try apt-get install hashcat-nvidia which will take care of all the dependencies. But looking at how your system is, I would strongly recommend to reinstall then install all updates (apt update && apt dist-upgrade), rebooting then running that apt command. If you have a laptop with Optimus, it may not work.


    DO NOT TRY THIS ONE, FRESH INSTALL (again) + UPDATE + UPGRADE + headers install next "apt-get install hashcat-nvidia " = BLACK SCREEN
    BTW after 2 weeks trying , decided reinstall windows. dubbleclick setup reboot done

    Also KALI why don't remove this doc ? nvidia-cuda-toolkit is missing !

    https://docs.kali.org/general-use/in...-on-kali-linux

  11. #11
    Join Date
    2018-Aug
    Posts
    6
    Quote Originally Posted by DeRoB View Post
    DO NOT TRY THIS ONE, FRESH INSTALL (again) + UPDATE + UPGRADE + headers install next "apt-get install hashcat-nvidia " = BLACK SCREEN
    BTW after 2 weeks trying , decided reinstall windows. dubbleclick setup reboot done

    Also KALI why don't remove this doc ? nvidia-cuda-toolkit is missing !

    https://docs.kali.org/general-use/in...-on-kali-linux
    it's easy to install driver and cuda.

    if you PC was blank sceen you need to make sure your neaveau driver status,in grub file and /etc/modprobe.d/* file

    linux's log is great to find such problem we just need to find out it and google to solve it

    I already installed lasted driver and lasted cuda.see my reply

  12. #12
    Join Date
    2018-Sep
    Posts
    1
    use this repo
    deb http://ftp.debian.org/debian stable main contrib non-free

  13. #13
    Join Date
    2018-Oct
    Posts
    2
    I have a 960M in my laptop. I believe it is Optimus. PLEASE advise. I have been trying to figure this out (on and off) for weeks.

    Quote Originally Posted by Mister_X View Post
    CUDA has been deprecated in favor of OpenCL.

    If your nvidia card is supported by the current nvidia driver, you may try apt-get install hashcat-nvidia which will take care of all the dependencies. But looking at how your system is, I would strongly recommend to reinstall then install all updates (apt update && apt dist-upgrade), rebooting then running that apt command. If you have a laptop with Optimus, it may not work.

  14. #14
    Join Date
    2018-Oct
    Posts
    5

  15. #15
    Join Date
    2016-Dec
    Posts
    806
    Quote Originally Posted by DeRoB View Post
    DO NOT TRY THIS ONE, FRESH INSTALL (again) + UPDATE + UPGRADE + headers install next "apt-get install hashcat-nvidia " = BLACK SCREEN
    BTW after 2 weeks trying , decided reinstall windows. dubbleclick setup reboot done

    Also KALI why don't remove this doc ? nvidia-cuda-toolkit is missing !

    https://docs.kali.org/general-use/in...-on-kali-linux
    It actually depends on the card itself. Some cards only work with specific driver versions. So what works for someone may not work for someone else. I've dealt with nvidia Optimus stuff a year or 2 ago and much gave up. I wasn't really fond of trying a bunch of different drivers/kernels. In the end, I never use acceleration, so relying on the Intel card instead.

  16. #16
    Join Date
    2018-Oct
    Posts
    2

    Ummm

    Is there by any chance a place for a noon to get step by step installation instructions for these drivers? As a noob, instructions seem left, down, up, right, try this, edit... like a cheat code. :-D

    Please understand, I am not knocking it, it is just difficult to follow when it isn't edited at the end to become a step by step of what ended up working without the errors still included... ya' know? :-D

    Quote Originally Posted by Dubu2 View Post

Similar Threads

  1. Installing Nvidia drivers, Cuda 5.5 and Pyrit [SOLVED]
    By mattt in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-04-14, 17:36
  2. Kali 1.0.6 and nvidia driver + cuda on Notebook
    By i6l6l6u in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-04-21, 17:51
  3. Nvidia Driver, Cuda Pyrit
    By wojtask12 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-10-18, 15:42

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
  •