From: "Markus Gustafsson" <markus@gustafsson.io>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Login manager occasionally fails to show
Date: Wed, 29 Jan 2025 22:19:50 +0100 [thread overview]
Message-ID: <0f574fb8-3941-4297-9499-452ba85ba52a@app.fastmail.com> (raw)
In-Reply-To: <3859099.kQq0lBPeGt@rogueboard>
Thanks for the input. I do indeed have a pretty new CPU as well.
I did try the rc.conf trick but no luck after trying it once. I'll keep it around for a while and see if I can see an overall improvement.
Regards,
Markus
On Sun, Jan 26, 2025, at 13:33, Michael wrote:
> 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.
> Attachments:
> * signature.asc
next prev parent reply other threads:[~2025-01-29 21:21 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
2025-01-29 21:19 ` Markus Gustafsson [this message]
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=0f574fb8-3941-4297-9499-452ba85ba52a@app.fastmail.com \
--to=markus@gustafsson.io \
--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