I am using a Lenovo IdeaPad Y580 laptop with an Intel i7 CPU, an Intel HD4000 integrated GPU, and NVIDIA GeForce GTX660M discrete GPU.
I have recently installed Debian testing (jessie) on it, previously using Ubuntu 14.10.
To be able to use the discrete graphics card, I have installed Bumblebee, following the guide on Debian wiki. All apps seemed to run right using optirun.
Then, I installed Steam from the repository. Problem is, that optirun fails to launch any game ran from Steam (you can notice that the user status changes to In-Game for a while, but then reverts to online). Running games using the integrated GPU works perfectly fine.
I believe that there is some problem with the libraries. I noticed, that when editing the Bumblebee config from:
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
to:
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
Steam appears to launch the game using optirun. However, it is launched by the IGP, guiding by the low FPS.