Page 6 of 8 FirstFirst 12345678 LastLast
Results 251 to 300 of 376

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    xD

    AH YES 100mb smaller! Downloading now. Thank you.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  2. #2
    Join Date
    2015-Mar
    Posts
    3
    Hey, I have a problem with installing CUDA. I'm trying this with package for ubuntu 14.04 and 12.04 but for both I got the same warning massage:
    Code:
    ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 346.00 is required for CUDA 7.0 functionality to work.
    To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
        sudo <CudaInstaller>.run -silent -driver
    You wrote to grab x64 package, but in table i see only Linux x86, maby thats the point.
    There is my test
    Code:
    Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
    Visual ID of window: 0x21
    Context is Direct
    OpenGL Renderer: GeForce GT 740M/PCIe/SSE2
    253.956557 frames/sec - 213.506356 Mpixels/sec
    253.252170 frames/sec - 212.914165 Mpixels/sec
    254.893954 frames/sec - 214.294445 Mpixels/sec
    254.001783 frames/sec - 213.544379 Mpixels/sec
    254.973161 frames/sec - 214.361036 Mpixels/sec
    254.204086 frames/sec - 213.714460 Mpixels/sec
    254.366610 frames/sec - 213.851096 Mpixels/sec
    254.329671 frames/sec - 213.820041 Mpixels/sec
    253.751591 frames/sec - 213.334037 Mpixels/sec
    254.276085 frames/sec - 213.774990 Mpixels/sec
    There is my modinfo
    Code:
    filename:       /lib/modules/3.18.0-kali3-amd64/kernel/drivers/video/nvidia.ko
    alias:          char-major-195-*
    version:        346.47
    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.18.0-kali3-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
    I checked gcc version:
    Code:
     gcc (Debian 4.7.2-5) 4.7.2
    So i should be abble to run this 12.04 package.

    I'm w8ing for your opinions about this problem and hope some solutions.

  3. #3
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by TheSeed View Post
    Hey, I have a problem with installing CUDA. I'm trying this with package for ubuntu 14.04 and 12.04 but for both I got the same warning massage:

    ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 346.00 is required for CUDA 7.0 functionality to work.
    To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
    sudo <CudaInstaller>.run -silent -driver
    Hi there and welcome to the forum.

    I'm taking a wild guess that you are trying to install the latest CUDA (version 7). Did you happen to use this link?

    http://developer.download.nvidia.com...0.28_linux.run

    CUDA can't find the version of the driver you currently have installed.

    Did you follow the message provided by the installer?

    You don't want to use the --driver flag as it will already be installed if you followed the guide.

    I haven't downloaded the CUDA 7.0 installer yet (it's going now). Try the --help flag on your cuda*.run installer and look for a flag that will disable the driver check.

    If you can't find one, --override should do it.

    Edit: If you see that message at the end of the install (as in CUDA has installed samples and all that goodness) just ignore the message. You didn't really post what you were doing at the time so I'm not sure how to help.
    Last edited by staticn0de; 2015-03-23 at 10:36.
    chown -R us ./base

  4. #4
    Join Date
    2015-Mar
    Posts
    3
    Thanks, staticn0de, for respond. Sorry for uncomplet description of problem, I'm going to suplement this now.

    Quote Originally Posted by staticn0de View Post
    I'm taking a wild guess that you are trying to install the latest CUDA (version 7). Did you happen to use this link?

    http://developer.download.nvidia.com...0.28_linux.run

    CUDA can't find the version of the driver you currently have installed.

    Did you follow the message provided by the installer?

    You don't want to use the --driver flag as it will already be installed if you followed the guide.

    I haven't downloaded the CUDA 7.0 installer yet (it's going now). Try the --help flag on your cuda*.run installer and look for a flag that will disable the driver check.

    If you can't find one, --override should do it.
    Yes, I was running exactly step by step through your guide till moment of CUDA installation. And I'm trying to do so with latest (cuda-7.0). Now with installer from your link. I understand that i don't need to use --driver. I was looking for flag to disable the driver check, but i didn't find any. Also tried --override, but this didn't help me.

    Quote Originally Posted by staticn0de View Post
    Edit: If you see that message at the end of the install (as in CUDA has installed samples and all that goodness) just ignore the message. You didn't really post what you were doing at the time so I'm not sure how to help.
    Yes, this message appears at the end of installation. I'm new in useing CUDA technology, so for me message: "This installation did not install the CUDA Driver." is critical, and i received "CUDA Driver" as critical part of installation, meaning, for me, that I can't use this technology. So I started to find the way out.
    But if you suggests me to ignore this message, as it appears at the end of installation informations, I'll set up dynamic linker for CUDA and try to build some samples to check it out.

    I'll notify the results here soon.

  5. #5
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    No worries TheSeed.

    You don't need CUDA to ins the driver as we already installed it. All we need from CUDA is the toolkit and the samples.
    chown -R us ./base

  6. #6
    Join Date
    2015-Mar
    Posts
    4

    Unhappy Sorry

    Sorry guys, didn't realize there was moderator approval for posts and didn't mean to post 3 times. lesson learned lol
    Last edited by ZeroTrace; 2015-03-25 at 05:35.
    '(◣_◢)' <- This is Bob. Bob is angry because for years he's been asking people to help him take over the world. He's only managed a small fraction of his goal so far, but with your help he can finally realize his dreams! Simply copy and paste him into your signature and enjoy the feeling of knowing you've helped someone reach their full potential.

  7. #7
    staticn0de, not sure if I can thank you enough for all the effort you put into this.

    Out of curiosity, is there a way to perform these installations without breaking the Intel driver as bahha pointed out?
    (And maybe update his method of how to fix it?)

    Thanks!

  8. #8
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Rarity View Post
    staticn0de, not sure if I can thank you enough for all the effort you put into this.

    Out of curiosity, is there a way to perform these installations without breaking the Intel driver as bahha pointed out?
    (And maybe update his method of how to fix it?)

    Thanks!
    I've never had the Intel driver break. Have you tried this install with Kali 1.1.0?

    Have you had the driver break on you? if it does, please post output from dmesg
    chown -R us ./base

  9. #9
    Quote Originally Posted by staticn0de View Post
    I've never had the Intel driver break. Have you tried this install with Kali 1.1.0?

    Have you had the driver break on you? if it does, please post output from dmesg
    Yes, I just performed the install on 1.1.0a before posting this. Optirun works as it should but when I run glxgears I get this error:

    Code:
    Xlib:  extension "GLX" missing on display ":0.0".
    Error: couldn't get an RGB, Double-buffered visual
    dmesg output:
    Code:
    [ 9760.524958] nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
    [ 9760.526928] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.526970] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.526993] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.527013] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.527033] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.527053] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.527085] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.527105] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.527451] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 9760.711896] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    Last edited by Rarity; 2015-03-29 at 06:49.

  10. #10
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    @Rarity

    What are the contents of your /etc/bumblebee/xorg.conf.nvidia file?

    Do you have any other monitors connected to your laptop?

    Toggle bumblebee with the following and post dmesg

    # tee /proc/acpi/bbswitch <<<OFF
    # tee /proc/acpi/bbswitch <<<ON

    Did you use option glxspheres?

    What version of CUDA are you running?
    chown -R us ./base

  11. #11
    Join Date
    2015-Mar
    Posts
    3
    My aircrack was approximately 3,000 K/s, and then the pyrit was appoxamatly 1,000 PMk/s

  12. #12
    Join Date
    2015-Apr
    Posts
    6
    Hello, I have two questions. Why do I have such a poor record on this card?

    root@snofikali:/opt/VirtualGL/bin# tee /proc/acpi/bbswitch <<<ON
    ON
    root@snofikali:/opt/VirtualGL/bin# dmesg | tail -n 100
    [ 3425.147065] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3425.147122] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3425.147192] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3425.147245] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3428.160382] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3429.231856] ------------[ cut here ]------------
    [ 3429.231882] WARNING: CPU: 7 PID: 7891 at drivers/base/driver.c:190 pci_unregister_driver+0x1d/0x90()
    [ 3429.231914] Unexpected driver unregister!
    [ 3429.231915] Modules linked in: nvidia(PO-) vmnet(O) parport_pc parport fuse vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) bbswitch(O) binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace fscache sunrpc loop x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel ath9k_htc ath9k_common ath9k_hw arc4 kvm iwldvm ath mac80211 i915 uvcvideo videobuf2_vmalloc snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic videobuf2_memops videobuf2_core iwlwifi snd_hda_intel snd_hda_controller v4l2_common videodev cfg80211 snd_hda_codec snd_hwdep media crct10dif_pclmul snd_pcm snd_seq drm_kms_helper btusb crc32_pclmul drm bluetooth ghash_clmulni_intel joydev snd_seq_device snd_timer mei_me aesni_intel snd iTCO_wdt mei aes_x86_64 lrw gf128mul dell_laptop iTCO_vendor_support rfkill psmouse i2c_i801 i2c_algo_bit lpc_ich mfd_core soundcore mxm_wmi serio_raw dell_wmi sparse_keymap glue_helper i2c_core wmi ablk_helper evdev dcdbas video cryptd battery ac button processor ext4 crc16 mbcache jbd2 dm_mod sg sr_mod sd_mod cdrom crc32c_intel ahci libahci libata scsi_mod xhci_pci ehci_pci thermal xhci_hcd thermal_sys ehci_hcd usbcore r8169 mii usb_common [last unloaded: nvidia]
    [ 3429.232100] CPU: 7 PID: 7891 Comm: rmmod Tainted: P W O 3.18.11 #1
    [ 3429.232104] Hardware name: Dell Inc. Inspiron N5110/0HVRTT, BIOS A09 09/30/2011
    [ 3429.232109] 0000000000000000 0000000000000009 ffffffff81555078 ffff880128a67e58
    [ 3429.232116] ffffffff8106db3b 0000000000000000 ffffffffa1924bc8 ffffffffa1924ae0

    [ 3466.359399] WARNING: CPU: 6 PID: 7912 at fs/proc/generic.c:303 proc_register+0xd8/0x170()
    [ 3466.359402] proc_dir_entry 'driver/nvidia' already registered
    [ 3466.359405] Modules linked in: nvidia(PO+) vmnet(O) parport_pc parport fuse vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) bbswitch(O) binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace fscache sunrpc loop x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel ath9k_htc ath9k_common ath9k_hw arc4 kvm iwldvm ath mac80211 i915 uvcvideo videobuf2_vmalloc snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic videobuf2_memops videobuf2_core iwlwifi snd_hda_intel snd_hda_controller v4l2_common videodev cfg80211 snd_hda_codec snd_hwdep media crct10dif_pclmul snd_pcm snd_seq drm_kms_helper btusb crc32_pclmul drm bluetooth ghash_clmulni_intel joydev snd_seq_device snd_timer mei_me aesni_intel snd iTCO_wdt mei aes_x86_64 lrw gf128mul dell_laptop iTCO_vendor_support rfkill psmouse i2c_i801 i2c_algo_bit lpc_ich mfd_core soundcore mxm_wmi serio_raw dell_wmi sparse_keymap glue_helper i2c_core wmi ablk_helper evdev dcdbas video cryptd battery ac button processor ext4 crc16 mbcache jbd2 dm_mod sg sr_mod sd_mod cdrom crc32c_intel ahci libahci libata scsi_mod xhci_pci ehci_pci thermal xhci_hcd thermal_sys ehci_hcd usbcore r8169 mii usb_common [last unloaded: nvidia]
    [ 3466.359595] CPU: 6 PID: 7912 Comm: modprobe Tainted: P W O 3.18.11 #1
    [ 3466.359599] Hardware name: Dell Inc. Inspiron N5110/0HVRTT, BIOS A09 09/30/2011
    [ 3466.359604] 0000000000000000 0000000000000009 ffffffff81555078 ffff8800c3617bb8
    [
    [ 3466.360844] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.47 Thu Feb 19 18:56:03 PST 2015
    [ 3466.397663] nvidia 0000:01:00.0: irq 44 for MSI/MSI-X
    [ 3466.402998] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3466.403108] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3466.403171] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3466.403229] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3466.403860] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3466.403921] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3466.403997] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3466.404054] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3469.419434] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3493.871427] ------------[ cut here ]------------
    [ 3493.871436] WARNING: CPU: 6 PID: 7945 at drivers/base/driver.c:190 pci_unregister_driver+0x1d/0x90()

    [ 3493.871604] ---[ end trace 8fa7d6246e1196dd ]---
    [ 3493.871727] [drm] Module unloaded
    [ 3493.873230] bbswitch: disabling discrete graphics
    [ 3493.873248] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 3493.889258] pci 0000:01:00.0: Refused to change power state, currently in D0
    [ 3674.987184] bbswitch: enabling discrete graphics
    root@snofikali:/opt/VirtualGL/bin# optirun pyrit list_cores
    Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+

    The following cores seem available...
    #1: 'CUDA-Device #1 'GeForce GT 525M''
    #2: 'CPU-Core (SSE2)'
    #3: 'CPU-Core (SSE2)'
    #4: 'CPU-Core (SSE2)'
    #5: 'CPU-Core (SSE2)'
    #6: 'CPU-Core (SSE2)'
    #7: 'CPU-Core (SSE2)'
    #8: 'CPU-Core (SSE2)'
    root@snofikali:/opt/VirtualGL/bin# optirun pyrit benchmark
    Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+

    Running benchmark (6907.2 PMKs/s)... |

    Computed 6907.25 PMKs/s total.
    #1: 'CUDA-Device #1 'GeForce GT 525M'': 5448.0 PMKs/s (RTT 2.8)
    #2: 'CPU-Core (SSE2)': 335.1 PMKs/s (RTT 3.9)
    #3: 'CPU-Core (SSE2)': 319.8 PMKs/s (RTT 3.5)
    #4: 'CPU-Core (SSE2)': 325.7 PMKs/s (RTT 3.5)
    #5: 'CPU-Core (SSE2)': 319.2 PMKs/s (RTT 3.6)
    #6: 'CPU-Core (SSE2)': 321.1 PMKs/s (RTT 3.4)
    #7: 'CPU-Core (SSE2)': 325.6 PMKs/s (RTT 3.4)
    #8: 'CPU-Core (SSE2)': 330.8 PMKs/s (RTT 3.4)
    root@snofikali:/opt/VirtualGL/bin# pyrit benchmark
    Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+

    Running benchmark (6648.5 PMKs/s)... \

    Computed 6648.48 PMKs/s total.
    #1: 'CUDA-Device #1 'GeForce GT 525M'': 5393.4 PMKs/s (RTT 2.7)
    #2: 'CPU-Core (SSE2)': 268.3 PMKs/s (RTT 3.1)
    #3: 'CPU-Core (SSE2)': 273.2 PMKs/s (RTT 3.2)
    #4: 'CPU-Core (SSE2)': 277.0 PMKs/s (RTT 3.0)
    #5: 'CPU-Core (SSE2)': 266.6 PMKs/s (RTT 3.2)
    #6: 'CPU-Core (SSE2)': 277.7 PMKs/s (RTT 3.1)
    #7: 'CPU-Core (SSE2)': 264.7 PMKs/s (RTT 3.1)
    #8: 'CPU-Core (SSE2)': 269.1 PMKs/s (RTT 3.1)
    Why can not I successfully run nvidia-settings?

    ERROR: nvidia-settings could not find the registry key file. This file should have been
    installed along with this driver at
    /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application
    profiles will continue to work, but values cannot be preopulated or validated, and will
    not be listed in the help text. Please see the README for possible values and
    descriptions.
    I have not created xorg-conf files in the directory X11. Best regards and thank you in advance for your reply.

  13. #13
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by snofi View Post
    Hello, I have two questions. Why do I have such a poor record on this card?



    Why can not I successfully run nvidia-settings?



    I have not created xorg-conf files in the directory X11. Best regards and thank you in advance for your reply.
    First question:
    Your poor performance is because you have a middle of the range laptop graphics card. It can't compete with middle or high range desktop cards It's also about 4 years old.

    Second question:
    It's a bug in the driver.

    Run:

    root@kali ~$ cd /usr/share/nvidia/
    root@kali /usr/share/nvidia$ cp nvidia-application-profiles-346.47-key-documentation nvidia-application-profiles-key-documentation
    Last edited by staticn0de; 2015-04-15 at 06:55.
    chown -R us ./base

  14. #14
    Join Date
    2015-Apr
    Posts
    6
    Quote Originally Posted by staticn0de View Post

    Run:

    root@kali ~$ cd /usr/share/nvidia/
    root@kali /usr/share/nvidia$ cp nvidia-application-profiles-346.47-key-documentation nvidia-application-profiles-key-documentation
    Hello, I create a xorg.conf? I have a nvidia directory these files:
    /usr/share/nvidia/monitoring.conf
    /usr/share/nvidia/nvidia.ids
    /usr/share/nvidia/nvidia-195.ids
    /usr/share/nvidia/nvidia-295.ids
    /usr/share/nvidia/nvidia-346.ids
    /usr/share/nvidia/nvidia-application-profiles-346.47-key-documentation
    /usr/share/nvidia/nvidia-application-profiles-346.47-rc
    / Usr / share / nvidia / nvidia-application-profiles-key-documentation
    /usr/share/nvidia/nvidia-legacy-71xx.ids
    /usr/share/nvidia/nvidia-legacy-96xx.ids
    /usr/share/nvidia/nvidia-legacy-173xx.ids
    /usr/share/nvidia/nvidia-legacy-304xx.ids
    /usr/share/nvidia/pci.ids


    Do you, any of these I remove it? Nothing has changed. Yours sincerely.

  15. #15
    Join Date
    2015-Apr
    Posts
    6
    Quote Originally Posted by staticn0de View Post

    root@kali ~$ cd /usr/share/nvidia/
    root@kali /usr/share/nvidia$ cp nvidia-application-profiles-346.47-key-documentation nvidia-application-profiles-key-documentation
    Hi, I did but nothing has changed. Do I have to create a xorg.conf? Do I have to remove anything from this?
    "/usr/share/nvidia/monitoring.conf
    /usr/share/nvidia/nvidia.ids
    /usr/share/nvidia/nvidia-195.ids
    /usr/share/nvidia/nvidia-295.ids
    /usr/share/nvidia/nvidia-346.ids
    /usr/share/nvidia/nvidia-application-profiles-346.47-key-documentation
    /usr/share/nvidia/nvidia-application-profiles-346.47-rc
    / Usr / share / nvidia / nvidia-application-profiles-key-documentation
    /usr/share/nvidia/nvidia-legacy-71xx.ids
    /usr/share/nvidia/nvidia-legacy-96xx.ids
    /usr/share/nvidia/nvidia-legacy-173xx.ids
    /usr/share/nvidia/nvidia-legacy-304xx.ids
    /usr/share/nvidia/pci.ids "

    I cordially greet.

  16. #16
    Join Date
    2015-Apr
    Posts
    6
    Sorry, double reply.. I thought it did not go. Regards.

  17. #17
    Join Date
    2015-Apr
    Posts
    2
    Hello, i have install new driver (from 4 april 2015), but after check "optirun glxspheres64" got this message:
    "ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored."

    But two weeks ago, its works fine, maybe it depends on new drivers?

    FIXED wait until moderator post my new message, thanks
    Last edited by SuperMan; 2015-04-19 at 08:29. Reason: fixed

  18. #18
    Join Date
    2015-Apr
    Posts
    2
    Hello. I found the solution for my error: "after install nvidia driver and trying optirun glxspheres64 got: ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored."
    This error only on 64bit. Becouse if you try to open virtualgl_2.4_amd64.deb with archive manager - you will got an error. I386 and other opens successful.
    So how to fix:
    go to virtualgl website and get newest versing - 2.4.1. Install and be happy
    link http://virtualgl.sourceforge.net/vgl.nightly/

  19. #19
    Join Date
    2013-Aug
    Posts
    8
    Hello all (mostly staticn0de):

    Thank you for replying to everyone possible on this thread static, it's a great thing to see someone commiting so much energy to other peoples problems. I have just read through all 26 pages so far and I couldn't find an answer to my problem so I'm posting here.

    Specs:
    Alienware 13 (GeForce® GTX 860M)
    Nvidia driver version: 346.59
    Cuda version: 7.0.28
    LSPCI output:
    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
    03:00.0 3D controller: NVIDIA Corporation Device 1392 (rev a2)

    Modinfo nvidia:
    filename: /lib/modules/3.18.0-kali3-amd64/kernel/drivers/video/nvidia.ko
    alias: char-major-195-*
    version: 346.46
    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.18.0-kali3-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

    Error I'm getting when running optirun glxgears64:
    [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Problem parsing the config file
    [ERROR]Aborting because fallback start is disabled.

    Error when I'm running glxgears:
    Xlib: extension "GLX" missing on display ":0".
    Error: couldn't get an RGB, Double-buffered visual

    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:03: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

    tee command for bbswitch dmesg log:
    7.402195] bbswitch: version 0.8
    [ 7.402204] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [ 7.402212] bbswitch: Found discrete VGA device 0000:03:00.0: \_SB_.PCI0.RP05.PEGP
    [ 7.402225] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 7.402389] bbswitch: detected an Optimus _DSM function
    [ 7.402476] bbswitch: Succesfully loaded. Discrete card 0000:03:00.0 is on
    [ 7.404211] bbswitch: disabling discrete graphics
    [ 7.404222] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    [ 14.015045] ksplashqml[3109]: segfault at 8 ip 00007eff1c70dad0 sp 00007fffd59a1590 error 4 in libQtGui.so.4.8.2[7eff1bf7d000+a6a000]
    [ 66.096872] bbswitch: enabling discrete graphics
    [ 66.394906] nvidia: module license 'NVIDIA' taints kernel.
    [ 66.394910] Disabling lock debugging due to kernel taint
    [ 66.402638] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:03:00.0 on minor 1
    [ 66.402645] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.46 Tue Feb 17 17:56:08 PST 2015

    I noticed while writing this it is loading a kernel module for 346.46, while my Nvidia driver is 346.59. I don't know if this is conflicting or is it suppose to be, and whether it is even the issue. Any help would be appreciated.

    thanks in advance.

  20. #20
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    @necrojones,

    Thanks, I appreciate the comments. I havn't had the time to reply to as many as I would like as of late but yours is an easy one.

    You have a typo in /etc/bumblebee/xorg.conf.nvidia

    Change

    BusID: "PCI:03:00:0"

    to

    BusID "PCI:03:00:0"
    chown -R us ./base

  21. #21
    Join Date
    2013-Aug
    Posts
    8

    Cool

    Quote Originally Posted by staticn0de View Post
    @necrojones,

    Thanks, I appreciate the comments. I havn't had the time to reply to as many as I would like as of late but yours is an easy one.

    You have a typo in /etc/bumblebee/xorg.conf.nvidia

    Change

    BusID: "PCI:03:00:0"

    to

    BusID "PCI:03:00:0"
    WOW. I spent hours staring at that script (specifically looking at the end of that line not the begininning) and everything else, and all it was was a simple colon. Everything works perfectly now. Thank you so much again, really appreciate it.

    Cheers!

  22. #22
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Hi Static! Whenever you have time for another deb it would be appreciated

    This version 1.36 is a wild mix of nice updates Smile

    Still, all oclHashcat versions back to 1.33 share the same driver dependencies for AMD. If you have a running oclHashcat v1.33 or newer then v1.36 will work, too, without a driver update.

    Most important changes:

    Added new hash mode -m 11300 = Bitcoin/Litecoin wallet.dat
    Added new hash mode -m 11600 = 7-Zip
    Fixed a bug in NVidia multihash kernels: MD5, NTLM, IPB2
    The parameters --show / --left do work with both halves of LM hashes (if they were 32 hex chars long)
    Optimized final round flushing (reduces time at last percents of progress with slower speed)
    Optimized rejection handling (for example passwords > 8 if cracking DEScrypt or < 8 if cracking WPA/WPA2, etc)
    The speed in status display is no longer divide by the number of uncracked salts
    ps: funny how your ticket about cudahashcat never got addressed. I wonder what's up with that
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  23. #23
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Quest View Post
    Hi Static! Whenever you have time for another deb it would be appreciated



    ps: funny how your ticket about cudahashcat never got addressed. I wonder what's up with that
    cudahashcat 1.36 added:

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

  24. #24
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    Manny thanks!

    went from 400MB with 1.35, to 200MB for 1.36


    The original cudaHashcat-1.36.7z is 62,3MB. Is that possible?
    Last edited by Quest; 2015-04-30 at 19:48.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  25. #25
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    I used an xz compression method with dpkg-deb this time. It took an hour to pack but had significant savings in archive size. I planned to keep changing it up until I get it closer to the original file size
    chown -R us ./base

  26. #26
    Join Date
    2014-Nov
    Posts
    15
    Thanks alot Rarity your suggestion solved the problem, but now getting error on net step to test the CUDA sample If you can help once more I'll be thankfull
    Code:
    root@iHackU:~# cd /root/NVIDIA_CUDA-7.0_Samples
    root@iHackU:~/NVIDIA_CUDA-7.0_Samples# make
    make[1]: Entering directory `/root/NVIDIA_CUDA-7.0_Samples/0_Simple/simpleTextureDrv'
    Makefile:82: *** ERROR - unsupported value i686 for TARGET_ARCH!.  Stop.
    make[1]: Leaving directory `/root/NVIDIA_CUDA-7.0_Samples/0_Simple/simpleTextureDrv'
    make: *** [0_Simple/simpleTextureDrv/Makefile.ph_build] Error 2
    Kali-Linux 1.1.0a 32Bit (VM)
    kali-linux 2.0-amd64
    Lenovo Y510p
    RAM 8GB
    HDD 1TB
    GRAPHICS 2GB NVIDIA GT755M && 1GB Intel Integrated

  27. #27
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Rajnish357 View Post
    Thanks alot Rarity your suggestion solved the problem, but now getting error on net step to test the CUDA sample If you can help once more I'll be thankfull
    Code:
    root@iHackU:~# cd /root/NVIDIA_CUDA-7.0_Samples
    root@iHackU:~/NVIDIA_CUDA-7.0_Samples# make
    make[1]: Entering directory `/root/NVIDIA_CUDA-7.0_Samples/0_Simple/simpleTextureDrv'
    Makefile:82: *** ERROR - unsupported value i686 for TARGET_ARCH!.  Stop.
    make[1]: Leaving directory `/root/NVIDIA_CUDA-7.0_Samples/0_Simple/simpleTextureDrv'
    make: *** [0_Simple/simpleTextureDrv/Makefile.ph_build] Error 2
    Are you running 32bit or 64bit Kali?

    If 32bit, here is an extract from CUDA 7.0 release notes.

    Code:
    Support for 32-bit x86 Linux Systems
    The CUDA Toolkit and CUDA Driver no longer support developing and running
    CUDA and OpenCL Applications on 32-bit x86 Linux operating systems.
    
    Note 1: Developing and running 32-bit applications on 64-bit (x86_64) Linux
    operating systems is still supported, but that functionality is marked as deprecated
    and may be dropped in a future release. 64-bit applications are not impacted.
    
    Note 2: This notice applies to x86 architectures only; 32-bit application support on the
    ARM architecture remains officially supported.
    Maybe try installing CUDA 6.5? Otherwise, you will need to find a work around.
    chown -R us ./base

  28. #28
    Join Date
    2015-Apr
    Posts
    14
    Hello all

    I'm using Core i7 3610 QM + Geforce 670M 3GB + pyrit 1.4.0 + cudahashcat 1.3.6 + Dictionary ~ 12 GB

    The interesting thing is that cudahashcat separately gives me about 22100 H/s + comfortable surfing + temperature ~ 68 C
    pyrit gives about 4300 H/S + little freezing of system + temperature ~ 76-78 C

    But if i install cpyrit it combines together cuda and pyrit and its performance becomes ~ 23 250 H/S + hard freezing of system + temperature ~ 80 C
    So i'm loosing ~3 000 H/S and possibility to use full power of CPU for dictionary pass_through attack.

    Are there any solutions how to use fully calculating power of CPU and GPU together ?


    For now i found one by myself:

    For example we have dictionary 1 500 000 lines/words (we see number when running cudahashcat in line "Progress ").

    We know our cudahashcat speed from output info of cudahashcat and we know our pyrit speed from output info of running pyrit

    Let it be 10 000 h/s and 5 000 h/s.

    now we devide Number of lines in dict / (GPU h/s + CPU h/s )

    1 500 000 / (10 000 + 5 000) = 100

    So, working together to pass through all 1 500 000 words GPU will pass 10 000 * 100 = 1 000 000 and CPU will pass 1 500 000 - 1 000 000 = 500 000 words

    Now we need to devide our word list into two parts: one will starts from word №1 and ends with word № 1 000 000 and other part will starts from the word № 500 000 to the end of file.

    Code:
    head -1000000 longfile.txt > GPUwordlist.txt
    tail -500000 longfile.txt > CPUwordlist.txt
    Now we can start at two terminals pyrit and cudahashcat and it will show us full speed without extremely freezing system and what is important they will finish together.
    Last edited by fbs-16; 2015-05-14 at 19:14.

  29. #29
    Join Date
    2013-Aug
    Posts
    6
    Hi static,

    my laptop specs:
    HP Pavilion 15 n029sx
    Nvidia GT740m
    Intel HD graphics
    core i5

    I followed procedure from post 1 and till step 15 as I execute command optirun glxspheres64 I got this error

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

    [ 1418.768344] [ERROR]Aborting because fallback start is disabled.
    I already tried post #69 where changing

    GRUB_CMDLINE_LINUX_DEFAULT="quiet"

    to

    GRUB_CMDLINE_LINUX_DEFAULT="quiet rcutree.rcu_idle_gp_delay=1"

    in /etc/default/grub then update-grub, still I am receiving this error.

    I used:
    cuda_6.5.14_linux_64.run
    NVIDIA-Linux-x86_64-346.35.run
    virtualgl_2.4_amd64.deb

  30. #30
    Join Date
    2013-Aug
    Posts
    6
    using commands and output:

    lspci | egrep 'VGA|3D'
    Code:
    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)
    echo ON >> /proc/acpi/bbswitch

    Code:
    no output
    modprobe nvidia

    Code:
    no output
    modprobe nvidia-uvm

    Code:
    no output
    optirun glxspheres64

    Code:
    [ 1452.478410] [ERROR]Cannot access secondary GPU - error: X did not start properly
    
    [ 1452.478478] [ERROR]Aborting because fallback start is disabled.
    dmesg | tail -n 100

    Code:
    [ 1347.134266] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  346.35  Sat Jan 10 21:27:15 PST 2015
    [ 1376.056696] nvidia_uvm: Loaded the UVM driver, major device number 249
    echo $PATH

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

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

    Code:
    Section "ServerLayout"
        Identifier  "Layout0"
        Option      "AutoAddDevices" "false"
        Option      "AutoAddGPU" "false"
    EndSection
    
    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
        BusID "PCI: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
    service bumblebeed restart

    Code:
    [ ok ] Restarting bumblebeed: bumblebeed

    I could use some assistance pls.
    Last edited by rbeldua; 2015-05-13 at 11:18.

  31. #31
    @rbeldua
    I had a similar issue when I upgraded to the latest kernel
    i added this to the very end of xorg.conf.nvidia and it's fixed. I have the same GPU as yours
    Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
    EndSection
    ps I'm using the driver from the repository . the nvidia proprietary broke my intel driver so I haven't tried it for a long to see if i could fix it.

  32. #32
    Join Date
    2013-Aug
    Posts
    6
    Quote Originally Posted by bahha View Post
    @rbeldua
    I had a similar issue when I upgraded to the latest kernel
    i added this to the very end of xorg.conf.nvidia and it's fixed. I have the same GPU as yours


    ps I'm using the driver from the repository . the nvidia proprietary broke my intel driver so I haven't tried it for a long to see if i could fix it.
    Hi bahha,

    Thanks for replying, I did as you suggested but still same results. Could you post the procedure how'd you manage to install nvidia? I really wanted to make use of this features in my laptop. There was an instruction you posted which I couldnt follow as the original post #1 was already rewritten which you stated follow post #1 referring to install drivers from the repository.

  33. #33
    Quote Originally Posted by rbeldua View Post
    Hi bahha,

    Thanks for replying, I did as you suggested but still same results. Could you post the procedure how'd you manage to install nvidia? I really wanted to make use of this features in my laptop. There was an instruction you posted which I couldnt follow as the original post #1 was already rewritten which you stated follow post #1 referring to install drivers from the repository.
    Hi rbeldua

    I have already written a post that explains all, but the installation of the repository driver is removed from the first post.

    follow this post to remove the one you already installed

    here is the list of packages I installed. install them using apt-get install or use synaptic manager .
    what step exactly that you didn't get .


    bumblebee-nvidia 3.2.1-4~bpo70+1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
    ii glx-alternative-nvidia 0.5.1~bpo70+1kali1 amd64 allows the selection of NVIDIA as GLX provider
    ii libegl1-nvidia:amd64 340.65-2~bpo70+1kali1 amd64 NVIDIA binary EGL libraries
    ii libgl1-nvidia-glx:amd64 340.65-2~bpo70+1kali1 amd64 NVIDIA binary OpenGL libraries
    ii libgl1-nvidia-glx:i386 340.65-2~bpo70+1kali1 i386 NVIDIA binary OpenGL libraries
    ii libgl1-nvidia-glx-i386 340.65-2~bpo70+1kali1 i386 NVIDIA binary OpenGL 32-bit libraries
    ii libgles1-nvidia:amd64 340.65-2~bpo70+1kali1 amd64 NVIDIA binary OpenGL|ES 1.x libraries
    ii libgles2-nvidia:amd64 340.65-2~bpo70+1kali1 amd64 NVIDIA binary OpenGL|ES 2.x libraries
    ii libnvidia-eglcore:amd64 340.65-2~bpo70+1kali1 amd64 NVIDIA binary EGL core libraries
    ii libnvidia-ml1:amd64 340.65-2~bpo70+1kali1 amd64 NVIDIA Management Library (NVML) runtime library
    ii libnvidia-ml1:i386 340.65-2~bpo70+1kali1 i386 NVIDIA Management Library (NVML) runtime library
    ii nvidia-alternative 340.65-2~bpo70+1kali1 amd64 allows the selection of NVIDIA as GLX provider
    ii nvidia-driver 340.65-2~bpo70+1kali1 amd64 NVIDIA metapackage
    ii nvidia-driver-bin 340.65-2~bpo70+1kali1 amd64 NVIDIA driver support binaries
    ii nvidia-glx 340.65-2~bpo70+1kali1 amd64 transition to nvidia-driver
    ii nvidia-installer-cleanup 20131102+1~bpo70+1 amd64 cleanup after driver installation with the nvidia-installer
    ii nvidia-kernel-common 20131102+1~bpo70+1 amd64 NVIDIA binary kernel module support files
    ii nvidia-kernel-dkms 340.65-2~bpo70+1kali1 amd64 NVIDIA binary kernel module DKMS source
    ii nvidia-modprobe 334.16-1kali1 amd64 utility to load NVIDIA kernel modules and create device nodes
    ii nvidia-smi 340.65-2~bpo70+1kali1 i386 NVIDIA System Management Interface
    ii nvidia-support 20141201+1 amd64 NVIDIA binary graphics driver support files
    ii nvidia-vdpau-driver:amd64 340.65-2~bpo70+1kali1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
    ii xserver-xorg-video-nvidia
    Last edited by bahha; 2015-06-01 at 20:59.

  34. #34
    bahha, is there any way to install the updated NVIDIA driver with CUDA 6.5 without breaking the Intel graphics card?

    I'd rather do one installation instead of install/uninstall/install again.

  35. #35
    Join Date
    2015-Jun
    Posts
    1
    I install
    NVIDIA Driver 346.72
    CUDA 7.0.28
    VirtualGL 2.4
    after install, optirun glxspheres64 work, but i get:
    Selection_001.jpg
    Selection_003.jpg

    lshw -c display:
    Selection_005.jpg
    glxinfo:
    Selection_004.jpg

    i can't run steam:
    Selection_006.png

    what i should do?

  36. #36
    Quote Originally Posted by G-nux View Post
    I install
    NVIDIA Driver 346.72
    CUDA 7.0.28
    VirtualGL 2.4
    after install, optirun glxspheres64 work, but i get:
    Selection_001.jpg
    Selection_003.jpg

    lshw -c display:
    Selection_005.jpg
    glxinfo:
    Selection_004.jpg

    i can't run steam:
    Selection_006.png

    what i should do?

    that's what I was talking about in the above post, the driver from nvidia webiste breaks the intel driver , this thread in the beginning had the instructions for the repository driver then the OP changed it to what it is now . again what i did is remove it and install the one from the repository, first you will install the driver I can't remember the exact version but it prior to 3.4x . then add the debian sid to only upgrade the nvidia driver so it becomes compatible with CUDA 6.5 . follow my post to fix it .
    scroll up in this page to see the packages I installed .

  37. #37
    Quote Originally Posted by G-nux View Post
    I install
    NVIDIA Driver 346.72
    CUDA 7.0.28
    VirtualGL 2.4
    after install, optirun glxspheres64 work, but i get:
    Selection_001.jpg
    Selection_003.jpg

    lshw -c display:
    Selection_005.jpg
    glxinfo:
    Selection_004.jpg

    i can't run steam:
    Selection_006.png

    what i should do?

    that's what I was talking about in the above post, the driver from nvidia webiste breaks the intel driver , this thread in the beginning had the instructions for the repository driver then the OP changed it to what it is now . again what i did is remove it and install the one from the repository, first you will install the driver I can't remember the exact version but i'm sure it's prior to 340.xx . then add the debian sid to only upgrade the nvidia driver so it becomes compatible with CUDA 6.5 . follow my post to fix it . you may have to google how to install nvidia driver 331.xx
    scroll up in this page to see the packages I installed .

  38. #38
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hi there,

    I haven't had the chance to be on much of late but as for the old instructions on installing from the repo:

    This replaces step 9 of the guide on the first page. I had the wheezy-back ports repo added:

    Code:
    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-nvidia and primus
    Code:
    apt-get install bumblebee-nvidia primus
    Install the nvidia driver (I have a note to install it separately, but it is a dependency of bumblebee-nvidia so it should already be installed)
    Code:
    apt-get install nvidia-glx
    Remove the wheezy-backports repo and run another apt-get update. Continue on step 10 of the guide on the first page.

    Alternatively, you could add debian sid instead of wheezy-backports. It has a slightly newer nvidia-driver and bumblebee version.

    Code:
    deb http://ftp.debian.org/debian unstable main contrib non-free
    chown -R us ./base

  39. #39
    Thank you for clarifying staticn0de.

  40. #40
    Join Date
    2015-Jul
    Posts
    6
    When I install CUDA 7, it asks if I want install OpenGL. What should I do? Yes or no?

  41. #41
    Join Date
    2015-Jul
    Posts
    6
    Hi staticn0de, I followed your guide to install the NVIDIA driver but when I try to run the NVIDIA*.run file i receive the following error and the installation abort:

    Uninstall Debian packages first
    I installed the latest non beta version of VirtualGL, and I downloaded the latest NVIDIA card driver from the official website

    .log file

    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sat Jul 18 19:38:52 2015
    installer version: 352.21

    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

    nvidia-installer command line:
    ./nvidia-installer

    Using: nvidia-installer ncurses user interface
    -> Detected 8 CPUs online; setting concurrency level to 8.
    WARNING: You do not appear to have an NVIDIA GPU supported by the 352.21 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
    -> License accepted.
    -> Installing NVIDIA driver version 352.21.
    -> The NVIDIA driver appears to have been installed previously using a different installer. To prevent potential conflicts, it is recommended either to update the existing installation using the same mechanism by which it was originally installed, or to uninstall the existing installation before installing this driver.

    Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:

    Please use the Debian packages instead of the .run file.


    (Answer: Abort installation)
    ERROR: The installation was canceled due to the availability or presence of an alternate driver installation. Please see /var/log/nvidia-installer.log for more details.
    Last edited by Cricco95; 2015-07-18 at 17:41.

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

    Here is how I got the driver working.

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

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

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

    I just finished building Kali 2.0 from source and installing it.

    Unfortunately, this guide does not work with the included gnome.

    I think it's related to this bug:

    https://bugs.launchpad.net/ubuntu/+s...n/+bug/1251281

    I'll give the following a the following a try when I get the chance, otherwise feel free to best me to it.

    Disabling gnome 3D acceleration check
    Building Kali with an alternative to gnome (XFCE is nice) from source.
    chown -R us ./base

  44. #44
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580
    yes please let us know static. Thank you... AGAIN.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

  45. #45
    I installed the repo driver and it's working fine

    filename: /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko
    alias: char-major-195-*
    version: 352.21
    supported: external
    license: NVIDIA
    alias: pci:v00

  46. #46
    Quote Originally Posted by bahha View Post
    I installed the repo driver and it's working fine
    so in original guide you installed nvidia-current and put nvidia-current in bumblee.conf?

  47. #47
    Quote Originally Posted by nekromantik View Post
    so in original guide you installed nvidia-current and put nvidia-current in bumblee.conf?
    yes, I also installed cuda from the repo . and everything is working fine .

    Code:
     optirun pyrit list_cores
    Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+
    
    The following cores seem available...
    #1:  'CUDA-Device #1 'GeForce GT 740M''
    #2:  'CPU-Core (SSE2/AES)'
    #3:  'CPU-Core (SSE2/AES)'
    #4:  'CPU-Core (SSE2/AES)'
    #5:  'CPU-Core (SSE2/AES)'
    #6:  'CPU-Core (SSE2/AES)'
    #7:  'CPU-Core (SSE2/AES)'
    #8:  'CPU-Core (SSE2/AES)'

  48. #48
    Join Date
    2014-Sep
    Posts
    11
    Quote Originally Posted by bahha View Post
    yes, I also installed cuda from the repo . and everything is working fine .
    Hi.
    May I ask if you can post the changes you made in the original guide to install everything flawlessly?

  49. #49
    Quote Originally Posted by Davide3i View Post
    Hi.
    May I ask if you can post the changes you made in the original guide to install everything flawlessly?
    here

    Code:
    apt-get install nvidia-glx
    apt-get install bumblebee-nvidia primus
    apt-get install nvidia-cuda-toolkit nvidia-opencl-icd

    nano +22 /etc/bumblebee/bumblebee.conf

    Make it read:
    Driver=nvidia-current

    Save and close

    then edit below to add your specific BusID
    you can check your id by this coammand : lspci | egrep '3D'

    Code:
    nano /etc/bumblebee/xorg.conf.nvidia
    
    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:03:00:0"

  50. #50
    Join Date
    2015-Aug
    Posts
    1
    Hi guys !

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

    If I can be of any help to anyone, please feel free to ask.

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
  •