Bumblebee-Project/Bumblebee — Issue #50: bbswitch on fails - optirun hangs with 100% cpu usage
Author: andaag
Created: 2012-01-21 09:22:05+00:00
State: open

Hi

I had optirun working yesterday, today on a clean boot (on a laptop, ran it out of power yesterday..) it won't work.

optirun --debug glxgears hangs with 100% cpu usage with these messages:
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...

I figured I'd try doing it manually, and executed echo "ON" > /proc/acpi/bbswitch and that hung as well. This dmesg | grep bbswitch:
[ 5.298012] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 5.298021] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 5.298091] bbswitch: detected an Optimus _DSM function
[ 5.298097] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 5.404598] bbswitch: disabling discrete graphics
[ 5.404747] bbswitch: Result of Optimus _DSM call: 11000041
[ 91.949351] bbswitch: enabling discrete graphics
[ 531.305904] bbswitch: enabling discrete graphics