Using NVIDIA Optimus on Ubuntu 17.10

I have a laptop with a GeForce 940MX which I would like to use. Unfortunately installing the official nvidia drivers under "additional drivers" and reverting from wayland to x11 does not do the trick. If I try to use prime-select nvidia, then under "settings" the graphics option becomes "unknown".

Should I use bumblebee? Is there anyone that successfully activated nvidia settings on ubuntu 17.10?

Thanks!


Solution 1:

It seemed that when the NVIDIA installers ask "do you want me to disable secure boot?" and lets you input a password it does it just for a show. It never ACTUALLY disables secure boot. By entering the BIOS, disabling it manually, and rebooting the GPU automagically appears!

Ah, of course this just works only under x11, not under the damned Wayland environment. So first revert to x11, then disable secure boot, then work on NVIDIA.

I have some comments about this, but I think I can be banned for obscenity on this website, so I'll keep my mouth shut.