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.)
Best Answer
A common problem is not loading the correct kernel module. You have that very issue (see follows):
Kernel modules: nvidiafb, nouveau
Please follow the advice of
in the original article on this subject: Install Nvidia driver instead of nouveau
0) Download the current NVIDIA driver
1) shutdown your login manager with Ctrl+Alt+F1, and type in
2) blacklist the non-proprietary drivers by editing
/etc/modprobe.d/blacklist.conf
3) remove the existing nvidia drivers and purge any old status and module entries
4) rebuild your current kernel
5) reboot
6) install your new NVIDIA driver from the commandline: exit the login-screen and stop the x-server [see step (1)], run your NVIDIA-downloaded driver, install the driver, and reboot
7) execute
lshw -c video
andmodprobe nvidia
to make sure the correct kernel module is running:lshw -c video
If the entries
license
,name
andconfiguration: driver
are for you the same as they are here, all went well and the proprietary driver is running.