System with GeForce GT 520 failed to boot when nvidia-390 was installed

Bug #1864781 reported by C Chan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Won't Fix
Undecided
Unassigned
nvidia-graphics-drivers-390 (Ubuntu)
Won't Fix
Undecided
Unassigned
systemd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

System booted OK with Nouveau driver. I used Driver Manager to apply change of "Using NVIDIA driver metapackage from nvidia-driver-390(proprietary,tested)". After the NVIDIA proprietary driver installation, system failed to boot. All i get was a blank screen, with a blinking cursor.

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: xorg 1:7.7+19ubuntu12
ProcVersionSignature: Ubuntu 5.3.0-40.32-generic 5.3.18
Uname: Linux 5.3.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.4
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 26 12:02:15 2020
DistUpgraded: Fresh install
DistroCodename: eoan
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GpuHangFrequency: I don't know
GraphicsCard:
 NVIDIA Corporation GF108 [GeForce GT 520] [10de:0de4] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. GF108 [GeForce GT 520] [1043:83d2]
InstallationDate: Installed on 2020-02-26 (0 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: Gigabyte Technology Co., Ltd. P55A-UD3
ProcEnviron:
 LANGUAGE=en_HK:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_HK.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-40-generic root=UUID=41ad22bc-7a8c-443f-bcf6-d374c9d921da ro quiet splash text vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/10/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F11
dmi.board.name: P55A-UD3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF11:bd08/10/2010:svnGigabyteTechnologyCo.,Ltd.:pnP55A-UD3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP55A-UD3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P55A-UD3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.99-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~19.10.2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.5+git20191008-0ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.0.1-1ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20190815-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
C Chan (cc311206) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears this bug was reported after you removed (?) the nvidia driver, which is understandable. But that also means we have no logs showing when the bug was happening.

Please run these commands to help gather the system logs of previous boots so that we can try to identify what the problem was, when it was happening:

  journalctl -b-1 > boot-1.txt
  journalctl -b-2 > boot-2.txt
  journalctl -b-3 > boot-3.txt
  journalctl -b-4 > boot-4.txt
  journalctl -b-5 > boot-5.txt

and then attach the resulting text files to this bug.

affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
summary: - Xorg freeze
+ System failed to boot when nvidia-390 was installed
affects: ubuntu → nvidia-graphics-drivers-390 (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
C Chan (cc311206) wrote : Re: System failed to boot when nvidia-390 was installed

1st attachment of 5(1 of 5)

Revision history for this message
C Chan (cc311206) wrote :

2 of 5

Revision history for this message
C Chan (cc311206) wrote :

3 of 5

Revision history for this message
C Chan (cc311206) wrote :

4 of 5

Revision history for this message
C Chan (cc311206) wrote :

5 of 5

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks.

boot-3.txt shows nvidia-340 failed because:

Feb 26 12:56:58 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1685]: (EE) NVIDIA(GPU-0): Failed to initialize DMA.

boot-4.txt shows the nvidia-340 kernel driver crashing.

boot-5.txt shows nvidia-390 failed because:

Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:6:0:0. Please
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) NVIDIA(GPU-0): README for additional information.
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
Feb 26 12:41:43 ubuntu-P55A-UD3 nvidia-persistenced[1711]: Received signal 15
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) NVIDIA(0): Failing initialization of X screen 0
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (II) UnloadModule: "nvidia"
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (II) UnloadSubModule: "wfb"
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (II) UnloadSubModule: "fb"
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) Screen(s) found, but none have a usable configuration.
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE)
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: Fatal server error:
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE) no screens found(EE)
Feb 26 12:41:43 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1652]: (EE)

summary: - System failed to boot when nvidia-390 was installed
+ System with GeForce GT 520 failed to boot when nvidia-390 was installed
Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Won't Fix
Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: Incomplete → New
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: eoan
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The Nvidia web site says you need driver version 390 for this GPU so let's focus on that only.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Next I think we need to try and reproduce the bug again to verify that it's the same error consistently:

  sudo apt install nvidia-driver-390

Please ensure the problem happens again, then remove it as before and run the commands in comment #2 again.

Revision history for this message
C Chan (cc311206) wrote :

Thanks Daniel... i did what you requested. Following is a recap of the process, FYI:

1. System running Nouveau driver. All OK.
2. Open terminal, input "sudo apt install nvidia-driver-390".
3. After installation complete, input "systemctl reboot" to reboot.
4. Screen went blank on reboot, cursor blinking at around the top left corner.
5. Pressed Alt Ctrl F2 to bring up tty2, then input "sudo apt-get remove --purge nvidia-*" to remove nvidia driver.
6. After removal complete, input "systemctl reboot" to reboot.
7. Reboot OK. System OK with Nouveau driver.
8. Ran journalctl 5 times to generate the attached 5 files.

Here are the 5 journals.

Thanks.

Revision history for this message
C Chan (cc311206) wrote :
Revision history for this message
C Chan (cc311206) wrote :
Revision history for this message
C Chan (cc311206) wrote :
Revision history for this message
C Chan (cc311206) wrote :
Revision history for this message
C Chan (cc311206) wrote :

thanks in advance

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

boot-1.txt says:

The kernel is fine:

Feb 27 10:17:19 ubuntu-P55A-UD3 kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:06:00.0 on minor 0

And then the Xorg driver doesn't work:

Feb 27 10:17:21 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1604]: (EE) Error systemd-logind returned paused fd for drm node
Feb 27 10:17:21 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1604]: (II) systemd-logind: releasing fd for 226:0

Feb 27 10:17:21 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1604]: (EE) [drm] Failed to open DRM device for pci:0000:06:00.0: -2

Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:6:0:0. Please
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) NVIDIA(GPU-0): README for additional information.
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) NVIDIA(0): Failing initialization of X screen 0
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (II) UnloadModule: "nvidia"
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (II) UnloadSubModule: "wfb"
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (II) UnloadSubModule: "fb"
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) Screen(s) found, but none have a usable configuration.
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE)
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: Fatal server error:
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE) no screens found(EE)
Feb 27 10:17:22 ubuntu-P55A-UD3 /usr/lib/gdm3/gdm-x-session[1640]: (EE)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
no longer affects: linux (Ubuntu)
Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Incomplete
Revision history for this message
C Chan (cc311206) wrote :

1. Added to /etc/X11/Xwrapper.config : needs_root_rights = yes (as instructed in bug 1716857.
2. Open terminal, input "sudo apt install nvidia-driver-390".
3. After installation complete, input "systemctl reboot" to reboot.
4. Screen went blank on reboot, cursor blinking at around the top left corner.
5. Pressed Alt Ctrl F2 to bring up tty2, then input "sudo apt-get remove --purge nvidia-*" to remove nvidia driver.
6. After removal complete, input "systemctl reboot" to reboot.
7. Reboot OK. System OK with Nouveau driver.
8. Ran journalctl to generate attached

Summary: bug 1716857 didn't help.

Revision history for this message
C Chan (cc311206) wrote :

to add, after step 4:

4a. i waited a little longer and noticed a jagged dialogue window popped up (attached). i tried to input my password, but neither mouse nor keyboard was functional. i waited again, and later proceeded to resume at step 5.

Revision history for this message
C Chan (cc311206) wrote :

Daniel.. anything else i should try to equip you with more info to debug this?

Thanks.

Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: New → Invalid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 19.10 (eoan) reached end-of-life on July 17, 2020.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.