You are not logged in.
Pages: 1
Starting optirun <program-name> crashes the entire operating system [laptop shuts down].
My system:
Kernel: 3.14.1-1-ARCH x86_64 (64 bit)
Desktop: KDE 4.12.4
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller
Card-2: NVIDIA GK107M [GeForce GT 650M]
bumblebee 3.2.1-3
bbswitch 0.8-7
nvidia 337.12-1
nvidia-utils 337.12-1
lib32-nvidia-utils 337.12-1
# Configuration file for Bumblebee. Values should **not** be put betwee/home/ cappuccino/n 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=
# 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/home/ cappuccino/
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/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
# [url]https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods[/url]
## 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/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/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
Reinstalling bumblebee, bbswitch, nvidia, nvdida-utils did not help.
Any thoughts?
Last edited by cappuccino (2014-05-18 21:44:10)
Offline
Not a Pacman issue, moving to Multimedia...
Offline
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like this
It makes the code more readable and - in case of longer listings - more convenient to scroll through.
Offline
No problem running optirun on my end. Does it crash with any program or just a specific one?
Offline
Each program crashes [blender, openshot, FF, GE, kdenlive...] and kills my lappy. I just noticed that nvidia does not start at boot time:
lsmod
Module Size Used by
nls_iso8859_1 4421 0
nls_cp437 5953 0
vfat 10119 0
fat 51960 1 vfat
usb_storage 48231 0
vboxdrv 265603 0
fuse 77228 3
rfcomm 50904 12
bnep 12989 2
bbswitch 6150 0
ip6t_REJECT 3948 1
btusb 20136 0
coretemp 6390 0
uvcvideo 72804 0
videobuf2_vmalloc 3304 1 uvcvideo
videobuf2_memops 2335 1 videobuf2_vmalloc
bluetooth 342577 32 bnep,btusb,rfcomm
videobuf2_core 29255 1 uvcvideo
videodev 122955 2 uvcvideo,videobuf2_core
media 12103 2 uvcvideo,videodev
6lowpan_iphc 11364 1 bluetooth
joydev 9631 0
mousedev 10464 0
xt_hl 1337 6
ip6t_rt 5184 3
arc4 2000 2
intel_rapl 11776 0
x86_pkg_temp_thermal 6991 0
intel_powerclamp 9154 0
kvm_intel 132876 0
kvm 404172 1 kvm_intel
nf_conntrack_ipv6 9341 7
nf_defrag_ipv6 25998 1 nf_conntrack_ipv6
iTCO_wdt 5375 0
iTCO_vendor_support 1929 1 iTCO_wdt
iwldvm 167546 0
mxm_wmi 1467 0
mac80211 490609 1 iwldvm
crct10dif_pclmul 4682 0
crc32_pclmul 2923 0
crc32c_intel 14185 0
ghash_clmulni_intel 4330 0
snd_hda_codec_realtek 46566 1
aesni_intel 144295 0
ipt_REJECT 2441 1
snd_hda_codec_generic 53211 1 snd_hda_codec_realtek
xt_LOG 12659 10
aes_x86_64 7399 1 aesni_intel
lrw 3565 1 aesni_intel
gf128mul 5858 1 lrw
glue_helper 4417 1 aesni_intel
ablk_helper 2004 1 aesni_intel
cryptd 8441 3 ghash_clmulni_intel,aesni_intel,ablk_helper
i915 737756 3
iwlwifi 143364 1 iwldvm
microcode 16837 0
evdev 10629 15
i2c_i801 11269 0
mac_hid 3305 0
psmouse 88854 0
snd_hda_intel 37704 5
serio_raw 4977 0
pcspkr 2027 0
cfg80211 431038 3 iwlwifi,mac80211,iwldvm
xt_limit 1913 13
snd_hda_codec 99871 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
xt_tcpudp 3143 52
drm_kms_helper 35540 1 i915
snd_hwdep 6332 1 snd_hda_codec
xt_addrtype 2885 4
snd_pcm 79815 3 snd_hda_codec,snd_hda_intel
drm 237667 4 i915,drm_kms_helper
alx 29404 0
snd_timer 18718 1 snd_pcm
mdio 3215 1 alx
mei_me 9456 0
snd 59286 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
ac 3334 0
battery 7533 0
intel_gtt 12536 1 i915
mei 64646 1 mei_me
i2c_algo_bit 5391 1 i915
thermal 8556 0
nf_conntrack_ipv4 9122 7
lpc_ich 13368 0
nf_defrag_ipv4 1467 1 nf_conntrack_ipv4
i2c_core 24824 6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
soundcore 5418 1 snd
button 4477 1 i915
----snip------
After modprobe:
Module Size Used by
nvidia 10784100 0
nls_iso8859_1 4421 0
nls_cp437 5953 0
vfat 10119 0
fat 51960 1 vfat
usb_storage 48231 0
vboxdrv 265603 0
fuse 77228 3
rfcomm 50904 12
bnep 12989 2
bbswitch 6150 0
ip6t_REJECT 3948 1
btusb 20136 0
coretemp 6390 0
uvcvideo 72804 0
videobuf2_vmalloc 3304 1 uvcvideo
videobuf2_memops 2335 1 videobuf2_vmalloc
bluetooth 342577 32 bnep,btusb,rfcomm
videobuf2_core 29255 1 uvcvideo
videodev 122955 2 uvcvideo,videobuf2_core
media 12103 2 uvcvideo,videodev
6lowpan_iphc 11364 1 bluetooth
joydev 9631 0
mousedev 10464 0
xt_hl 1337 6
ip6t_rt 5184 3
arc4 2000 2
intel_rapl 11776 0
x86_pkg_temp_thermal 6991 0
intel_powerclamp 9154 0
kvm_intel 132876 0
kvm 404172 1 kvm_intel
nf_conntrack_ipv6 9341 7
nf_defrag_ipv6 25998 1 nf_conntrack_ipv6
iTCO_wdt 5375 0
iTCO_vendor_support 1929 1 iTCO_wdt
iwldvm 167546 0
mxm_wmi 1467 0
mac80211 490609 1 iwldvm
crct10dif_pclmul 4682 0
crc32_pclmul 2923 0
crc32c_intel 14185 0
ghash_clmulni_intel 4330 0
snd_hda_codec_realtek 46566 1
aesni_intel 144295 0
ipt_REJECT 2441 1
snd_hda_codec_generic 53211 1 snd_hda_codec_realtek
xt_LOG 12659 10
aes_x86_64 7399 1 aesni_intel
lrw 3565 1 aesni_intel
gf128mul 5858 1 lrw
glue_helper 4417 1 aesni_intel
ablk_helper 2004 1 aesni_intel
cryptd 8441 3 ghash_clmulni_intel,aesni_intel,ablk_helper
i915 737756 3
iwlwifi 143364 1 iwldvm
microcode 16837 0
evdev 10629 15
i2c_i801 11269 0
mac_hid 3305 0
psmouse 88854 0
snd_hda_intel 37704 5
serio_raw 4977 0
pcspkr 2027 0
cfg80211 431038 3 iwlwifi,mac80211,iwldvm
xt_limit 1913 13
snd_hda_codec 99871 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
xt_tcpudp 3143 52
drm_kms_helper 35540 1 i915
snd_hwdep 6332 1 snd_hda_codec
xt_addrtype 2885 4
snd_pcm 79815 3 snd_hda_codec,snd_hda_intel
drm 237667 5 i915,drm_kms_helper,nvidia
alx 29404 0
snd_timer 18718 1 snd_pcm
mdio 3215 1 alx
mei_me 9456 0
snd 59286 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
ac 3334 0
battery 7533 0
intel_gtt 12536 1 i915
mei 64646 1 mei_me
i2c_algo_bit 5391 1 i915
thermal 8556 0
nf_conntrack_ipv4 9122 7
lpc_ich 13368 0
nf_defrag_ipv4 1467 1 nf_conntrack_ipv4
i2c_core 24824 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,videodev
soundcore 5418 1 snd
button 4477 1 i915
----snip----
but it does not survive a reboot. Anyways, even after modprobing nvidia optirun is hit or miss. I also tried with kernel parameter:
rcutree.rcu_idle_gp_delay=1
but no joy
Offline
same problem there.
Kernel:
3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST 2014 x86_64 GNU/Linux
WM:
awesome v3.5.5 (Kansas City Shuffle)
• Build: Apr 11 2014 09:36:33 for x86_64 by gcc version 4.8.2 (nobody@)
• Compiled against Lua 5.2.3 (running with Lua 5.2)
• D-Bus support: ✔
Graphics:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev ff)
the very same versions of bubmlebee, bbswitch, nvidia, etc. as in TS.
almost always there is an instant shutdown when optirun or primusrun are triggered.
twice I saw complaints about Xorg and mouse (similar to the old case in 2012).
few times there were glxgears have been rendered with primusrun at the first run and inevitable crush and shutdown ever after.
with initial clear run and following crush I see this in my log:
Apr 20 19:59:24 localhost kernel: bbswitch: enabling discrete graphics
Apr 20 19:59:25 localhost kernel: nvidia: module license 'NVIDIA' taints kernel.
Apr 20 19:59:25 localhost kernel: Disabling lock debugging due to kernel taint
Apr 20 19:59:25 localhost kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Apr 20 19:59:24 localhost slim[426]: removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 /dev/dri/card1
Apr 20 19:59:24 localhost slim[426]: xf86: found device 1
Apr 20 19:59:25 localhost kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
Apr 20 19:59:25 localhost kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 337.12 Fri Apr 4 14:51:15 PDT 2014
Apr 20 19:59:24 localhost acpid: client connected from 22084[0:997]
Apr 20 19:59:24 localhost acpid: 1 client rule loaded
Apr 20 19:59:27 localhost kernel: nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:27 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:30 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:30 localhost acpid: client connected from 22084[0:997]
Apr 20 19:59:30 localhost acpid: 1 client rule loaded
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412193] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412230] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412259] [WARN][XORG] (WW) Warning, couldn't open module mouse
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412271] [ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412283] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412299] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412311] [WARN][XORG] (WW) Warning, couldn't open module mouse
Apr 20 19:59:30 localhost bumblebeed[423]: [ 231.412317] [ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
Apr 20 19:59:43 localhost kernel: [drm] Module unloaded
Apr 20 19:59:42 localhost slim[426]: removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 /dev/dri/card1
Apr 20 19:59:43 localhost kernel: bbswitch: disabling discrete graphics
Apr 20 19:59:43 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:43 localhost kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
Apr 20 19:59:42 localhost systemd-coredump[24400]: Process 22084 (Xorg) dumped core.
Apr 20 19:59:45 localhost kernel: bbswitch: enabling discrete graphics
Apr 20 19:59:46 localhost kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Apr 20 19:59:46 localhost kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
Apr 20 19:59:46 localhost kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 337.12 Fri Apr 4 14:51:15 PDT 2014
Apr 20 19:59:46 localhost kernel: nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 19:59:46 localhost kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Apr 20 20:00:31 localhost syslog-ng[413]: syslog-ng starting up; version='3.5.3'
the very last string goes for system start after shutdown.
so I reckon something tried to bring discrete graphics online that is already online, failed badly, dumped and crushed the whole system.
Last edited by celeste.appletree (2014-04-21 19:29:52)
Offline
Also for me the same problem.
Arch 64 bits, kernel 3.14.1-1
How can I contribute to learn something?
Which logs?
Thank you
Last edited by paozaf (2014-04-22 21:32:34)
Offline
https://bbs.archlinux.org/viewtopic.php … 0#p1326090 helped.
a followed through steps 2 and 3.
primusrun works for me now
Offline
After the latest update it actually works with adding rcutree.rcu_idle_gp_delay=1 in /etc/default/grub
Offline
Pages: 1