spinner theme displays a blank (black) screen at boot on some systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Plymouth |
Fix Released
|
Unknown
|
|||
plymouth (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
I tried the plymouth-
When shutting down the machine, everything works as expected. On my XPS 9380 system, the Dell logo is displayed and the white spinner spins until the machine shuts down.
At boot, the Dell logo is shown by the UEFI firmware, then grub switches immediatly (without timeout) to the linux kernel. Then Plymouth blanks the screen and leaves an empty black screen until the graphical session starts (Wayland or Xorg, it does not matter).
Here is the relevant portion of the plymouth debug log:
---
00:00:03.245 ./plugin.
...
00:00:03.246 main.c:
00:00:03.246 main.c:
00:00:03.246 ply-boot-
00:00:03.246 ./plugin.
00:00:03.246 ply-device-
00:00:03.246 ply-boot-
00:00:03.246 ./plugin.
00:00:03.246 ply-boot-
00:00:03.246 ply-boot-
00:00:03.246 main.c:
---
note that i uninstalled plymouth-text. If it is installed then the dummy plymouth text is shown instead of the spinner one.
My hypothesis is the following :
- the bgrt theme contains in its theme file :
ImageDir=
- the initramfs hook for plymouth only copies the theme directory (bgrt) not the one referenced in the theme file. I checked it using lsinitramfs on the newly generated initramfs image.
- At boot, when plymouth tries to find files under /usr/share/
If I modify the bgrt theme as follows:
- change the line ImageDir to reference
ImageDir=
- copy all the image files from the spinner directory to the bgrt directory
- regenerates the initramfs
Then plymouth works as expected, I have the Dell logo and spinner at boot, or the resume message when exiting from hibernate [*].
I have a ZFS root partition on an nvme disk (might explain why my root partition is not up at that time ?).
[*] Small caveat, on my system it seems there is a mode change after the kernel boot and while plymouth starts, hence my boot is not "flicker free" but this seems like a driver related issue.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: plymouth-
ProcVersionSign
Uname: Linux 5.3.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu8.3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 17 14:49:09 2019
DefaultPlymouth: /usr/share/
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-10-19 (58 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: Dell Inc. XPS 13 9380
ProcCmdLine: BOOT_IMAGE=
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: plymouth
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/01/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.8.0
dmi.board.name: 0KTW76
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 13 9380
dmi.product.sku: 08AF
dmi.sys.vendor: Dell Inc.
tags: | added: bot-stop-nagging |
Changed in plymouth: | |
status: | Unknown → New |
tags: | added: flickerfreeboot |
Changed in plymouth: | |
status: | New → Fix Released |
Thank you for your bug report, that seems like it could be reported upstream on /gitlab. freedesktop. org/plymouth/ plymouth/ issues
https:/
Could you do that?