commit 714a61263eeb7f3ea82261918ee0ced26235208c
parent 155fca4b06e5786d3f5dc0a523161388699e35d6
Author: torter <koubbamohamedrayan@gmail.com>
Date: Sat, 24 Oct 2026 21:11:48 -0400
fix the black screen after the boot splash: quit plymouth fully, so the screen can switch to the sign-in screen
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/overlay/usr/lib/dinit/plymouth-quit b/overlay/usr/lib/dinit/plymouth-quit
@@ -1,7 +1,8 @@
#!/bin/sh
-# plymouth quit returns before plymouthd is gone, and plymouthd going puts the screen back on tty1: with sddm's X
-# already up on tty2 that left a black screen. so wait until it has really gone, 5 seconds at most
-plymouth quit --retain-splash
+# the splash goes before the sign-in screen starts, and all the way: plymouth leaves the console in graphics mode
+# with --retain-splash, and the kernel then ignores every switch away from it, so X waited forever for its own VT and
+# the screen stayed black. plymouth quit returns before plymouthd has gone, so wait for that too, 5 seconds at most
+plymouth quit
i=0
while plymouth --ping 2>/dev/null && [ $i -lt 50 ]; do
sleep 0.1