Results 1 to 50 of 88

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Just registered to say this.. I've got a Dell Inspiron 15 gaming laptop GTX 1050 i5-7300HQ. I did all the steps got to step 5 and nothing worked. The PCI wouldn't show. sat on it for 30 mins... ran back through the suggestions. I figured well wipe it and start again. Upon purge nvidia** i booted back into the login screen logged in had a hunch.. and bam it worked.. lol i literally really dont know what i did besides just wipe the apt-get install nvidia-driver nvidia-xconfig install and reboot into the login. I hope that helps anyone. If you've got questions I can try to help trace my steps and hope they help you. Thanks for the info OP'er.

  2. #2
    Join Date
    2018-Jan
    Posts
    1
    So, I ran through all the steps on the tutorial, but looks like I'm still having an issue.

    As it starts to boot, I get [FAILED] Failed to start Load Kernel Modules, and then it runs through some other checks and stops on [OK] Started Update UTMP about System Runlevel Changes.

    Can't get into a terminal from here. Thoughts on what to do?

    EDIT: Post finally got approved, so let me give you some more info.
    I was able to purge the Nvidia drivers and get back to where I started, and here's everything I noticed.

    First off it's an MSI GS63VR Stealth Pro Laptop
    Nvidia GTX 1060 Geforce graphics
    i7-7700HQ Processor
    16GB RAM

    Whenever I use
    update-initramfs -u
    or
    apt-get install nvidia-driver nvidia-xconfig

    At the end I get hit with
    "WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead."

    And upon using
    nvidia-xconfig --query-gpu-info | grep 'BusID : ' | cut -d ' ' -f6
    I get an error stating it can't query the GPU, but it shows up in lspci

    And then if I run through the whole tutorial I'm hit with the error I mentioned at the top of the post. Does Kali just not like to place nice with the 1060? I've looked around the forums and it seems the people having the same issue all have the same graphics card as I.
    Last edited by DoctorSpace; 2018-01-05 at 15:20. Reason: adding info

  3. #3
    Join Date
    2017-Mar
    Posts
    22
    Quote Originally Posted by AlphaXMagnus View Post
    Just registered to say this.. I've got a Dell Inspiron 15 gaming laptop GTX 1050 i5-7300HQ. I did all the steps got to step 5 and nothing worked. The PCI wouldn't show. sat on it for 30 mins... ran back through the suggestions. I figured well wipe it and start again. Upon purge nvidia** i booted back into the login screen logged in had a hunch.. and bam it worked.. lol i literally really dont know what i did besides just wipe the apt-get install nvidia-driver nvidia-xconfig install and reboot into the login. I hope that helps anyone. If you've got questions I can try to help trace my steps and hope they help you. Thanks for the info OP'er.
    Quote Originally Posted by DoctorSpace View Post
    So, I ran through all the steps on the tutorial, but looks like I'm still having an issue.

    As it starts to boot, I get [FAILED] Failed to start Load Kernel Modules, and then it runs through some other checks and stops on [OK] Started Update UTMP about System Runlevel Changes.

    Can't get into a terminal from here. Thoughts on what to do?

    EDIT: Post finally got approved, so let me give you some more info.
    I was able to purge the Nvidia drivers and get back to where I started, and here's everything I noticed.

    First off it's an MSI GS63VR Stealth Pro Laptop
    Nvidia GTX 1060 Geforce graphics
    i7-7700HQ Processor
    16GB RAM

    Whenever I use
    update-initramfs -u
    or
    apt-get install nvidia-driver nvidia-xconfig

    At the end I get hit with
    "WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead."

    And upon using
    nvidia-xconfig --query-gpu-info | grep 'BusID : ' | cut -d ' ' -f6
    I get an error stating it can't query the GPU, but it shows up in lspci

    And then if I run through the whole tutorial I'm hit with the error I mentioned at the top of the post. Does Kali just not like to place nice with the 1060? I've looked around the forums and it seems the people having the same issue all have the same graphics card as I.
    I think there is a problem with Pascal GPUs in Linux.Try the latest 390 Driver and let me know how it goes:
    http://www.nvidia.com/download/drive...x/128743/en-us

    Please attach screenshot/picture/logs if you are having problems.

  4. #4
    Join Date
    2017-Jul
    Posts
    2
    Quote Originally Posted by DoctorSpace View Post
    So, I ran through all the steps on the tutorial, but looks like I'm still having an issue.

    As it starts to boot, I get [FAILED] Failed to start Load Kernel Modules, and then it runs through some other checks and stops on [OK] Started Update UTMP about System Runlevel Changes.

    Can't get into a terminal from here. Thoughts on what to do?

    EDIT: Post finally got approved, so let me give you some more info.
    I was able to purge the Nvidia drivers and get back to where I started, and here's everything I noticed.

    First off it's an MSI GS63VR Stealth Pro Laptop
    Nvidia GTX 1060 Geforce graphics
    i7-7700HQ Processor
    16GB RAM

    Whenever I use
    update-initramfs -u
    or
    apt-get install nvidia-driver nvidia-xconfig

    At the end I get hit with
    "WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead."

    And upon using
    nvidia-xconfig --query-gpu-info | grep 'BusID : ' | cut -d ' ' -f6
    I get an error stating it can't query the GPU, but it shows up in lspci

    And then if I run through the whole tutorial I'm hit with the error I mentioned at the top of the post. Does Kali just not like to place nice with the 1060? I've looked around the forums and it seems the people having the same issue all have the same graphics card as I.
    I have the same laptop as you and it works using Tiger's tutorial.

    With a fresh install, immediately blacklist nouveau with this step:

    Code:
    echo -e "blacklist nouveau\noptions nouveau modeset=0\nalias nouveau off" > /etc/modprobe.d/blacklist-nouveau.conf
    Make sure to do an update and upgrade, reboot. After rebooting get the header files for your kernel

    Code:
    apt-get install -y linux-headers-$(uname -r)
    Then continue to install as per Tiger's tutorial.

    Note that lspci will give you output like this: 01:00.0

    Running the query to get the bus ID will give you this output: 1:0:0

    The second query is the proper format for the xorg.conf file.


    TiGER511 thanks for a great tutorial!! I do have one question though.. after installing the kernel, nvidia creates a nvidia-blacklists-nouveau.conf just blacklisting nouveau.. Does this conf file replace the one we created with the echo statement? If so, can we delete the manually created conf file since nvidia has created its own?

    Also, I am not sure I totally understand how this conf file is invoked? we created it, put the code in, then ran the sed command.. How is the sed command tied to the conf file?

    Again thanks it is working for me !

Similar Threads

  1. Replies: 1
    Last Post: 2017-09-23, 08:46
  2. Replies: 0
    Last Post: 2017-01-15, 10:39
  3. Replies: 6
    Last Post: 2017-01-04, 19:39
  4. Screen issues on a NVIDIA Optimus Laptop
    By Neotec00 in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2016-10-14, 09:42

Posting Permissions

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