Results 1 to 50 of 376

Thread: (Guide) Installing Nvidia + Bumblebee + CUDA for Optimus enabled Laptops

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2014-Dec
    Posts
    5

    NVIDIA will not install correctly

    @staticn0de

    Thanks for pointing out the files, apprantly I don't know how to use the command 'locate'.
    I have completed the install now, without error. I guess maybe I am not in the know for how NVIDIA Gforce is used. Under Applications -> System Tools -> Preferences -> NVIDIA X server settings I have the below error.

    Code:
    You do not appear to be using the NVIDIA X driver.  Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
    Applications -> System Tools -> Preferences -> Systems Settings -> Details -> Graphics (there is no driver listed and Experience states "Fallback)

    Applications -> Programming -> Nvidia Visual Profiler (not sure what this is all about, it appears to be a web page)

    I guess I am confused as to what getting the NVIDIA drivers installed correctly was supposed to accomplish.

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Hun75m4n View Post
    @staticn0de

    Thanks for pointing out the files, apprantly I don't know how to use the command 'locate'.
    I have completed the install now, without error. I guess maybe I am not in the know for how NVIDIA Gforce is used. Under Applications -> System Tools -> Preferences -> NVIDIA X server settings I have the below error.

    Code:
    You do not appear to be using the NVIDIA X driver.  Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
    Applications -> System Tools -> Preferences -> Systems Settings -> Details -> Graphics (there is no driver listed and Experience states "Fallback)

    Applications -> Programming -> Nvidia Visual Profiler (not sure what this is all about, it appears to be a web page)

    I guess I am confused as to what getting the NVIDIA drivers installed correctly was supposed to accomplish.
    The reason it is giving you an NVIDIA X driver error is because it's not loaded (the driver) unless you call it with optirun. This is a power saving feature and the entire reason we install bumblebee.

    try the command below:

    Code:
     
    optirun glxspheres64
    You should see a pretty window appear and terminal will be printing some FPS for you. That means the driver install worked.

    If you want to use the NVIDIA card (such as in a graphics demanding application), prefix the command with optirun.

    Say I wanted to run cudahashcat i would use the command

    Code:
     
    optirun cudahashcat
    chown -R us ./base

  3. #3
    Join Date
    2015-Jan
    Posts
    6

    Bumblebee install errors

    Hi everyone. Please help. I followed the guide from post 25 step by step till Cuda install, everything works well, no error but when i try to see if it works what have I done with optirun glxspheres64, i got 2 errors

    [ 1465.806859] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

    [ 1465.806942] [ERROR]Aborting because fallback start is disabled.

    and for primusrun glxgears
    Xlib: extension "GLX" missing on display ":0.0".
    Error: couldn't get an RGB, Double-buffered visual

    In xorg.conf.nvidia I have:

    Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
    Option "AutoAddGPU" "false"
    EndSection

    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:01:00.0"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
    EndSection

    in bumblebee.conf i changed only line 22 "Driver=nvidia"

    lspci | grep 3D comand give me as a result 01:00.0 3D controller: NVIDIA Corporation Device 1292 (rev a1)

    I use Nvidia 740M in an asus laptop, I just installed kali and updated&upgraded without any error after I tried to install from first post and I got
    root@kali:~# modprobe nvidia-uvm
    ERROR: could not insert 'nvidia_uvm': No such device but optirun glxspheres64 it worked that time.
    but that time i installed and uninstalled too many times and I haven't any ideea how to solve and it was too much mess around.
    Any help appreciated. Thank you in advance

  4. #4
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    @2code

    Edit xorg.conf.nvidia and adjust the line:

    BusID "PCI:01:00.0"

    To read

    BusID "PCI:01:00:0"

    And restart bumblebeed

Similar Threads

  1. Replies: 6
    Last Post: 2017-01-04, 19:39
  2. NVIDIA and CUDA with OPTIMUS
    By jolubedju in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-06-03, 10:52
  3. Kali Linux 1.05 nvidia optimus cuda and pyrit
    By gfbaggio in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2014-04-28, 20:15

Posting Permissions

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