Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
linux_rules
Level 3
Level 3
Posts: 155
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by linux_rules » Fri Feb 23, 2018 1:21 pm

Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

I did

Code: Select all

sudo add-apt-repository ppa:graphics-drivers/ppa
then

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install nvidia-390
and rebooted.

But still instead of the proprietary driver the nouveau driver is in use. How do I select the proprietary driver ?

Code: Select all

$ inxi -Fxz
System:    Host: lts Kernel: 4.4.0-116-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.16.2 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.1 Serena
Machine:   Mobo: ASUSTeK model: H110M-CS v: Rev X.0x
           Bios: American Megatrends v: 3016 date: 12/27/2016
CPU:       Dual core Intel Core i3-6100 (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 14783
           clock speeds: max: 3700 MHz 1: 799 MHz 2: 799 MHz 3: 799 MHz
           4: 799 MHz
Graphics:  Card: NVIDIA GK107 [GeForce GTX 650] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nouveau (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: NVE7
           GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card-1 NVIDIA GK107 HDMI Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Intel Sunrise Point-H HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.4.0-116-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 120.0GB (35.5% used)
           ID-1: /dev/sda model: Samsung_SSD_750 size: 120.0GB
Partition: ID-1: / size: 24G used: 7.6G (34%) fs: ext4 dev: /dev/sda2
           ID-2: /home size: 36G used: 33G (95%) fs: ext4 dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 39.0
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 178 Uptime: 6 min Memory: 987.1/3889.5MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

User avatar
sdibaja
Level 5
Level 5
Posts: 619
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by sdibaja » Fri Feb 23, 2018 1:30 pm

maybe another method will work
https://wiki.debian.org/NvidiaGraphicsDrivers

linux_rules
Level 3
Level 3
Posts: 155
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by linux_rules » Fri Feb 23, 2018 1:37 pm

sdibaja wrote:
Fri Feb 23, 2018 1:30 pm
maybe another method will work
https://wiki.debian.org/NvidiaGraphicsDrivers
The non free driver was already installed so I just did

Code: Select all

# mkdir /etc/X11/xorg.conf.d
# echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
and rebooted but same thing. Nouveau driver is still in use.

Code: Select all

$ inxi -G
Graphics:  Card: NVIDIA GK107 [GeForce GTX 650]
           Display Server: X.Org 1.18.4 drivers: nouveau (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: NVE7 GLX Version: 3.0 Mesa 17.2.8
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

Mattyboy
Level 6
Level 6
Posts: 1196
Joined: Thu Mar 26, 2015 2:17 pm

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by Mattyboy » Fri Feb 23, 2018 1:43 pm

I can't find the thread but another member a few days ago had the exact same problem so best bet is that the 390 driver shouldn't be installed until its available via update manager or driver manager recommends it.

I would purge 390 then use the driver manager to install 384.111. There's a reason 390 isn't being offered yet, always trust the Mint devs, they know what they're doing.

EDIT: Found it viewtopic.php?f=46&t=264390&p=1434376#p1434376

linux_rules
Level 3
Level 3
Posts: 155
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by linux_rules » Fri Feb 23, 2018 1:53 pm

Mattyboy wrote:
Fri Feb 23, 2018 1:43 pm
I can't find the thread but another member a few days ago had the exact same problem so best bet is that the 390 driver shouldn't be installed until its available via update manager or driver manager recommends it.

I would purge 390 then use the driver manager to install 384.111. There's a reason 390 isn't being offered yet, always trust the Mint devs, they know what they're doing.

EDIT: Found it viewtopic.php?f=46&t=264390&p=1434376#p1434376
I did

Removed the graphics PPA

then

Code: Select all

sudo apt-get purge nvidia*  
Then installed nvidia 384 using driver manager.

Now the resolution is all messed up

Code: Select all

$ inxi -G
Graphics:  Card: NVIDIA GK107 [GeForce GTX 650]
           Display Server: X.Org 1.18.4 drivers: fbdev (unloaded: vesa) FAILED: nouveau
           Resolution: 1024x768@76.00hz
           GLX Renderer: llvmpipe (LLVM 5.0, 256 bits)
           GLX Version: 3.0 Mesa 17.2.8
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by kc1di » Fri Feb 23, 2018 2:02 pm

you should be able to run the Nvidia 390 - but you may have to blacklist or uninstall nouveau driver before it will be loaded. Nvidia and nouveau are not compatible to be run at the same time. When installing via the driver manager it automatically blacklists nouveau for you.
to blacklist do this :

Code: Select all

gksudo xed /etc/modprobe.d/blacklist-nouveau.conf 
The file may be empty
add this line and save:

Code: Select all

blacklist nouveau
Last edited by kc1di on Fri Feb 23, 2018 2:03 pm, edited 1 time in total.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

Mattyboy
Level 6
Level 6
Posts: 1196
Joined: Thu Mar 26, 2015 2:17 pm

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by Mattyboy » Fri Feb 23, 2018 2:03 pm

Yeah, sorry not sure why the res has messed up.... you re-booted right? :lol:

I'd try again with another uninstall, purge, reboot, install and another re-boot. Run this after the purge to see if you've got rid of everything

Code: Select all

dpkg -l | grep -i nvidia
, might wanna change that search to

Code: Select all

dpkg -l | grep -i nvidia390
These are listed on my machine.

Code: Select all

~ $ dpkg -l | grep -i nvidia
ii  bbswitch-dkms                               0.8-3ubuntu1                                            amd64        Interface for toggling the power on NVIDIA Optimus video cards
ii  libcuda1-384                                384.111-0ubuntu0.16.04.1                                amd64        NVIDIA CUDA runtime library
ii  nvidia-384                                  384.111-0ubuntu0.16.04.1                                amd64        NVIDIA binary driver - version 384.111
ii  nvidia-opencl-icd-384                       384.111-0ubuntu0.16.04.1                                amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                                0.8.2linuxmint1                                         amd64        Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                         1.0.6                                                   all          An applet for NVIDIA Prime
ii  nvidia-settings                             361.42-0ubuntu1                                         amd64        Tool for configuring the NVIDIA graphics driver
Past that, can't help any further... but I bet someone else can mate.

EDIT: what kc1di said :)

linux_rules
Level 3
Level 3
Posts: 155
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by linux_rules » Fri Feb 23, 2018 2:09 pm

kc1di wrote:
Fri Feb 23, 2018 2:02 pm
you should be able to run the Nvidia 390 - but you may have to blacklist or uninstall nouveau driver before it will be loaded. Nvidia and nouveau are not compatible to be run at the same time. When installing via the driver manager it automatically blacklists nouveau for you.
to blacklist do this :

Code: Select all

gksudo xed /etc/modprobe.d/blacklist-nouveau.conf 
The file may be empty
add this line and save:

Code: Select all

blacklist nouveau
Just did "blacklist nouveau" and rebooted. Resolution is back to normal now and I am using the Nvidia driver too.

Thanks a lot.

But the question remains why was the nouveau driver not blacklisted despite using driver manager to install the nvidia driver .

Code: Select all

$ inxi -G
Graphics:  Card: NVIDIA GK107 [GeForce GTX 650]
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 650/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.111
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

Mattyboy
Level 6
Level 6
Posts: 1196
Joined: Thu Mar 26, 2015 2:17 pm

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by Mattyboy » Fri Feb 23, 2018 2:16 pm

linux_rules wrote:
Fri Feb 23, 2018 2:09 pm
But the question remains why was the nouveau driver not blacklisted despite using driver manager to install the nvidia driver .
Quite curious about that myself. I just looked at my own .config file which contains no blacklist, its empty??. I just installed from the driver manager.

Code: Select all

Graphics:  Card: NVIDIA Device 1c03 bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Guessing, maybe its something to do with you first trying 390?

Good that its working now though :)

linux_rules
Level 3
Level 3
Posts: 155
Joined: Sun Apr 24, 2011 1:51 am
Contact:

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by linux_rules » Fri Feb 23, 2018 2:19 pm

Mattyboy wrote:
Fri Feb 23, 2018 2:16 pm
linux_rules wrote:
Fri Feb 23, 2018 2:09 pm
But the question remains why was the nouveau driver not blacklisted despite using driver manager to install the nvidia driver .
Quite curious about that myself. I just looked at my own .config file which contains no blacklist, its empty??. I just installed from the driver manager.

Code: Select all

Graphics:  Card: NVIDIA Device 1c03 bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Guessing, maybe its something to do with you first trying 390?

Good that its working now though :)
Before trying 390 I did try to install using driver manager. The result was the same that is resolution was very low.
Mint 18.1
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
GeForce GTX 650

Mattyboy
Level 6
Level 6
Posts: 1196
Joined: Thu Mar 26, 2015 2:17 pm

Re: Installed the Nvidia proprietary driver and did a reboot but still using the nouveau driver

Post by Mattyboy » Fri Feb 23, 2018 2:23 pm

linux_rules wrote:
Fri Feb 23, 2018 2:19 pm

Before trying 390 I did try to install using driver manager. The result was the same that is resolution was very low.
Yeah, I bet trying the ppa install messed it up somewhere, this is why I stick with the recommended drivers. Be interesting to see what the experts think :).. cool.

Post Reply

Return to “Newbie Questions”