Public bug reported:
Installing the nvidia-driver-390 package and disabling (or not) the
nouveau drivers results in a system that superficially appears to busy
hang before reaching the login screen, leaving only the fsck
"/dev/sda1: clean,..." message on the screen.
The machine is alive, and logging in remotely gives a hint at what is
happening. The output of top shows that init and systemd are struggling
with something:
```
top - 17:24:00 up 1 min, 1 user, load average: 2.76, 1.00, 0.36
Tasks: 188 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
%Cpu(s): 17.0 us, 15.2 sy, 0.0 ni, 67.6 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 16238012 total, 15513832 free, 242248 used, 481932 buff/cache
KiB Swap: 16001020 total, 16001020 free, 0 used. 15716900 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 225600 9312 6672 S 60.4 0.1 0:51.63 /sbin/init
nosplash
797 root 20 0 71656 7180 5296 S 26.8 0.0 0:14.92
/lib/systemd/systemd-logind
1133 root 20 0 46368 3584 1976 R 13.9 0.0 0:12.01
/lib/systemd/systemd-udevd
795 root 20 0 1773200 30772 12548 S 13.2 0.2 0:11.71
/usr/lib/snapd/snapd
784 message+ 20 0 51464 6036 3988 S 12.9 0.0 0:11.15
/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --s+
308 root 19 -1 249904 120460 114260 S 10.7 0.7 0:10.60
/lib/systemd/systemd-journald
1132 root 20 0 46368 3584 1976 S 10.0 0.0 0:08.71
/lib/systemd/systemd-udevd
1134 root 20 0 46368 3260 1656 S 10.0 0.0 0:08.61
/lib/systemd/systemd-udevd
333 root 20 0 46368 4684 3084 S 5.0 0.0 0:04.25
/lib/systemd/systemd-udevd
```
Eventually, Xorg does manage to get a word in, but falls over, to try
again repeatedly.
```
top - 16:52:36 up 2 min, 1 user, load average: 1.69, 1.04, 0.43
Tasks: 187 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
%Cpu(s): 9.5 us, 3.7 sy, 0.0 ni, 85.6 id, 0.0 wa, 0.0 hi, 1.2 si, 0.0 st
KiB Mem : 16238012 total, 15457080 free, 278152 used, 502780 buff/cache
KiB Swap: 16001020 total, 16001020 free, 0 used. 15680684 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1821 root 20 0 312908 61228 20584 R 65.2 0.4 0:01.97
/usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/121/gdm/Xauthority -b+
806 root 20 0 71656 7200 5320 S 18.5 0.0 0:24.83
/lib/systemd/systemd-logind
```
A further hint comes from syslog which is spammed with systemd trying to
start nvidia-persistenced, which is then killed. This happens hundreds
of times while the machine is up. This except shows one instance.
```
May 22 16:34:52 cube systemd[1]: Starting NVIDIA Persistence Daemon...
May 22 16:34:52 cube nvidia-persistenced: Verbose syslog connection opened
May 22 16:34:52 cube nvidia-persistenced: Now running with user ID 123 and
group ID 127
May 22 16:34:52 cube systemd[1]: Started NVIDIA Persistence Daemon.
May 22 16:34:52 cube nvidia-persistenced: Started (31927)
May 22 16:34:52 cube nvidia-persistenced: device 0000:01:00.0 - registered
May 22 16:34:52 cube nvidia-persistenced: Local RPC service initialized
May 22 16:34:52 cube nvidia-persistenced: Received signal 15
May 22 16:34:52 cube systemd[1]: Stopping NVIDIA Persistence Daemon...
May 22 16:34:52 cube nvidia-persistenced: Socket closed.
May 22 16:34:52 cube nvidia-persistenced: PID file unlocked.
May 22 16:34:52 cube nvidia-persistenced: PID file closed.
May 22 16:34:52 cube nvidia-persistenced: The daemon no longer has permission
to remove its runtime data directory /var/run/nvidia-persistenced
May 22 16:34:52 cube nvidia-persistenced: Shutdown (31927)
May 22 16:34:52 cube systemd[1]: Stopped NVIDIA Persistence Daemon.
```
This is a fresh install of 18.04.2 (less than an hour old). If apport
has not collected all the necessary details I'll post them after this.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 4.18.0-20.21~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory:
'/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.116 Sun Jan 27 07:21:36
PST 2019
GCC version: gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
BootLog:
Date: Wed May 22 17:24:31 2019
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus: nvidia, 390.116, 4.18.0-20-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA
controller])
Subsystem: CLEVO/KAPOK Computer HD Graphics 530 [1558:6540]
NVIDIA Corporation GM204M [GeForce GTX 970M] [10de:13d8] (rev a1) (prog-if 00
[VGA controller])
Subsystem: CLEVO/KAPOK Computer GM204M [GeForce GTX 970M] [1558:6540]
InstallationDate: Installed on 2019-05-22 (0 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:066d Acer, Inc
Bus 001 Device 003: ID 0cf3:e300 Atheros Communications, Inc.
Bus 001 Device 002: ID 1c7a:0603 LighTuning Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Notebook P65_P67RGRERA
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-20-generic
root=UUID=d6da27fa-5d91-4240-b3c9-c7de06124a36 ro nomodeset quiet nosplash
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/27/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.05.13
dmi.board.asset.tag: Tag 12345
dmi.board.name: P65_P67RGRERA
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvr1.05.13:bd01/27/2016:svnNotebook:pnP65_P67RGRERA:pvrNotApplicable:rvnNotebook:rnP65_P67RGRERA:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:
dmi.product.family: Not Applicable
dmi.product.name: P65_P67RGRERA
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: Notebook
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.95-1~18.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.2.8-0ubuntu0~18.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 18.2.8-0ubuntu0~18.04.2
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
** Affects: xorg (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic ubuntu
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1830000
Title:
NVIDIA driver (390) does not allow progress to login screen
Status in xorg package in Ubuntu:
New
Bug description:
Installing the nvidia-driver-390 package and disabling (or not) the
nouveau drivers results in a system that superficially appears to busy
hang before reaching the login screen, leaving only the fsck
"/dev/sda1: clean,..." message on the screen.
The machine is alive, and logging in remotely gives a hint at what is
happening. The output of top shows that init and systemd are
struggling with something:
```
top - 17:24:00 up 1 min, 1 user, load average: 2.76, 1.00, 0.36
Tasks: 188 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
%Cpu(s): 17.0 us, 15.2 sy, 0.0 ni, 67.6 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0
st
KiB Mem : 16238012 total, 15513832 free, 242248 used, 481932 buff/cache
KiB Swap: 16001020 total, 16001020 free, 0 used. 15716900 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 225600 9312 6672 S 60.4 0.1 0:51.63
/sbin/init nosplash
797 root 20 0 71656 7180 5296 S 26.8 0.0 0:14.92
/lib/systemd/systemd-logind
1133 root 20 0 46368 3584 1976 R 13.9 0.0 0:12.01
/lib/systemd/systemd-udevd
795 root 20 0 1773200 30772 12548 S 13.2 0.2 0:11.71
/usr/lib/snapd/snapd
784 message+ 20 0 51464 6036 3988 S 12.9 0.0 0:11.15
/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --s+
308 root 19 -1 249904 120460 114260 S 10.7 0.7 0:10.60
/lib/systemd/systemd-journald
1132 root 20 0 46368 3584 1976 S 10.0 0.0 0:08.71
/lib/systemd/systemd-udevd
1134 root 20 0 46368 3260 1656 S 10.0 0.0 0:08.61
/lib/systemd/systemd-udevd
333 root 20 0 46368 4684 3084 S 5.0 0.0 0:04.25
/lib/systemd/systemd-udevd
```
Eventually, Xorg does manage to get a word in, but falls over, to try
again repeatedly.
```
top - 16:52:36 up 2 min, 1 user, load average: 1.69, 1.04, 0.43
Tasks: 187 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
%Cpu(s): 9.5 us, 3.7 sy, 0.0 ni, 85.6 id, 0.0 wa, 0.0 hi, 1.2 si, 0.0
st
KiB Mem : 16238012 total, 15457080 free, 278152 used, 502780 buff/cache
KiB Swap: 16001020 total, 16001020 free, 0 used. 15680684 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1821 root 20 0 312908 61228 20584 R 65.2 0.4 0:01.97
/usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/121/gdm/Xauthority -b+
806 root 20 0 71656 7200 5320 S 18.5 0.0 0:24.83
/lib/systemd/systemd-logind
```
A further hint comes from syslog which is spammed with systemd trying
to start nvidia-persistenced, which is then killed. This happens
hundreds of times while the machine is up. This except shows one
instance.
```
May 22 16:34:52 cube systemd[1]: Starting NVIDIA Persistence Daemon...
May 22 16:34:52 cube nvidia-persistenced: Verbose syslog connection opened
May 22 16:34:52 cube nvidia-persistenced: Now running with user ID 123 and
group ID 127
May 22 16:34:52 cube systemd[1]: Started NVIDIA Persistence Daemon.
May 22 16:34:52 cube nvidia-persistenced: Started (31927)
May 22 16:34:52 cube nvidia-persistenced: device 0000:01:00.0 - registered
May 22 16:34:52 cube nvidia-persistenced: Local RPC service initialized
May 22 16:34:52 cube nvidia-persistenced: Received signal 15
May 22 16:34:52 cube systemd[1]: Stopping NVIDIA Persistence Daemon...
May 22 16:34:52 cube nvidia-persistenced: Socket closed.
May 22 16:34:52 cube nvidia-persistenced: PID file unlocked.
May 22 16:34:52 cube nvidia-persistenced: PID file closed.
May 22 16:34:52 cube nvidia-persistenced: The daemon no longer has permission
to remove its runtime data directory /var/run/nvidia-persistenced
May 22 16:34:52 cube nvidia-persistenced: Shutdown (31927)
May 22 16:34:52 cube systemd[1]: Stopped NVIDIA Persistence Daemon.
```
This is a fresh install of 18.04.2 (less than an hour old). If apport
has not collected all the necessary details I'll post them after this.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 4.18.0-20.21~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory:
'/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.116 Sun Jan 27 07:21:36
PST 2019
GCC version: gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
BootLog:
Date: Wed May 22 17:24:31 2019
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus: nvidia, 390.116, 4.18.0-20-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA
controller])
Subsystem: CLEVO/KAPOK Computer HD Graphics 530 [1558:6540]
NVIDIA Corporation GM204M [GeForce GTX 970M] [10de:13d8] (rev a1) (prog-if
00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer GM204M [GeForce GTX 970M] [1558:6540]
InstallationDate: Installed on 2019-05-22 (0 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64
(20190210)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:066d Acer, Inc
Bus 001 Device 003: ID 0cf3:e300 Atheros Communications, Inc.
Bus 001 Device 002: ID 1c7a:0603 LighTuning Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Notebook P65_P67RGRERA
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-20-generic
root=UUID=d6da27fa-5d91-4240-b3c9-c7de06124a36 ro nomodeset quiet nosplash
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/27/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.05.13
dmi.board.asset.tag: Tag 12345
dmi.board.name: P65_P67RGRERA
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvr1.05.13:bd01/27/2016:svnNotebook:pnP65_P67RGRERA:pvrNotApplicable:rvnNotebook:rnP65_P67RGRERA:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:
dmi.product.family: Not Applicable
dmi.product.name: P65_P67RGRERA
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: Notebook
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.95-1~18.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.2.8-0ubuntu0~18.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 18.2.8-0ubuntu0~18.04.2
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1830000/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp