I have an HP Envy 17″ Laptop with the Nvidia Optimus hybrid graphics configuration. I have been trying to install the Nvidia drivers on Fedora 20 for a few weeks now.
I tried akmods and kmods from the RPM Fusion repositories and also the binary from the Nvidia website to no avail.
All I kept getting was a system hang right at the “Starting Gnome Display Manager” message, I had everything installed properly and just couldn’t get to the bottom of it.
So I decided to go the bumblebee route and hey presto it works flawlessly so I thought I would write a quick post on this so the information is as clear as possible and hopefully easy to find for someone who has the same problems.
[alert-note]Please su into root or use sudo[/alert-note]
yum install -y libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel VirtualGL
If you plan on using 32bit packages on your 64bit system you will also need to do
yum install -y VirtualGL.i686
Install The Bumblebee Repository
yum -y --nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora20/noarch/bumblebee-release-1.1-1.noarch.rpm
yum -y install bbswitch bumblebee
Now Install The Bumblebee Non-Free Repository
yum -y --nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora20/noarch/bumblebee-nonfree-release-1.1-1.noarch.rpm
Now install the NVidia Drivers
yum -y install bumblebee-nvidia
Reboot and all should be well!
Once you have rebooted we need to check it’s all working as it should.
optirun glxgears -info | grep "GL_VENDOR"
How Do I Run An Application Using My NVidia Device?
To use your Nvidia chip to handle an application or game just run
GNOME 3 Extension
There is a brilliant extension which indicates when an application is using your Nvidia device
you can find it here