xorg fails to load nvidia driver on switching to greeter / black screen blinking cursor with lightdm light-locker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-435 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
System:
- Xubuntu 18.04.4, signle seat, single monitor
- NVidia 1050ti driver 435.21
- lightdm 1.26.0
- slick-greeter
Scenario 1: No xorg.conf. I use 'light-
Scenario 2: xorg.conf generated with nvidia tool. After attempting to lock screen same blinking cursor appears, but now if I press Alt-F7 it stops blinking, then Ctrl-Alt-F1, login, sudo systemctl restart lightdm and it's alive and loginable again.
In the lightdm.log I see repeating sequence (approx 5 times a second):
[+61.67s] DEBUG: Seat seat0: Creating greeter session
[+61.67s] DEBUG: Seat seat0: Creating display server of type x
[+61.67s] DEBUG: Using VT 8
[+61.67s] DEBUG: Seat seat0: Starting local X display on VT 8
[+61.67s] DEBUG: XServer 1: Logging to /var/log/
[+61.67s] DEBUG: XServer 1: Writing X server authority to /var/run/
[+61.67s] DEBUG: XServer 1: Launching X Server
[+61.67s] DEBUG: Launching process 3301: /usr/bin/X -core :1 -seat seat0 -auth /var/run/
[+61.67s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+61.96s] DEBUG: Process 3301 terminated with signal 6
[+61.96s] DEBUG: XServer 1: X server stopped
[+61.96s] DEBUG: Releasing VT 8
[+61.96s] DEBUG: XServer 1: Removing X server authority /var/run/
[+61.96s] DEBUG: Seat seat0: Display server stopped
[+61.96s] DEBUG: Seat seat0: Stopping session
[+61.96s] DEBUG: Seat seat0: Session stopped
[+61.96s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+61.96s] DEBUG: Seat seat0: Active display server stopped, starting greeter
x-1.log says:
X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-148-generic x86_64 Ubuntu
Current Operating System: Linux dmitry-desktop 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=
Build Date: 03 June 2019 08:10:35AM
xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see http://
Current version of pixman: 0.34.0
Before reporting problems, check http://
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/
(==) Using config file: "/etc/X11/
(==) Using system config directory "/usr/share/
vesa: Ignoring device with a bound kernel driver
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://
for help.
(EE) Please also check the log file at "/var/log/
(EE)
(EE) Server terminated with error (1). Closing log file.
Xorg.1.log says:
...
[ 129.447] (II) LoadModule: "nvidia"
[ 129.447] (WW) Warning, couldn't open module nvidia
[ 129.447] (II) UnloadModule: "nvidia"
[ 129.447] (II) Unloading nvidia
[ 129.447] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 129.447] (==) Matched nouveau as autoconfigured driver 0
[ 129.447] (==) Matched modesetting as autoconfigured driver 1
[ 129.447] (==) Matched fbdev as autoconfigured driver 2
[ 129.447] (==) Matched vesa as autoconfigured driver 3
[ 129.447] (==) Assigned the driver to the xf86ConfigLayout
[ 129.447] (II) LoadModule: "nouveau"
...
In my case solution was to add following to xorg.conf to make Xorg load proper nvidia driver:
Section "Files"
ModulePath "/usr/lib/
EndSection
I'm not sure which package is responsible for that configuration and how it is done within modern approach, but I think things like this must be done automatically by one of nvidia drivers packages (xserver-
Original discussion:
https:/
Possibly related:
https:/
https:/
summary: |
- xorg fails to load nvidia driver on switching to greeter + xorg fails to load nvidia driver on switching to greeter / black screen + blinking cursor with lightdm light-locker |
description: | updated |
description: | updated |
description: | updated |
affects: | ubuntu → nvidia-graphics-drivers-435 (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1882422/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]