fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.33k stars 306 forks source link

Characters and position are only correct after the first keypress #561

Closed developer1105 closed 9 months ago

developer1105 commented 10 months ago

After the last update, Ly shows the login screen in the upper-right corner, and with weird characters in the box, instead of the correct ones.

After pressing the first key (i.e. the first letter of the password), the poisiton is correct and the characters of the box are correct.

What can this be?

developer1105 commented 10 months ago

I think the problem has something to do with the transition from the default font/charset to the one specified by the user, via linux configurations.

In a brief moment, everything is fine, soon after the boot, and then, when changing screen "resolution" (because somehow the user configured font is bigger), ly displays box's unexpected chars.

Then, when a key is pressed, everything comes back to normal and the box is displayed with the expected characters.

skyleo commented 10 months ago

Running into the same issue (although upper left corner) on Arch with Ly version v0.6.0.r0.g1c2be47.

First key press does fix it as described.

skyleo commented 10 months ago

One thing I noticed is that either

or

EDIT: It happens sporadically, even when previous user is stored in.

developer1105 commented 9 months ago

I have found a solution: Remove sd-vconsole from the HOOKS (edit the file /etc/mkinitcpio.conf)

So my hooks now look like this: HOOKS=(base udev modconf keyboard keymap block filesystems fsck)

After editing mkinitcpio.conf, run this command to update the system: sudo mkinitcpio -P