Page 2 of 8 FirstFirst 12345678 LastLast
Results 51 to 100 of 376

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

  1. #51
    Join Date
    2014-Aug
    Location
    lotusland
    Posts
    3
    Hi static, first, thanks for taking me further along the road to installing my cuda drivers than I had thought possible, outstanding instructions. Like the fellow above me, when I run "optirun glxinfo | grep -i "direct rendering"", I get the following:

    [ 205.729643] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

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


    Dual boot win7/ kali 1.08 AMD64, lenovo w530

    Bumblebee isn't starting for whatever reason. Any thoughts? Thanks.

  2. #52
    Join Date
    2014-Aug
    Location
    Paris
    Posts
    1

    Angry Can't make bumblebee working properly ! part 1

    Greetings,

    I'm fighting for a good 2 months trying to install bumblebee properly on my laptop, to enable my Nvidia 650m .

    I've been following this guide step by step, and i'm stuck at the 'optirun glxspheres64' part. My computer simply shutdown without any warnings, as soon as I hit 'Enter' in the prompt .

    I did install the 340 driver correctly, and i can tell it's loaded as it should, thanks to the "modinfo nvidia" command.

    Here is what 'uname -r' returns :

    Code:
     3.14-kali1-amd64
    Here is my 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
    Here is my 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/$
    # 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
    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
    Here is what 'modinfo nvidia' returns :

    Code:
     filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
    alias:          char-major-195-*
    version:        340.24
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm,i2c-core
    vermagic:       3.14-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_RemapLimit:int
    parm:           NVreg_UpdateMemoryTypes:int
    parm:           NVreg_InitializeSystemMemoryAllocations:int
    parm:           NVreg_RMEdgeIntrCheck: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
    Here is what 'modinfo nvidia-uvm' returns :

    Code:
     filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko                                                                                                                      
    supported:      external                                                                                                                                                                      
    license:        MIT                                                                                                                                                                           
    depends:        nvidia                                                                                                                                                                        
    vermagic:       3.14-kali1-amd64 SMP mod_unload modversions
    Here is what 'echo $PATH' returns :

    Code:
     /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin
    Here is what 'find 2> /dev/null / -name nvidia*.ko' returns :

    Code:
    /var/lib/dkms/nvidia/340.24/3.14-kali1-amd64/x86_64/module/nvidia.ko                                                                                                                          
    /var/lib/dkms/nvidia/340.24/3.14-kali1-amd64/x86_64/module/nvidia-uvm.ko                                                                                                                      
    /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko                                                                                                                                          
    /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko

  3. #53
    I followed latest instructions using latest Nvidia drivers but now my Nvidia card is running all the time.
    It wont switch to Intel. Also should we not be installing bumblebee-nvidia as we are now using official drivers?
    Kali boots using Intel and as soon as you use optirun or primerun it loads Nvidia and then never switches it off.
    Last edited by nekromantik; 2014-08-08 at 10:26.

  4. #54
    Join Date
    2014-Aug
    Location
    lotusland
    Posts
    3
    Hi static0de, thanks for your excellent instructional post!

    I've gotten pretty close to having functioning CUDA (i think), but running 'optirun glxinfo | grep -i "direct rendering"' gets me the following:

    [ 3383.079730] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

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


    dmesg gives me the following info:

    475.365641] bbswitch: enabling discrete graphics
    [ 475.612133] thinkpad_acpi: EC reports that Thermal Table has changed
    [ 475.880304] nvidia: module license 'NVIDIA' taints kernel.
    [ 475.880312] Disabling lock debugging due to kernel taint
    [ 475.893068] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=nonewns=none
    [ 475.893576] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
    [ 475.893586] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.24 Wed Jul 2 14:24:20 PDT 2014
    [ 476.103074] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
    [ 476.111216] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 476.111432] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 476.111591] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 476.111754] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 476.111917] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 476.112465] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 476.112993] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 476.113149] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 490.533192] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 490.559213] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
    [ 490.595710] NVRM: RmInitAdapter failed! (0x25:0x28:1181)
    [ 490.595722] NVRM: rm_init_adapter failed for device bearing minor number 0
    [ 490.595746] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error


    Kernel taint! I generally only have that after a huge feeding of corn!

    I'm a complete n00b with linux, having last monkeyed with unix systems during my university days in the early 90's, before the internet had a GUI. Any help you can give me would be appreciated. If you need any further info, let me know. Thanks!

  5. #55
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by nekromantik View Post
    I followed latest instructions using latest Nvidia drivers but now my Nvidia card is running all the time.
    It wont switch to Intel. Also should we not be installing bumblebee-nvidia as we are now using official drivers?
    Kali boots using Intel and as soon as you use optirun or primerun it loads Nvidia and then never switches it off.

    Please post the output of

    lsmod

    and

    cat /proc/acpi/bbswitch

    No. bumblebee-nvidia is a meta package which installs both the bumbelbee and nvidia-driver packages. The nvidia-driver package in the repo is old and not supported by many modern graphics cards. That is why the driver package is downloaded from the nvidia website.

    If you are stuck on the nvidia driver and will not swap to the power saving one, try

    service bumblebeed restart

    and

    service bumblebeed status

    Also, how do you know the driver is being loaded and not being switched off?

    For example, run

    Code:
    optirun glxspheres64
    and then run

    Code:
    glxspheres64
    Did the second command work without optirun?

  6. #56
    Join Date
    2014-Aug
    Posts
    3
    Even I am experiencing the same problem!! I am a new member to this forum and kali linux too, so forgive me if there are any mistakes.
    the second command works fine (the one without optirun)
    for me the optirun glxspheres64 returns

    [ 3224.482379] [ERROR]Cannot access secondary GPU - error: X did not start properly

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

  7. #57
    Join Date
    2014-Aug
    Location
    lotusland
    Posts
    3
    I've opted to just go into my bios and disable optimus and the integrated graphics, and will install my vendor drivers and CUDA the old fashioned way - without bumbling with bumblebee. thanks for your help. if anything, this entire experience has helped me along the road that much closer to understanding the workings of debian linux.

  8. #58
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by weak_superhero View Post
    I've opted to just go into my bios and disable optimus and the integrated graphics, and will install my vendor drivers and CUDA the old fashioned way - without bumbling with bumblebee. thanks for your help. if anything, this entire experience has helped me along the road that much closer to understanding the workings of debian linux.
    Hi there,

    I'm sorry I missed your post above asking for help. If you change your mind and try and get it working again, send me a message.

  9. #59
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Xperianist View Post
    Even I am experiencing the same problem!! I am a new member to this forum and kali linux too, so forgive me if there are any mistakes.
    the second command works fine (the one without optirun)
    for me the optirun glxspheres64 returns

    [ 3224.482379] [ERROR]Cannot access secondary GPU - error: X did not start properly

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

    Hi there,

    Please try the following commands one after each other and post all the output

    Code:
    lspci | egrep 'VGA|3D'
    Code:
    echo ON >> /proc/acpi/bbswitch
    Code:
    modprobe nvidia
    Code:
    modprobe nvidia-uvm
    Code:
    optirun glxspheres64
    Code:
    dmesg | tail -n 100
    Code:
    echo $PATH
    Code:
    cat /etc/bumblebee/bumblebee.conf
    Code:
    cat /etc/bumblebee/xorg.conf.nvidia
    Code:
    service bumblebeed restart
    Last edited by staticn0de; 2014-08-11 at 09:05.

  10. #60
    Join Date
    2014-Aug
    Posts
    1
    Quote Originally Posted by staticn0de View Post
    The following will install the latest at the time (340.24) NVIDIA driver and latest CUDA (version 6) on Kali with
    Bumblebee for Optimus laptops. Usual notes about clean installs and selecting either 32bit or 64bit depending on your
    needs from the first page still apply.

    First, update and upgrade Kali to latest
    apt-get update && apt-get upgrade && apt-get dist-upgrade

    Download VirtualGL
    http://downloads.sourceforge.net/pro...se_mirror=ufpr

    Download CUDA (this is V6 64bit)
    http://developer.download.nvidia.com...7_linux_64.run

    Download the nvidia*.run driver. Follow the bouncing ball to get what you need for your hardware
    http://www.nvidia.com/Download/index.aspx?lang=en-us

    Install VirtualGL
    cd ~
    dpkg -i virtualgl*.deb


    Add the path for VirtualGL to .bashrc
    nano ~/.bashrc
    Add a line somewhere near the top that reads:
    export PATH=$PATH:/opt/VirtualGL/bin

    Export the path so we don't have to log out and in. Run the following from terminal
    export PATH=$PATH:/opt/VirtualGL/bin

    Install the linux headers
    apt-get install linux-headers-$(uname -r)

    Some dependencies for CUDA later
    apt-get install freeglut3-dev libxmu-dev


    Add the wheezy backports Repo (yes, still needed for bumblebee but not the NVIDIA driver)
    nano /etc/apt/sources.list
    Add the following line to the file and then save
    deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
    apt-get update


    Install bumblebee (not bumblebee-nvidia)
    apt-get install bumblebee primus

    Edit the bumblebee.conf file
    nano /etc/bumblebee/bumblebee.conf

    Change line 22 so it reads:
    Driver=nvidia

    We do not need to edit line 55 as the module the nvidia installer will build is called nvidia and not nvidia-current.

    Save and close.

    Run the following and record your PCI address for your video card. It will look similar to 03:00.0

    lspci | egrep 'VGA|3D'

    Edit xorg.conf.nvidia and add a line under the 'Section "Device"' area so that is matches what is shown below. Change the bus ID to match what you recorded previously and take note that you recored a . before the last number and it is now a ':'. You need the ':'.
    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:03:00:0"

    Restart bumblebee with the following and ignore any warnings
    /etc/init.d/bumblebeed restart


    Change NVIDIA installer permissions

    cd ~
    chmod +x NVIDIA*.run


    You now need to close gdm3 because it can't be running for the driver install. Record what you need now. If you don't get a login screen when you close gdm3, press control + alt + F1
    /etc/init.d/gdm3 stop

    Now the install
    cd ~
    ./NVIDIA*.run --dkms -z


    Accept the EULA
    Select yes to register the kernel module with DKMS
    No to libs (unless you want them)
    Ok to acknowledge the website libs
    The install will take place
    Do not run X-Config. Select NO.
    The installer will close.

    Restart kali with
    shutdown -r now

    When rebooted, run optirun glxspheres64 and confirm it's working. A 'modinfo nvidia' will show that you now have the 340.24 module loaded.

    To install CUDA, chmod the installer first
    cd ~
    chmod +x cuda*.run


    And now to install
    ./cuda*.run

    Accept the EULA
    Select yes to unsupporrted 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

    For the path, we will add a little more to what we defined for VirtualGL. It should look like this in your bashrc file
    nano ~./bashrc
    export PATH=$PATH:/opt/VirtualGL/bin:/usr/local/cuda-6.0/bin


    Run the following so we don't have to log out
    export PATH=$PATH:/opt/VirtualGL/bin:/usr/local/cuda-6.0/bin

    Edit the following file so the contents match those shown below
    nano /etc/ld.so.conf

    Code:
    include /etc/ld.so.conf.d/*.conf
    /usr/local/cuda-6.0/lib64
    Save and close

    Run:
    ldconfig

    Build the nvidia samples

    cd /root/NVIDIA_CUDA-6.0_Samples
    make


    Follow the steps from the second post to run the CUDA deviceQuery script and you should see pass.

    Remember to remove or comment out the wheezy backports repo
    Hi Static,

    first things first: Sorry for my english, im German ^^

    thx a lot for your How-To!

    I have a Lenovo Y500 Ideapad with 2 GT650m SLI, 16GB RAM, Intel i7.
    I have several Problems getting my GPU's to run properly with the Nvidia Driver.
    Is there any way you can help me - i mean to chat with you over Whatsapp or something like that, sendind you Images from my Screen and having a real time help?
    I am willing to pay for your efforts.

    As I checked my Hardware in Windows there are only the both Nvidia GPU's listed, no Intel onboard GPU.
    The Cards support Optimus technology, following the Nvidia Website, but do i really need Optimus, if there is no Intel onboard GPU?

    Following your How-To step by step i get stuck after editing the Bumblebee .conf, i added both BusID's of the GPU's and the SLI Option

    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:01:00:0"
    BusID "PCI:02:00:0"
    and activating the SLI in the Options.

    After restarting bumblebee and stopping the GDM3 Service i get a black Screen with blinking cursor -> no way to get to TTY1 with "ALT CTRL F1", nor any other Hotkeys working.
    I worked around that booting in the Recovery Mode in Console.

    In Recovery mode its no Problem stopping the GDM3 and installing Nvidia.
    After rebooting i tried the optirun glxspheres64 -> Error.

    I also tried an other How-To without Bumblebee:
    http://www.blackmoreops.com/2014/03/...er-kali-linux/

    -> eveything worked fine (yeah, i edited the Xorg.conf with both BusID's and SLI and MultiGPU Option) until step 6
    In booting process after the boot information "GDM3 start", my screens gets Black, flashing one time for a second, getting black again, then both GT650m's Fans getting full thrust (airflow getting very hot) and after 30 secs or something the Laptopn shuts down - no way to get to TTY1 or anything -> no way to have any influence after the GDM3 starts.

    After reading many many Hours in Forums, HOW-To's, the Nvidia Support section, and the official Nvidia Documentation i have no Clue what to do.

    Would be nice to get an answer from You.

  11. #61
    Join Date
    2014-Aug
    Posts
    3

    Post

    Thanks for the reply!

    Code:
       lspci | egrep 'VGA|3D'
                  00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
                  0a:00.0 3D controller: NVIDIA Corporation Device 1292 (rev ff)


    Code:
    root@Kali:~# echo ON >> /proc/acpi/bbswitch
               root@Kali:~# modprobe nvidia
               root@Kali:~# modprobe nvidia-uvm
               root@Kali:~# optirun glxspheres64
               [  196.534830] [ERROR]Cannot access secondary GPU - error: X did not start properly
    
                [  196.534915] [ERROR]Aborting because fallback start is disabled.

    Code:
    root@Kali:~# dmesg | tail -n 100
    [    7.833718] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [    7.977371] uvcvideo: Found UVC 1.00 device HP Truevision HD (04f2:b40d)
    [    7.986270] input: HP Truevision HD as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/input/input10
    [    7.986450] usbcore: registered new interface driver uvcvideo
    [    7.986451] USB Video Class driver (1.1.1)
    [    8.115977] usb 1-2: ath9k_htc: Firmware htc_9271.fw requested
    [    8.116096] usbcore: registered new interface driver ath9k_htc
    [    8.375737] cfg80211: World regulatory domain updated:
    [    8.375741] cfg80211:  DFS Master region: unset
    [    8.375741] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [    8.375745] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [    8.375746] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [    8.375748] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
    [    8.375749] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [    8.375751] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [    8.375752] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
    [    8.512885] usb 1-2: firmware: direct-loading firmware htc_9271.fw
    [    8.746372] Console: switching to colour frame buffer device 170x48
    [    8.752407] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    [    8.752410] i915 0000:00:02.0: registered panic notifier
    [    8.753259] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
    [    8.753984] ACPI: Video Device [PEGP] (multi-head: yes  rom: yes  post: no)
    [    8.754174] ACPI Error: [\_SB_.PCI0.GFX0.DD02._BCL] Namespace lookup failure, AE_NOT_FOUND (20131218/psargs-359)
    [    8.754184] ACPI Error: Method parse/execution failed [\_SB_.PCI0.RP05.PEGP.DD02._BCL] (Node ffff88015e8806f0), AE_NOT_FOUND (20131218/psparse-536)
    [    8.754299] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:19/LNXVIDEO:00/input/input11
    [    8.795342] usb 1-2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [    8.796068] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
    [    8.799829] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
    [    8.844430] acpi device:3b: registered as cooling_device5
    [    8.844704] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input12
    [    8.844935] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    [    8.846918] snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
    [    8.852338] snd_hda_intel 0000:00:03.0: irq 62 for MSI/MSI-X
    [    8.997402] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input15
    [    8.997663] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input14
    [    8.997888] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input13
    [    9.026024] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input17
    [    9.026238] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input16
    [    9.032636] ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 33 credits
    [    9.298616] ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.3
    [    9.298623] ath: EEPROM regdomain: 0x809c
    [    9.298626] ath: EEPROM indicates we should expect a country code
    [    9.298629] ath: doing EEPROM country->regdmn map search
    [    9.298631] ath: country maps to regdmn code: 0x52
    [    9.298635] ath: Country alpha2 being used: CN
    [    9.298637] ath: Regpair used: 0x52
    [    9.303397] ieee80211 phy1: Atheros AR9271 Rev:1
    [    9.303431] cfg80211: Calling CRDA for country: CN
    [    9.310588] cfg80211: Regulatory domain changed to country: CN
    [    9.310596] cfg80211:  DFS Master region: unset
    [    9.310599] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [    9.310603] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [    9.310606] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2300 mBm)
    [    9.310609] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm)
    [    9.310612] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
    [    9.310615] cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
    [    9.310618] cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm)
    [    9.310620] cfg80211:   (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
    [   11.865869] EXT4-fs (sda5): re-mounted. Opts: (null)
    [   15.144614] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
    [   15.589589] loop: module loaded
    [   19.478453] Netfilter messages via NETLINK v0.30.
    [   19.547083] bbswitch: version 0.8
    [   19.547099] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [   19.547111] bbswitch: Found discrete VGA device 0000:0a:00.0: \_SB_.PCI0.RP05.PEGP
    [   19.547131] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [   19.547286] bbswitch: detected an Optimus _DSM function
    [   19.547311] pci 0000:0a:00.0: enabling device (0006 -> 0007)
    [   19.547418] bbswitch: Succesfully loaded. Discrete card 0000:0a:00.0 is on
    [   19.552195] bbswitch: disabling discrete graphics
    [   19.552222] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [   25.557236] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [   31.072128] r8169 0000:09:00.0: firmware: direct-loading firmware rtl_nic/rtl8106e-2.fw
    [   31.105575] r8169 0000:09:00.0 eth0: link down
    [   31.105630] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   35.640636] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [   36.758510] r8169 0000:09:00.0 eth0: link down
    [   36.758584] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   37.367795] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [   41.386377] wlan1: authenticate with 9c:8e:dc:1d:35:8c
    [   41.677621] wlan1: send auth to 9c:8e:dc:1d:35:8c (try 1/3)
    [   41.679346] wlan1: authenticated
    [   41.681608] wlan1: associate with 9c:8e:dc:1d:35:8c (try 1/3)
    [   41.685362] wlan1: RX AssocResp from 9c:8e:dc:1d:35:8c (capab=0x411 status=0 aid=1)
    [   41.695106] wlan1: associated
    [   41.695139] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
    [   41.695214] cfg80211: Calling CRDA for country: TW
    [   41.702625] cfg80211: Regulatory domain changed to country: TW
    [   41.702632] cfg80211:  DFS Master region: unset
    [   41.702635] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   41.702640] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm)
    [   41.702643] cfg80211:   (5270000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 1700 mBm)
    [   41.702646] cfg80211:   (5490000 KHz - 5590000 KHz @ 80000 KHz), (N/A, 3000 mBm)
    [   41.702648] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 3000 mBm)
    [   41.702651] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
    [  181.701038] bbswitch: enabling discrete graphics
    [  192.293592] nvidia: module license 'NVIDIA' taints kernel.
    [  192.293599] Disabling lock debugging due to kernel taint
    [  192.314235] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.67  Fri Apr  4 13:48:39 PDT 2014
    [  192.410048] nvidia_uvm: Loaded the UVM driver, major device number 249
    Code:
    root@Kali:~# echo $PATH
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/opt/VirtualGL

  12. #62
    Join Date
    2014-Aug
    Posts
    3
    Code:
    root@Kali:~# cat /etc/bumblebee/bumblebee.conf
    # 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
    Code:
    root@Kali:~# 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:0a: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

  13. #63
    Quote Originally Posted by staticn0de View Post
    Please post the output of

    lsmod

    and

    cat /proc/acpi/bbswitch

    No. bumblebee-nvidia is a meta package which installs both the bumbelbee and nvidia-driver packages. The nvidia-driver package in the repo is old and not supported by many modern graphics cards. That is why the driver package is downloaded from the nvidia website.

    If you are stuck on the nvidia driver and will not swap to the power saving one, try

    service bumblebeed restart

    and

    service bumblebeed status

    Also, how do you know the driver is being loaded and not being switched off?

    For example, run

    Code:
    optirun glxspheres64
    and then run

    Code:
    glxspheres64
    Did the second command work without optirun?
    It seems like bbswitch was not installed by default.
    I installed it and now it switches fine.
    Thanks

  14. #64
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    @Xperianist

    For your path, you don't need the second /opt/VirtualGL (you have it at the end) as there is no bins in that folder. Additonal paths can break your install.

    That being said, I don't think that is the issue. I can see you have installed the older drivers. I have left those there for a kind of legacy reason but you should use the latest drivers which start at post 25.

    I know it is most likely not what you are looking for but the newer drivers will most likely fix your issue ( as they have for quite a few people now)

    As for your partiular fault, do you have an Nvidia GT750M?

  15. #65
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Steffen025 View Post
    Hi Static,

    first things first: Sorry for my english, im German ^^

    thx a lot for your How-To!

    I have a Lenovo Y500 Ideapad with 2 GT650m SLI, 16GB RAM, Intel i7.
    I have several Problems getting my GPU's to run properly with the Nvidia Driver.
    Is there any way you can help me - i mean to chat with you over Whatsapp or something like that, sendind you Images from my Screen and having a real time help?
    I am willing to pay for your efforts.

    As I checked my Hardware in Windows there are only the both Nvidia GPU's listed, no Intel onboard GPU.
    The Cards support Optimus technology, following the Nvidia Website, but do i really need Optimus, if there is no Intel onboard GPU?

    Following your How-To step by step i get stuck after editing the Bumblebee .conf, i added both BusID's of the GPU's and the SLI Option

    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:01:00:0"
    BusID "PCI:02:00:0"
    and activating the SLI in the Options.

    After restarting bumblebee and stopping the GDM3 Service i get a black Screen with blinking cursor -> no way to get to TTY1 with "ALT CTRL F1", nor any other Hotkeys working.
    I worked around that booting in the Recovery Mode in Console.

    In Recovery mode its no Problem stopping the GDM3 and installing Nvidia.
    After rebooting i tried the optirun glxspheres64 -> Error.

    I also tried an other How-To without Bumblebee:
    http://www.blackmoreops.com/2014/03/...er-kali-linux/

    -> eveything worked fine (yeah, i edited the Xorg.conf with both BusID's and SLI and MultiGPU Option) until step 6
    In booting process after the boot information "GDM3 start", my screens gets Black, flashing one time for a second, getting black again, then both GT650m's Fans getting full thrust (airflow getting very hot) and after 30 secs or something the Laptopn shuts down - no way to get to TTY1 or anything -> no way to have any influence after the GDM3 starts.

    After reading many many Hours in Forums, HOW-To's, the Nvidia Support section, and the official Nvidia Documentation i have no Clue what to do.

    Would be nice to get an answer from You.
    Hi there,

    I don't have SLI in my laptop so this is not somehting I have worked with. Another forum member had issues with SLI and I replied with some information I found and they never came back, it was either very useful or not useful at all so give it a try.

    First, post the output of the following so I can tell you if you need optimus at all

    Code:
    lspci | egrep 'VGA|3D'
    This is the post I replied about SLI

    https://forums.kali.org/showthread.p...ll=1#post35604

    If you don't have the onboard intel you do not need optimus. If it's just enabling SLI, it should be as *easy* as installing NVIDIA, enabling SLI in XORG and rebooting. Lets see how we go.

    If you don't need optimus and installed bumblebee, it would do an awesome job at killing your graphics.

  16. #66
    Join Date
    2014-Aug
    Posts
    3

    correct installed nvidia driver, but no acces to GPU (1/2)

    hello, I have a problem after installing the nvidia driver (which works apparently correct, because there is no error and 'modinfo nvidia' shows version 340.24)
    after rebooting, I use "optirun glxspheres64" but i get this error message and my fans going crazy (maximum speed):
    Code:
    optirun glxspheres64
    [ 1492.076369] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
    
    [ 1492.076523] [ERROR]Aborting because fallback start is disabled.
    Maybe you could help me with this issue?
    I'll give you some information about my system:

    uname -r
    Code:
    3.14-kali1-amd64
    cat /etc/modprobe.d/bumblebee.conf
    Code:
    # installed by bumblebee-nvidia
    
    # do not automatically load nouveau as it may prevent nvidia from loading
    blacklist nouveau
    # do not automatically load nvidia as it's unloaded anyway when bumblebeed
    # starts and may fail bumblebeed to disable the card in a race condition.
    blacklist nvidia
    blacklist nvidia-current
    blacklist nvidia-current-updates
    # 304
    blacklist nvidia-304
    blacklist nvidia-304-updates
    blacklist nvidia-experimental-304
    # 310
    blacklist nvidia-310
    blacklist nvidia-310-updates
    blacklist nvidia-experimental-310
    # 313
    blacklist nvidia-313
    blacklist nvidia-313-updates
    blacklist nvidia-experimental-313
    # 319
    blacklist nvidia-319
    blacklist nvidia-319-updates
    blacklist nvidia-experimental-319
    # 325
    blacklist nvidia-325
    blacklist nvidia-325-updates
    blacklist nvidia-experimental-325
    dmesg (bbswitch can't "enable discrete graphics", maybe this is the problem?)
    Code:
    dmesg
    
    [    7.331956] Console: switching to colour frame buffer device 240x67
    [    7.340826] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    [    7.340829] i915 0000:00:02.0: registered panic notifier
    [    7.341167] ACPI Exception: AE_NOT_FOUND, Evaluating _DOD (20131218/video-1245)
    [    7.341418] ACPI: Video Device [PEGP] (multi-head: no  rom: yes  post: no)
    [    7.341835] acpi device:38: registered as cooling_device5
    [    7.341913] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:36/LNXVIDEO:00/input/input12
    [    7.359788] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
    [    7.360290] acpi device:44: registered as cooling_device6
    [    7.360511] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input13
    [    7.360745] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    [    7.361764] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X
    [    7.606402] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input14
    [    7.765829] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
    [    7.766024] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
    [    7.766179] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
    [    7.811610] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
    [    9.639508] Adding 1413116k swap on /dev/sda6.  Priority:-1 extents:1 across:1413116k 
    [    9.658588] EXT4-fs (sda5): re-mounted. Opts: (null)
    [    9.906212] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
    [   10.352065] loop: module loaded
    [   12.470646] atl1c 0000:0e:00.0: irq 47 for MSI/MSI-X
    [   12.471338] atl1c 0000:0e:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
    [   14.629139] bbswitch: version 0.8
    [   14.629154] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [   14.629163] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
    [   14.629188] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [   14.629343] bbswitch: detected an Optimus _DSM function
    [   14.629366] pci 0000:01:00.0: enabling device (0006 -> 0007)
    [   14.629451] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
    [   14.633271] bbswitch: disabling discrete graphics
    [   14.633294] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [   14.925969] Netfilter messages via NETLINK v0.30.
    [   18.198246] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  482.635755] bbswitch: enabling discrete graphics
    [  483.339458] nvidia: module license 'NVIDIA' taints kernel.
    [  483.339466] Disabling lock debugging due to kernel taint
    [  483.353271] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
    [  483.353819] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
    [  483.353829] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.24  Wed Jul  2 14:24:20 PDT 2014
    [  483.627585] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
    [  483.635720] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  483.635781] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  483.635809] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  483.635834] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  483.635859] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  483.635884] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  483.635967] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  483.635993] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  501.309962] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  501.336065] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
    [  501.336100] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
    [  501.368958] NVRM: RmInitAdapter failed! (0x25:0x28:1181)
    [  501.368970] NVRM: rm_init_adapter failed for device bearing minor number 0
    [  501.368995] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
    [  935.094761] bbswitch: enabling discrete graphics
    [ 1493.777226] bbswitch: enabling discrete graphics
    [ 1493.792829] nvidia 0000:01:00.0: Refused to change power state, currently in D3
    [ 2000.720559] bbswitch: enabling discrete graphics
    [ 2000.736015] nvidia 0000:01:00.0: Refused to change power state, currently in D3
    lspci | egrep 'VGA|3D'
    Code:
    lspci | egrep 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 650M] (rev ff)
    modinfo nvidia
    Code:
    modinfo nvidia
    filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
    alias:          char-major-195-*
    version:        340.24
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm,i2c-core
    vermagic:       3.14-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_RemapLimit:int
    parm:           NVreg_UpdateMemoryTypes:int
    parm:           NVreg_InitializeSystemMemoryAllocations:int
    parm:           NVreg_RMEdgeIntrCheck: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
    modinfo nvidia-uvm
    Code:
    modinfo nvidia-uvm
    filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko
    supported:      external
    license:        MIT
    depends:        nvidia
    vermagic:       3.14-kali1-amd64 SMP mod_unload modversions
    echo $PATH
    Code:
    echo $PATH
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-6.0/bin

  17. #67
    Join Date
    2014-Aug
    Posts
    3

    correct (?) installed nvidia driver, but no acces to GPU (2/2)

    find 2> /dev/null / -name nvidia*.ko
    Code:
    find 2> /dev/null / -name nvidia*.ko
    /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko
    /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
    /var/lib/dkms/nvidia/340.24/3.14-kali1-amd64/x86_64/module/nvidia-uvm.ko
    /var/lib/dkms/nvidia/340.24/3.14-kali1-amd64/x86_64/module/nvidia.ko
    /etc/bumblebee/xorg.nvidia.conf
    Code:
    /etc/bumblebee/xorg.nvidia.conf
    bash: /etc/bumblebee/xorg.nvidia.conf: No such file or directory
    /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
    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


    I hope someone can help me, please
    thx

  18. #68
    Join Date
    2014-Aug
    Posts
    3

    the solution for a very common error with bumblebee: Failed to initialize...

    ERROR: Failed to initialize the NVIDIA GPU at PCI:1:0:0

    solution found on this site:
    https://github.com/Bumblebee-Project...bee/issues/542

    changing
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    to
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet rcutree.rcu_idle_gp_delay=1"
    in /etc/default/grub.
    I tried it and it worked

  19. #69
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by tonrin View Post
    ERROR: Failed to initialize the NVIDIA GPU at PCI:1:0:0

    solution found on this site:
    https://github.com/Bumblebee-Project...bee/issues/542

    changing
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    to
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet rcutree.rcu_idle_gp_delay=1"
    in /etc/default/grub.
    I tried it and it worked
    Hi tonrin!

    Thanks for sharing your fix, I know a lot of users will appreciate it.

    For anyone using this fix, make sure you run an update-grub after making changes.

    To see if this will work for you as a fix before modifying that file and running update-grub, you can run the following (I can't credit the original creator as this has been posted on about 40 different sites in relation to this fix)

    Code:
    sudo tee /sys/module/rcutree/parameters/rcu_idle_gp_delay <<<1
    and then try optirun glxspheres64

    If that fixes it, you should update the grub file.

  20. #70
    Join Date
    2014-Jul
    Posts
    5
    Hey all,

    I have a problem with the following:
    Code:
    root@kali:~# optirun glxspheres64 
    [  347.923592] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
    [  347.923672] [ERROR]Could not connect to bumblebee daemon - is it running?
    Code:
    root@kali:~# dmesg | tail -n 30
    [    5.971403] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [    5.971960] bbswitch: detected an Optimus _DSM function
    [    5.971977] pci 0000:02:00.0: enabling device (0004 -> 0007)
    [    5.972028] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on
    [    6.106233] Netfilter messages via NETLINK v0.30.
    [    6.226566] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
    [    6.329054] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
    [    6.329158] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    6.330542] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
    [    6.330782] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
    [    6.343007] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [    6.620947] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
    [    6.820633] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input10
    [   13.634626] wlan0: authenticate with 24:a2:e1:ec:af:5a
    [   13.638425] wlan0: send auth to 24:a2:e1:ec:af:5a (try 1/3)
    [   13.640307] wlan0: authenticated
    [   13.641771] wlan0: associate with 24:a2:e1:ec:af:5a (try 1/3)
    [   13.645717] wlan0: RX AssocResp from 24:a2:e1:ec:af:5a (capab=0x1411 status=0 aid=1)
    [   13.647617] wlan0: associated
    [   13.647676] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   13.647758] cfg80211: Calling CRDA for country: PL
    [   13.655344] cfg80211: Regulatory domain changed to country: PL
    [   13.655351] cfg80211:  DFS Master region: unset
    [   13.655354] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   13.655359] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [   13.655362] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [   13.655365] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [   13.655368] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2700 mBm)
    [   13.655371] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
    [   13.691353] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by 24:a2:e1:ec:af:5a
    Do you have any ideas ?
    if more info needed please let me know

  21. #71
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by johnnyinc View Post
    Hey all,

    I have a problem with the following:
    Code:
    root@kali:~# optirun glxspheres64 
    [  347.923592] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
    [  347.923672] [ERROR]Could not connect to bumblebee daemon - is it running?
    Code:
    root@kali:~# dmesg | tail -n 30
    [    5.971403] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [    5.971960] bbswitch: detected an Optimus _DSM function
    [    5.971977] pci 0000:02:00.0: enabling device (0004 -> 0007)
    [    5.972028] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on
    [    6.106233] Netfilter messages via NETLINK v0.30.
    [    6.226566] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
    [    6.329054] e1000e 0000:00:19.0: irq 43 for MSI/MSI-X
    [    6.329158] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    6.330542] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
    [    6.330782] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
    [    6.343007] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [    6.620947] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
    [    6.820633] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input10
    [   13.634626] wlan0: authenticate with 24:a2:e1:ec:af:5a
    [   13.638425] wlan0: send auth to 24:a2:e1:ec:af:5a (try 1/3)
    [   13.640307] wlan0: authenticated
    [   13.641771] wlan0: associate with 24:a2:e1:ec:af:5a (try 1/3)
    [   13.645717] wlan0: RX AssocResp from 24:a2:e1:ec:af:5a (capab=0x1411 status=0 aid=1)
    [   13.647617] wlan0: associated
    [   13.647676] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   13.647758] cfg80211: Calling CRDA for country: PL
    [   13.655344] cfg80211: Regulatory domain changed to country: PL
    [   13.655351] cfg80211:  DFS Master region: unset
    [   13.655354] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   13.655359] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [   13.655362] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [   13.655365] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [   13.655368] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2700 mBm)
    [   13.655371] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
    [   13.691353] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by 24:a2:e1:ec:af:5a
    Do you have any ideas ?
    if more info needed please let me know
    Try the following

    /etc/init.d/bumblebeed start

    If that fails, I would guess that bbswitch failed to install correctly.

    Try :

    apt-get install linux-headers-$(uname -r)
    apt-get install --reinstall bbswitch
    /etc/init.d/bumblebeed start

    Edit: try optirun -vv glxspheres64

    The above will give more debugging info. With dmesg, try -n 100 so it has some more info in it.
    Last edited by staticn0de; 2014-08-21 at 09:39.

  22. #72
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Hashcat 1.30 seems to be out http://ftp.tku.edu.tw/kali/pool/non-free/o/oclhashcat/
    oclhashcat_1.30-0kali1_amd64.deb 2014-08-22 21:36 120M
    Any theory as to why the new package is now 120Mb instead of 508Mb !?



    Sincerely,

    Seriously Confused
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  23. #73
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    Hashcat 1.30 seems to be out http://ftp.tku.edu.tw/kali/pool/non-free/o/oclhashcat/


    Any theory as to why the new package is now 120Mb instead of 508Mb !?



    Sincerely,

    Seriously Confused
    Hey Quest,

    The obvious changes are that the cudahashcat binary has been removed (no large change in file size there)

    The other one is that the 4318 folder within usr/share/kernels has been removed. That was a very large folder and accounts for the size difference.

    On the + the change log says support for 340.24 has been added

  24. #74
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Thanks again friend. Good to have someone onboard that understand these things =]

    How did you go about installing 1.30 (I presume you did install it) ? Did you uninstall 1.01 first? If so what is the alchemical formula? How many dead frogs and bats will I need to upgrade to 1.30, or do I simply install on top of 1.01?
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  25. #75
    Join Date
    2014-Aug
    Posts
    1
    Many thanks man! it's work very nice for me

    Code:
    CUDA Device Query (Runtime API) version (CUDART static linking)
    
    Detected 1 CUDA Capable device(s)
    
    Device 0: "GeForce GTX 870M"
      CUDA Driver Version / Runtime Version          6.5 / 6.0
      CUDA Capability Major/Minor version number:    3.0
      Total amount of global memory:                 3072 MBytes (3221028864 bytes)
      ( 7) Multiprocessors, (192) CUDA Cores/MP:     1344 CUDA Cores
      GPU Clock rate:                                967 MHz (0.97 GHz)
      Memory Clock rate:                             2500 Mhz
      Memory Bus Width:                              192-bit
      L2 Cache Size:                                 393216 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 Bus ID / PCI location ID:           1 / 0
      Compute Mode:
         < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
    
    deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.5, CUDA Runtime Version = 6.0, NumDevs = 1, Device0 = GeForce GTX 870M
    Result = PASS

  26. #76
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    Thanks again friend. Good to have someone onboard that understand these things =]

    How did you go about installing 1.30 (I presume you did install it) ? Did you uninstall 1.01 first? If so what is the alchemical formula? How many dead frogs and bats will I need to upgrade to 1.30, or do I simply install on top of 1.01?
    I have not installed it yet, I downloaded and unpacked the .debs and ran them through some compare software.

    at a guess, I would say

    apt-get remove --purge oclhashcat && apt-get install oclhashcat

    I'll try soon though and post how it goes

  27. #77
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    ehh, something funky is going on. After uninstall 1.01 and installing 1.30, using the test command
    ./cudaHashcat.bin -t 32 -a 7 example0.hash ?a?a?a?a example.dict
    does not work.



    ./oclHashcat.bin -t 32 -a 7 example0.hash ?a?a?a?a example.dict
    rturns:
    ERROR: No AMD/SDS compatible platform found

    root@kali:/usr/share/oclhashcat#

    could this be a AMD only release?


    Edit:
    Code:
    apt-get install oclhashcat
    returns:
    http://http.kali.org/kali/ kali/non-free oclhashcat amd64 1.01-1kali2 [533 MB]
    so I do not know what that oclHashcat 1.30 package is.
    Last edited by Quest; 2014-08-25 at 03:23.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  28. #78
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    ehh, something funky is going on. After uninstall 1.01 and installing 1.30, using the test command
    does not work.



    rturns:



    could this be a AMD only release?


    Edit:
    Code:
    apt-get install oclhashcat
    returns:


    so I do not know what that oclHashcat 1.30 package is.
    Well, you are right. That is an AMD only release.

    The good news is, cudahashcat 1.30 does work on Kali (I just crunched that example hash). The bad news is, it is not in the repo and I had to install it manually (first world problems, right?)

    I'm trying my hand at making my own .deb which will install 1.30 on Kali. I've never done that before so I have no ETA. May be easier to extract hashcat and my soft links to the .bin.

  29. #79
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    ehh, something funky is going on. After uninstall 1.01 and installing 1.30, using the test command
    does not work.



    rturns:



    could this be a AMD only release?


    Edit:
    Code:
    apt-get install oclhashcat
    returns:


    so I do not know what that oclHashcat 1.30 package is.
    Amazingly, my deb works.

    Code:
    root@kali:~# dpkg -i cudaHashcat-1.30.deb 
    Selecting previously unselected package cudahashcat-1.30.
    (Reading database ... 349321 files and directories currently installed.)
    Unpacking cudahashcat-1.30 (from cudaHashcat-1.30.deb) ...
    Setting up cudahashcat-1.30 (1.30) ...          
    root@kali:~# optirun cudahashcat64 -t 32 -a 7 example0.hash ?a?a?a?a example.dict 
    cudaHashcat v1.30 starting...
    I have taken the archive from the hashcat site and modified it under section 6 of their EULA. The deb installs the program is /usr/share/cudahashcat and places scripts in /usr/bin which calls hashcat like any other command.

    I'll upload it tonight for anyone that wants to use it. Provided as is with no expectation it will work and it may cause damages including death and your wife leaving you (tic) but you get the idea.

    Weighs in at 172mb

    Edit:

    Download link:
    https://www.mirrorcreator.com/files/...1.30.deb_links

    SHA1SUM
    f2c0d96c75d1c186b48e11c5b399f3e2ccc5e459

    when installed, its called with 'cudahashcat64' for 64bit or 'cudahashcat32' for 32 bit.
    Last edited by staticn0de; 2014-08-26 at 04:58.

  30. #80
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Thanks staticn0de!

    What a bizarre file naming convention. They seem to have enormous difficulties identifying their own creation... And now I'm abit suspicious about the file size difference between 1.01/1.30 What else are we missing?

    I cannot try it now, and I have very little experience with Hashcat anyways, but something tells me that 1.30 is missing a few feathers...



    Edit:

    Works bro!

    Not much difference (for this test). Actually I'm now 2mins slower than I was with 1.01

    Code:
    ===============================CudaHashcat 1.01:
    
    Session.Name...: cudaHashcat
    Status.........: Exhausted
    Input.Base.....: Mask (?a?a?a?a) [4]
    Input.Mod......: File (example.dict)
    Hash.Target....: File (example0.hash)
    Hash.Type......: MD5
    Time.Started...: Mon Jul 28 18:22:33 2014 (12 mins, 7 secs)
    Time.Estimated.: 0 secs
    Speed.GPU.#1...:   187.9 MH/s
    Recovered......: 2190/6494 (33.72%) Digests, 0/1 (0.00%) Salts
    Progress.......: 136302297088/136302297088 (100.00%)
    Rejected.......: 0/136302297088 (0.00%)
    HWMon.GPU.#1...: -1% Util, 69c Temp, -1% Fan
    
    Started: Mon Jul 28 18:22:33 2014
    Stopped: Mon Jul 28 18:34:46 2014 (12mins)
    
    
    
    ===============================CudaHashcat 1.30:
    
    Session.Name...: cudaHashcat
    Status.........: Exhausted
    Input.Base.....: Mask (?a?a?a?a) [4]
    Input.Mod......: File (example.dict)
    Hash.Target....: File (example0.hash)
    Hash.Type......: MD5
    Time.Started...: 0 secs
    Time.Estimated.: 0 secs
    Speed.GPU.#1...: 41304.2 kH/s
    Recovered......: 2190/6494 (33.72%) Digests, 0/1 (0.00%) Salts
    Progress.......: 136302297088/136302297088 (100.00%)
    Skipped........: 0/136302297088 (0.00%)
    Rejected.......: 0/136302297088 (0.00%)
    HWMon.GPU.#1...: -1% Util, 66c Temp, -1% Fan
    
    Started: Mon Aug 25 20:44:03 2014
    Stopped: Mon Aug 25 20:58:04 2014 (14mins)
    Regardless, your .deb works!
    Last edited by Quest; 2014-08-26 at 01:09.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  31. #81
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    Thanks staticn0de!

    What a bizarre file naming convention. They seem to have enormous difficulties identifying their own creation... And now I'm abit suspicious about the file size difference between 1.01/1.30 What else are we missing?

    I cannot try it now, and I have very little experience with Hashcat anyways, but something tells me that 1.30 is missing a few feathers...



    Edit:

    Works bro!

    Not much difference (for this test). Actually I'm now 2mins slower than I was with 1.01

    Code:
    ===============================CudaHashcat 1.01:
    
    Session.Name...: cudaHashcat
    Status.........: Exhausted
    Input.Base.....: Mask (?a?a?a?a) [4]
    Input.Mod......: File (example.dict)
    Hash.Target....: File (example0.hash)
    Hash.Type......: MD5
    Time.Started...: Mon Jul 28 18:22:33 2014 (12 mins, 7 secs)
    Time.Estimated.: 0 secs
    Speed.GPU.#1...:   187.9 MH/s
    Recovered......: 2190/6494 (33.72%) Digests, 0/1 (0.00%) Salts
    Progress.......: 136302297088/136302297088 (100.00%)
    Rejected.......: 0/136302297088 (0.00%)
    HWMon.GPU.#1...: -1% Util, 69c Temp, -1% Fan
    
    Started: Mon Jul 28 18:22:33 2014
    Stopped: Mon Jul 28 18:34:46 2014 (12mins)
    
    
    
    ===============================CudaHashcat 1.30:
    
    Session.Name...: cudaHashcat
    Status.........: Exhausted
    Input.Base.....: Mask (?a?a?a?a) [4]
    Input.Mod......: File (example.dict)
    Hash.Target....: File (example0.hash)
    Hash.Type......: MD5
    Time.Started...: 0 secs
    Time.Estimated.: 0 secs
    Speed.GPU.#1...: 41304.2 kH/s
    Recovered......: 2190/6494 (33.72%) Digests, 0/1 (0.00%) Salts
    Progress.......: 136302297088/136302297088 (100.00%)
    Skipped........: 0/136302297088 (0.00%)
    Rejected.......: 0/136302297088 (0.00%)
    HWMon.GPU.#1...: -1% Util, 66c Temp, -1% Fan
    
    Started: Mon Aug 25 20:44:03 2014
    Stopped: Mon Aug 25 20:58:04 2014 (14mins)
    Regardless, your .deb works!
    Hey Quest,

    Thanks for trying it, you can unpack it manually and see how I did it with the 'ar' command.

    Regards to what else we are missing, it's all kernel files. At a guess I would say they are no longer supported. When they are unpacked they take up huge amounts of disk space.

  32. #82
    Join Date
    2014-Aug
    Posts
    1

    optirun glxspheres64 suddenly shutdown laptop

    Hi,I am setting up bumblebee for my GT 650M following the guide on post #25 but when I run optirun glxspheres64 my laptop suddenly shutdown. Here's some command returns:

    Code:
    # lspci | egrep 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 650M] (rev ff)
    Code:
    modinfo nvidia
    filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
    alias:          char-major-195-*
    version:        340.32
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm,i2c-core
    vermagic:       3.14-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_RemapLimit: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
    Thanks in advance.

  33. #83
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by ryuga View Post
    Hi,I am setting up bumblebee for my GT 650M following the guide on post #25 but when I run optirun glxspheres64 my laptop suddenly shutdown. Here's some command returns:

    Code:
    # lspci | egrep 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 650M] (rev ff)
    Code:
    modinfo nvidia
    filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
    alias:          char-major-195-*
    version:        340.32
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm,i2c-core
    vermagic:       3.14-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_RemapLimit: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
    Thanks in advance.
    Hi there,

    Try this from terminal and then run glxspheres64 with optirun

    Code:
    sudo tee /sys/module/rcutree/parameters/rcu_idle_gp_delay <<<1
    If that works, follow this post to make the change permanent

    https://forums.kali.org/showthread.p...ll=1#post36390

  34. #84
    Join Date
    2014-Aug
    Posts
    1

    pls

    Hi staticn0de! Greate job. thank you.
    excuse me for my English.
    i did everything like 25 post suggests. and use last version of driver from nvidia
    but have the same problem with "optirun glxspheres" like Xperianist

    my HW
    HP Pavilion 15-n060er with Intel and Nvidia GeForce 750M VGA
    do you know how can i configure the system to use only discrete VGA?

    Maybe Xperianist solved this problem? if you did please share solution

    Any ideas? please help me with this. waiting for your answer

  35. #85
    Quote Originally Posted by staticn0de View Post
    Hey there,

    nvidia-glx is not required for the second install. This is a transitional package to install the older drivers.

    That being said, i'm going to need a lot more information from you to help.

    -snip-

    That should do for a start
    Okay, here we go! About time, right? Lol.

    dmesg after running optirun glxspheres64:
    Code:
    [  239.050292] nvidia: module license 'NVIDIA' taints kernel.
    [  239.050298] Disabling lock debugging due to kernel taint
    [  239.620698] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
    [  239.620969] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
    [  239.620973] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.32  Tue Aug  5 20:58:26 PDT 2014
    [  303.632166] vgaarb: this pci device is not a vga device
    [  303.633346] nvidia 0000:01:00.0: irq 54 for MSI/MSI-X
    [  303.646647] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  303.646790] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  303.646873] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  303.646950] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  303.647024] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  303.647098] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  303.647214] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  303.647290] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  309.149085] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [  309.150859] NVRM: RmInitAdapter failed! (0x24:0x38:1170)
    [  309.150873] NVRM: rm_init_adapter failed for device bearing minor number 0
    [  309.150909] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
    /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
    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
    /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
    lspci | egrep 'VGA|3D'
    Code:
    00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)
    01:00.0 3D controller: NVIDIA Corporation Device 0fe4 (rev a1)
    modinfo nvidia
    Code:
    filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
    alias:          char-major-195-*
    version:        340.32
    supported:      external
    license:        NVIDIA
    alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
    alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
    alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
    depends:        drm,i2c-core
    vermagic:       3.14-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_RemapLimit: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
    modinfo nvidia-uvm
    Code:
    filename:       /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko
    supported:      external
    license:        MIT
    depends:        nvidia
    vermagic:       3.14-kali1-amd64 SMP mod_unload modversions
    echo $PATH
    Code:
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-6.5/bin
    find 2> /dev/null / -name nvidia*.ko
    Code:
    /var/lib/dkms/nvidia/340.32/3.14-kali1-amd64/x86_64/module/nvidia.ko
    /var/lib/dkms/nvidia/340.32/3.14-kali1-amd64/x86_64/module/nvidia-uvm.ko
    /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
    /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko

  36. #86
    One more thing.. I realized that if I edit /etc/bumblebee/xorg.conf.nvidia and don't run the /etc/init.d/bumblebee restart command after, optirun glxspherest64 works, but only once. Here's the optirun and dmesg after it works for the first time.

    optirun glxspheres64
    Code:
    Polygons in scene: 62464
    Visual ID of window: 0x21
    Context is Direct
    OpenGL Renderer: GeForce GT 750M/PCIe/SSE2
    dmesg
    Code:
    [ 1219.791269] vgaarb: this pci device is not a vga device
    [ 1219.791988] nvidia 0000:01:00.0: irq 54 for MSI/MSI-X
    [ 1219.801105] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.801210] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.801273] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.801331] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.801386] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.801441] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.801529] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.801585] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1219.802873] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1220.019129] vgaarb: this pci device is not a vga device
    [ 1265.335361] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1265.345654] [drm] Module unloaded
    [ 1265.347855] bbswitch: disabling discrete graphics
    [ 1265.347873] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [ 1265.364199] pci 0000:01:00.0: Refused to change power state, currently in D0
    Everything after the second "this pci device is not a vga device" ([ 1220.019129]) is after I close out of the glxsphere window.
    Thanks for your help!

    edit:

    I had thought I read all of the posts before posting but it seems I may have missed one.

    Using the solution tonrin posted worked for me too!

    Still lots of errors in dmesg but deviceQuery results in a pass!
    Last edited by Rarity; 2014-08-30 at 00:13.

  37. #87
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    This section is dedicated to common issues users experience and will be updated as more errors are reported

    ERROR: could not insert 'nvidia_uvm': No such device

    If you are receiving this error, be sure to run dmesg and post the output on the forums. This is normally caused because the driver the driver can not identify the hardware or be loaded by the kernel. Try the latest version of the driver if you are using a more modern graphics card.

    I restarted the computer and I have a blank screen / screen with a solid cursor in the corner

    I told you not to run nvidia-xconfig, didn't I?. Boot into recovery mode or use a live USB. Mount your file system and delete the xrog configuration file generated that nvidia-xconfig created.

    /etc/init.d/bumbelbeed status shows that it is not running and it fails to restart

    If you did not install linux-headers-$(uname -r) at the start, bbswitch can not be built and as a result, you can not swap between drivers and bumblebee can't load. Install the headers and reinstall bbswitch-dkms

    When I run 'optirun glxspheres64' my screen goes black and the fans run at full speed. During my ensuing heart attack, the computer turns off. What do i do? OR alternatively, optirun glxspheres64 fails the first time I run it but works every second time.

    This is a problem across all distributions using bumblebee. However, it is an easy fix. You may also see errors like that below:

    Code:
    [ 3224.482379] [ERROR]Cannot access secondary GPU - error: X did not start properly
    
    [ 3224.482467] [ERROR]Aborting because fallback start is disabled.
    or

    Code:
    ERROR: Failed to initialize the NVIDIA GPU at PCI:1:0:0

    To see if this fix will work for you before modifying grub, you can run the following:

    Code:
    sudo tee /sys/module/rcutree/parameters/rcu_idle_gp_delay <<<1
    If that fixed it, edit /etc/default/grub and change:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    To

    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet rcutree.rcu_idle_gp_delay=1"
    and run 'update-grub' and restart.

  38. #88
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    For anyone interested, this guide will work with the newer CUDA 6.5 and NVIDIA 340.32 drivers.

    Albeit, it's a bit slower. My pyrit benchmark has gone from ~11000 on CUDA 6.0 and NVIDIA 340.24 to ~7800 with the drivers mentioned above.

  39. #89
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Thanks for the "common issues" guide and the new driver heads up... I wish I could say "can't stop progress", but that drop in performance is anything but. Sabotage might be a more appropriate term?
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  40. #90
    Join Date
    2014-Sep
    Posts
    4
    Quote Originally Posted by staticn0de View Post
    Now, I know you want to see it in action so the next part will install pryit.

    First, remove the wheezy repo. You may either comment out the line we added or delete it.
    nano /etc/apt/sources.list
    Save the file
    apt-get update

    The following instructions are slightly modified from the pyrit google code page here. Give them all your love.
    https://code.google.com/p/pyrit/wiki/Installation

    Moving to home directory as I'm installing there
    cd ~

    Checkout pyrit
    svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn


    Install required libraries
    apt-get install libpcap-dev

    cd pyrit_svn/pyrit/
    python setup.py build
    python setup.py install


    Now to add CUDA support
    cd ../cpyrit_cuda/
    python setup.py build
    python setup.py install


    Now, what we have been waiting for this entire time. Lets see it work.
    optirun pyrit benchmark

    And we are done.
    Who had problem when issued command #python setup.py build and screen give output like this
    root@kali:~/pyrit-0.4.0# python setup.py build
    svn: '.' is not a working copy
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying pyrit_cli.py -> build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/__init__.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/cpyrit.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/util.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/pckttools.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/config.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/network.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/storage.py -> build/lib.linux-x86_64-2.7/cpyrit
    running build_ext
    building 'cpyrit._cpyrit_cpu' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/cpyrit
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.0"
    cpyrit/_cpyrit_cpu.c:32:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    Solution :

    #apt-get install build-essential python-dev libssl-dev

    and it should be works now

  41. #91
    Join Date
    2014-Sep
    Posts
    4
    Quote Originally Posted by staticn0de View Post
    Now, I know you want to see it in action so the next part will install pryit.

    First, remove the wheezy repo. You may either comment out the line we added or delete it.
    nano /etc/apt/sources.list
    Save the file
    apt-get update

    The following instructions are slightly modified from the pyrit google code page here. Give them all your love.
    https://code.google.com/p/pyrit/wiki/Installation

    Moving to home directory as I'm installing there
    cd ~

    Checkout pyrit
    svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn


    Install required libraries
    apt-get install libpcap-dev

    cd pyrit_svn/pyrit/
    python setup.py build
    python setup.py install


    Now to add CUDA support
    cd ../cpyrit_cuda/
    python setup.py build
    python setup.py install


    Now, what we have been waiting for this entire time. Lets see it work.
    optirun pyrit benchmark

    And we are done.
    Who had problem like me when issued command #phyton setup.py build , and your screen give output like this

    root@kali:~/pyrit-0.4.0# python setup.py build
    svn: '.' is not a working copy
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying pyrit_cli.py -> build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/__init__.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/cpyrit.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/util.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/pckttools.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/config.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/network.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/storage.py -> build/lib.linux-x86_64-2.7/cpyrit
    running build_ext
    building 'cpyrit._cpyrit_cpu' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/cpyrit
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.0"
    cpyrit/_cpyrit_cpu.c:32:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    this command should fix it

    #apt-get install build-essential python-dev libssl-dev

  42. #92
    Join Date
    2014-Sep
    Posts
    4
    Quote Originally Posted by staticn0de View Post
    Now, I know you want to see it in action so the next part will install pryit.

    First, remove the wheezy repo. You may either comment out the line we added or delete it.
    nano /etc/apt/sources.list
    Save the file
    apt-get update

    The following instructions are slightly modified from the pyrit google code page here. Give them all your love.
    https://code.google.com/p/pyrit/wiki/Installation

    Moving to home directory as I'm installing there
    cd ~

    Checkout pyrit
    svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn


    Install required libraries
    apt-get install libpcap-dev

    cd pyrit_svn/pyrit/
    python setup.py build
    python setup.py install


    Now to add CUDA support
    cd ../cpyrit_cuda/
    python setup.py build
    python setup.py install


    Now, what we have been waiting for this entire time. Lets see it work.
    optirun pyrit benchmark

    And we are done.
    Who had problem like me when issued command #phyton setup.py build , and your screen give output like this

    root@kali:~/pyrit-0.4.0# python setup.py build
    svn: '.' is not a working copy
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying pyrit_cli.py -> build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/__init__.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/cpyrit.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/util.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/pckttools.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/config.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/network.py -> build/lib.linux-x86_64-2.7/cpyrit
    copying cpyrit/storage.py -> build/lib.linux-x86_64-2.7/cpyrit
    running build_ext
    building 'cpyrit._cpyrit_cpu' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/cpyrit
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.0"
    cpyrit/_cpyrit_cpu.c:32:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    this command should fix it

    #apt-get install build-essential python-dev libssl-dev

  43. #93
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580

    this week's paranormal mystery...

    interesting Voodoo stuff..

    I have to run
    Code:
    optirun pyrit benchmark
    right after booting into Kali for my nVidia to 'wakeup'.
    If I wait more than 5mins after booting, no nVidia related operations work.

    root@kali:~# optirun pyrit benchmark
    [11828.399100] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

    [11828.399158] [ERROR]Aborting because fallback start is disabled.
    root@kali:~#
    It doesn't matter what I try. I have to restart the computer, then run optirun pyrit benchmark
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  44. #94
    Join Date
    2014-Sep
    Posts
    11
    Hi.
    I've been trying to make Bumblebee work since yesterday, but with no luck.
    QUOTING: "/etc/init.d/bumbelbeed status shows that it is not running and it fails to restart". I've exactly this problem, but I've installed linux-headers and bbswitch-dkms (and followed all the guide in post #25 until the instruction "/etc/init.d/bumblebeed restart
    ").

    Any hint? I don't know which log I've to post here, so let me know.
    Thank you all.

  45. #95
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Davide3i View Post
    Hi.
    I've been trying to make Bumblebee work since yesterday, but with no luck.
    QUOTING: "/etc/init.d/bumbelbeed status shows that it is not running and it fails to restart". I've exactly this problem, but I've installed linux-headers and bbswitch-dkms (and followed all the guide in post #25 until the instruction "/etc/init.d/bumblebeed restart
    ").

    Any hint? I don't know which log I've to post here, so let me know.
    Thank you all.
    Hey there,

    This will most likely be something simple.

    Post the output of:

    use the [CODE] brackets to paste the output of commands (the code close bracket is a [*/CODE] without the *. Put all the text between them.

    run optirun glxspheres64 and then paste the output of the command below. The last 30 lines or so.
    Code:
    dmesg
    Paste your /etc/bumblebee/bumblebee.conf

    Paste your /etc/bumblebee/xorg.nvidia.conf

    Paste the output of
    Code:
    lspci | egrep 'VGA|3D'
    Paste the output of
    Code:
    modinfo nvidia
    and

    Code:
    modinfo nvidia-uvm
    and

    Code:
     lsmod
    and

    Code:
     cat /proc/acpi/bbswitch
    and

    Code:
    echo $PATH
    Paste the output of
    Code:
    find 2> /dev/null / -name nvidia*.ko
    I know it's a lot, but as you are a new user it saves the turn around for your posts to get on the forum.

    also, try apt-get install linux-headers-$(uname -r) && apt-get install --reinstall bbswitch-dkms

  46. #96
    Join Date
    2014-Sep
    Posts
    11
    After some more struggling, I've managed to make it work.
    Thank you for your guide.

  47. #97
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Davide3i View Post
    After some more struggling, I've managed to make it work.
    Thank you for your guide.
    You're most welcome. I'm glad it worked for you.
    chown -R us ./base

  48. #98
    Join Date
    2014-Sep
    Posts
    5
    I need some help I have been trying to fix this for the longest finally got Bumblebee installed and ti run smoothly. The problem is when I get to the CUDA installation it does not ask me about Samples but instead during the instalation asks me only about the direcroty and if I want to create a symbolic file.

    Code:
    The next command will have no errors if all went well
    modprobe nvidia-uvm       ////       I GET THIS WITH NO ERRORS ...
    
    Now to make the CUDA samples and confirm it works! This make will take a little while...     /// CANNOT FIND SAMPLES ANYWHERE. REINSTALLED CUDA AND NOTHING...
    cd ~/NVIDIA_CUDA-5.5_Samples/NVIDIA_CUDA-5.5_Samples/
    make
    I unistalled by using purge nvidia-*
    then uninstalled bumblebee
    and started the process again ...

    Everything goes fine but still cant get to install the samples I get the following
    Code:
     Driver:   Not Selected
    Toolkit:  Installed in /usr/local/cuda-6.5
    Samples:  Not Supported
    Thanks,
    Last edited by sickn3ss; 2014-09-26 at 19:39.

  49. #99
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by in10se View Post
    I need some help I have been trying to fix this for the longest finally got Bumblebee installed and ti run smoothly. The problem is when I get to the CUDA installation it does not ask me about Samples but instead during the instalation asks me only about the direcroty and if I want to create a symbolic file.

    Code:
    The next command will have no errors if all went well
    modprobe nvidia-uvm       ////       I GET THIS WITH NO ERRORS ...
    
    Now to make the CUDA samples and confirm it works! This make will take a little while...     /// CANNOT FIND SAMPLES ANYWHERE. REINSTALLED CUDA AND NOTHING...
    cd ~/NVIDIA_CUDA-5.5_Samples/NVIDIA_CUDA-5.5_Samples/
    make
    I unistalled by using purge nvidia-*
    then uninstalled bumblebee
    and started the process again ...

    Everything goes fine but still cant get to install the samples I get the following
    Code:
     Driver:   Not Selected
    Toolkit:  Installed in /usr/local/cuda-6.5
    Samples:  Not Supported
    Thanks,
    Hi there,

    I see a couple of problems with your setup.

    First:

    Code:
    The next command will have no errors if all went well
    modprobe nvidia-uvm       ////       I GET THIS WITH NO ERRORS ...
    
    Now to make the CUDA samples and confirm it works! This make will take a little while...     /// CANNOT FIND SAMPLES ANYWHERE. REINSTALLED CUDA AND NOTHING...
    cd ~/NVIDIA_CUDA-5.5_Samples/NVIDIA_CUDA-5.5_Samples/
    make
    You are following the first guide, not post 25 as recommended.

    Second
    Code:
    Toolkit:  Installed in /usr/local/cuda-6.5
    You are installing the bleeding edge cuda 6.5 (which is not bad) but you have not altered the commands in the guide to suit the new directories.

    Two guides are in this thread. The guide starting at post 2 will install CUDA 5.5 and the nvidia drivers from the wheezy repo.

    The guide starting at post 25 (the one which should be followed) will install NVIDIA 340.24 and CUDA 6.

    Follow the guide at post 25 and if you decide to mix and match versions and parts of guides, you will need to amend the commands entered to match.
    chown -R us ./base

  50. #100
    Thank you very much staticn0de for your time to make this post, everything went smooth and right now im all set up!!

    and thanks to reintakura for that solution!

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
  •