Bug 1214651

Summary: No login screen on battery power
Product: [openSUSE] openSUSE Distribution Reporter: Richard Parkins <aleph0hpela-bugz>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aleph0hpela-bugz, fvogt
Version: Leap 15.5   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.5   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: diff between my breeze theme and standard one
hwinfo output (with mouse attached as it's easier to work that way)

Description Richard Parkins 2023-08-27 06:41:25 UTC
Created attachment 869035 [details]
diff between my breeze theme and standard one

Hardware is DELL Precision 7700, no peripherals attached
Open SUSE Leap 15.5 installed dual boot over original windows
When booting on battery power, OS selection screen appears. After timeout, blank screen with mouse cursor which responds to touchpad or mouse if attached, but no login screen.
CTRL-ALT-F1 works and gives me a virtual terminal on which I can login. ps -ael shows that sddm, sddm-helper, and sddm-greeter are all running, but no startplasma-X11.
Windows boots normally on battery power.
With AC power supply connected, OpenSUSE boots normally and shows login screen.
sddm theme is Breeze, modified to use a plain black background: I've attached a diff. I'll try again with unmodified Breeze after I've submitted and add a comment if it makes a difference.
Comment 1 Richard Parkins 2023-08-27 06:43:41 UTC
Created attachment 869036 [details]
hwinfo output (with mouse attached as it's easier to work that way)
Comment 2 Fabian Vogt 2023-08-29 07:18:57 UTC
Is this with autologin?
Comment 3 Richard Parkins 2023-08-29 20:42:31 UTC
(In reply to Fabian Vogt from comment #2)
> Is this with autologin?

Please read what I said:-

"when booting on battery power ... no login screen"

"With AC power connected ... shows login screen"

If autologin was set, it would *never* show a login screen, it would go straight to my desktop if it wasn't getting stuck.

I don't know exactly where it is getting stuck when on battery power, but it is somewhere between the OS selection screen, which does appear, and the login screen, which should appear but doesn't.

I think that there would be some sort of "waiting..." screen between the OS selection screen and the login screen, but the machine has solid state drives, so when booting with AC power the "waiting ..." screen isn't there for long enough for me to see it.

Using power from the docking station (supplied through a pair of USB-C connectors) shows the same behaviour as with the AC power pack connected: it boots up normally and shows me the login screen. I didn't specifically mention that I can log in with the login screen - I thought that was obvious since it would be a much more serious problem if I couldn't.

Incidentally this seems to be 100% reproducible. It always goes wrong on battery power, and never goes wrong on AC mains or Docking station power.

I did try with the unmodified Breeze theme, and got exactly the same behaviour.