optirun glxspheres64 suddenly shutdown laptop
Hi,I am setting up bumblebee for my GT 650M following the guide on post #25 but when I run optirun glxspheres64 my laptop suddenly shutdown. Here's some command returns:
Code:
# lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 650M] (rev ff)
Code:
modinfo nvidia
filename: /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
alias: char-major-195-*
version: 340.32
supported: external
license: NVIDIA
alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias: pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends: drm,i2c-core
vermagic: 3.14-kali1-amd64 SMP mod_unload modversions
parm: NVreg_Mobile:int
parm: NVreg_ResmanDebugLevel:int
parm: NVreg_RmLogonRC:int
parm: NVreg_ModifyDeviceFiles:int
parm: NVreg_DeviceFileUID:int
parm: NVreg_DeviceFileGID:int
parm: NVreg_DeviceFileMode:int
parm: NVreg_RemapLimit:int
parm: NVreg_UpdateMemoryTypes:int
parm: NVreg_InitializeSystemMemoryAllocations:int
parm: NVreg_UsePageAttributeTable:int
parm: NVreg_MapRegistersEarly:int
parm: NVreg_RegisterForACPIEvents:int
parm: NVreg_CheckPCIConfigSpace:int
parm: NVreg_EnablePCIeGen3:int
parm: NVreg_EnableMSI:int
parm: NVreg_MemoryPoolSize:int
parm: NVreg_RegistryDwords:charp
parm: NVreg_RmMsg:charp
parm: NVreg_AssignGpus:charp
Thanks in advance.
this week's paranormal mystery...
interesting Voodoo stuff..
I have to run
Code:
optirun pyrit benchmark
right after booting into Kali for my nVidia to 'wakeup'.
If I wait more than 5mins after booting, no nVidia related operations work.
Quote:
root@kali:~# optirun pyrit benchmark
[11828.399100] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[11828.399158] [ERROR]Aborting because fallback start is disabled.
root@kali:~#
It doesn't matter what I try. I have to restart the computer, then run optirun pyrit benchmark
Two NVIDIA and one Intel graphic cards
Hi,
I have the following problem: when I enter this last command
Code:
optirun glxspheres64
, my screen goes totally black and my nvidia vgas start to run on full speed (vents go on full throttle) and after 20s my laptop shuts down. I suppose my hardware causes the peoblem, I have 3VGAs: the integrated intel hd4400, and 2 nvidia gt750M.
I know that this problem was mention here, but I did everything what staticn0de recomend, but nothing change.
dmesg has to long output. What you need exactly? I also erase comments from files for the same reason.
/etc/bumblebee/bumblebee.conf
Code:
[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nvidia
XorgConfDir=/etc/bumblebee/xorg.conf.d
[optirun]
Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
AllowFallbackToIGC=false
[driver-nvidia]
KernelDriver=nvidia
PMMethod=auto
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
/etc/bumblebee/xorg.conf.nvidia
Code:
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:01:00:0"
BusID "PCI:07:00:0"
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
Option "SLI" "AA"
EndSection
lspci | egrep 'VGA|3D'
Code:
root@kali:~# lspci | egrep 'VGA|3D'
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fe4 (rev a1)
07:00.0 3D controller: NVIDIA Corporation Device 0fe4 (rev a1)
modinfo nvidia
Code:
root@kali:~# modinfo nvidia
filename: /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
alias: char-major-195-*
version: 340.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.14-kali1-amd64 SMP mod_unload modversions
parm: NVreg_Mobile:int
parm: NVreg_ResmanDebugLevel:int
parm: NVreg_RmLogonRC:int
parm: NVreg_ModifyDeviceFiles:int
parm: NVreg_DeviceFileUID:int
parm: NVreg_DeviceFileGID:int
parm: NVreg_DeviceFileMode:int
parm: NVreg_RemapLimit:int
parm: NVreg_UpdateMemoryTypes:int
parm: NVreg_InitializeSystemMemoryAllocations:int
parm: NVreg_UsePageAttributeTable:int
parm: NVreg_MapRegistersEarly:int
parm: NVreg_RegisterForACPIEvents:int
parm: NVreg_CheckPCIConfigSpace:int
parm: NVreg_EnablePCIeGen3:int
parm: NVreg_EnableMSI:int
parm: NVreg_MemoryPoolSize:int
parm: NVreg_RegistryDwords:charp
parm: NVreg_RmMsg:charp
parm: NVreg_AssignGpus:charp
modinfo nvidia-uvm
Code:
root@kali:~# 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
lsmod
Code:
root@kali:~# lsmod
Module Size Used by
nls_utf8 12456 1
nls_cp437 16553 1
vfat 17185 1
fat 57965 1 vfat
nouveau 1053347 0
ttm 69667 1 nouveau
drm_kms_helper 39998 1 nouveau
drm 240557 3 ttm,drm_kms_helper,nouveau
i2c_algo_bit 12751 1 nouveau
nfnetlink_log 17241 0
nfnetlink 12989 1 nfnetlink_log
binfmt_misc 16949 1
loop 26605 0
dm_crypt 22731 0
snd_hda_codec_hdmi 45004 1
arc4 12543 2
iwldvm 130998 0
mac80211 488308 1 iwldvm
snd_hda_codec_realtek 54360 1
snd_hda_codec_generic 59079 1 snd_hda_codec_realtek
uvcvideo 78910 0
iTCO_wdt 12831 0
videobuf2_vmalloc 12816 1 uvcvideo
iTCO_vendor_support 12649 1 iTCO_wdt
videobuf2_memops 12519 1 videobuf2_vmalloc
videobuf2_core 35348 1 uvcvideo
videodev 122088 2 uvcvideo,videobuf2_core
usb_storage 52037 1
media 18303 2 uvcvideo,videodev
joydev 17108 0
x86_pkg_temp_thermal 12965 0
intel_powerclamp 17159 0
coretemp 12854 0
kvm_intel 138949 0
mxm_wmi 12515 1 nouveau
kvm 404503 1 kvm_intel
snd_hda_intel 39656 5
iwlwifi 87784 1 iwldvm
btusb 25619 0
snd_hda_codec 99921 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
bluetooth 243618 2 btusb
psmouse 86464 0
snd_hwdep 13148 1 snd_hda_codec
ideapad_laptop 17499 0
sparse_keymap 12760 1 ideapad_laptop
cfg80211 436618 3 iwlwifi,mac80211,iwldvm
6lowpan_iphc 16588 1 bluetooth
snd_pcm 88538 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
serio_raw 12849 0
lpc_ich 20768 0
snd_timer 26606 1 snd_pcm
i2c_i801 16963 0
mfd_core 12601 1 lpc_ich
evdev 17489 9
snd 61039 18 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
i2c_core 24265 6 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
mei_me 13446 0
rfkill 18902 4 cfg80211,ideapad_laptop,bluetooth
soundcore 13026 1 snd
mei 50039 1 mei_me
ac 12678 0
battery 13101 0
wmi 17339 2 mxm_wmi,nouveau
video 17804 1 nouveau
processor 28221 0
button 12944 1 nouveau
ext4 489943 1
crc16 12343 2 ext4,bluetooth
mbcache 13082 1 ext4
jbd2 86788 1 ext4
dm_mod 89276 1 dm_crypt
hid_generic 12393 0
usbhid 44481 0
hid 94062 2 hid_generic,usbhid
sg 30043 0
sd_mod 44346 5
crc_t10dif 12431 1 sd_mod
crct10dif_pclmul 13348 1
crct10dif_common 12356 2 crct10dif_pclmul,crc_t10dif
crc32_pclmul 12915 0
crc32c_intel 21809 0
ghash_clmulni_intel 12978 0
aesni_intel 151423 0
aes_x86_64 16719 1 aesni_intel
lrw 12757 1 aesni_intel
gf128mul 12970 1 lrw
glue_helper 12690 1 aesni_intel
ablk_helper 12572 1 aesni_intel
cryptd 14560 3 ghash_clmulni_intel,aesni_intel,ablk_helper
xhci_hcd 111830 0
ahci 29195 2
libahci 27103 1 ahci
alx 36175 0
mdio 12599 1 alx
ehci_pci 12472 0
ehci_hcd 48517 1 ehci_pci
libata 169163 2 ahci,libahci
scsi_mod 186841 4 sg,usb_storage,libata,sd_mod
usbcore 166472 8 btusb,uvcvideo,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common 12440 1 usbcore
thermal 17468 0
thermal_sys 27685 5 video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal
cat /proc/acpi/bbswitch
Code:
root@kali:~# cat /proc/acpi/bbswitch
cat: /proc/acpi/bbswitch: No such file or directory
echo $PATH
Code:
root@kali:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin
find 2> /dev/null / -name nvidia*.ko
Code:
root@kali:~# find 2> /dev/null / -name nvidia*.ko
/var/lib/dkms/nvidia/340.46/3.14-kali1-amd64/x86_64/module/nvidia.ko
/var/lib/dkms/nvidia/340.46/3.14-kali1-amd64/x86_64/module/nvidia-uvm.ko
/lib/modules/3.14-kali1-amd64/updates/dkms/nvidia.ko
/lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko
Thak you for help
X won't start with nvidia driver
I followed all the steps given by staticn0de in Post 25. After installing the NVIDIA drivers, I rebooted my machine. And X does not start anymore. If I change the Driver to intel and comment out the BusID "PCI:01:00:0" line, then X starts. I have an intel HD4000 along with NVidia 720M in my laptop (ASUS X550CC).
My Xorg.0.log give me the following:
Code:
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.1.log" for additional information.
What could be wrong?
EDIT:
I found that the nvidia module was not loaded. I did a modprobe to load nvidia_uvm. Also, I removed the the xorg.conf file from /etc/X11/xorg.conf. It seems like I have made some progress but I have a different situation now. NVidia graphics does not seem to be working:
Code:
root@kali:~# grep EE /var/log/Xorg.0.log.old
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 58.071] (II) Loading extension MIT-SCREEN-SAVER
[ 58.179] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 58.180] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 58.180] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 58.180] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 58.180] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
[ 63.816] (EE) NVIDIA(0): Failed to initiate mode change.
[ 63.817] (EE) NVIDIA(0): Failed to complete mode change
[ 103.649] (EE) NVIDIA(0): Failed to initiate mode change.
[ 103.649] (EE) NVIDIA(0): Failed to complete mode change
[ 112.896] (EE) NVIDIA(0): Failed to initiate mode change.
[ 112.896] (EE) NVIDIA(0): Failed to complete mode change
[ 119.568] (EE) NVIDIA(0): Failed to initiate mode change.
[ 119.569] (EE) NVIDIA(0): Failed to complete mode change
[ 1301.003] (EE) NVIDIA(0): Failed to initiate mode change.
[ 1301.003] (EE) NVIDIA(0): Failed to complete mode change
[ 1307.356] (EE) NVIDIA(0): Failed to initiate mode change.
[ 1307.356] (EE) NVIDIA(0): Failed to complete mode change
Code:
root@kali:~# glxspheres64
Polygons in scene: 62464
Visual ID of window: 0x95
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
60.561352 frames/sec - 50.915140 Mpixels/sec
60.224465 frames/sec - 50.631912 Mpixels/sec
60.468060 frames/sec - 50.836707 Mpixels/sec
root@kali:~# optirun glxspheres64
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 0x209)
10.274823 frames/sec - 8.638249 Mpixels/sec
10.256073 frames/sec - 8.622486 Mpixels/sec
10.965270 frames/sec - 9.218722 Mpixels/sec
9.337846 frames/sec - 7.850514 Mpixels/sec
9.863799 frames/sec - 8.292693 Mpixels/sec
root@kali:~# dmesg|grep -i bbsw
[ 16.506061] bbswitch: version 0.8
[ 16.506085] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 16.506096] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 16.506434] bbswitch: detected an Optimus _DSM function
[ 16.506653] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 16.512184] bbswitch: disabling discrete graphics
root@kali:~#
Code:
root@kali:~# optirun -vv glxspheres64
[ 195.766002] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 195.766908] [INFO]Configured driver: nvidia
[ 195.767264] [DEBUG]optirun version 3.2.1 starting...
[ 195.767307] [DEBUG]Active configuration:
[ 195.767329] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 195.767350] [DEBUG] X display: :8
[ 195.767373] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 195.767393] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 195.767413] [DEBUG] Accel/display bridge: auto
[ 195.767433] [DEBUG] VGL Compression: proxy
[ 195.767452] [DEBUG] VGLrun extra options:
[ 195.767477] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 195.767633] [DEBUG]Using auto-detected bridge virtualgl
[ 203.267664] [INFO]Response: Yes. X is active.
[ 203.267701] [INFO]Running application using virtualgl.
[ 203.267911] [DEBUG]Process vglrun started, PID 4424.
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 0x209)
12.681075 frames/sec - 10.661233 Mpixels/sec
10.998630 frames/sec - 9.246768 Mpixels/sec
10.563611 frames/sec - 8.881039 Mpixels/sec
11.111996 frames/sec - 9.342077 Mpixels/sec
[ 212.685700] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 212.685776] [DEBUG]Socket closed.
[ 212.685814] [DEBUG]Killing all remaining processes.
root@kali:~#
What could be going wrong? Any help would be appreciated. Thanks in advance!!
apt-get install complains -- 'nvidia-installer --uninstall'
I followed Post 25 to download and install the nvidia-drivers from nvidia's website. Now, each time I run 'apt-get install' to install something, apt-get asks me to run 'nvidia-installer --uninstall'. Do you folks also face the same issue? I have commented out the wheezy-backport from sources.list but still the problem persists.
Code:
│ │
│ The nvidia-installer program was found on this system. This is probably left over from an earlier installation of the non-free │
│ NVIDIA graphics driver, installed using the NVIDIA *.run file directly. This installation is incompatible with the Debian │
│ packages. To install the Debian packages safely, it is therefore necessary to undo the changes performed by nvidia-installer. │
│ │
│ Run "nvidia-installer --uninstall"?
│ <Yes> <No> │