Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 47

Thread: [TUTORIAL] Installing official NVIDIA driver in Optimus laptop

  1. #31
    Junior Member
    Join Date
    May 2016
    Posts
    7
    On step 7, I'm using the Kali build with KDE, I don't see KDE mentioned in the link. Any idea how I should go about step 7?

    Thanks! I have an Acer with an Intel HD 520 and an nVidiaGeForce 940mx, this is gonna be a life saver!

  2. #32
    Junior Member
    Join Date
    Aug 2017
    Posts
    1
    Everyone has his own heroes.
    My heroes?
    You're one of them.
    Just created this account to say HUGE THANKS!

    Kali Linux 2017.1

  3. #33
    Junior Member
    Join Date
    Aug 2017
    Posts
    1

    Arrow Not Able To Install Nvidia Drivers

    Hi mate i had problem in installing the drivers
    i followed every tutorials in internet and at last tried you tutorial but no result of fking nvidia drivers
    My laptop specs are:
    1.Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8
    2intel graphics=Intel® Kabylake GT2
    3.Nvidia=geforce gtx 1050M
    4.8 gigs of ram
    5.128 gb nvme ssd

    My system

    Code:
    root@kali-Killer:~# uname -a
    Linux kali-Killer 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
    Code:
    root@kali-Killer:~# cat /etc/*release*
    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="2017.1"
    VERSION_ID="2017.1"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="http://www.kali.org/"
    SUPPORT_URL="http://forums.kali.org/"
    BUG_REPORT_URL="http://bugs.kali.org/"
    Started steps of nvidia drivers

    Code:
    root@kali-Killer:~# lspci | grep -E "VGA|3D"
    00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
    01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
    I sucessfully disabled nouveau

    Code:
    echo -e "blacklist nouveau\noptions nouveau modeset=0\nalias nouveau off" > /etc/modprobe.d/blacklist-nouveau.conf
    update-initramfs -u && reboot
    r

    From this step I install nvidia drivers

    Code:
    apt-get install  nvidia-driver nvidia-xconfig
    after installing the drivers i restarted my laptop and shows me sad emoji symbol of crash
    and i went into recovery mode uninstall nvidia drivers to back to old intel graphics

    first i thought that nvidia didn't made CUDA toolkit for gtx 1050M
    so i went into some forums and searched cuda toolkit for my gpu
    some members said me that cuda toolkit support every gpu
    but why my gpu sucks

    so i hope you can fix this problem and sorry for my bad English

  4. #34
    Junior Member
    Join Date
    May 2017
    Posts
    4
    Quote Originally Posted by TiGER511 View Post
    Optional: you can now install your cuda toolkits:
    Dumb question. I Google that CUDA is for equations. What could I use CUDA for? Will is help with the GPUs regular desktop and gaming performance?

    Thanks?

  5. #35
    Junior Member
    Join Date
    Aug 2017
    Posts
    2
    Hi guys, im needing help!

    this command didn't work
    Code:
    nvidia-xconfig --query-gpu-info
    so i uninstall the nvidia driver and now i cant log in gdm, the login screen appears but dont go to desktop.

    i see this error after run journalctl
    Code:
    kali /usr/lib/gdm3/gdm-x-session: unable to run X server
    someone know how can i fix this?
    thanks!
    Last edited by izen; 2017-08-25 at 08:11 PM.

  6. #36
    Junior Member
    Join Date
    May 2016
    Posts
    1
    thanks for the toturial!! i would update that the latest .run file from nvidia webside does not work with this guide at the moment.

    question: if i want to install nvidia drivers and cuda support on my desktop with nvidia card (gtx 970) , can i skip steps 5-6-7 or i have to follow?

  7. #37
    Junior Member
    Join Date
    Aug 2017
    Posts
    2
    Quote Originally Posted by izen View Post
    Hi guys, im needing help!

    this command didn't work
    Code:
    nvidia-xconfig --query-gpu-info
    so i uninstall the nvidia driver and now i cant log in gdm, the login screen appears but dont go to desktop.

    i see this error after run journalctl
    Code:
    kali /usr/lib/gdm3/gdm-x-session: unable to run X server
    someone know how can i fix this?
    thanks!
    i saw the log of nvidia-uninstall and nvidia-installer
    Code:
    /var/log/nvidia-uninstall.log
    /var/log/nvidia-installer.log
    And i found out that the nvidia removed the xserver-xorg in the installation and when i uninstalled an error happened when they try to back to original
    Code:
    ERROR: Failed to run '/usr/bin/nvidia-xconfig --restore-original-backup'
    so to fix my problem i had to reinstall the xserver-xorg

  8. #38
    Junior Member
    Join Date
    Aug 2017
    Posts
    1
    I am using Kali 2017.1 with an ASUS ROG G771JM laptop containing Intel 4th Gen Integrated Graphics and an nVidia GM107M GeForce GTX 860M. As of August 30, 2017 this tutorial worked wonders for me.
    Thank you so very much OP! I, like many others users, stumbled upon several other tutorials before finding yours. It should be no surprise to you that none of them worked. I appreciate you taking the time and energy to create this tutorial that, once completed, had me grinning ear to ear! Once again, thank you VERY much bro!!

  9. #39
    Junior Member
    Join Date
    Sep 2017
    Posts
    1
    I'm trying to install Nvidia driver on my custom Desktop PC, i followed the tutorial, disabled nouveau and installed nvidia drivers with
    Code:
    apt-get install nvidia-driver nvidia-xconfig
    at the step 5 when I type
    Code:
    nvidia-xconfig --query-gpu-info | grep 'BusID : ' | cut -d ' ' -f6
    i have
    Code:
    ERROR: Unable to query GPU Information
    Can someone help me please? There is one week I'm trying to fix this and I dont want to give up.
    I've a MSI Z97 gaming 5 as mobo with Intel HD Graphics 4600 and GTX970 as GPU
    My system:
    Code:
    root@KaliThresh:~# uname -a
    Linux KaliThresh 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
    Code:
    root@KaliThresh:~# cat /etc/*release*
    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="2017.2"
    VERSION_ID="2017.2"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="http://www.kali.org/"
    SUPPORT_URL="http://forums.kali.org/"
    BUG_REPORT_URL="http://bugs.kali.org/"

  10. #40
    Junior Member
    Join Date
    Aug 2013
    Posts
    3
    Optional: you can now install your cuda toolkits:
    Code:
    apt-get install ocl-icd-libopencl1 nvidia-cuda-toolkit
    after this step , i managed to install it and i can boot until desktop but all my menu is blank / missing , i only can right-clicks and open terminal
    any solution?

Posting Permissions

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