From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Login manager occasionally fails to show
Date: Sun, 26 Jan 2025 12:33:28 +0000 [thread overview]
Message-ID: <3859099.kQq0lBPeGt@rogueboard> (raw)
In-Reply-To: <2769418.mvXUDI8C0e@cube>
[-- Attachment #1: Type: text/plain, Size: 2535 bytes --]
On Sunday 26 January 2025 11:18:00 Greenwich Mean Time Peter Humphrey wrote:
> On Saturday 25 January 2025 21:41:01 Greenwich Mean Time Markus Gustafsson
>
> wrote:
> > Hi!
> >
> > I've been running in to a problem on and off for the past year or so: when
> > I boot my computer it won't always show a login screen (SDDM). The screen
> > will remain dark without a signal. If I swap tty with ctrl+alt+F1 it will
> > show me the boot log, with the last entry being "starting local" and
> > letting me login through the terminal. I can then reboot and things will
> > start up just fine. Interestingly it does say something about shutting
> > down the display manager when I reboot in such instances...
> >
> > I feel like happens if I fail to start my monitor fast enough, but I'm not
> > entirely sure. Could that be related?
>
> You need your monitor on during startup; the system needs to read EDID from
> it to be able to drive it properly. That could be your problem.
After an SDDM update many months ago I started having SDDM problems similar to
the OP. The SDDM display manager GUI would not launch at all - black screen.
Or, it would launch, but then it would appear to not take my passwd to login.
Or, it would seemingly login, but end up on a black screen with only a mouse
cursor and no desktop. The problem was manifesting whether I was launching an
X11 or Wayland desktop session. If I dropped into a console and restarted the
display-manager service, then SDDM launched and worked normally. Following a
reboot the problem of the non-functioning SDDM was present again.
I tried configuring SDDM to use x11, x11-user and wayland (experimental) with
kwin or weston compositor. I tried enabling/disabling TPM in the BIOS/kernel.
Nothing made a difference. The logs were not very informative to help
troubleshooting.
This was only happening on one PC which has a new(er), faster CPU. All older
and slower CPU PCs exhibited no such behaviour. I suspected the services were
starting up too fast and either the haveged service didn't have enough time to
generate the needed entropy for SDDM, or SDDM was clashing with some other
service in the startup sequence.
I tried adding some wait directive for the display-manager service, but when
that did not work I added in /etc/rc.conf:
rc_display_manager_after="local"
to push the display-manager at the end of the queue. Although SDDM now takes
a second longer than before to come up, at least SDDM starts and I am able to
login normally.
HTH.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-01-26 12:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-25 21:41 [gentoo-user] Login manager occasionally fails to show Markus Gustafsson
2025-01-26 11:18 ` Peter Humphrey
2025-01-26 12:33 ` Michael [this message]
2025-01-29 21:19 ` Markus Gustafsson
2025-01-30 8:06 ` Michael
2025-02-02 11:09 ` Markus Gustafsson
2025-02-02 13:11 ` Michael
2025-02-07 20:56 ` Markus Gustafsson
2025-02-08 10:02 ` Michael
2025-02-08 11:02 ` Michael
2025-02-11 17:20 ` Alan Grimes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3859099.kQq0lBPeGt@rogueboard \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox