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
    2015-Oct
    Posts
    1
    Hi, i am following this guide of @staticn0de.
    i've passed install bumblebee, primus,...
    First, when i install Nvidia driver, the Driver's installtion say that it found an older nvidia version , and suddenly terminate. ( i did not install nvidia before that).
    I try some command:
    Code:
    optirun glxspheres64
    
    Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
    Visual ID of window: 0x20
    Context is Direct
    OpenGL Renderer: GeForce GT 720M/PCIe/SSE2
    80.783860 frames/sec - 78.128333 Mpixels/sec
    83.099757 frames/sec - 80.368102 Mpixels/sec
    Code:
    modinfo nvidia_current
    filename:       /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko
    alias:          char-major-195-*
    version:        352.21
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm
    vermagic:       4.0.0-kali1-amd64 SMP mod_unload modversions
    Code:
    lspci | grep -i nvidia 
    04:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev ff)
    Then, i install Cuda. At the end, the log show: Driver = not selected. When i try step23:
    Code:
    optirun ./deviceQuery
    ./deviceQuery Starting...
    
     CUDA Device Query (Runtime API) version (CUDART static linking)
    
    cudaGetDeviceCount returned 35
    -> CUDA driver version is insufficient for CUDA runtime version
    Result = FAIL
    I am using Kali 2.0 Sana ( kernel 4.0.0 amd64) , gcc version = 4.9.2, GPU GT 720M (optimus)
    ==> Driver version: 352.21
    Cuda v7.5 (64bit) ==> version: 352.39 ???
    Please help me to resolve this problem

  2. #2
    Quote Originally Posted by GenesisHN View Post
    Hi, i am following this guide of @staticn0de.
    i've passed install bumblebee, primus,...
    First, when i install Nvidia driver, the Driver's installtion say that it found an older nvidia version , and suddenly terminate. ( i did not install nvidia before that).
    I try some command:
    Code:
    optirun glxspheres64
    
    Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
    Visual ID of window: 0x20
    Context is Direct
    OpenGL Renderer: GeForce GT 720M/PCIe/SSE2
    80.783860 frames/sec - 78.128333 Mpixels/sec
    83.099757 frames/sec - 80.368102 Mpixels/sec
    Code:
    modinfo nvidia_current
    filename:       /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko
    alias:          char-major-195-*
    version:        352.21
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm
    vermagic:       4.0.0-kali1-amd64 SMP mod_unload modversions
    Code:
    lspci | grep -i nvidia 
    04:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev ff)
    Then, i install Cuda. At the end, the log show: Driver = not selected. When i try step23:
    Code:
    optirun ./deviceQuery
    ./deviceQuery Starting...
    
     CUDA Device Query (Runtime API) version (CUDART static linking)
    
    cudaGetDeviceCount returned 35
    -> CUDA driver version is insufficient for CUDA runtime version
    Result = FAIL
    I am using Kali 2.0 Sana ( kernel 4.0.0 amd64) , gcc version = 4.9.2, GPU GT 720M (optimus)
    ==> Driver version: 352.21
    Cuda v7.5 (64bit) ==> version: 352.39 ???
    Please help me to resolve this problem
    I had the same issue after I upgraded to kali 2.0 .
    I fixed it by installing cuda 6.0.37 and the driver352.21 from the repositories using synaptic manager .
    now everything is working

  3. #3
    Join Date
    2015-Oct
    Posts
    5
    Hi, i'm stuck on step 14.
    After reboot the system it show me white screen and a message, it says "Oh no! Something has gone wrong. a problem has occurred and the system can't recover. Please log out and try again".
    I'm trying to install Nvidia v352.50 (i also installed virtalgl 4.2.1, latest version available)
    I also tried every tutorial on the web but nothing worked. On every guide i get the same problem, white screen.
    I gotta a gt 755m, and trying to install drivers on Kali Sana 2.0.
    another strange things is that when i run "modprobe -r nouveau" it say me an error, "MMIO write of 0x00000002 FAULT at...", but if i run again "modprobe -r nouveau" it won't be shown again.

  4. #4
    Quote Originally Posted by orasio2 View Post
    Hi, i'm stuck on step 14.
    After reboot the system it show me white screen and a message, it says "Oh no! Something has gone wrong. a problem has occurred and the system can't recover. Please log out and try again".
    I'm trying to install Nvidia v352.50 (i also installed virtalgl 4.2.1, latest version available)
    I also tried every tutorial on the web but nothing worked. On every guide i get the same problem, white screen.
    I gotta a gt 755m, and trying to install drivers on Kali Sana 2.0.
    another strange things is that when i run "modprobe -r nouveau" it say me an error, "MMIO write of 0x00000002 FAULT at...", but if i run again "modprobe -r nouveau" it won't be shown again.
    You appear to have a similar issue as me, except I did not follow the OPTIMUS guide.
    https://forums.kali.org/showthread.p...ursor-of-Death
    I now know my Laptop is OPTIMUS enabled, so I will give this guide a try.

  5. #5
    Join Date
    2015-Nov
    Posts
    1
    After several months of trying, updating from Kali 1.xxx to 2.0 along the way, I finally got it to work on a HP Pavilion
    The point I always got stuck at was running optirun, which gave me errors ranging from GPU not found up to bumblebeed not running...

    If like me you went through several scenario's maybe the following can help you:

    First of all, if you have a clean install of Kali 2.0 the instructions in post 308 work. It is just the leftovers of previous attempts and some peculiar settings that might block you.

    My tips:

    1) before running the guide from post 308 purge anything nvidia related: apt-get remove --purge *nvidia*
    Then proceed as mentioned in post 308

    2) Do not install any nvidia driver on top. Installing bumblebee-nvidia does that for you. Somewhere in the installation you will get an ASCII menu for Xorg, just press OK or apt will keep on complaining that the install is not completed

    3) Make sure that line 22 of /etc/bumblebee/bumblebee.conf reads Driver=nvidia, but that line 55 (?) in the [driver-nvidia] section reads KernelDriver=nvidia-current. It looks like a clean install actually does that correctly.

    4) And then the real clincher: to get the card ID right in /etc/bumblebee/xorg.conf.nvidia I did the lspci | egrep 'VGA|3D' and got id PCI:0a:00.0 as a result. So I filled in BusID "PCI:0a:00:0"... And that is wrong: the xorg file doesn't work in hexadecimal, but in decimal. There is a dent in my desk where I banged my head after learning of that piece of information...

    So after setting it as BusID "PCI:10:00:0" I finally got optirun to work.

    Next up, installing cudaHascat and Pyrit...someday

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
  •