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
    Join Date
    2016-Sep
    Posts
    22
    Hi there i have NVIDIA GTX 860M and i was using nvidia smoothly until and unless i updated it last week. Usually i always update it but never got any problem but this time it got stuck after rebooting.
    So after that i finally decided to uninstall the driver and then to start installing it with scratch. Everything was going smooth and then i got stuck at 5th step as i can see other people are also having the same problem.
    when i ran this command it throws this error:
    nvidia-xconfig --query-gpu-info | grep 'BusID : ' | cut -d ' ' -f6
    ERROR: Unable to query GPU information
    i was installing nvidia via apt-get. Any solution for this please?
    Last edited by abhijeet; 2018-08-05 at 10:56.

  2. #2
    Join Date
    2018-Jun
    Posts
    2
    Quote Originally Posted by abhijeet View Post
    Hi there i have NVIDIA GTX 860M and i was using nvidia smoothly until and unless i updated it last week. Usually i always update it but never got any problem but this time it got stuck after rebooting.
    So after that i finally decided to uninstall the driver and then to start installing it with scratch. Everything was going smooth and then i got stuck at 5th step as i can see other people are also having the same problem.
    when i ran this command it throws this error:

    i was installing nvidia via apt-get. Any solution for this please?

    For those having same problem try to do what vel suggested.

    Tried it and it worked for me

  3. #3
    Join Date
    2016-Sep
    Posts
    22
    Quote Originally Posted by bjo1112 View Post
    For those having same problem try to do what vel suggested.

    Tried it and it worked for me
    Thanks for the reply but i forgot to mention that this command is not working for me throwing some error:
    apt-get install -y linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.15.0-kali2-amd64
    E: Couldn't find any package by glob 'linux-headers-4.15.0-kali2-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.15.0-kali2-amd64'
    So i already tried that solution but no luck

  4. #4
    Join Date
    2018-Jun
    Posts
    2
    Quote Originally Posted by abhijeet View Post
    Thanks for the reply but i forgot to mention that this command is not working for me throwing some error:


    So i already tried that solution but no luck
    put this in your sources.list (etc/apt/sources.list)

    deb http://http.kali.org/kali kali-rolling main contrib non-free

    deb http://old.kali.org/kali moto main non-free contrib

    deb http://old.kali.org/kali sana main non-free contrib

    deb https://dl.winehq.org/wine-builds/debian/ jessie main


    then update (apt-get update) and try again

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
  •