Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1032412: desktop-base: plymouth theme does not show any messages, affects: luks, live

96 views
Skip to first unread message

Jonathan Carter

unread,
Mar 6, 2023, 5:50:04 AM3/6/23
to
Package: desktop-base
Version: 12.0.5
Severity: important

The latest plymouth theme for Debian 12 doesn't show any messages/prompts/fields.

The consequences of this is that when you boot up, you don't see the prompt to decrypt your disk, so it appears that the boot process has frozen (until you press escape and see the console luks prompt).

On live systems, when you reboot/shutdown, the user is prompted to remove the live media and press enter, but since this message is now not visibile, it appears that the system has frozen (until the user pressess enter).

Marking as important, since this is quite a big regression.

-Jonathan

-- System Information:
Debian Release: 12.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8), LANGUAGE=en_ZA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages desktop-base depends on:
ii fonts-quicksand 0.2016-2.1
ii librsvg2-common 2.54.5+dfsg-1

Versions of packages desktop-base recommends:
ii plymouth-label 22.02.122-3

Versions of packages desktop-base suggests:
pn gnome | kde-standard | xfce4 | wmaker <none>

-- no debconf information

Gert van de Kraats

unread,
Mar 22, 2023, 11:50:05 AM3/22/23
to
I have the same problem at dual screen with sizes 1280 x 1024 and 1280 x
800.

New debian-logo tries to write the message "resuming from hibernation"
below borh screens.

This is caused by wrong computation of max height.

In my case it computes 2 * 112 + 1024, which should be only 1024.

.Problem occurs at /usr/share/plymouth/themes/emerald/emerald.script.

Next patch solves the problem for me :diff --git
a/emerald-theme/plymouth/emerald.script
b/emerald-theme/plymouth/emerald.script

--- a/desktop-base-12.0.5/emerald-theme/plymouth/emerald.script
+++ b/desktop-base-12.0.5_b/emerald-theme/plymouth/emerald.script
@@ -119,7 +119,8 @@ fun TextYOffset() {
     #Debug("y = " + y);

     text_height = first_line_height * 7.5;
-    min_height = window_max.height - 2 * first_line_height;
+    # subtract Window.GetY() to show info also at smallest of dual srceens
+    min_height = window_max.height - 2 * first_line_height - Window.GetY();
     #Debug("text_height=" + text_height + "; min_height=" + min_height);

     if (y + text_height > min_height)
@@ -131,8 +132,8 @@ fun TextYOffset() {

 #----------------------------- Screen/window setup
---------------------------
 # Compute screen/image ratio and scale the background accordingly
-window_max.width = Window.GetX() * 2 + Window.GetWidth();
-window_max.height = Window.GetY() * 2 + Window.GetHeight();
+window_max.width = Window.GetWidth();
+window_max.height = Window.GetHeight();
 screen_ratio = window_max.width / window_max.height;
 small_dimension = Math.Min(window_max.width, window_max.height);
 #Debug("Window.GetX():" + Window.GetX() + ", Window.GetY():" +
Window.GetY());

Gert van de Kraats

unread,
Mar 29, 2023, 4:00:05 PM3/29/23
to
At plymouth the computation of Window.GetWidth() and Window.GetHeight()
has changed 2 years ago. It now contains the sizes of the
largest screen i.s.o. the smallest screen.
See merge-request
https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/121 :
"use resolution of higher res monitor for window size" .
0 new messages