I found some time to investigate the issue in more details. It turns out that on Fedora 18 (at least on my machine) bumblebee does not turn off the nVidia card:
Code:
$ cat /proc/acpi/bbswitch
0000:01:00.0 ON
However, running
Code:
echo OFF > /proc/acpi/bbswitch
apparently turns off the card. The logs show:
Code:
$ dmesg | grep bbswitch
[ 29.301150] bbswitch: version 0.5
[ 29.301856] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.VID_
[ 29.302526] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG_.VID_
[ 29.303398] bbswitch: detected an Optimus _DSM function
[ 29.304063] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 8432.644990] bbswitch: disabling discrete graphics
Now, if I try to run an application by optirun, I get the same errors as before, and afterwards the nVidia card is turned on again. This time, surprisingly, bbswitch refuses OFF command:
Code:
$ echo OFF > /proc/acpi/bbswitch
$ dmesg | grep bbswitch
[ 29.301150] bbswitch: version 0.5
[ 29.301856] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.VID_
[ 29.302526] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG_.VID_
[ 29.303398] bbswitch: detected an Optimus _DSM function
[ 29.304063] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 8432.644990] bbswitch: disabling discrete graphics
[ 8692.688552] bbswitch: enabling discrete graphics
[ 8713.287185] bbswitch: device 0000:01:00.0 is in use by driver 'nouveau', refusing OFF
[ 8754.525836] bbswitch: device 0000:01:00.0 is in use by driver 'nouveau', refusing OFF
[ 8866.211991] bbswitch: device 0000:01:00.0 is in use by driver 'nouveau', refusing OFF
I also found this :
https://github.com/Bumblebee-Project/bbswitch/issues/39 ; suggesting the optimus technology is being officially supported by Fedora 18. But I couldn't understand how to enable PRIME (and use it instead of bumblebee).