Can't change Nvidia graphics card driver

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
skyace65

Can't change Nvidia graphics card driver

Post by skyace65 »

I've been doing some setup on my Mint partition and changed my graphics card driver from Nouveau to the proprietary Nvidia driver. After a reboot my computer started in software rendering mode saying that something must have gone wrong. I switched back to Nouveau in options, rebooted and I'm having the exact same issue. Except now I've lost the ability to change drivers. In my driver manager there's now a third filled in circle saying "Continue using a manually installed driver" and the Nvidia and Nouveau options are unselectable.Any ideas how to fix this?

Heres my inxi information

Code: Select all

System:    Host: NeoDelta Kernel: 4.15.0-36-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: ASUS product: All Series serial: N/A
           Mobo: ASUSTeK model: Z87-PLUS v: Rev 1.xx serial: N/A
           UEFI: American Megatrends v: 1802 date: 01/28/2014
CPU:       Quad core Intel Core i5-4690K (-MCP-) 
           arch: Haswell rev.3 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27982
           clock speeds: max: 3900 MHz 1: 2905 MHz 2: 1907 MHz 3: 3438 MHz
           4: 3445 MHz
Graphics:  Card: NVIDIA GP104 [GeForce GTX 1070] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: fbdev,nouveau (unloaded: modesetting,vesa)
           Resolution: 1024x768@76.00hz
           OpenGL: renderer: llvmpipe (LLVM 6.0, 256 bits)
           version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GP104 High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card: Intel Ethernet Connection I217-V
           driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: up speed: 10 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1639.5GB (13.7% used)
           ID-1: /dev/sda model: Crucial_CT525MX3 size: 525.1GB
           ID-2: /dev/sdb model: Crucial_CT1050MX size: 1050.2GB
           ID-3: USB /dev/sdc model: MassStorageClass size: 64.2GB
Partition: ID-1: / size: 480G used: 187G (41%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 204 Uptime: 13 min Memory: 1175.6/15978.8MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Can't change Nvidia graphics card driver

Post by roblm »

skyace65 wrote:In my driver manager there's now a third filled in circle saying "Continue using a manually installed driver" and the Nvidia and Nouveau options are unselectable.
That’s a bug in the operation of Driver Manager. Prior to Mint 19, the only time that message was seen was when a Nvidia driver was downloaded and installed from Nvidia’s website. Now it happens almost every time the Nviidia driver is removed from Driver Manager. You will need to use the apt commandline package manager.

Use this command in the Terminal and reboot: sudo apt autoremove

If Driver Manager still has that message, then use this command to check if the file nvidia-graphics-drivers.conf exists in /etc/modprobe.d: ls /etc/modprobe.d

If it does, then use this command to remove it: sudo rm /etc/modprobe.d/nvidia-graphics-drivers.conf

Then update the initial ramdisk and reboot: sudo update initramfs -u; reboot

If the message still persists, use this command: sudo apt purge *nvidia*


If you attempt to install the Nvidia driver again and it fails, then use these commands and post the output:

Code: Select all

inxi -Gx
ls /lib/modules/`uname -r`/kernel/drivers/char/drm/
lspci -nnk |egrep -A3 -i "3D|VGA"	
ls /etc/modprobe.d
mokutil --sb-state

Also post the Xorg.0.log file. Use this command to open it: xed /var/log/Xorg.0.log
Press Ctrl+A to select the entire file contents. Right click on the screen and select “Copy”. Open the Mint Forum reply window and select </> at the top. Press Ctrl+V to paste the copied lines into a code display window.

If you have problems posting that long file, then it can be uploaded to pastebin. First use this command to install pastebinit:
sudo apt install pastebinit

Then use this command to upload the file: pastebinit /var/log/Xorg.0.log
Post the URL link that displays in the Terminal window.
User avatar
farkas
Level 5
Level 5
Posts: 555
Joined: Mon Sep 21, 2015 6:10 pm
Location: Oregon

Re: Can't change Nvidia graphics card driver

Post by farkas »

I had the same problem,see my post
viewtopic.php?f=59&t=280134
I hope it will help.
If your query has been resolved, edit your first post and add [SOLVED] to the subject line.
If you found a solution on your own please post it.
A generation which ignores history has no past and no future.
Locked

Return to “Graphics Cards & Monitors”