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

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

  1. #251
    No other monitors connected to my PC


    dmesg | tail after first booting up then firing up Firefox
    Code:
    [   94.728930] nvidia: module license 'NVIDIA' taints kernel.
    [   94.728933] Disabling lock debugging due to kernel taint
    [   95.212018] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
    [   95.212452] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
    [   95.212458] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  346.47  Thu Feb 19 18:56:03 PST 2015
    OFF/ON
    Code:
    tee /proc/acpi/bbswitch <<<OFF
    OFF
    tee /proc/acpi/bbswitch <<<ON
    ON
    dmesg | tail
    [  217.822484] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
    optirun glxgears/glxspheres64 gives me this after closing the window
    Code:
    (dmesg)[83635.389363] pci 0000:01:00.0: Refused to change power state, currently in D0
    dmesg | tail of OFF/ON after using optiplex glxspheres64 or optiplex glxgears:
    Code:
    tee /proc/acpi/bbswitch <<<OFF
    (dmesg)[ 163.870602] bbswitch: disabling discrete graphics
    (dmesg)[ 163.870613] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    tee /proc/acpi/bbswitch <<<ON
    (dmesg)[ 224.089459] bbswitch: enabling discrete graphics
    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
    optirun glxgears and optirun glxspheres64 works fine, but both glxgears and glxspheres64 are broken for me.

    Let me know if you need anymore info.
    Last edited by Rarity; 2015-04-07 at 01:48. Reason: Structure

  2. #252
    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.

  3. #253
    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

  4. #254
    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.

  5. #255
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by Rarity View Post
    No other monitors connected to my PC


    dmesg | tail after first booting up then firing up Firefox
    Code:
    [   94.728930] nvidia: module license 'NVIDIA' taints kernel.
    [   94.728933] Disabling lock debugging due to kernel taint
    [   95.212018] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
    [   95.212452] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
    [   95.212458] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  346.47  Thu Feb 19 18:56:03 PST 2015
    OFF/ON
    Code:
    tee /proc/acpi/bbswitch <<<OFF
    OFF
    tee /proc/acpi/bbswitch <<<ON
    ON
    dmesg | tail
    [  217.822484] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
    optirun glxgears/glxspheres64 gives me this after closing the window
    Code:
    (dmesg)[83635.389363] pci 0000:01:00.0: Refused to change power state, currently in D0
    dmesg | tail of OFF/ON after using optiplex glxspheres64 or optiplex glxgears:
    Code:
    tee /proc/acpi/bbswitch <<<OFF
    (dmesg)[ 163.870602] bbswitch: disabling discrete graphics
    (dmesg)[ 163.870613] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
    tee /proc/acpi/bbswitch <<<ON
    (dmesg)[ 224.089459] bbswitch: enabling discrete graphics
    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
    optirun glxgears and optirun glxspheres64 works fine, but both glxgears and glxspheres64 are broken for me.

    Let me know if you need anymore info.
    Hey there,

    I was able to reproduce this and am working on a fix.

    I reproduced it through a manual loading and uploading of the driver. I'll let you know how I go.
    chown -R us ./base

  6. #256
    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.

  7. #257
    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

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

  9. #259
    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/

  10. #260
    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.

  11. #261
    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

  12. #262
    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

  13. #263
    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!

  14. #264
    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

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

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

  17. #267
    Join Date
    2014-Nov
    Posts
    15
    Please Help Someone, I am trying to install Nvidia from last few months but what ever I try It doesn't work.
    Everything goes smoth till 14th step of current tutorial on first post.

    But when I test it using:
    Code:
    ~# optirun glxspheres64
    I get this error:
    Code:
    [  126.985430] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
    
    [  126.985473] [ERROR]Aborting because fallback start is disabled.
    But one thing to mention I think, when I run:
    Code:
    ~# optirun glxgears
    It gives output like:
    Code:
    9438 frames in 5.0 seconds = 1887.557 FPS
    11288 frames in 5.0 seconds = 2257.418 FPS
    10784 frames in 5.0 seconds = 2156.696 FPS
    11002 frames in 5.0 seconds = 2200.381 FPS
    10775 frames in 5.0 seconds = 2154.836 FPS
    11150 frames in 5.0 seconds = 2229.996 FPS
    10977 frames in 5.0 seconds = 2195.273 FPS
    11148 frames in 5.0 seconds = 2229.536 FPS
    11307 frames in 5.0 seconds = 2261.351 FPS
    11206 frames in 5.0 seconds = 2241.059 FPS
    10499 frames in 5.0 seconds = 2099.786 FPS
    11355 frames in 5.0 seconds = 2270.971 FPS
    11375 frames in 5.0 seconds = 2274.890 FPS
    11146 frames in 5.0 seconds = 2229.126 FPS
    11259 frames in 5.0 seconds = 2251.711 FPS
    11134 frames in 5.0 seconds = 2226.800 FPS
    Please tell me what should I do ?

    Thanks
    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

  18. #268
    Quote Originally Posted by Rajnish357 View Post
    Please Help Someone, I am trying to install Nvidia from last few months but what ever I try It doesn't work.
    Everything goes smoth till 14th step of current tutorial on first post.

    But when I test it using:
    Code:
    ~# optirun glxspheres64
    I get this error:
    Code:
    [  126.985430] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
    
    [  126.985473] [ERROR]Aborting because fallback start is disabled.
    Hi Rajnish,

    Take a look at the solution tonrin posted.

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

  20. #270
    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

  21. #271
    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.

  22. #272
    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

  23. #273
    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.

  24. #274
    @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.

  25. #275
    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.

  26. #276
    Quote Originally Posted by staticn0de View Post
    Hey there,

    I was able to reproduce this and am working on a fix.

    I reproduced it through a manual loading and uploading of the driver. I'll let you know how I go.
    Hey static, any update on a fix? Let me know if there's anything I can do to contribute.

  27. #277
    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.

  28. #278
    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.

  29. #279
    Quote Originally Posted by Rarity View Post
    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.
    Yes there is, The one I'm pretty sure about is to install the nvidia driver from the repository and add debian sid repository
    deb http://http.us.debian.org/debian/ sid main non-free contrib
    in order to upgrade the driver to a version that supports
    CUDA 6.5 and then remove the repo from source.list .

    I'm not sure if the proprietary driver form nvidia website which is posted in the first page of this thread, breaks the Intel. It did break mine a while ago and I fixed it with the repo driver . and never tried it again, as
    everything is working fine now .

  30. #280
    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?

  31. #281
    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 .

  32. #282
    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 .

  33. #283
    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

  34. #284
    Thank you for clarifying staticn0de.

  35. #285
    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?

  36. #286
    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.

  37. #287
    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

  38. #288
    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

  39. #289
    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

  40. #290
    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?

  41. #291
    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)'

  42. #292
    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?

  43. #293
    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"

  44. #294
    Join Date
    2014-Sep
    Posts
    11
    Quote Originally Posted by bahha View Post
    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"
    I can't manage to install nvidia-glx. Basically you didn't download the nvidia-driver from their website, following the installation procedure in the OP guide, but let Terminal install it for you with "apt-get install bumblebee-nvidia primus", right?

  45. #295
    Join Date
    2015-Jul
    Posts
    6
    Quote Originally Posted by Davide3i View Post
    I can't manage to install nvidia-glx. Basically you didn't download the nvidia-driver from their website, following the installation procedure in the OP guide, but let Terminal install it for you with "apt-get install bumblebee-nvidia primus", right?
    I have the same problem. Following the OP guide, when I try to do an apt-get install nvidia-glx I receive an error and I can't install it

  46. #296
    Quote Originally Posted by Davide3i View Post
    I can't manage to install nvidia-glx. Basically you didn't download the nvidia-driver from their website, following the installation procedure in the OP guide, but let Terminal install it for you with "apt-get install bumblebee-nvidia primus", right?
    nvidia-glx won't install.

    install this and try

    apt-get install nvidia-driver

    if not working add this too

    apt-get install nvidia-alternative

    I have both packages installed
    during install if it ever asks you to configure anything ignore it .

    make sure you have these source in your source.list

    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    Last edited by bahha; 2015-08-21 at 10:16.

  47. #297
    Join Date
    2014-Sep
    Posts
    11
    Quote Originally Posted by bahha View Post
    nvidia-glx won't install.

    install this and try

    apt-get install nvidia-driver

    if not working add this too

    apt-get install nvidia-alternative

    I have both packages installed
    during install if it ever asks you to configure anything ignore it .

    make sure you have these source in your source.list

    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    After some struggling, I've finally managed to make it work. Thank you.

  48. #298
    Join Date
    2015-Jul
    Posts
    6
    Quote Originally Posted by Davide3i View Post
    After some struggling, I've finally managed to make it work. Thank you.
    Can you tell me the exact steps did you do?

  49. #299
    Join Date
    2014-Sep
    Posts
    11
    Quote Originally Posted by Cricco95 View Post
    Can you tell me the exact steps did you do?
    Sure.
    In the original guide from the OP post I changed the step #9 with:
    Code:
    apt-get install bumblebee-nvidia primus
    Then:
    Code:
    nano +22 /etc/bumblebee/bumblebee.conf
    
    Driver=nvidia-current
    Finally I jumped steps #13 and #14 and decided to install the last version of CUDA (7.0.xxx), so I kept following the original guide from step #15.
    Last edited by Davide3i; 2015-08-22 at 17:48.

  50. #300
    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
  •