hello, I have a problem after installing the nvidia driver (which works apparently correct, because there is no error and 'modinfo nvidia' shows version 340.24)
after rebooting, I use "optirun glxspheres64" but i get this error message and my fans going crazy (maximum speed):
Code:
optirun glxspheres64
[ 1492.076369] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[ 1492.076523] [ERROR]Aborting because fallback start is disabled.
Maybe you could help me with this issue?
I'll give you some information about my system:

uname -r
Code:
3.14-kali1-amd64
cat /etc/modprobe.d/bumblebee.conf
Code:
# installed by bumblebee-nvidia

# do not automatically load nouveau as it may prevent nvidia from loading
blacklist nouveau
# do not automatically load nvidia as it's unloaded anyway when bumblebeed
# starts and may fail bumblebeed to disable the card in a race condition.
blacklist nvidia
blacklist nvidia-current
blacklist nvidia-current-updates
# 304
blacklist nvidia-304
blacklist nvidia-304-updates
blacklist nvidia-experimental-304
# 310
blacklist nvidia-310
blacklist nvidia-310-updates
blacklist nvidia-experimental-310
# 313
blacklist nvidia-313
blacklist nvidia-313-updates
blacklist nvidia-experimental-313
# 319
blacklist nvidia-319
blacklist nvidia-319-updates
blacklist nvidia-experimental-319
# 325
blacklist nvidia-325
blacklist nvidia-325-updates
blacklist nvidia-experimental-325
dmesg (bbswitch can't "enable discrete graphics", maybe this is the problem?)
Code:
dmesg

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