Page 2 of 2 FirstFirst 12
Results 51 to 68 of 68

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

  1. #51
    Join Date
    2017-Nov
    Posts
    2
    Quote Originally Posted by itzo View Post
    Hi,
    I just installed the NVIDIA-Driver on my Notebook. All is working okay but i tryed to install Steam and now i am becoming the error: You are missing the following 32 bit libraries, and Steam may not run:libgl.so.1. Any Ideas ?
    For all the users with the same problem, this helped me: apt install nvidia-driver-libs:i386

  2. #52
    Join Date
    2017-Dec
    Posts
    1
    Hello,

    First thank you for your tutorial, it lightens a lot of the obscure procedure for installing Kali!
    However...but unfortunately it seems it doesn't work on my macbook (MacBook Pro 6,2).

    From one side it seems that the integrated Intel graphics doesn't work well

    [] intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled
    [] intel ips 0000:00:1f.6: request ire failed, aborted

    on the other hand it seems that the NVIDIA GT330M discrete graphic card doesn't work too. I followed your procedure and at the second step by blacklisting nouveau drivers, Kali cannot arrive until the login page (while before it freeze after the login).
    By installing legacy drivers (the newest don't support GT330M) Kali blocks as well...

    If I list the available devices however I can see both the GPU, Intel and Nvidia.

    I am running out of ideas, do you have any?

  3. #53
    Join Date
    2017-Mar
    Posts
    21
    Quote Originally Posted by fnails View Post
    Hello,

    First thank you for your tutorial, it lightens a lot of the obscure procedure for installing Kali!
    However...but unfortunately it seems it doesn't work on my macbook (MacBook Pro 6,2).

    From one side it seems that the integrated Intel graphics doesn't work well

    [] intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled
    [] intel ips 0000:00:1f.6: request ire failed, aborted

    on the other hand it seems that the NVIDIA GT330M discrete graphic card doesn't work too. I followed your procedure and at the second step by blacklisting nouveau drivers, Kali cannot arrive until the login page (while before it freeze after the login).
    By installing legacy drivers (the newest don't support GT330M) Kali blocks as well...

    If I list the available devices however I can see both the GPU, Intel and Nvidia.

    I am running out of ideas, do you have any?
    I have no idea about Macbook ecosystem.I've tried it on regular laptops only.Are you sure your GPU is supported by the Nvidia drvier?Because it seems very old card.Optmius was very different back then.My Guide is for muxless system only.Since your laptop is old,i think its muxed.
    Last edited by TiGER511; 2017-12-14 at 10:22.

  4. #54
    Join Date
    2017-Dec
    Location
    Athens, Greece
    Posts
    1
    Hello Forum,

    Just registered to send my regards to the OP for this tutorial.
    I've been trying to activate my nVidia graphics without any results, but it finally works following the steps of this tutorial.
    Thank you OP!
    And thanks to the forum in general for your contribution.

    Best regards,
    Elias

  5. #55
    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.

  6. #56
    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

  7. #57
    Join Date
    2017-Mar
    Posts
    21
    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.

  8. #58
    Join Date
    2018-Jan
    Posts
    1
    To the OP i just wanted to say THANK YOU so mch for sharing. i probably reinstalled kali 10 times in the process of getting the nvidia drivers working before i stumbled upon this page.

  9. #59
    Join Date
    2017-Nov
    Posts
    7
    1. Why four processes are shown with the command nvidia-smi ?

    two /usr/lib/xorg/Xorg and two /usr/bin/gnome-shell ?

    2. Is there a way to switch from the Intel chip to the Nvidia chip (not necessarily dynamically)? I personally tried bumblebee but I couldn't get the Nvidia module unloaded.

    3. Are there any configurations to apply to reduce GPU power consumption in portable mode?

    Thx
    Last edited by Ekynox360; 2018-01-27 at 21:11.

  10. #60
    Join Date
    2017-Mar
    Posts
    21
    Quote Originally Posted by Ekynox360 View Post
    1. Why four processes are shown with the command nvidia-smi ?

    two /usr/lib/xorg/Xorg and two /usr/bin/gnome-shell ?

    2. Is there a way to switch from the Intel chip to the Nvidia chip (not necessarily dynamically)? I personally tried bumblebee but I couldn't get the Nvidia module unloaded.

    3. Are there any configurations to apply to reduce GPU power consumption in portable mode?

    Thx
    1) There is always duplicate xorg adn gnome-shell process in nvidia-smi .I myself is looking for an explanation of this.

    2) If you install nvidia driver driver by this tutorial,it wil always use nvidia chip.If you want to use intel chip later on without uninstalling nvidia,i think it is possible,but it will be a lot of hassle.

    3) To reduce power consumption ,you can turn off Nvidia GPU altogther with ACPI.

  11. #61
    Join Date
    2017-Nov
    Posts
    7
    Quote Originally Posted by TiGER511 View Post

    3) To reduce power consumption ,you can turn off Nvidia GPU altogther with ACPI.
    I didn't find the way to blacklist nvidia drivers.

    bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF

    I run 384.111.

  12. #62
    Join Date
    2017-Mar
    Posts
    21
    Quote Originally Posted by Ekynox360 View Post
    I didn't find the way to blacklist nvidia drivers.

    bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF

    I run 384.111.
    You need to uninstall all drivers for nvidia,blacklist nouveau, and make sure you are currently on intel driver only.then you can run acpi command to switch it off completely.there are lots of tutorial on the internet on how to switch of gpu with acpi.

  13. #63
    Join Date
    2018-Feb
    Location
    Craiova, Romania
    Posts
    2

    [CONFIRMATION] It works on Kali Linux 2018.1

    Hi guys,

    This is my first post and just tried the solution on the below configuration without having any issues. I normally used another solution but TiGER511's one is better and takes less time which I thank him for and give him the credit for being useful. I mention that I did most part from the terminal, NO GUI. I personally thought it was safer.

    Anyway, good luck with everything and have a marvelous weekend!

    HARDWARE
    Laptop ACER Predator Helio 300 17inch / Series PH317-51-78R9
    Intel® Core™ i7-7700HQ CPU @ 2.80GHz

    SYSTEM
    Linux 4.14.0-kali3-amd64 #1 SMP Debian 4.14.13-1kali1 (2018-01-25) x86_64 GNU/Linux

    VERSION

    Code:
    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.1"
    VERSION_ID="2018.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/"
    HYBRID GRAPHICS

    Code:
    00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
    01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060] (rev a1)
    RESULT

    All working fine, no tearing, no lags, smooth, fonts are better displayed/rendered, you just have to play a bit with your display's refresh rate if it's the case, that's all folks


  14. #64
    Join Date
    2014-Feb
    Posts
    6
    You have a good tek here and I commend your effort. I successfully installed the nvidia proprietary driver on my system.

    I would like to make a few suggestions on edits to your tek that I think are absolutely necessary.

    1) You need to tell people that the Proprietary NVIDIA driver ( the .run file) isnt fully compatible with Kali and is not recommended.
    • When
      Code:
      apt-get
      system returns "Nvidia.run conflicts with Kali. Please uninstall. Would you like to do that now?" Tell it 'No' and it hangs.

    2) You need to change the part about removing NVIDIA* >>
    Code:
    apt-get remove --purge nvidia*

    • Tell people this is potentially dangerous, as it could break graphics ability and aptitude.

      • https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631938
      • see glx-diversions
      • occurs when attempting to reinstall Nvidia drivers/ system crash/ ill configured xorg.conf

    • Recommend instead to remove packages individually and make notes of installed pkgs.
      Code:
      apt-get remove --purge nvidia-xconfig nvidia-driver
      Code:
      ocl-icd-libopencl1 nvidia-cuda-toolkit


    Im not really sure what I did to cause my issue, but I **** sure tried everything that I could find, so many thats the problem. But either way, I think you should warn people about the possibility of a Black Hole through GLX. This bug has been going on since 2011 and still hasnt been fixed.

    But again. Thank you for the tutorial! I gave up and tried things on google and came back here only to find that this was it. My experiments with google are what really got me stuck. This worked, but then I tried to update the xorg.conf on my own and do some other silly **** and ended up in a Black Hole.

  15. #65
    Join Date
    2018-Feb
    Posts
    1
    Thank you so much for posting guide!

  16. #66
    Join Date
    2018-Mar
    Posts
    3
    Wanted to say thank you as well! Really appreciate the time and effort into figuring this out.

  17. #67
    Join Date
    2018-Mar
    Location
    California
    Posts
    1

    Works beautifully with Kali 2018.1

    First, BIG thanks to @TiGER511

    I can confirm it works beautifully with Kali 2018.1

    One slight issue in my case:

    Step #8:
    Code:
    glxinfo | grep -i "direct rendering"
    gave me the following:
    Code:
    bash: glxinfo: command not found
    Fix:
    Code:
    apt-get install mesa-utils
    WORKING beautifully!!!

  18. #68
    Join Date
    2018-Apr
    Posts
    1
    Hi,

    I used this tutorial a few weeks ago and it worked perfectly on my laptop with a 960M.
    But I had to redo a fresh install, and since, when I get to this step :
    Code:
    nvidia-xconfig --query-gpu-info | grep 'BusID : ' | cut -d ' ' -f6
    I get this error :
    Code:
    ERROR: Unable to query GPU Information
    Do you have any idea ?

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
  •