mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-05 16:58:00 +02:00
When fbcon is used for the console then there might be some unused rows of pixels at the bottom because the screen's height in pixel is not fully divideable by the font height. So the remaining few rows of pixels at the bottom are unused. The "text" splash changes the background color of the terminal and then does a ply_text_display_clear_screen () to clear the console to the new background color. ply_text_display_clear_screen () was using "ESC [ 2 J" as control-sequence to clear the screen. Which means "clear the entire screen" but fbcon seems to not always count the unused bottom rows part of the "entire screen", leaving them black. Also send an "ESC [ 3 J" control-sequence when clearing the screen, which means "clear the entire screen; and the scrollback-buffer". Using this does consistenly result in the unused bottom rows always being set to the background color. This new behavior is esp. important when hiding the splash (e.g. when quiting) because under some circumstances (1) the "ESC [ 2 J" would clear the unused bottom rows to plymouth's background color and then when hiding the splash it would not clear the unused rows, leaving the unused rows set to plymouth's background color after plymouth has quit. Note the "ESC [ 2 J" control sequences is also still send because older (serial) terminals may not support the "ESC [ 3 J" control sequence. 1) The exact circumstances when this happens are unclear Related: https://bugzilla.redhat.com/show_bug.cgi?id=1933378 Signed-off-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| .. | ||
| client | ||
| libply | ||
| libply-splash-core | ||
| libply-splash-graphics | ||
| plugins | ||
| upstart-bridge | ||
| main.c | ||
| Makefile.am | ||
| ply-boot-protocol.h | ||
| ply-boot-server.c | ||
| ply-boot-server.h | ||
| ply-splash-core.pc.in | ||
| ply-splash-graphics.pc.in | ||
| plymouthd.conf | ||
| plymouthd.defaults | ||