I'm running Ubuntu 17.10 for a while now. I have a Lenovo Ideapad 510-15ISK with a Nvidia Geforce 940MX and some Intel integrated graphics card. This was working fine with Dota 2, which I play. I had installed the Nvidia Proprietary drivers 384.111.
But suddenly I noticed when playing Dota 2 that the framerate was decreased a lot, from a steady 100 to about 30 - 40. I of course assumed there was a driver issue. So I found out that the Nvidia drivers weren't used anymore but the nouveau drivers instead:
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
Subsystem: Lenovo GM108M [GeForce 940MX]
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at 93000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [disabled] [size=128]
Expansion ROM at <ignored> [disabled]
Capabilities: <access denied>
Kernel modules: nvidiafb, nouveau
I found out that 'nvidiafb' is not the Nvidia Proprietary driver.
However, when I look in 'Software & Updates', it states that I'm using the proprietary drivers. See this screenshot: nvidia drivers
As you can see in the screenshot, I've changed driver versions. I've already tried purging all nvidia drivers and reinstalling. I've used both 384.111 and 390.12, but in all cases, my Ubuntu installation still uses the nouveau drivers instead.
Also I've tried to add the nouveau drivers to the blacklist, but that won't make a difference.
What could be the problem? How can I make Ubuntu use the proprietary drivers again? Hopefully I gave enough information, let me know if I need to give more information.
(Probably, because of this, the Nvidia X Server application won't start.)