Black screen when logging in during buster install

Everything about X, Gnome, KDE, ... and everything running on it

Black screen when logging in during buster install

Postby jowyta » 2018-09-10 16:51

I am trying to install Buster/Testing on a Samsung NC110 netbook after installing a new hard disk. I have got as far as installing the base system and the packages for xfce. Now when I try to boot I get past the grub screen, put in the password for the encrypted disk, the boot appears to proceed normally until the desktop manager login screen should appear then the screen goes black and the keyboard becomes unresponsive. The disk light flashes occasionally and if I keep pressing Ctrl+Alt+Delete I can eventually get the system to reboot.
I can boot into a terminal from Grub using recovery mode.
syslog shows the system running the following loop:
Code: Select all
systemd[1]: Starting Light Display Manager
lightdm[2822]: Could not enumerate user data directory /var/lib/lightdm-data/lightdm: Error opening directory '/var/lib/lightdm-data/lightdm': No such file or directory
systemd[1]: Started Light Display Manager
systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: lightdm.service: Failed with result 'exit-code'.
systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart
systemd[1]: lightdm.service: Scheduled restart job, restart counter is at  <>.
systemd[1]: Stopped Light Display Manager

lightdm.log has a line:
Code: Select all
DEBUG: XServer 0: Connecting to XServer :0

Xorg.0.log does not appear to show any errors apart from:
Code: Select all
[  420,876](EE) modeset(0): [DRI2] No driver mapping found for PCI device 0x8086 / 0x0be1
[  42.877] (EE) modeset(0): Failed to initialize the DRI2 extension

I have tried various workarounds for this error and they do not seem to make any difference so I tend to think it is not the problem.
I have tried lxdm instead of lightdm and I get the same problem and similar outputs.

What should I do next to diagnose the problem?
jowyta
 
Posts: 50
Joined: 2010-04-08 09:00
Location: Leicestershire, UK

Re: Black screen when logging in during buster install

Postby bw123 » 2018-09-10 18:36

Which image did you use to install? Buster isn't released yet.

Code: Select all
lightdm[2822]: Could not enumerate user data directory /var/lib/lightdm-data/lightdm: Error opening directory '/var/lib/lightdm-data/lightdm': No such file or directory



Kind of strange, on stretch, it's at /var/lib/lightdm/data maybe there is a newer setup being implemented. Did you try to create the directory it is looking for with the right permissions??

Code: Select all
/var/lib# ls -l lightdm/
total 4
drwxr-x--- 4 lightdm lightdm 4096 Sep  9 17:47 data
User avatar
bw123
 
Posts: 3258
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Black screen when logging in during buster install

Postby jowyta » 2018-09-11 18:37

Thanks for your reply, bw123.
Which image did you use to install? Buster isn't released yet.

I used a USB install iso from https://www.debian.org/devel/debian-installer/, but I am past that stage and I am using the up to date packages from Debian Testing.
Kind of strange, on stretch, it's at /var/lib/lightdm/data maybe there is a newer setup being implemented.

You had me excited for a minute, but I am afraid it was just an error in me transcribing the message. It should read:
Code: Select all
    lightdm[2822]: Could not enumerate user data directory /var/lib/lightdm/data: Error opening directory '/var/lib/lightdm/data': No such file or directory

The directory /var/lib/lightdm exists but is empty, as it also is on another computer which is booting up OK.
jowyta
 
Posts: 50
Joined: 2010-04-08 09:00
Location: Leicestershire, UK

Re: Black screen when logging in during buster install

Postby Head_on_a_Stick » 2018-09-12 05:04

jowyta wrote:the boot appears to proceed normally until the desktop manager login screen should appear then the screen goes black and the keyboard becomes unresponsive. The disk light flashes occasionally and if I keep pressing Ctrl+Alt+Delete I can eventually get the system to reboot.
I can boot into a terminal from Grub using recovery mode.

Does booting with systemd.unit=multi-user.target as a kernel parameter get you to a console screen?

What is your graphics hardware?

Have you tried disabling kernel mode setting?

https://wiki.debian.org/KernelModesetting#Disabling_KMS

Can you reproduce this with Debian stable?
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Black screen when logging in during buster install

Postby jowyta » 2018-09-12 08:53

Thanks.
Does booting with systemd.unit=multi-user.target as a kernel parameter get you to a console screen?

Yes.
What is your graphics hardware?

VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 09)
Have you tried disabling kernel mode setting?

Yes, I end up with the black screen and unresponsive keyboard.
Can you reproduce this with Debian stable?

I don't want to try this, but the system was working fine with testing until I did an update some time in July.
jowyta
 
Posts: 50
Joined: 2010-04-08 09:00
Location: Leicestershire, UK

Re: Black screen when logging in during buster install

Postby TonyT » 2018-09-12 12:28

What should I do next to diagnose the problem?

modeset(0): [DRI2] No driver mapping found for PCI device
https://www.google.com/search?complete= ... DLDRoQz4Is
TonyT
 
Posts: 545
Joined: 2006-09-04 11:57

Re: Black screen when logging in during buster install

Postby jowyta » 2018-09-13 11:14

Yes, as I indicated above I had already tried various ideas for resolving these DRI2 EE messages. Following your reply, TonyT, I have spent some more hours trying to get to the bottom of them but I have not found anything that works. I have tried with and without glamor and I have tried nomodeset all to no effect. It appears that modesetting is built into xserver-xorg-core.
Part of the problem is that I cannot find any explanation for what is supposed to provide driver mapping found for PCI device 0x8086 / 0x0be1. Also, I do not even know whether this error has anything to do with me getting a black screen.
So what I am trying to find out is how to properly diagnose the problem.
jowyta
 
Posts: 50
Joined: 2010-04-08 09:00
Location: Leicestershire, UK

Re: Black screen when logging in during buster install

Postby bw123 » 2018-09-13 16:19

found a bug report or two that might be relevant, have you seen them?
https://duckduckgo.com/html/?q=debian+8086:0be1
User avatar
bw123
 
Posts: 3258
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Black screen when logging in during buster install

Postby jowyta » 2018-09-13 17:16

Yes, the bugs are either old, my system was working fine up to July, or provide no solution.
jowyta
 
Posts: 50
Joined: 2010-04-08 09:00
Location: Leicestershire, UK

Re: Black screen when logging in during buster install

Postby Head_on_a_Stick » 2018-09-13 17:55

jowyta wrote:I have tried nomodeset all to no effect. It appears that modesetting is built into xserver-xorg-core

Kernel mode setting is not the same thing as Xorg's built-in modesetting driver.

Have you tried removing xserver-xorg-video-intel? (Or installing it if you are running the modesetting DDX driver.)
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Black screen when logging in during buster install

Postby jowyta » 2018-09-14 04:47

Yes, I have tried with and without xserver-xorg-video-intel.
jowyta
 
Posts: 50
Joined: 2010-04-08 09:00
Location: Leicestershire, UK


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable