Nvidia Optimus on Fedora 26

asked 2017-08-06 05:43:23 -0600

campino gravatar image

hey,

I bought a laptop with Nvidia Optimus in 2012, but back then I could not get the hybrid graphics configured (and did not really need them). Now, several blog posts (e.g. https://blogs.gnome.org/uraeus/2016/1... ) say it should work out-of-the-box, so I want to give it another try.

The first step is to install the nvidia driver from https://negativo17.org/nvidia-driver/ . I added the Repo, but while dnf shows all of the packages, nothing shows up in Gnome Software. The page says

Please note that the driver will show up only if your system matches one of the PCI ID supported by the driver. Otherwise, only the other Nvidia programs (mostly for CUDA development) will show up in the software center.

However, neither the driver nor the programs show up. What might be wrong here? Also, I can't seem to find a list of supported PCI IDs. My laptop was bought in 2012, so maybe the graphics card is just to old? lspci says:

VGA compatible controller [0300]: NVIDIA Corporation GF108M [NVS 5400M] [10de:0def] (rev a1)
edit retag flag offensive close merge delete

Comments

1

What are you trying to achieve? Do you want dynamic switching (e.g. using discrete card for certain program) or just want to activate your nvidia card all the time? For the first you need bumblebee, while for the latter (i.e the one from negativo) would activate your nvidia card all the time. See here: https://superdanby.github.io/Blog/dea...

Alternative to bumblebee is Nouveau + Prime, which is installed out-of-box in Fedora. So if you fresh install Fedora in that laptop, you just do DRI_PRIME=1 [binary name] to run any program using nvidia card.

arya s. gravatar imagearya s. ( 2017-08-06 06:37:48 -0600 )edit