Bug 32805 - SDDM first login after boot shows no text, or characters as blocks.
Summary: SDDM first login after boot shows no text, or characters as blocks.
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA9
Depends on:
Blocks:
 
Reported: 2024-02-04 21:10 CET by Markus Robert Keßler
Modified: 2024-03-03 19:28 CET (History)
5 users (show)

See Also:
Source RPM: kernel, sddm-0.19.0-16.mga9.src.rpm
CVE:
Status comment:


Attachments
Screenshot regarding issue "Sddm-greeter: after today's update shows no hostname, no labeling no nothing" (49.70 KB, image/jpeg)
2024-02-04 21:12 CET, Markus Robert Keßler
Details
SDDM after boot on Dell Precision M6300 (89.65 KB, image/jpeg)
2024-02-06 00:16 CET, Morgan Leijström
Details
This time most characters are rextangles. (57.55 KB, image/jpeg)
2024-02-06 14:59 CET, Morgan Leijström
Details
After couple minutes, some text blocks have disappeared (33.48 KB, image/jpeg)
2024-02-06 15:09 CET, Morgan Leijström
Details
After more minutes, almost all characters/blocks have disappeared (19.82 KB, image/jpeg)
2024-02-06 15:10 CET, Morgan Leijström
Details

Description Markus Robert Keßler 2024-02-04 21:10:50 CET
Description of problem:

Sddm greeter was working fine, displaying hostname etc. in dialoguefield,
but after today's update of glibc etc. an empty field occurs.

I already checked what fonts are used for the dialogue usually (dejavu sans) and these fonts still are installed.

On a 64-bit system this issue does not occur.
Comment 1 Markus Robert Keßler 2024-02-04 21:12:45 CET
Created attachment 14332 [details]
Screenshot regarding issue "Sddm-greeter: after today's update shows no hostname, no labeling no nothing"
Comment 2 katnatek 2024-02-04 22:44:10 CET
Can't reproduce in my i586 system but I did have other sddm theme and apply mageia theme, close the session and check

What is the output of rpm -qa|grep sddm
Also check ~/.local/share/sddm/xorg-session.log
Comment 3 Morgan Leijström 2024-02-04 22:58:45 CET
I see it (maybe it is this, but looks different) on one of my systems:

On my Dell Precision M6300 there were occasional artifacts before, but after latest updates there are just different size white rectangles instead of characters - at first login; after suspend resume it is OK. Weird.

Even more weird is that everything in sddm is perfectly OK on an external screen connected to VGA at the same time they are bad on the laptop screen.

mga9-64, all updates + kernel-desktop-6.6.14-2, nouveau

CC: (none) => fri

Comment 4 katnatek 2024-02-04 23:32:38 CET
(In reply to Morgan Leijström from comment #3)
> Even more weird is that everything in sddm is perfectly OK on an external
> screen connected to VGA at the same time they are bad on the laptop screen.
> 
My i586 system is a laptop with broken display, so is permanently connected to an external monitor, then if the issue exists in my system I don't see it
Comment 5 Morgan Leijström 2024-02-04 23:49:39 CET
I believe it is some kind of initialisation problem.

@Markus:

On the affected system, if you log in to desktop and then
§ log out to SDDM again: problem visible?
§ suspend-resume: problem visible?

I guess the problem do not show using another DM than SDDM?

Have you tried reverting updates to see what trigs this?
Comment 6 Morgan Leijström 2024-02-04 23:52:18 CET
You could try sddm-0.20.0-5.mga9.x86_64.rpm from core updates_testing.
I am using it on another system already.
Should try on my affected system.
Comment 7 katnatek 2024-02-05 00:30:21 CET
(In reply to Morgan Leijström from comment #6)
> You could try sddm-0.20.0-5.mga9.x86_64.rpm from core updates_testing.
> I am using it on another system already.
> Should try on my affected system.

sddm-0.20.0-5.mga9.i586.rpm , because the reporter say the affected system is i586
Comment 8 Morgan Leijström 2024-02-05 21:33:12 CET
Seems  already had that new sddm on this problematic system too.

Changed theme to breeze, same problem.

It does not help to suspend-resume from sddm at first login since boot, but if i have entered desktop (Plasma) then sddm shows OK at logout or suspend-resume.
Comment 9 Morgan Leijström 2024-02-05 22:11:45 CET
I also tried installing theme
sddm-theme-coffee-ng-2.0-1.mga9.noarch
and selected it "Mageia 2.0" in Plasma settigs:
Same issue.

Tried other Display managers: XDM, LifhtDM, LXDM: all works

Sidenote: I now understand that on resume the login display is always a Plasma part.

For this system i have seen issues for long, it is just that before, the text characters was substituted by aproximatelu character wide blocks, but recently by narrow "|" looking "characters"
Comment 10 Morgan Leijström 2024-02-05 22:14:12 CET
CC KDE team

CC: (none) => kde, ubuntu
Hardware: i586 => All

Comment 11 Morgan Leijström 2024-02-05 22:15:11 CET
(In reply to Morgan Leijström from comment #9)
> LifhtDM

Meant LightDM
katnatek 2024-02-05 23:03:46 CET

Status: NEW => NEEDINFO

Comment 12 katnatek 2024-02-05 23:07:23 CET
sddm requires pam did you test with pam from https://bugs.mageia.org/show_bug.cgi?id=32746 ?
Comment 13 Morgan Leijström 2024-02-06 00:16:01 CET
Created attachment 14335 [details]
SDDM after boot on Dell Precision M6300

Characters are replaced by small vertical bars.
(But after login-logout they are OK until next boot)
Comment 14 Morgan Leijström 2024-02-06 01:12:34 CET
...and yes that screen is dirty...


(In reply to katnatek from comment #12)
> sddm requires pam did you test with pam from
> https://bugs.mageia.org/show_bug.cgi?id=32746 ?

Yes, made no difference.
Comment 15 Morgan Leijström 2024-02-06 14:59:59 CET
Created attachment 14336 [details]
This time most characters are rextangles.

This is with theme "Mageia 2.0" see Comment 9.
Comment 16 Morgan Leijström 2024-02-06 15:08:19 CET
More to comment 8:

That figure "8" top right is clock minute.
When SDDM first came up it was shown as a filled rectangle block, but on the minute shift it became a correct 8.

Before that, i was filli gin my password and it was correctly shown as dots, but when minute struck the dots became black field, shown in picture.

Also the dropdown desktop selection also list black blocks.

I let it be for a while and it seem like that for every minute, characters/blocks vanish, nearing the completely text-less dialogue in comment 1.

Two pictures showing that follows.

Summary: Sddm-greeter: after today's update shows no hostname, no labeling no nothing => SDDM first login after boot shows no text, or characters as blocks.

Comment 17 Morgan Leijström 2024-02-06 15:09:16 CET
Created attachment 14337 [details]
After couple minutes, some text blocks have disappeared
Comment 18 Morgan Leijström 2024-02-06 15:10:16 CET
Created attachment 14338 [details]
After more minutes, almost all characters/blocks have disappeared
Comment 19 Morgan Leijström 2024-02-06 21:38:59 CET
As i told I have seen this for long but did not mind open a bug as this is an old machine and I had not seen anyone else complain...

Now after updates Markus begin to see this, comment 0

I wonder if this may be a question about execution order, that sddm need something to be executed before, but depending on system and software versions the parallell execution of many tasks change which task get really ready before sddm?

As a test, is there a way to delay the launch of sddm a few seconds?

Keywords: (none) => FOR_ERRATA9

Comment 20 Morgan Leijström 2024-02-07 14:56:13 CET
https://wiki.mageia.org/en/Mageia_9_Errata#Various

Keywords: FOR_ERRATA9 => IN_ERRATA9

Comment 21 Lewis Smith 2024-02-07 20:40:26 CET
(In reply to Markus Robert Keßler from comment #0)
> Sddm greeter was working fine, displaying hostname etc. in dialoguefield,
> but after today's update of glibc etc. an empty field occurs.
> On a 64-bit system this issue does not occur.
If you others agree that this occurs just on x32, accept my 'Hardware' change. If you have seen it on x64, please revert it to "All'.

Assigning to Plasma people; the bug reporter is not alone.

Assignee: bugsquad => kde
Hardware: All => i586
Status: NEEDINFO => NEW

Comment 22 Morgan Leijström 2024-02-07 20:50:29 CET
My system is x64.

(BTW that setting have bad granularity - no idea if it happens on ARM...)

Needinfo was because I hope reporter could get back with what package update made this problem visible on his system.

Hardware: i586 => All

Comment 23 Thomas Andrews 2024-02-09 16:14:08 CET
My real 32-bit hardware won't run Plasma or sddm because of the antique AMD GPU, so I can't test there. I have a 32-bit Plasma install on 64-bit hardware, AMD Phenom II X4 910, AMD HD 8490 graphics. It uses the server kernel, if that makes a difference.

I had not run it in a while, and had many updates, including the kernel, glibc, and systemd. On all updates, when asked I chose to use "rpmnew" as the main file on this install. I usually have auto-login enabled, but for purposes of this test, I disabled it (of course).

I do not see the issue on this hardware.

Has anyone tried this in VirtualBox?

CC: (none) => andrewsfarm

Comment 24 Morgan Leijström 2024-02-09 23:35:24 CET
new mesa in testing: no change

I see same problem using Xorg nouveau or Xorg modesetting.

WORKAROUND for both: disabling hardware acceleration.
(that checkbox in drakx11, after selecting driver)

However of course graphics becomes painfully slow.

(And on this machine especially with nouveau it is slow, plus resume after suspend fail.  Modesetting is faster and resume works.  Too old GPU for proprietary drivers.)


Only when using SDDM with hardware acceleration and nouveau or modesetting, i see in journal: 

feb 09 20:21:02 M6300.tribun kernel: nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 3 [sddm-greeter[1840]] get 0000216008 put 0000216088 ib_get 00000007 ib_put 00000008 state 800088b4 (err: INVALID_CMD) push 00406040

Other users experiencing the problem, do you see this too?

I am switching to LightDM for now.

CC: (none) => kernel

Comment 25 Morgan Leijström 2024-02-21 17:53:34 CET
Now I saw it on my Thinkpad T510, Plasma, 64 bit, Intel

$ inxi -G
Graphics:
  Device-1: NVIDIA GT218M [NVS 3100M] driver: nouveau v: kernel
  Device-2: Lenovo Integrated Webcam [R5U877] type: USB driver: uvcvideo
  Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: kwin_wayland driver: X: loaded: nouveau,v4l dri: nouveau
    gpu: nouveau resolution: 1920x1080~60Hz
  API: OpenGL v: 3.3 Mesa 23.3.5 renderer: NVA8


After installing a bunch of updates a couple days ago and yesterday rebooting with New KF5, and kernel-desktop-6.6.16-3 from testing, then i saw it.

Now I updated to kernel-desktop-6.6.17-3, rebooted, and i did *not* see the problem.

Same error message as when it borks on my other computer is seen when sddm show garbage:

$ journalctl -b-1 | grep INVALID_CMD
feb 20 13:15:57 localhost kernel: nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 6 [sddm-greeter[4791]] get 000021e004 put 000021e088 ib_get 00000007 ib_put 00000008 state 80000014 (err: INVALID_CMD) push 00400040

and another identical line the same second.

This is not logged when it goes well.

---

I guess there is some subtle timing that in rare occasions reveal that something that must be done in a specific order, is not done so.

Maybe when we see it we should try to reboot with only one CPU core enabled, or somehow tell systemd or whatever to not do things in parallel, or... I dont know how to do anything of that.  Some kernel boot parameter?
Comment 26 Morgan Leijström 2024-02-22 00:07:05 CET
Or simply a diffuse problem with nouveau, which is in kernel IIUC.


Closest i found in a web search:

https://forum.manjaro.org/t/graphical-issues-with-kernel-6-6-10/156269

https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/477

Source RPM: sddm-0.19.0-16.mga9.src.rpm => kernel, sddm-0.19.0-16.mga9.src.rpm

Comment 27 Morgan Leijström 2024-03-03 19:28:18 CET
Since kernel 6.6.18 and other updates, i have not seen that on my T510 anymore, but two variants:
1) all looks OK, but no dots show up whn i enter password
2) first login is OK, but after i had hibernate, then resume work, and then log out of plasma, sddm show strange blocks instead of characters.  So also resume may fail (re)initialising somethig?

Note You need to log in before you can comment on or make changes to this bug.