суботу, 23 листопада 2024 р. 14:31:53 за східноєвропейським стандартним часом Andrei Borzenkov написано:
23.11.2024 13:33, Mykola Krachkovsky wrote:
Hi,
Since Plymouth 22.02.122+180.b1d5aa9 console font have changed. There is one font at system start, but then it's changed to other, and I can't understand what is that font.
What is "system start"? When do you see "one font"? When is it changed?
Immediately after GRUB I see error messages (related to ACPI) in one font. After that plymouth is started. If later (when sddm is loaded) I'll switch to tty I see another font. It's more square and big (16x32 I presume) but it doesn't support my locale. Big font is kinda good for my screen, but not supported locale is a bummer.
If it ever worked for you, it was just by accident. systemd-vconsole-setup cannot work while Plymouth is active (at least, while it shows its splash screen). None of my VMs where Plymouth is enabled boot with font configured in /etc/vconsole.conf. If I need to log in on console, the first thing I do is "systemctl restart systemd-vconsole-setup".
It sounds more like some timings changed in your case and Plymouth (or sytsemd-vconsole-setup) now run in the "wrong" moment.
It definitely worked before plymouth start. I've been noticing very minor font change before plymouth is started. But plymouth-start unit file still has ``` After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd- udevd.service ``` Any reason why is it started before now?
Linux console is still black magic to me. In the past I believe systemd-vconsole-setup was invoked as regular service and Plymouth was order after it. Today systemd-vconsole-setup is invoked from within udev rule, so complete asynchronously. I forgot what was the reason for this change.
It might be related to dynamic tty creation, assumption based on comment in unit file: "This service will be restarted by udev whenever a new vtcon device appears." But I don't know about it, so not sure if it's the only/main reason or reason at all.