I've fighted a lot with prop nvidia driver and bumblebee, but finally I
given up :) It was too painful, so I'm using nouveu now and the following
grub config works perfectly. Please note, optimus with nouveau is better
and better every day, so maybe you should give a chance
GRUB_GFXPAYLOAD_LINUX="
I have Fedora 21 XFCE x64 running on a laptop with dual graphics:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core
Processor Integrated Graphics Controller [8086:0416] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104M
[GeForce GTX 870M] [10de:1199