Page 7 of 8 FirstFirst 12345678 LastLast
Results 301 to 350 of 376

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

  1. #301
    Join Date
    2015-Aug
    Posts
    3
    I followed your steps Davide3i but when I run "optirun glxspheres64" I get an error that the GPU cannot be accessed and that I don't have the right driver. Am I missing something?

  2. #302
    Join Date
    2015-Aug
    Posts
    3
    Quote Originally Posted by MrUnruly View Post
    I followed your steps Davide3i but when I run "optirun glxspheres64" I get an error that the GPU cannot be accessed and that I don't have the right driver. Am I missing something?
    The exact errors, for optirun glxspheres64:

    [ 294.432628] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

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

    for modinfo nvidia:

    modinfo: ERROR: Module nvidia not found.

    EDIT:

    I edited /etc/bumblebee/bumblebee.conf and changed nvidia-current to nvidia and then optirun glxspheres64 worked but modinfo nvidia still gives me an error but iv managed to install cuda, hashcat and pyrit all working fine.
    Last edited by MrUnruly; 2015-08-29 at 18:18.

  3. #303
    Join Date
    2014-Sep
    Posts
    11
    I think that many errors may be caused by different systems' configurations. Still, if CUDA's computation is working, I would not mind to all the "errors" you've encountered.

  4. #304
    Join Date
    2013-May
    Posts
    2
    Quote Originally Posted by Robocamp View Post
    Hi guys !

    I eventually got it to work as well.
    I'm running a Dell Laptop with 64-bits Intel Core i7 2670QM CPU, an Intel i915 GPU and a NVidia Geforce GT525M GPU card as well.
    I'm using Kali 2 (with update and upgrade) and I used "bumblebee-nvidia + primus" from the repo and the CUDA 7.0.28
    The weird thing is optirun won't work the 1st time I run it, but only the 2nd time and after.
    With the GPU core an the 7 CPU cores, PYRIT goes up to 6k PMK/s. Not that bad after all.

    If I can be of any help to anyone, please feel free to ask.
    Hi, if you don't mind please tell me which tutorial you follow? I have quite similar laptop, ASUS with intel 4000 HD and NVidia GeForce GT710M GPU Card. I have never succeeded to get NVidia and optimus running on this dual hybrid cpu card laptop. So I really beg for your kindness

  5. #305
    Quote Originally Posted by Cricco95 View Post
    Hi staticn0de, I followed your guide to install the NVIDIA driver but when I try to run the NVIDIA*.run file i receive the following error and the installation abort:[...]
    Please use the Debian packages instead of the .run file.
    In contrast to all the guides on installing the nVidia driver on Kali Linux, you must not install anything nVidia related before running the official nVidia installer.

    Here is how I got the driver working.

    1. Make sure your Kali Linux system is up to date:
    apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade
    2. Install the kernel headers:
    apt-get install -y linux-headers-$(uname -r)
    3. Download the nVidia driver for your graphics card and save it in a location convenient to you (e.g. your home directory).
    4. Blacklist the nouveau driver:
    make sure you have a file called "nvidia-installer-disable-nouveau.conf" inside of [/etc/modprobe.d/]. If it's not there, create it and paste inside...
    blacklist nouveau
    options nouveau modeset=0
    Enter the following commands in a terminal as root:
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    update-initramfs
    reboot
    5. If you face the login screen after reboot, do not log in but change to a terminal with ALT+F1.
    6. Log in to the terminal as root.
    7. Kill GDM:
    service gdm3 stop
    8. Remove all nVidia related stuff:
    apt-get purge nvidia-*
    9. Navigate to the directory you downloaded the nVidia driver to.
    10. Make sure the driver installer (*.run) is executable:
    chmod +x NVidia...run
    11. Start the nVidia driver installer and follow the instructions on the screen. Let it configure your X server.
    12. Reboot again. You should now be fine

    Hope that helps. At least that's how I got my system working. The nvidia-kernel-dkms package from the Kali repository, unfortunately, does not support my graphics card (GeForce 8400 GS) any more so I had to install the official nVidia driver (340.93) instead.
    Last edited by [email protected]; 2015-09-11 at 12:22.

  6. #306
    Join Date
    2015-Sep
    Posts
    1
    No matter what I do, I can't get this to work. Tried all sorts of guides.

  7. #307
    Join Date
    2015-Sep
    Posts
    1
    Hi
    which GUID should i follow now
    for my MSI gp60

  8. #308
    Join Date
    2015-May
    Posts
    12
    Since Kali 2.0 everything you need is in the repo:
    1. Edit your sources:
    Code:
    leafpad /etc/apt/sources.list
    Copy paste the following repositories (remove existing lines or you can comment them out – your take). Following repo list was taken from official Kali sources.list Repositories page:

    Code:
    # Regular repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    # Source repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    Code:
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    2. Blacklist the nouveau driver:
    make sure you have a file called "nvidia-installer-disable-nouveau.conf" inside of /etc/modprobe.d/. If it's not there, create it and paste inside...
    Code:
    blacklist nouveau
    options nouveau modeset=0
    Enter the following commands in a terminal as root:
    Code:
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    update-initramfs -u
    reboot

    3. Install linux headers for your kernel:
    Code:
    apt-get install linux-headers-$(uname -r)
    4. Install dependencies we will need later. The first two are for CUDA and the others are for pyrit:
    Code:
    apt-get install freeglut3-dev libxmu-dev libpcap-dev libssl-dev
    5. Install bumblebee, primus (this will install the Nvidia driver too):
    Code:
    apt-get install bumblebee-nvidia primus
    6. Install Cuda, OpenCl:
    Code:
    apt-get install nvidia-cuda-toolkit nvidia-opencl-icd
    7. Proceed to post #2 of this Guide to install cudaHashcat and Pyrit (just remember to apt-get remove them first)

  9. #309
    Join Date
    2015-Sep
    Posts
    7
    I installed all the drivers as said in the instructions (by noobiesmall), and I can run "optirun --no-failsafe glxspheres64" without any errors. My problem is, that when I run "lspci | egrep "VGA|3D"", then for VGA compatible controller, it says Intel ... Graphics Controller (NVIDIA is only there as 3D controller). Also if I run "modinfo nvidia", it says module nvidia not found. At glxinfo it says OpenGL vendor string: Intel Open Source Technology Center. It looks like it tries to use intel instead of nvidia. How can I force it to use NVidia? Or did I install the driver wrong? (I tried a LOT of tutorials, but this is the farthest I could get)

  10. #310
    Join Date
    2015-May
    Posts
    12
    Quote Originally Posted by geiszla View Post
    I installed all the drivers as said in the instructions (by noobiesmall), and I can run "optirun --no-failsafe glxspheres64" without any errors. My problem is, that when I run "lspci | egrep "VGA|3D"", then for VGA compatible controller, it says Intel ... Graphics Controller (NVIDIA is only there as 3D controller). Also if I run "modinfo nvidia", it says module nvidia not found. At glxinfo it says OpenGL vendor string: Intel Open Source Technology Center. It looks like it tries to use intel instead of nvidia. How can I force it to use NVidia? Or did I install the driver wrong? (I tried a LOT of tutorials, but this is the farthest I could get)
    modinfo nvidia doesn't work for me too.
    glxspheres/64 seems to be not installed due to my tutorial. I can only run optirun glxgears
    optirun glxinfo ?!?
    Did you tried this?

    Quote Originally Posted by staticn0de View Post
    11. Run the following and record the PCI address of your video card. It will look similar to 03:00.0
    Code:
    lspci | egrep 'VGA|3D'
    12. Edit the xorg.conf.nvidia file so it knows the PCI address of your video card. Note that the last group of numbers is now seperated with a ":" instead of a ".". We are editing under the area 'Section "Device"'
    Code:
    nano /etc/bumblebee/xorg.conf.nvidia
    
    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:03:00:0"
    Last edited by noobiesmall; 2015-09-26 at 04:36.

  11. #311
    Join Date
    2015-Sep
    Posts
    7
    If I run "optirun glxinfo" it correctly returns the NVidia driver version:
    Code:
    root@AndrewLaptop:~# optirun glxinfo | grep -i nvidia
    OpenGL vendor string: NVIDIA Corporation
    OpenGL core profile version string: 4.4.0 NVIDIA 352.21
    OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
    OpenGL version string: 4.5.0 NVIDIA 352.21
    OpenGL shading language version string: 4.50 NVIDIA
    My PCI address is 1:00.0
    Code:
    root@AndrewLaptop:~# lspci | egrep "VGA|3D"
    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
    01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev ff)
    And I think it is correct in the xorg.conf.nvidia:
    Code:
    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"
    
    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting may be needed in some platforms with more than one
    #   nvidia card, which may confuse the proprietary driver (e.g.,
    #   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"
    
    #   Setting ProbeAllGpus to false prevents the new proprietary driver
    #   instance spawned to try to control the integrated graphics card,
    #   which is already being managed outside bumblebee.
    #   This option doesn't hurt and it is required on platforms running
    #   more than one nvidia graphics card with the proprietary driver.
    #   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #   If this option is not set, the new Xorg may blacken the screen and
    #   render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"
    
        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
    EndSection
    What does your "nvidia-smi" and "cudaHashcat64.bin -b" say?
    Last edited by geiszla; 2015-09-26 at 08:29. Reason: additional questions

  12. #312
    Join Date
    2015-May
    Posts
    12
    modinfo nvidia-current
    Code:
    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 
    parm:           NVreg_Mobile:int
    parm:           NVreg_ResmanDebugLevel:int
    parm:           NVreg_RmLogonRC:int
    parm:           NVreg_ModifyDeviceFiles:int
    parm:           NVreg_DeviceFileUID:int
    parm:           NVreg_DeviceFileGID:int
    parm:           NVreg_DeviceFileMode:int
    parm:           NVreg_UpdateMemoryTypes:int
    parm:           NVreg_InitializeSystemMemoryAllocations:int
    parm:           NVreg_UsePageAttributeTable:int
    parm:           NVreg_MapRegistersEarly:int
    parm:           NVreg_RegisterForACPIEvents:int
    parm:           NVreg_CheckPCIConfigSpace:int
    parm:           NVreg_EnablePCIeGen3:int
    parm:           NVreg_EnableMSI:int
    parm:           NVreg_MemoryPoolSize:int
    parm:           NVreg_RegistryDwords:charp
    parm:           NVreg_RmMsg:charp
    parm:           NVreg_AssignGpus:charp
    optirun nvidia-smi
    Code:
    Sat Sep 26 13:38:26 2015       
    +------------------------------------------------------+                       
    | NVIDIA-SMI 352.21     Driver Version: 352.21         |                       
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  GeForce GTX 765M    Off  | 0000:01:00.0     N/A |                  N/A |
    | N/A   38C    P0    N/A /  N/A |     13MiB /  2047MiB |     N/A      Default |
    +-------------------------------+----------------------+----------------------+
                                                                                   
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID  Type  Process name                               Usage      |
    |=============================================================================|
    |    0                  Not Supported                                         |
    +-----------------------------------------------------------------------------+
    I don't have cudaHashcat installed ...

    optirun pyrit list_cores
    Code:
    Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+
    
    The following cores seem available...
    #1:  'CUDA-Device #1 'GeForce GTX 765M''
    #2:  'CPU-Core (SSE2/AES)'
    #3:  'CPU-Core (SSE2/AES)'
    #4:  'CPU-Core (SSE2/AES)'
    #5:  'CPU-Core (SSE2/AES)'
    #6:  'CPU-Core (SSE2/AES)'
    #7:  'CPU-Core (SSE2/AES)'
    #8:  'CPU-Core (SSE2/AES)'
    Last edited by noobiesmall; 2015-09-26 at 10:41.

  13. #313
    Join Date
    2015-Sep
    Posts
    7
    Ok, thanks, now cudaHashcat works. Pyrit doesn't want to recognize my NVidia card, but hashcat is enough for me for now.

  14. #314
    Join Date
    2015-May
    Posts
    12
    Quote Originally Posted by geiszla View Post
    Ok, thanks, now cudaHashcat works. Pyrit doesn't want to recognize my NVidia card, but hashcat is enough for me for now.
    1. remove existing instalation first!
    Code:
    apt-get remove pyrit
    2. Move to your home directory (I'm installing it there) and then check out the pyrit trunk
    Code:
    cd ~
    svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
    3. Build and install pyrit
    Code:
    cd pyrit_svn/pyrit/
    python setup.py build
    python setup.py install
    4. Add CUDA support
    Code:
    cd ../cpyrit_cuda/
    python setup.py build
    python setup.py install
    5. Test pyrit
    Code:
    optirun pyrit list_cores
    optirun pyrit benchmark

  15. #315
    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

  16. #316
    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

  17. #317
    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.

  18. #318
    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.

  19. #319
    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

  20. #320
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hey guys,

    If anyone is still having issues, I just re-wrote the first post.

    If you follow it, you will have NVIDIA Driver 352.21 (from the repo) and CUDA 7.5.18 (from the CUDA site) after 22 easy steps.
    chown -R us ./base

  21. #321
    Just registered to say Thank You! Was stuck with this since last 3 months. Thanks to "noobiesmall" for his modified guide. Thanks to duiker.ts for his checks. And finally to staticn0de, I was just gonna post that it was not working and I was making the outputs as required by staticn0de where I caught the error myself! Thanks a lot, my cudaHashcat is finally working properly.

  22. #322
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Much appreciated static!

    ocl/cuda/hashcat is at version 2.0.1 now http://hashcat.net/oclhashcat/

    Full changelog v1.37 -> v2.00

    ...
    Made the project Open-Source
    ...
    http://hashcat.net/forum/thread-4882.html
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  23. #323
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hey Quest, It's been a long time.

    I made a custom deb for kali (cudahashcat-2.01) and updated second post. I'm not sure if anyone actually uses them that's why I stopped making them.

    https://forums.kali.org/showthread.p...ll=1#post35240
    chown -R us ./base

  24. #324
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Thank you kindly sir for that deb! DLing now... Yes it's been a while. Good to see you around!! *might be heading your way if I find a project in Oz*

    I do not know how many use it. I do know that oclhashcat is a different animal that must be handled with care. I had a very close call. It almost killed my lappy once. After a catastrophic shutdown due to overheat, it took 10mins to be able to re-start my comp. That was ugly and scary.

    Cheers!!
    Last edited by Quest; 2015-12-13 at 22:50.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  25. #325
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    Thank you kindly sir for that deb! DLing now... Yes it's been a while. Good to see you around!! *might be heading your way if I find a project in Oz*

    I do not know how many use it. I do know that oclhashcat is a different animal that must be handled with care. I had a very close call. It almost killed my lappy once. After a catastrophic shutdown due to overheat, it took 10mins to be able to re-start my comp. That was ugly and scary.

    Cheers!!
    That is a close call! I normally save the number crunching for my desktops with water-cooling for that exact reason. That, and you can't really compare the results from a full size card to a laptop chipset.
    chown -R us ./base

  26. #326
    Join Date
    2015-Dec
    Posts
    2

    Need Help Part 1

    Hey,
    ive some problems can you help me pls iam new on Kali and tried this tutorial but it doesnt load the bumblebee daemon.
    here are the outputs:

    1: lspci | egrep 'VGA|3D'

    Code:
    01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 420M] (rev a1)
    2: modprobe nvidia
    Code:
    No Output :/
    3: modprobe nvidia-uvm

    Code:
    No Output :/
    4ptirun glxspheres64
    Code:
    [  748.065193] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
    [  748.065249] [ERROR]Could not connect to bumblebee daemon - is it running?
    5: dmesg | tail -n 100
    Code:
    [   21.232850] sound hdaudioC0D0: autoconfig for ALC272X: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [   21.232855] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [   21.232856] sound hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    [   21.232858] sound hdaudioC0D0:    mono: mono_out=0x0
    [   21.232859] sound hdaudioC0D0:    inputs:
    [   21.232861] sound hdaudioC0D0:      Internal Mic=0x19
    [   21.232863] sound hdaudioC0D0:      Mic=0x18
    [   21.239431] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input12
    [   21.239547] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
    [   21.239574] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
    [   21.259659] input: PC Speaker as /devices/platform/pcspkr/input/input15
    [   21.740485] acer_wmi: Acer Laptop ACPI-WMI Extras
    [   21.740501] acer_wmi: Function bitmap for Communication Button: 0x1
    [   21.740504] acer_wmi: Brightness must be controlled by acpi video driver
    [   21.741046] input: Acer WMI hotkeys as /devices/virtual/input/input17
    [   21.741298] input: Acer BMA150 accelerometer as /devices/virtual/input/input18
    [   21.816795] iTCO_vendor_support: vendor-support=0
    [   21.851780] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
    [   21.851820] iTCO_wdt: Found a HM55 TCO device (Version=2, TCOBASE=0x0460)
    [   21.851927] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [   21.973041] cfg80211: Calling CRDA to update world regulatory domain
    [   22.382514] psmouse serio1: synaptics: queried max coordinates: x [..5772], y [..5086]
    [   22.425870] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
    [   22.425940] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
    [   22.425999] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
    [   22.426054] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
    [   22.498870] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000, board id: 0, fw id: 570026
    [   22.573330] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input16
    [   22.669328] ACPI: Battery Slot [BAT0] (battery present)
    [   22.734189] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
    [   22.921024] media: Linux media interface: v0.10
    [   23.040435] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro
    [   23.131632] Linux video capture interface: v2.00
    [   23.518833] ath: phy0: ASPM enabled: 0x43
    [   23.518838] ath: EEPROM regdomain: 0x65
    [   23.518839] ath: EEPROM indicates we should expect a direct regpair map
    [   23.518841] ath: Country alpha2 being used: 00
    [   23.518842] ath: Regpair used: 0x65
    [   23.561659] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [   23.561920] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffc90010860000, irq=17
    [   23.676708] ACPI: AC Adapter [AC] (on-line)
    [   23.753970] uvcvideo: Found UVC 1.00 device 1.3M WebCam (064e:a219)
    [   23.763763] input: 1.3M WebCam as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input23
    [   23.763856] usbcore: registered new interface driver uvcvideo
    [   23.763859] USB Video Class driver (1.1.1)
    [   23.948302] Adding 8110076k swap on /dev/mapper/Unknown--vg-swap_1.  Priority:-1 extents:1 across:8110076k FS
    [   24.575674] cfg80211: World regulatory domain updated:
    [   24.575679] cfg80211:  DFS Master region: unset
    [   24.575680] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   24.575682] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   24.575683] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   24.575685] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [   24.575687] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [   24.575689] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   24.575690] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [   24.575691] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   24.575693] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [   26.401686] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
    [   26.404192] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
    [   27.220178] systemd-journald[262]: Received request to flush runtime journal from PID 1
    [   32.587342] Bluetooth: Core ver 2.20
    [   32.587360] NET: Registered protocol family 31
    [   32.587361] Bluetooth: HCI device and connection manager initialized
    [   32.587366] Bluetooth: HCI socket layer initialized
    [   32.587368] Bluetooth: L2CAP socket layer initialized
    [   32.587376] Bluetooth: SCO socket layer initialized
    [   32.986493] Netfilter messages via NETLINK v0.30.
    [   38.829311] tg3 0000:02:00.0 eth0: Link is down
    [   64.092415] wlan0: authenticate with a6:81:c4:bb:57:5a
    [   64.108775] wlan0: direct probe to a6:81:c4:bb:57:5a (try 1/3)
    [   64.310138] wlan0: send auth to a6:81:c4:bb:57:5a (try 2/3)
    [   64.334631] wlan0: authenticated
    [   64.338207] wlan0: associate with a6:81:c4:bb:57:5a (try 1/3)
    [   64.344617] wlan0: RX AssocResp from a6:81:c4:bb:57:5a (capab=0x421 status=0 aid=1)
    [   64.344745] wlan0: associated
    [   64.344809] cfg80211: Calling CRDA for country: DE
    [   64.347533] ath: EEPROM regdomain: 0x8114
    [   64.347537] ath: EEPROM indicates we should expect a country code
    [   64.347538] ath: doing EEPROM country->regdmn map search
    [   64.347539] ath: country maps to regdmn code: 0x37
    [   64.347540] ath: Country alpha2 being used: DE
    [   64.347541] ath: Regpair used: 0x37
    [   64.347542] ath: regdomain 0x8114 dynamically updated by country IE
    [   64.347583] cfg80211: Regulatory domain changed to country: DE
    [   64.347584] cfg80211:  DFS Master region: ETSI
    [   64.347585] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   64.347587] cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   64.347589] cfg80211:   (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [   64.347591] cfg80211:   (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   64.347592] cfg80211:   (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s)
    [   64.347593] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    [  364.967021] wlan0: AP a6:81:c4:bb:57:5a changed bandwidth, new config is 2412 MHz, width 1 (2412/0 MHz)
    [  701.849901] perf interrupt took too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
    [  740.822204] [drm] Initialized drm 1.1.0 20060810
    [  740.997184] nvidia: module license 'NVIDIA' taints kernel.
    [  740.997191] Disabling lock debugging due to kernel taint
    [  741.007453] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
    [  741.007938] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0
    [  741.007944] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.21  Tue Jun  9 21:53:31 PDT 2015
    [  741.030624] nvidia_uvm: Loaded the UVM driver, major device number 246
    6: echo $PATH
    Code:
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin

  27. #327
    Join Date
    2015-Dec
    Posts
    2

    Need Help Part 2

    7: cat /etc/bumblebee/bumblebee.conf
    Code:
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=nvidia
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    
    
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    #         bbswitch - new in BB 3, recommended if available
    #       switcheroo - vga_switcheroo method, use at your own risk
    #             none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia-current
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    8: cat /etc/bumblebee/xorg.conf.nvidia
    Code:
    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"
    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting may be needed in some platforms with more than one
    #   nvidia card, which may confuse the proprietary driver (e.g.,
    #   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"
    
    #   Setting ProbeAllGpus to false prevents the new proprietary driver
    #   instance spawned to try to control the integrated graphics card,
    #   which is already being managed outside bumblebee.
    #   This option doesn't hurt and it is required on platforms running
    #   more than one nvidia graphics card with the proprietary driver.
    #   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #   If this option is not set, the new Xorg may blacken the screen and
    #   render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"
    
        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
    EndSection
    9:service bumblebeed restart
    Code:
    No Output :/
    10: modinfo nvidia
    Code:
    modinfo: ERROR: Module nvidia not found.
    11: find 2> /dev/null / -name nvidia*.ko
    Code:
    /var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-current.ko
    /var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-uvm.ko
    /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko
    /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-uvm.ko

  28. #328
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hi sl1k3rx,

    Welcome to the forum.

    Are you sure you have an optimus laptop? I can't see your intel card in dmesg or lspci.

    For example, mine shows:
    Code:
    root@kali:~# lspci | egrep 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
    03:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)
    What is the full output of lspci? (no parameters)
    chown -R us ./base

  29. #329
    Join Date
    2015-Dec
    Posts
    1

    Exclamation something weired please look for this... I hav nvidia GT 720M

    1.
    Code:
     lspci | egrep 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
    04:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev ff)
    2.
    Code:
     modprobe nvidia  --> NO ouput in terminal
    3.
    Code:
     modprobe nvidia-uvm  --> NO ouput in terminal
    4.
    Code:
     modinfo nvidia
    modinfo: ERROR: Module nvidia not found 
    $ modinfo nvidia-uvm
      filename:       /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-uvm.ko
    supported:      external
    license:        MIT
    depends:        nvidia
    vermagic:       4.0.0-kali1-amd64 SMP mod_unload modversions 
    parm:           NVuvm_prefetch_stats:int
    parm:           NVuvm_prefetch_threshold:int
    parm:           NVuvm_prefetch_adaptive:int
    parm:           NVuvm_prefetch_epoch:int
    parm:           NVuvm_prefetch_sparsity_inc:int
    parm:           NVuvm_prefetch_sparsity_dec:int
    parm:           NVuvm_prefetch:int
    5.
    Code:
    echo $PATH
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
    6.
    Code:
    dmesg | tail -n 100
    [   27.169640] systemd-journald[271]: Received request to flush runtime journal from PID 1
    [   33.199522] bbswitch: version 0.8
    [   33.199530] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [   33.199539] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.RP05.PEGP
    [  501.380850] nvidia: module license 'NVIDIA' taints kernel.
    [  501.380856] Disabling lock debugging due to kernel taint
    [  501.839747] nvidia 0000:04:00.0: enabling device (0000 -> 0003)
    [  501.840241] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1
    [  501.840246] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.21  Tue Jun  9 21:53:31 PDT 2015
    [  501.869241] nvidia_uvm: Loaded the UVM driver, major device number 248
    [  519.056665] vgaarb: this pci device is not a vga device
    [  519.074805] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.074864] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.074896] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.074925] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.074953] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.074981] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.075026] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.075055] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.092205] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    [  519.296065] vgaarb: this pci device is not a vga device
    [  526.205863] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
    7.
    Code:
    cat /etc/bumblebee/bumblebee.conf
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=nvidia
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    #         bbswitch - new in BB 3, recommended if available
    #       switcheroo - vga_switcheroo method, use at your own risk
    #             none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia-current
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    8.
    
    Code:
    cat /etc/bumblebee/xorg.conf.nvidia
    Section "ServerLayout"
        Identifier  "Layout0"
        Option      "AutoAddDevices" "false"
        Option      "AutoAddGPU" "false"
    EndSection
    
    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
        BusID "PCI:04:00:0"
    
    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting may be needed in some platforms with more than one
    #   nvidia card, which may confuse the proprietary driver (e.g.,
    #   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"
    
    #   Setting ProbeAllGpus to false prevents the new proprietary driver
    #   instance spawned to try to control the integrated graphics card,
    #   which is already being managed outside bumblebee.
    #   This option doesn't hurt and it is required on platforms running
    #   more than one nvidia graphics card with the proprietary driver.
    #   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #   If this option is not set, the new Xorg may blacken the screen and
    #   render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"
    
        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
    EndSection
    9.
    Code:
    find 2> /dev/null / -name nvidia*.ko
    /var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-current.ko
    /var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-uvm.ko
    /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko
    /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-uvm.ko
    10. cat /etc/modprobe.d/nvidia.conf alias nvidia nvidia-current remove nvidia-current rmmod nvidia nvidia-uvm
    11.
    Code:
    ls /lib/modules/3.14-kali1-amd64/updates/dkms
    ls: cannot access /lib/modules/3.14-kali1-amd64/updates/dkms: No such file or directory
    12.
    Code:
    cat /lib/modules/3.14-kali1-amd64/modules.dep | grep -i nvidia
    cat: /lib/modules/3.14-kali1-amd64/modules.dep: No such file or directory
    13.
    Code:
     dmesg
    [  501.380850] nvidia: module license 'NVIDIA' taints kernel.
    [  501.380856] Disabling lock debugging due to kernel taint
    [  501.839747] nvidia 0000:04:00.0: enabling device (0000 -> 0003)
    [  501.840241] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1
    [  501.840246] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.21  Tue Jun  9 21:53:31 PDT 2015
    [  501.869241] nvidia_uvm: Loaded the UVM driver, major device number 248
    [  519.056665] vgaarb: this pci device is not a vga device
    14.
    Code:
    lsmod
    Module                  Size  Used by
    nvidia_uvm             73728  0 
    nvidia               8519680  1 nvidia_uvm
    nfnetlink_queue        24576  0 
    nfnetlink_log          20480  0 
    nfnetlink              16384  2 nfnetlink_log,nfnetlink_queue
    bluetooth             425984  0 
    bbswitch               16384  0 
    binfmt_misc            20480  1

  30. #330
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hi Rat,

    Welcome to the forum. What is the error message you are receiving? What is not working? Can you use optirun glxspheres64?

    Does CUDA work?

    Also, modinfo nvidia-current should work
    chown -R us ./base

  31. #331
    how to install graphic driver on kali linux please help me :
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

  32. #332
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by bt5kl View Post
    how to install graphic driver on kali linux please help me :
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    I'm going to need a lot more information than that. If you want help, post the outputs of the questions on the first page.

    But from what I can see, you don't have an NVIDIA chip set.
    chown -R us ./base

  33. #333
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    xD


    Best to you for 2016 static!
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  34. #334
    Join Date
    2016-Jan
    Location
    Russia
    Posts
    6
    Hello everyone, I beg your help. I trying to solve this problem is not the first day...
    Laptop Dexp H168: both Intel and Nvidia cards (Optimus?).
    When I was buying a laptop on it was installed Windows 8. So, i deleted it. The next step was installing Kali 2.0 Sana.
    I made '.iso' on USB via Win32DiskImager (to my luck it works fine).
    Firstly i made: "EPS" (250M bootable), "/" (100G), "swap" (2xRAM), "opt" (50G logical), "home" (650G logical).
    Kali was installed and worked correctly (how i think). In "lspci | egrep 'VGA|3D'" were:
    Code:
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    01:00.0 VGA compatible controller: NVIDIA Corporation GK108M [GeForce GT 940M] (rev 02)
    When i tried to install Nvidia drivers via:
    Code:
    apt-get install nvidia-kernel-$(uname -r)
    aptitude install nvidia-kernel-dkms
    aptitude install nvidia-xconfig
    I had a white screen with "Oh, No! Something....blablabla". And Kali wasn't loaded. I decided to reinstall Kali...
    When i done this (yes, i'm done this) Kali worked correctly, but in "lspci | egrep 'VGA|3D'" now:
    Code:
    00:02:0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
    01:00:0 3D controller: NVIDIA Corporation Device 1347 (rev a2)
    I decided that the problem is improper installation of the drivers and decided to install Nvidia again, as it is written in the first post of this thread.
    Before the number '9' everything goes perfectly, but then ... When i tried to 'apt-get install bumblebee-nvidia primus' the videocard's fan started to make much noise. And when this commands was executed the laptop was himself halted. When i tried to start OS i had black terminal screen:
    Code:
    Kali GNU/Linux 2.0 Kali tty1
    Kali login: __
    but it was frozen and didn't react. After some time (3-5 minutes) switches itself off again. So the circle.
    I tried to reinstall Kali and Nvidia another 2 times, but the same.
    What i should do? Variants such as "Throw your computer" will not be accepted
    Last edited by Edelweiss; 2016-01-14 at 21:20.

  35. #335
    Join Date
    2016-Jan
    Location
    Russia
    Posts
    6
    Tried to install Nvidia drivers from post #305 of this thread:
    After i complete:
    Code:
    apt-get install bumblebee-nvidia primus
    Videocard's fan started to rotate much, but i had managed do reboot. When i try load Kali i have the same message:
    Code:
    Kali GNU/Linux 2.0 Kali tty1
    Kali login: __
    So, i entered in 'Rescue mode' and did '10' and '12' items of this.
    After reboot i had the next message:
    Code:
    Kali GNU/Linux 2.0 Kali tty1
    Kali login: [   40.122326] INFO: rcu_sched detected stalls on CPUs/tasks: { 2} (detected by 0, t=5253 jiffies, g=1442, c=1441m q=836)
    and shutdown after 3-5 minutes again...
    Would you please show me where to go? Thanks
    Last edited by Edelweiss; 2016-01-13 at 23:33.

  36. #336
    Join Date
    2014-Sep
    Posts
    4
    Hi all & stanicn0de

    I follow your totur on first page

    stuck at step 15

    Code:
    root@kali:~# optirun glxspheres64
    [  267.653858] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) 
    
    [  267.653947] [ERROR]Aborting because fallback start is disabled.
    Code:
    root@kali:~# modinfo nvidia
    modinfo: ERROR: Module nvidia not found.
    -----------------------------------------

    lspci | egrep 'VGA|3D'

    Code:
     root@kali:~# lspci | egrep -i 'vga|3d'
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)
    modprobe nvidia

    Code:
    No Output
    modprobe nvidia-uvm

    Code:
    No Output
    optirun glxspheres64

    Code:
     [ 1166.593615] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) 
    
    [ 1166.593703] [ERROR]Aborting because fallback start is disabled.
    dmesg | tail -n 50

    Code:
    [   24.124210] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [   24.124218] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEGR.GFX0
    [   24.124235] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
    [   24.124397] bbswitch: detected an Optimus _DSM function
    [   24.124413] pci 0000:01:00.0: enabling device (0000 -> 0003)
    [   24.124421] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
    [   24.127783] bbswitch: disabling discrete graphics
    [   24.127799] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
    [   24.324051] wlan0: authenticate with 02:1f:d4:04:19:b9
    [   24.338573] wlan0: send auth to 02:1f:d4:04:19:b9 (try 1/3)
    [   24.342232] wlan0: authenticated
    [   24.346262] wlan0: associate with 02:1f:d4:04:19:b9 (try 1/3)
    [   24.357030] wlan0: RX AssocResp from 02:1f:d4:04:19:b9 (capab=0x431 status=0 aid=5)
    [   24.357131] wlan0: associated
    [   24.357154] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   24.359861] ath: EEPROM regdomain: 0x8348
    [   24.359865] ath: EEPROM indicates we should expect a country code
    [   24.359866] ath: doing EEPROM country->regdmn map search
    [   24.359868] ath: country maps to regdmn code: 0x3a
    [   24.359869] ath: Country alpha2 being used: US
    [   24.359870] ath: Regpair used: 0x3a
    [   24.359872] ath: regdomain 0x8348 dynamically updated by country IE
    [   24.359896] cfg80211: Regulatory domain changed to country: US
    [   24.359897] cfg80211:  DFS Master region: FCC
    [   24.359898] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   24.359901] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [   24.359903] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
    [   24.359905] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
    [   24.359907] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
    [   24.359909] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [   24.359910] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    [   34.433831] fuse init (API version 7.23)
    [   36.010157] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   36.010167] Bluetooth: BNEP filters: protocol multicast
    [   36.010186] Bluetooth: BNEP socket layer initialized
    [   36.211345] Bluetooth: RFCOMM TTY layer initialized
    [   36.211374] Bluetooth: RFCOMM socket layer initialized
    [   36.211398] Bluetooth: RFCOMM ver 1.11
    [  266.589460] bbswitch: enabling discrete graphics
    [  267.442938] nvidia: module license 'NVIDIA' taints kernel.
    [  267.442948] Disabling lock debugging due to kernel taint
    [  267.461294] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
    [  267.462114] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
    [  267.462128] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.55  Thu Oct  8 15:18:00 PDT 2015
    [ 1156.534343] nvidia_uvm: Loaded the UVM driver, major device number 246
    [ 1239.776637] nvidia_uvm: Unregistered the UVM driver
    [ 1239.799211] [drm] Module unloaded
    [ 1239.825001] bbswitch: disabling discrete graphics
    [ 1239.825018] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
    [ 1239.838811] pci 0000:01:00.0: Refused to change power state, currently in D0
    echo $PATH

    Code:
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
    cat /etc/bumblebee/bumblebee.conf

    cat /etc/bumblebee/xorg.conf.nvidia

    Code:
     # Configuration file for Bumblebee. Values should **not** be put between quotes
    
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=nvidia
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    
    
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    #         bbswitch - new in BB 3, recommended if available
    #       switcheroo - vga_switcheroo method, use at your own risk
    #             none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia-current
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    service bumblebeed restart

    modinfo nvidia

    Code:
     modinfo: ERROR: Module nvidia not found.
    find 2> /dev/null / -name nvidia*.ko

    Code:
    /var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current.ko
    /var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko
    /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current.ko
    /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko

    Suggestion or just a little help i'll appreciate it

  37. #337
    Join Date
    2016-Jan
    Posts
    1

    Red face

    Code:
    root@0b51d14n:~/NVIDIA_CUDA-7.5_Samples/1_Utilities/deviceQuery# optirun ./deviceQuery
    ./deviceQuery Starting...
    
     CUDA Device Query (Runtime API) version (CUDART static linking)
    
    Detected 1 CUDA Capable device(s)
    
    Device 0: "GeForce 920M"
      CUDA Driver Version / Runtime Version          7.5 / 7.5
      CUDA Capability Major/Minor version number:    3.5
      Total amount of global memory:                 1024 MBytes (1073610752 bytes)
      ( 2) Multiprocessors, (192) CUDA Cores/MP:     384 CUDA Cores
      GPU Max Clock rate:                            954 MHz (0.95 GHz)
      Memory Clock rate:                             900 Mhz
      Memory Bus Width:                              64-bit
      L2 Cache Size:                                 524288 bytes
      Maximum Texture Dimension Size (x,y,z)         1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
      Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
      Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048 layers
      Total amount of constant memory:               65536 bytes
      Total amount of shared memory per block:       49152 bytes
      Total number of registers available per block: 65536
      Warp size:                                     32
      Maximum number of threads per multiprocessor:  2048
      Maximum number of threads per block:           1024
      Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
      Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
      Maximum memory pitch:                          2147483647 bytes
      Texture alignment:                             512 bytes
      Concurrent copy and kernel execution:          Yes with 1 copy engine(s)
      Run time limit on kernels:                     Yes
      Integrated GPU sharing Host Memory:            No
      Support host page-locked memory mapping:       Yes
      Alignment requirement for Surfaces:            Yes
      Device has ECC support:                        Disabled
      Device supports Unified Addressing (UVA):      Yes
      Device PCI Domain ID / Bus ID / location ID:   0 / 4 / 0
      Compute Mode:
         < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
    
    deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 7.5, CUDA Runtime Version = 7.5, NumDevs = 1, Device0 = GeForce 920M
    Result = PASS
    THANKS.

  38. #338
    Join Date
    2016-Jan
    Posts
    2

    Unhappy Also not working...

    Hi all, unfortunately I have the same issue like reintakura:

    lspci | egrep 'VGA|3D'
    Code:
    00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
    01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 425M] (rev a1)
    modprobe nvidia, modprobe nvidia-uvm
    Code:
    No Output
    optirun glxspheres64
    Code:
    [ 3464.033594] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) 
    
    [ 3464.033700] [ERROR]Aborting because fallback start is disabled.
    dmesg | tail -n 50
    Code:
    [   11.678275] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [   12.324145] Adding 7971836k swap on /dev/sda5.  Priority:-1 extents:1 across:7971836k FS
    [   14.535880] intel ips 0000:00:1f.6: i915 driver attached, reenabling gpu turbo
    [   18.918289] Bluetooth: Core ver 2.20
    [   18.918308] NET: Registered protocol family 31
    [Bluetooth]
    [   18.969846] Netfilter messages via NETLINK v0.30.
    [IPv6]
    [wlan0]
    [   23.267068] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   23.270952] cfg80211: Regulatory domain changed to country: DE
    [   23.270956] cfg80211:  DFS Master region: ETSI
    [   23.270958] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   23.270960] cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   23.270963] cfg80211:   (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [   23.270965] cfg80211:   (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   23.270966] cfg80211:   (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s)
    [   23.270968] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    [   23.872947] sha256_ssse3: Using SSSE3 optimized SHA-256 implementation
    [   24.118613] bbswitch: version 0.8
    [   24.118621] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [   24.118629] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.P0P1.PEGP
    [   24.118647] ACPI Warning: \_SB_.PCI0.P0P1.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
    [   24.118836] bbswitch: detected an Optimus _DSM function
    [   24.118852] pci 0000:01:00.0: enabling device (0006 -> 0007)
    [   24.118859] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
    [   24.120831] bbswitch: disabling discrete graphics
    [   24.120845] ACPI Warning: \_SB_.PCI0.P0P1.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
    [   31.993462] fuse init (API version 7.23)
    [Bluetooth]
    [   94.050737] bbswitch: enabling discrete graphics
    [   94.383372] nvidia: module license 'NVIDIA' taints kernel.
    [   94.383381] Disabling lock debugging due to kernel taint
    [   94.395197] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
    [   94.396188] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
    [   94.396194] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.55  Thu Oct  8 15:18:00 PDT 2015
    Last edited by Bobbybaum; 2016-01-29 at 15:12. Reason: Typo

  39. #339
    Join Date
    2016-Jan
    Posts
    2

    ...continue of my post, because of firewall-error in this forum

    echo $PATH

    Code:
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
    cat /etc/bumblebee/bumblebee.conf

    Code:
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=nvidia
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    
    
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    #         bbswitch - new in BB 3, recommended if available
    #       switcheroo - vga_switcheroo method, use at your own risk
    #             none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia-current
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    cat /etc/bumblebee/xorg.conf.nvidia

    Code:
    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"
    
    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting may be needed in some platforms with more than one
    #   nvidia card, which may confuse the proprietary driver (e.g.,
    #   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"
    
    #   Setting ProbeAllGpus to false prevents the new proprietary driver
    #   instance spawned to try to control the integrated graphics card,
    #   which is already being managed outside bumblebee.
    #   This option doesn't hurt and it is required on platforms running
    #   more than one nvidia graphics card with the proprietary driver.
    #   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #   If this option is not set, the new Xorg may blacken the screen and
    #   render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"
    
        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
    EndSection
    service bumblebeed restart

    Code:
    No Output
    modinfo nvidia-current

    Code:
    filename:       /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current.ko
    alias:          char-major-195-*
    version:        352.55
    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.3.0-kali1-amd64 SMP mod_unload modversions 
    parm:           NVreg_Mobile:int
    parm:           NVreg_ResmanDebugLevel:int
    parm:           NVreg_RmLogonRC:int
    parm:           NVreg_ModifyDeviceFiles:int
    parm:           NVreg_DeviceFileUID:int
    parm:           NVreg_DeviceFileGID:int
    parm:           NVreg_DeviceFileMode:int
    parm:           NVreg_UpdateMemoryTypes:int
    parm:           NVreg_InitializeSystemMemoryAllocations:int
    parm:           NVreg_UsePageAttributeTable:int
    parm:           NVreg_MapRegistersEarly:int
    parm:           NVreg_RegisterForACPIEvents:int
    parm:           NVreg_CheckPCIConfigSpace:int
    parm:           NVreg_EnablePCIeGen3:int
    parm:           NVreg_EnableMSI:int
    parm:           NVreg_MemoryPoolSize:int
    parm:           NVreg_RegistryDwords:charp
    parm:           NVreg_RmMsg:charp
    parm:           NVreg_AssignGpus:charp
    find 2> /dev/null / -name nvidia*.ko

    Code:
    /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
    /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current.ko
    /var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko
    /var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current.ko
    Thanks for your help!
    Last edited by Bobbybaum; 2016-01-28 at 13:38. Reason: Changing from nvidia to nvidia-current & typo

  40. #340
    Join Date
    2016-Feb
    Posts
    2

    Lightbulb [ERROR]Cannot access secondary GPU - error: [XORG] (EE) solution

    Quote Originally Posted by reintakura View Post
    Quote Originally Posted by Bobbybaum View Post
    Bumblebee pkg needed to be updated to work with new Xorg.

    I have solved problem by changing Xorg path in bumblebee.

    Uncomment source repo in /etc/apt/sources.list and do:
    Code:
    apt-get update
    apt-get install devscripts
    apt-get build-dep bumblebee
    apt-get source bumblebee
    sed -i 's/\"Xorg\"/\"\/usr\/lib\/xorg\/Xorg\"/' bumblebee-3.2.1/src/bbsecondary.h
    cd bumblebee-3.2.1/
    dpkg-buildpackage -us -uc -nc
    dpkg -i ../bumblebee_3.2.1-10_amd64.deb 
    service bumblebeed restart

  41. #341
    Join Date
    2016-Feb
    Posts
    2
    Quote Originally Posted by reintakura View Post
    Quote Originally Posted by Bobbybaum View Post
    Bumblebee pkg needed to be updated to work with new Xorg.

    I have solved problem by changing Xorg path in bumblebee.

    Uncomment source repo in /etc/apt/sources.list and do:
    Code:
    apt-get update
    apt-get install devscripts
    apt-get build-dep bumblebee
    apt-get source bumblebee
    sed -i 's/\"Xorg\"/\"\/usr\/lib\/xorg\/Xorg\"/' bumblebee-3.2.1/src/bbsecondary.h
    cd bumblebee-3.2.1/
    dpkg-buildpackage -us -uc -nc
    dpkg -i ../bumblebee_3.2.1-10_amd64.deb 
    service bumblebeed restart

  42. #342
    how to install graphic on lenovo l510 (thinkpad) Lenovo Mobile Intel® GM45 Express Chipset

    root@BT5KL:~# lspci
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
    00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
    00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
    02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
    02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
    02:00.4 System peripheral: JMicron Technology Corp. xD Host Controller
    05:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
    08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
    Last edited by bt5kl; 2016-02-18 at 08:45.

  43. #343
    Join Date
    2013-Jul
    Posts
    2
    Hoping someone can help here. Desktop system with 64-bit Kali 2.0 Rolling installed to HDD.

    When running(as root) the CUDA install, I get the following output:
    Code:
    chmod +x cuda_7.5.18_linux.run
    ./cuda_7.5.18_linux.run
    
    Accept the EULA
    Select yes to unsupported configuration
    No to graphics driver
    Yes to the toolkit
    Accept default location
    Yes to symbolic link
    Yes to samples
    Yes to default samples location
    The toolkit will install
    
    ERROR:
    Error: unsupported compiler: 5.3.1. Use –override to override this check.
    Missing recommended library: libGLU.so
    Missing recommended library: libXi.so
    Missing recommended library: libXmu.so
    
    Error: Cannot find Toolkit in /usr/local/cuda-7.5
    So, the error seems pretty obvious that I do not have the correct compiler, but how should I find the correct one?

    I did install all the CUDA dependencies:
    Code:
    apt-get install freeglut3-dev libxmu-dev libpcap-dev libssl-dev
    Any help is much appreciated!

  44. #344
    Join Date
    2015-Aug
    Posts
    15
    Quote Originally Posted by int0xcc View Post
    Bumblebee pkg needed to be updated to work with new Xorg.

    I have solved problem by changing Xorg path in bumblebee.

    Uncomment source repo in /etc/apt/sources.list and do:
    Code:
    apt-get update
    apt-get install devscripts
    apt-get build-dep bumblebee
    apt-get source bumblebee
    sed -i 's/\"Xorg\"/\"\/usr\/lib\/xorg\/Xorg\"/' bumblebee-3.2.1/src/bbsecondary.h
    cd bumblebee-3.2.1/
    dpkg-buildpackage -us -uc -nc
    dpkg -i ../bumblebee_3.2.1-10_amd64.deb 
    service bumblebeed restart
    Hi int0xcc!
    I am most grateful for your post.
    I have spend more than 3 days on this problem without success. I even opened a thread here:

    https://forums.kali.org/showthread.p...inkpad-Yoga-15

    Your instructions solved the problem right on the the first attempt. I am going to test them on other distros too.
    I will post your instructions on the above mentioned thread.

    Thank you very very much again
    DinoS

  45. #345
    Join Date
    2013-Apr
    Posts
    182
    Quote Originally Posted by int0xcc View Post
    Bumblebee pkg needed to be updated to work with new Xorg.

    I have solved problem by changing Xorg path in bumblebee.

    Uncomment source repo in /etc/apt/sources.list and do:
    Code:
    apt-get update
    apt-get install devscripts
    apt-get build-dep bumblebee
    apt-get source bumblebee
    sed -i 's/\"Xorg\"/\"\/usr\/lib\/xorg\/Xorg\"/' bumblebee-3.2.1/src/bbsecondary.h
    cd bumblebee-3.2.1/
    dpkg-buildpackage -us -uc -nc
    dpkg -i ../bumblebee_3.2.1-10_amd64.deb 
    service bumblebeed restart
    Could you tell me how to solve 32bit system ?

    my problem is as followed

    [14632.189140] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)

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

  46. #346
    Join Date
    2015-Nov
    Posts
    5
    Tx/Rx >>>

    apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev


    ./cuda*.run --override compiler

    Accept the EULA
    Select yes to unsupported configuration
    No to graphics driver
    Yes to the toolkit
    Accept default location
    Yes to symbolic link
    Yes to samples
    Yes to default samples location
    The toolkit will install
    Last edited by x5ctf; 2016-03-04 at 07:04.

  47. #347
    Join Date
    2015-Jul
    Posts
    6
    I have a problem guys. I can succesfully run optirun glxspheres64 but modinfo nvidia says that I don't have nvidia module installed

    1. lspci | egrep 'VGA|3D

    Code:
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
    2. modprobe nvidia

    Code:
    modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.4.0-kali1-amd64
    3. modprobe nvidia-uvm

    Code:
    modprobe: FATAL: Module nvidia-uvm not found in directory /lib/modules/4.4.0-kali1-amd64
    4. optirun glxspheres64

    Code:
    Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
    Visual ID of window: 0x20
    Context is Direct
    OpenGL Renderer: GeForce GT 750M/PCIe/SSE2
    306.941638 frames/sec - 342.546869 Mpixels/sec
    305.789812 frames/sec - 341.261430 Mpixels/sec
    310.069638 frames/sec - 346.037716 Mpixels/sec
    308.716589 frames/sec - 344.527713 Mpixels/sec
    5. dmesg | tail -n 100

    Code:
    [  296.115287] nvidia: module license 'NVIDIA' taints kernel.
    [  296.115290] Disabling lock debugging due to kernel taint
    [  296.123083] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
    [  296.123087] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.79  Wed Jan 13 16:17:53 PST 2016
    [  297.819878] vgaarb: this pci device is not a vga device
    [  297.841735] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.841774] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.841797] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.841818] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.841840] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.841860] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.841893] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.841915] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  297.865676] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  298.059827] vgaarb: this pci device is not a vga device
    [  306.727138] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.063360] vgaarb: this pci device is not a vga device
    [  531.065402] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065441] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065464] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065486] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065507] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065528] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065560] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065581] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.065964] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    [  531.254516] vgaarb: this pci device is not a vga device
    [  541.237741] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
    6. echo $PATH

    Code:
    /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/oracle/instantclient_11_2:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
    7. cat /etc/bumblebee/bumblebee.conf

    Code:
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=nvidia
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    
    
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    #         bbswitch - new in BB 3, recommended if available
    #       switcheroo - vga_switcheroo method, use at your own risk
    #             none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia-current
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    8. cat /etc/bumblebee/xorg.conf.nvidia

    Code:
    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"
    9. service bumblebeed restart

    Restarted succesfully

    10. modinfo nvidia

    Code:
    modinfo: ERROR: Module nvidia not found
    11. find 2> /dev/null / -name nvidia*.ko

    Code:
    /var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current.ko
    /var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko
    /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current.ko
    /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
    EDIT: I get PASS with CUDA deviceQuery
    Last edited by Cricco95; 2016-03-05 at 12:23.

  48. #348
    Join Date
    2016-Mar
    Posts
    3
    Hello guys, can you tell me if there is any new guide, to install nvidia + cuda, in gtx 950m? Cause after 1º attempt... i lost and needed to re-install kali.

    Thanks in advance

  49. #349
    Join Date
    2016-Mar
    Posts
    2
    Quote Originally Posted by Millesaway View Post
    Hello guys, can you tell me if there is any new guide, to install nvidia + cuda, in gtx 950m? Cause after 1º attempt... i lost and needed to re-install kali.

    Thanks in advance
    As Millesaway said is it any update for the tutorial ? I have the latest Kali 2016, but it seems I can't install NVIDIA. I've tried many things I found over the internet but I was wondering if someone can post an updated tutorial.

  50. #350
    Join Date
    2016-Mar
    Posts
    4
    Quote Originally Posted by Razvan View Post
    As Millesaway said is it any update for the tutorial ? I have the latest Kali 2016, but it seems I can't install NVIDIA. I've tried many things I found over the internet but I was wondering if someone can post an updated tutorial.
    Same, I've followed the steps of this tutorial and many others with no luck so far. It would be great if someone that knew how to get Nvidia Cards with Optimus working with Kali could post an updated tutorial.

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
  •