The official proprietary drivers for nvidia and amd gpus tend to work pretty well, and Ubuntu will prompt you to install them. The open source ones are generally not suitable for games yet.
If you run the first command but have an Optimus card, the program will still run, but it will use the weak Intel GPU instead of the powerful nvidia GPU -- which is plenty powerful enough for "normal" desktop usage like web browsing, email, word processing, or video players, but a recent 3D game will likely turn into a slideshow.
Hopefully the Steam client will make it easy for people to use Bumblebee by giving a GUI to install the PPA and automatically invoking 3D games with optirun.
Most Intel gpus just have open source drivers.