I followed the instructions on fedora wiki
Here are some commandline outputs:
[saad@saad-dell-xps-15 ~]$ dmesg | grep bbswitch
[ 6933.907951] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6933.907961] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6933.908139] bbswitch: detected an Optimus _DSM function
[ 6933.908144] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 7031.147048] bbswitch: disabling discrete graphics
[ 7031.147213] bbswitch: Result of Optimus _DSM call: 11000059
[saad@saad-dell-xps-15 Bumblebee]$ sudo cat /proc/acpi/bbswitch
[ 8772.261362] bbswitch: disabling discrete graphics
[ 8772.261744] bbswitch: Result of Optimus _DSM call: 11000059
[ 8772.272925] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 8772.307069] pci 0000:01:00.0: power state changed by ACPI to D3
[saad@saad-dell-xps-15 Bumblebee]$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
299 frames in 5.0 seconds = 59.796 FPS
[saad@saad-dell-xps-15 Bumblebee]$ optirun glxgears
1144 frames in 5.0 seconds = 228.656 FPS
Thank you Bumblebee Devs!
(im running f16 on dell xps 15)
Now whats the proper way to get it to load at startup? I only followed the wiki instructions...didn't create any bbswitch.conf or run dkms. There is a bumblebee.service file in the bumblebee folder under scripts/systemmd...
Ok i followed ragib's instructions. Built bbswitch module into kernel with dkms and created a bbswitch.conf file under modules.d. Added bumblebeed.service to systemmd dir. It works at boot
But i think the module was built for one specific kernel only (3.2.7-1.fc16.x86_64). When i update the kernel, I'll have to build and install bbswitch again...right?