NVidia GeForce GTX 780 driver doesn't work in LM20

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

I've tried so many things that I don't even know the whole list of attempted fixes any more.

I used the 'nomodeset' option on the GRUB menu, so at least I can boot into a desktop using the Nouveau driver without having to detour into the Grub advanced recovery menu first.

So... do I just wait patiently for a week or two? Is NVidia working on this problem? Are Linux Mint volunteers working on this problem? I... I just don't know what to do to get a working system again. I'd like my 2nd monitor to work. I'd like my Steam games to work. This problem is beyond my skill level to solve. Sorry.

User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2538
Joined: Mon Aug 27, 2012 10:17 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by Kadaitcha Man »

MellowTigger wrote:
Fri Jul 10, 2020 11:33 pm
I've tried so many things that I don't even know the whole list of attempted fixes any more.
Perhaps you're confused from all the work you've done. The nomodeset option should be used to boot the installer, then after installation, it should be used to boot the installation for the first time. You then install the nVidia driver and reboot without nomodeset.
It's pronounced kad-eye-cha, not kada-itcha.

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

If I install any NVidia drivers, then my system fails to boot. I end up either with a useless unblinking underscore character in the top left corner of my screen, or with pretty dark blue pixels across my screen.

I can boot to login screen ONLY if I use the nomodeset option on the main menu OR I go through the trouble of using the advanced recovery options, spending time in root console then finally resuming login session with nouveau drivers. My mistake every.single.time. is installing Nvidia drivers. So I don't do that any more, until this problem is resolved.

I'm using an ASUS ROG Strix X570-F Gaming motherboard, in case that detail matters in this configuration problem, but I'm not noticing any other problems. Just video.

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

None of the automated updates have helped, so I guess I'm ready to offer what service I can if someone here can help me diagnose the problem on my system. I continue to press ESCape at the boot menu to press "E" to edit the main boot option and replace "quiet splash" with "nomodeset" in order to boot at all. If I don't, then I end up with a black screen and an unblinking underscore character in the top left corner. That's even with the nouveau driver. If I try switching to NVidia drivers, I then have to boot to recovery mode and uninstall those drivers in order to get anywhere useful.

My system info is uploaded here. I have an ASUS ROG STRIX X570-F GAMING motherboard (with the latest BIOS), AMD Ryzen 5 cpu, and NVidia GeForce GTX 780 graphics card. This combination worked fine in Linux Mint 19.3.
https://termbin.com/ku6s

Here's some of the command output that I see other people posting when they solicit help:

Code: Select all

user@comp:~$ more /etc/X11/default-display-manager
/usr/sbin/lightdm

user@comp:~$ inxi -Gx
Graphics:  Device-1: NVIDIA GK110 [GeForce GTX 780] vendor: eVga.com. GK110B driver: N/A bus ID: 08:00.0 
           Display: x11 server: X.Org 1.20.8 driver: fbdev,nouveau unloaded: modesetting,vesa resolution: 1920x1200~77Hz 
           OpenGL: renderer: llvmpipe (LLVM 10.0.0 128 bits) v: 3.3 Mesa 20.0.8 direct render: Yes 

user@comp:~$ lspci -nnk |egrep -A3 -i "3D|VGA"
08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK110 [GeForce GTX 780] [10de:1004] (rev a1)
	Subsystem: eVga.com. Corp. GK110B [GeForce GTX 780 SC w/ ACX Cooler] [3842:0784]
	Kernel modules: nvidiafb, nouveau
08:00.1 Audio device [0403]: NVIDIA Corporation GK110 High Definition Audio Controller [10de:0e1a] (rev a1)
	Subsystem: eVga.com. Corp. GK110 High Definition Audio Controller [3842:0784]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
09:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]

I went looking into LightDM, and Ubuntu says that they switched to GDM?
https://wiki.ubuntu.com/LightDM

User avatar
roblm
Level 12
Level 12
Posts: 4393
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by roblm »

It appears that the Nvidia kernel modules were not built during the Nvdiia driver installation. Use this command to remove the Nvidia driver: sudo apt-get purge *nvidia*

After rebooting, use this command to re-install the Nvidia driver: apt install nvidia-driver-440

Copy the installation log that is displayed in the Terminal window and post the contents.

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

Thanks for taking a look. Here is the output.

Code: Select all

redact@redact:~$ apt install nvidia-driver-440
[sudo] password for redact:        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnvidia-cfg1-440 libnvidia-common-440 libnvidia-compute-440 libnvidia-decode-440 libnvidia-encode-440 libnvidia-extra-440 libnvidia-fbc1-440 libnvidia-gl-440 libnvidia-gl-440:i386
  libnvidia-ifr1-440 libnvidia-ifr1-440:i386 nvidia-compute-utils-440 nvidia-dkms-440 nvidia-kernel-common-440 nvidia-kernel-source-440 nvidia-prime nvidia-settings nvidia-utils-440
  xserver-xorg-video-nvidia-440
The following NEW packages will be installed:
  libnvidia-cfg1-440 libnvidia-common-440 libnvidia-compute-440 libnvidia-decode-440 libnvidia-encode-440 libnvidia-extra-440 libnvidia-fbc1-440 libnvidia-gl-440 libnvidia-gl-440:i386
  libnvidia-ifr1-440 libnvidia-ifr1-440:i386 nvidia-compute-utils-440 nvidia-dkms-440 nvidia-driver-440 nvidia-kernel-common-440 nvidia-kernel-source-440 nvidia-prime nvidia-settings
  nvidia-utils-440 xserver-xorg-video-nvidia-440
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.7 MB/118 MB of archives.
After this operation, 441 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-common-440 all 440.100-0ubuntu0.20.04.1 [10.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-compute-440 amd64 440.100-0ubuntu0.20.04.1 [20.9 MB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-gl-440 i386 440.100-0ubuntu0.20.04.1 [16.8 MB]                                                                
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-ifr1-440 i386 440.100-0ubuntu0.20.04.1 [62.2 kB]                                                              
Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 nvidia-prime all 0.8.14 [9,164 B]                                                                                                    
Fetched 37.7 MB in 15s (2,486 kB/s)                                                                                                                                                          
Selecting previously unselected package libnvidia-cfg1-440:amd64.
(Reading database ... 345319 files and directories currently installed.)
Preparing to unpack .../00-libnvidia-cfg1-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-cfg1-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-common-440.
Preparing to unpack .../01-libnvidia-common-440_440.100-0ubuntu0.20.04.1_all.deb ...
Unpacking libnvidia-common-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-compute-440:amd64.
Preparing to unpack .../02-libnvidia-compute-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-compute-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-decode-440:amd64.
Preparing to unpack .../03-libnvidia-decode-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-decode-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-encode-440:amd64.
Preparing to unpack .../04-libnvidia-encode-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-encode-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-extra-440:amd64.
Preparing to unpack .../05-libnvidia-extra-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-extra-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-fbc1-440:amd64.
Preparing to unpack .../06-libnvidia-fbc1-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-fbc1-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-gl-440:amd64.
Preparing to unpack .../07-libnvidia-gl-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-gl-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-gl-440:i386.
Preparing to unpack .../08-libnvidia-gl-440_440.100-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-gl-440:i386 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-ifr1-440:i386.
Preparing to unpack .../09-libnvidia-ifr1-440_440.100-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-ifr1-440:i386 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-ifr1-440:amd64.
Preparing to unpack .../10-libnvidia-ifr1-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-ifr1-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-compute-utils-440.
Preparing to unpack .../11-nvidia-compute-utils-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-compute-utils-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-kernel-source-440.
Preparing to unpack .../12-nvidia-kernel-source-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-kernel-source-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-kernel-common-440.
Preparing to unpack .../13-nvidia-kernel-common-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-kernel-common-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-dkms-440.
Preparing to unpack .../14-nvidia-dkms-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-dkms-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-utils-440.
Preparing to unpack .../15-nvidia-utils-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-utils-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package xserver-xorg-video-nvidia-440.
Preparing to unpack .../16-xserver-xorg-video-nvidia-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking xserver-xorg-video-nvidia-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-driver-440.
Preparing to unpack .../17-nvidia-driver-440_440.100-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-driver-440 (440.100-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../18-nvidia-prime_0.8.14_all.deb ...
Unpacking nvidia-prime (0.8.14) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../19-nvidia-settings_440.82-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-settings (440.82-0ubuntu0.20.04.1) ...
Setting up libnvidia-cfg1-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up nvidia-kernel-source-440 (440.100-0ubuntu0.20.04.1) ...
Setting up nvidia-prime (0.8.14) ...
Setting up libnvidia-extra-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up libnvidia-common-440 (440.100-0ubuntu0.20.04.1) ...
Setting up libnvidia-fbc1-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up nvidia-settings (440.82-0ubuntu0.20.04.1) ...
Setting up libnvidia-compute-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up nvidia-kernel-common-440 (440.100-0ubuntu0.20.04.1) ...
update-initramfs: deferring update (trigger activated)
Setting up xserver-xorg-video-nvidia-440 (440.100-0ubuntu0.20.04.1) ...
Setting up libnvidia-decode-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up nvidia-utils-440 (440.100-0ubuntu0.20.04.1) ...
Setting up libnvidia-gl-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up libnvidia-gl-440:i386 (440.100-0ubuntu0.20.04.1) ...
Setting up nvidia-compute-utils-440 (440.100-0ubuntu0.20.04.1) ...
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
Adding system user `nvidia-persistenced' (UID 126) ...
Adding new group `nvidia-persistenced' (GID 135) ...
Adding new user `nvidia-persistenced' (UID 126) with group `nvidia-persistenced' ...
Not creating home directory `/nonexistent'.
Setting up nvidia-dkms-440 (440.100-0ubuntu0.20.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Loading new nvidia-440.100 DKMS files...
Building for 5.4.0-42-generic
Building for architecture x86_64
Building initial module for 5.4.0-42-generic
Secure Boot not enabled on this system.
Done.

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/kernel/drivers/char/drm/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/kernel/drivers/char/drm/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/kernel/drivers/char/drm/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-42-generic/kernel/drivers/char/drm/

depmod...

DKMS: install completed.
Setting up libnvidia-encode-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up libnvidia-ifr1-440:amd64 (440.100-0ubuntu0.20.04.1) ...
Setting up libnvidia-ifr1-440:i386 (440.100-0ubuntu0.20.04.1) ...
Setting up nvidia-driver-440 (440.100-0ubuntu0.20.04.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.2) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-42-generic
I: The initramfs will attempt to resume from /dev/sdb10
I: (UUID=239fa741-4f7f-48f9-b185-f9e2d6fe01c6)
I: Set the RESUME variable to override this.
redact@redact:~$ 

User avatar
roblm
Level 12
Level 12
Posts: 4393
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by roblm »

The log shows that the Nvidia kernel modules were built. Can you get to desktop now after restarting?

If not, then post the output of these commands:

Code: Select all

ls /etc/X11
ls /usr/share/X11/xorg.conf.d/
mokutil --sb-state

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

I cannot boot to desktop, no. When I press ESC for GRUB then select recovery mode (with Nvidia drivers still installed), these are the results that I get from your commands.

Code: Select all

redact@redact:~$ ls /etc/X11

app-defaults
default-display-manager
fonts
rgb.txt
xinit
xkb
Xreset
Xreset.d
Xresources
Xsession
Xsession.d
Xsession.options
xsm
XvMCConfig
Xwrapper.config

redact@redact:~$ ls /usr/share/X11/xorg.conf.d/

10-amdgpu.conf
10-nvidia.conf
10-quirks.conf
10-radeon.conf
40-libinput.conf
70-wacom.conf

redact@redact:~$ mokutil --sb-state

SecureBoot disabled

Then I have to purge *nvidia* again before I can login normally. Is there a way from command line that I can force selection of the Nouveau drivers without having to purge the nvidia drivers each boot?

User avatar
roblm
Level 12
Level 12
Posts: 4393
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by roblm »

MellowTigger wrote: Is there a way from command line that I can force selection of the Nouveau drivers without having to purge the nvidia drivers each boot?
Yes you can. Use this command in tty1 or Recovery Mode to rename the nvidia-graphics-drivers.conf file, which blacklists the nouveau driver, by adding xxx to the end. This disables that file:

Code: Select all

sudo mv /lib/modprobe.d/nvidia-graphics-drivers.conf /lib/modprobe.d/nvidia-graphics-drivers.confxxx
Then update the initial ramdisk and reboot: sudo update-initramfs -u; reboot

Actually, that method makes some troubleshooting steps easier, allowing you to copy and paste long commands, instead of having to type them out. After you use that method and get back to the desktop, use these commands and post the output:

Code: Select all

ls -l /usr/lib/x86_64-linux-gnu/nvidia/xorg/
ls -l /usr/lib/xorg/modules/extensions/

Also, did you upgrade from Mint 19.3 to Mint 20 or do a new Mint 20 installation?

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

Those commands did not allow me to boot to gui desktop. :( I tried letting it boot normally. I tried using ESC to edit and change to 'nomodeset' on the main boot option, but neither worked. So, I booted again and dropped to recovery mode and ran some list commands to prove I did the rename correctly, plus the extra stuff you asked for.

Code: Select all

-rw-r--r-- 1 root root 81 May 29 05:14 /lib/modprobe.d/nvidia-graphics-drivers.confxxx

total 19364
lrwxrwxrwx 1 root root       30 May 29 05:14 libglxserver_nvidia.so -> libglxserver_nvidia.so.440.100
-rw-r--r-- 1 root root 13166704 May 29 03:19 libglxserver_nvidia.so.440.100
-rw-r--r-- 1 root root  6659776 May 29 03:21 nvidia_drv.so

total 296
-rw-r--r-- 1 root root 302440 Jun 24 01:00 libglx.so
Then I purged *nvidia* and interrupted boot to use 'nomodeset', and here I am in a web browser again. :)

I originally tried an upgrade from 19.3 to 20, but when that wasn't working and I couldn't figure out at the time how to switch to nouveau, I used a Windows laptop to download a fresh LM20 Cinnamon USB installer. I started fresh. My root and /opt directories now are sitting in new partitions.

In case it helps understand the timing of what's happening on my system, sometimes on a reboot I will see a flash that I think (it's too fast to recognize) is a text login prompt, before the screen goes black. Other times, due to powering off, I get a Linux Mint logo on both screens with the filesystem check message running, and then the screens go black. Usually, though, I just get a black screen with the unblinking underscore in the top left corner of my monitor.

p.s. I have since installed other things like Steam and Lutris, so there will be extra libraries on my system now than from the fresh install.

User avatar
roblm
Level 12
Level 12
Posts: 4393
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by roblm »

Initially when I looked over the intallation log for the Nvidia driver, I was just checking for the Nvidia kernel modules being built. Looking again at that log and I noticed these 3 additional lines at the end. Normally the log will end at the second line below:

Code: Select all

Processing triggers for initramfs-tools (0.136ubuntu6.2) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-42-generic
I: The initramfs will attempt to resume from /dev/sdb10
I: (UUID=239fa741-4f7f-48f9-b185-f9e2d6fe01c6)
I: Set the RESUME variable to override this.
That may be the source of your problem. Doing a search for Set the RESUME variable to override this will list these articles and many others.
https://askubuntu.com/questions/1116778 ... ese-issues
https://www.linuxquestions.org/question ... 4175656793/

The UUID listed above should be the same as in your fstab file for the swap partition. Open the file with this command:
xed /etc/fstab
The first article in the link above lists a command to add the UUID and the second article shows how to manually add it.
Open the resume file: xed admin:///etc/initramfs-tools/conf.d/resume

Add the UUID: RESUME=UUID={Your swap UUID here}
Last edited by roblm on Thu Jul 30, 2020 7:46 pm, edited 1 time in total.

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

Ouch. I got my hopes up, but it didn't work out for my machine. :( Your 'xed admin:' command threw all kinds of weird errors at me and failed to open, so I used a less complicated format that worked. Or seemed to.

Code: Select all

redact@redact:~$ more /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=9bc94a85-afe6-41a5-befe-3f8c89b4a6e3 /               ext4    errors=remount-ro 0       1
# /backups was on /dev/sda3 during installation
UUID=061d9492-a0e1-4c5b-8bc1-8952e34d6e57 /backups        ext4    defaults        0       2
# /boot was on /dev/sda2 during installation
UUID=d38e6029-fa04-47ca-953f-907602c2ebc3 /boot           ext4    defaults        0       2
# /boot/efi was on /dev/sda1 during installation
UUID=402B-A03E  /boot/efi       vfat    umask=0077      0       1
# /games was on /dev/sdb8 during installation
UUID=b0cd7803-945e-4f8a-9fbf-d4b2a3ca55f0 /games          ext4    defaults        0       2
# /home was on /dev/sdb3 during installation
UUID=765bb885-cb98-47c0-98ed-2bd3ce9b6ad3 /home           ext4    defaults        0       2
# /opt was on /dev/sda4 during installation
UUID=e2b6cdf1-ee55-4922-b59d-b0e180f278c2 /opt            ext4    defaults        0       2
# /virt was on /dev/sdb9 during installation
UUID=ecbcbf72-5d2c-4600-806e-23b55428cccc /virt           ext4    defaults        0       2
# swap was on /dev/sdb10 during installation
UUID=239fa741-4f7f-48f9-b185-f9e2d6fe01c6 none            swap    sw              0       0


redact@redact:~$ blkid | awk -F\" '/swap/ {print $2}'
239fa741-4f7f-48f9-b185-f9e2d6fe01c6


redact@redact:~$ more /etc/initramfs-tools/conf.d/resume
more: stat of /etc/initramfs-tools/conf.d/resume failed: No such file or directory
redact@redact:~$ sudo xed /etc/initramfs-tools/conf.d/resume
** (xed:76420): WARNING **: 16:22:26.789: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported
** (xed:76420): WARNING **: 16:22:26.789: Set document metadata failed: Setting attribute metadata::xed-encoding not supported
** (xed:76420): WARNING **: 16:22:33.433: Set document metadata failed: Setting attribute metadata::xed-position not supported
redact@redact:~$ more /etc/initramfs-tools/conf.d/resume
RESUME=UUID=239fa741-4f7f-48f9-b185-f9e2d6fe01c6

redact@redact:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.4.0-42-generic
redact@redact:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Found linux image: /boot/vmlinuz-5.4.0-40-generic
Found initrd image: /boot/initrd.img-5.4.0-40-generic
Adding boot menu entry for UEFI Firmware Settings
done
I rebooted and got the black screen (still in Nouveau mode).
I rebooted to recovery mode, installed nvidia-driver-440, rebooted normally and got the black screen.
I rebooted, ESC, edited the standard selection for 'nomodeset', and got the black screen.
I rebooted to recovery mode, purged *nvidia* again, and here I am. :)

Another random tidbit that occured to me. At the black screens, CTL-ALT-DEL never works. I always have to cold boot.

User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2538
Joined: Mon Aug 27, 2012 10:17 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by Kadaitcha Man »

MellowTigger wrote:
Wed Jul 29, 2020 5:50 pm
Your 'xed admin:' command threw all kinds of weird errors at me and failed to open
Not to pre-empt roblm's great work, but I think you may have far deeper problems. You might want to back up your important files.

It also helps, when you're getting help, to report those errors exactly as they appear. When problem-solving they're not something that ought to be mentioned merely in passing.
It's pronounced kad-eye-cha, not kada-itcha.

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

The errors were all within the gui, not the command line, so they were gone as I acknowledged them, thinking the next step would finally put me in the editor. Now that the resume file is established, it's not behaving that way any more.

Code: Select all

redact@redact:~$ xed admin:///etc/initramfs-tools/conf.d/resume

** (xed:12449): WARNING **: 00:31:41.806: The specified location is not mounted
Now, the gui simply prompts me to authenticate with privileges whenever I run that xed command, but it doesn't otherwise throw any fits.

User avatar
roblm
Level 12
Level 12
Posts: 4393
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by roblm »

Use the command ls /lib/modprobe.d/ and check if there is a file named blacklist-nvidia.conf
If yes, remove it and install the Nvidia driver: sudo rm /lib/modprobe.d/blacklist-nvidia.conf

If not, install the Nvidia driver. When you get the black screen, enter tty1 and use these commands to upload the Xorg.0.log and dmesg log to terminal.com pastebin:

Code: Select all

cat /var/log/Xorg.0.log | nc termbin.com 9999 
dmesg -T | nc termbin.com 9999

Post the URL addresses that display in the Terminal window.

Minux1
Level 4
Level 4
Posts: 305
Joined: Tue Aug 06, 2019 1:49 am

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by Minux1 »

I haven’t had much luck with Linux Mint and computers with Nvidia video cards.
I have 2 laptops in that category.
I found Peppermint Linux and MX Linux worked well on those machines.
Not saying to throw in the towel and give up on LM and Nvidia ... just presenting last ditch options.

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

@roblm, that .conf file was not there. (More accurately, we previously renamed it to .confxxx, which is fine.) I installed the 440 driver and rebooted. Got the black screen.

Isn't it CTL-ALT-F1 that's supposed to put me into tty1? No response. I tried it with other Fn combinations, but nothing responded. Neither does CTL-ALT-DEL. I always have to cold boot. Eventually went back to recovery and purged nvidia again, so I'm back in nouveau again.

@Minux1, yeah, I've already downloaded isos for Ubuntu and Debian, thinking maybe I can get an upstream version working on my machine. I haven't written them to USB yet, though, because I've installed my work software (vpn, Teams, and others) several times already during this adventure and I'm not eager to start over again. It remains an option, though. I'm missing playing some of my Steam games, and performance is awful in nouveau. :) Stardew Valley still works great, but I need a little more variety.

User avatar
roblm
Level 12
Level 12
Posts: 4393
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by roblm »

MellowTigger wrote: that .conf file was not there. (More accurately, we previously renamed it to .confxxx....
That was the /lib/modprobe.d/nvidia-graphics-drivers.conf file. You need to reverse that change, if you have not already done so, otherwise it will prevent the Nvidia driver from loading.

Code: Select all

sudo mv /lib/modprobe.d/nvidia-graphics-drivers.confxxx /lib/modprobe.d/nvidia-graphics-drivers.conf
Then update the initial ramdisk and reboot: sudo update-initramfs -u; reboot


Install the Nvidia driver again and remove it in Recovery Mode when you get the black screen. After you get to the desktop, use these commands to upload the Xorg.0.log.old and the journalctl log from the previous boot that failed:

Code: Select all

cat /var/log/Xorg.0.log.old | nc termbin.com 9999 
journalctl -b -1 | nc termbin.com 9999

Planlos
Level 1
Level 1
Posts: 3
Joined: Fri Jul 31, 2020 8:59 am

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by Planlos »

Hello there, I have the same problem here.
I am using an GTX 780 and IntelCore i7.

always when starting (startx) the PC freez.
If the nvidia driver is installed, I can do nothing to start to desktop, If not I can get there with nomodeset.

With all I read already this seem to be connected to launch the "desktop", the Nvidia-driver and also Ubuntu 20.4

Since I have another, newer Nvidia graphic here, I will start again with this.

I it possible to create an dump data in this state or anything so we can get an idea where the issue comes form?
It was said, that it is possible to run the GTX 780 stable with which driver at 19.3?

I am not realy keen to use the new graphics since i will need new cables and adaptes to run it with my screens.

MellowTigger
Level 1
Level 1
Posts: 43
Joined: Fri Jul 25, 2014 5:52 pm

Re: NVidia GeForce GTX 780 driver doesn't work in LM20

Post by MellowTigger »

I made the changes, rebooted. Got the black screen. There is no possible action at that point except a cold boot, so I cut power and rebooted again.

Went to Recovery, went to root console, purged nvidia, resumed to get here. Here is that upload:
https://termbin.com/bixr

Post Reply

Return to “Graphics Cards & Monitors”