Page 5 of 5 FirstFirst ... 345
Results 41 to 45 of 45

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

  1. #41
    Junior Member
    Join Date
    Mar 2017
    Posts
    14
    Quote Originally Posted by abhijeet View Post
    Hello TIGER511 ,
    I had kept automatic update off after installing nvidia but two days back I put it on and updates were downloaded automatically after which i was installing them and it got stuck on tor browser, after than i aborted the process which results in booting problem. Than i ran "dpkg --configure -a" from recovery mode to bring it back in previous state . So my question is whether should i keep my automatic updates on because at the starting i was getting update and my os was also running smooth?
    AND have you use bumblebee?
    Sorry for my English if i am wrong somewhere.
    Thank You
    There is no such problem for me with automated updates.i always keep my machine up to date and didn't had anything broken so far.If something breaks,you can always repeat the process again and it should be fixed.

    And no,i didn't use bumblebee. I want to use my Nvidia GPU all the time since i paid for it.

    Quote Originally Posted by anguilla1980 View Post
    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!
    For KDE,follow the link on step 7 and use LightDM configs.

    Quote Originally Posted by aciang View Post
    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?
    This happens if you mess up on step 7.Can you provide screenshot of your problem?

    Quote Originally Posted by GiammyA7X View Post
    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/"
    This guide is for Muxless Laptop GPU only.For desktop you can just install nvidia driver regularly and connect your monitor to Nvidia HDMI port.Or maybe you can disable intel GPU from bios?

    Quote Originally Posted by doron11 View Post
    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?
    I think so.

    Quote Originally Posted by Muqeeth786 View Post
    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
    Follow all the steps properly.You can not reboot right after installing driver.you have to follow the steps accordingly then reboot.
    Last edited by maiki; 2017-10-20 at 07:27 AM. Reason: Merge posts

  2. #42
    Junior Member
    Join Date
    Sep 2016
    Posts
    18
    Quote Originally Posted by TiGER511 View Post
    There is no such problem for me with automated updates.i always keep my machine up to date and didn't had anything broken so far.If something breaks,you can always repeat the process again and it should be fixed.

    And no,i didn't use bumblebee. I want to use my Nvidia GPU all the time since i paid for it.
    Thanks for the reply. Looks like you were busy. I figured out after that and i too do regular updates without any problem now.

  3. #43
    Junior Member
    Join Date
    Nov 2017
    Posts
    1
    Hey dude, can you pls help me? I did every step successfully but after i write the optimus.desktop files i get stuck at boot screen, and I am forced to revert the changes, and i cant install the drivers...., is there a way to work around this issue?
    my system is:
    "Linux kali 4.13.0-kali1-amd64 #1 SMP Debian 4.13.4-2kali1 (2017-10-16) x86_64 GNU/Linux"
    "00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)"

  4. #44
    Junior Member
    Join Date
    Nov 2017
    Posts
    1
    Total noob here. Just wanted to say 'THANK YOU!!!' I'm about 2 days into figuring this out. Finally have a boot without the bumz.

  5. #45
    Junior Member
    Join Date
    Nov 2017
    Posts
    3
    Every step went perfect till this point:
    Code:
    xrandr --verbose|grep PRIME
    I always get:
    Code:
    PRIME Synchronization: 0
    And also updating grub

    Code:
    update-grub
    /usr/sbin/grub-mkconfig: 10: /etc/default/grub: nvidia-drm.modeset=1: not found
    I use KDE desktop. So I assumed my display manager is SDDM

    So I have this file with the following content

    Code:
    cat /usr/share/sddm/scripts/Xsetup
    #!/bin/sh
    # Xsetup - run as root before the login dialog appears
    
    xrandr --setprovideroutputsource modesetting NVIDIA-0
    xrandr --auto
    What could be wrong?
    Last edited by hassoun; 2017-11-14 at 03:46 PM.

Posting Permissions

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