Nov052019
Setup NVIDIA Optimus on Fedora
Uninstall bumblebee and nvidia driver from rpmfusion if installed.
$ sudo dnf remove *nvidia* akmod-bbswitch bumblebee primusAin't Nobody Got Time to Read
Uninstall bumblebee and nvidia driver from rpmfusion if installed.
$ sudo dnf remove *nvidia* akmod-bbswitch bumblebee primusThis post is obsolete. Please check the new manual at this post
If you don't care to battery and want to use NVIDIA card fulltime, check this post.
Add RPMFusion repositories
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm