elementary / plymouth-theme

11 stars 7 forks source link

Splash screen not showing #17

Open kdwk opened 3 years ago

kdwk commented 3 years ago

What Happened

The Plymouth splash screen is not showing, despite the fact that my computer is supported by Plymouth (as tested on Fedora) systemd-analyze blame shows: 367ms plymouth-quit-wait.service, so Plymouth is apparently active, just not showing the splash screen

Expected Behavior

The Plymouth splash screen (the spinner) should be visible to indicate progress when booting

Steps to Reproduce

1. 2. 3.

Logs

Platform Information

HP ProDesk 600 G5 ('protected by HP SureStart')

kdwk commented 3 years ago

Upon further investigation, I found that plymouth --get-splash-plugin-path returns '/usr/lib/x86_64-linux-gnu/plymouth/', which contains details.so plymouth-generate-initrd plymouth-update-initrd script.so tribar.so label.so plymouth-populate-initrd renderers text.so two-step.so, which gave me the impression that the elementary Plymouth theme is not in the folder. Also, the command plymouth-set-default-theme is missing

davidmhewitt commented 3 years ago

Is this elementary OS 6 Odin? How was it installed?

kdwk commented 3 years ago

Is this elementary OS 6 Odin? How was it installed?

This is elementary OS 6 Odin stable. It was installed using the official installer by erasing the disk. elementary OS 6 occupies sda, while in sdb I have Fedora 34.

stradicat commented 3 years ago

Same thing here: after a fresh install (as the only OS on this machine), the plymouth boot screen is missing, and its absence also exposes the console boot log during the interval between lightdm showing up and invoking logout / shutdown, as shown below:

kdwk commented 3 years ago

I also discovered that Ubuntu 20.04 shows Plymouth theme correctly under exact same set-up

stradicat commented 3 years ago

Same here, I too installed both Ubuntu and later Kubuntu on the same machine, for comparison purposes, and didn't experience this.

diogopessoa commented 3 years ago

i have the same problem here.

But maybe, bringing more detailed information of my installation, a solution can be reached.

  1. HDD 500gB 492gB ext4 /home 8gB swap
stradicat commented 3 years ago

Oh yes.

Hardware: Lenovo ThinkPad T410s (2013) BIOS, non-EFI machine

OS is installed on sda (SSD)

On the same machine, Ubuntu, Kubuntu, Lubuntu and Linux Mint install plymouth too, and the boot logo is shown correctly, whilst covering boot & shutdown log in the background.

Only Odin has exhibited the behaviour shown here.

BAProductions commented 3 years ago

Same here

stradicat commented 3 years ago

Experiment:

I purged plymouth-theme-elementary and plymouth-theme-spinner, installed plymouth-theme-ubuntu-gnome-logo, and it was shown at boot.

Then purged plymouth-theme-ubuntu-gnome-logo, reinstalled plymouth-theme-elementary and plymouth-theme-spinner, and it wasn't shown at boot.

Therefore, something's up with plymouth-theme-elementary and plymouth-theme-spinner.

BAProductions commented 3 years ago

Experiment:

I purged plymouth-theme-elementary and plymouth-theme-spinner, installed plymouth-theme-ubuntu-gnome-logo, and it was shown at boot.

Then purged plymouth-theme-ubuntu-gnome-logo, reinstalled plymouth-theme-elementary and plymouth-theme-spinner, and it wasn't shown at boot.

Therefore, something's up with plymouth-theme-elementary and plymouth-theme-spinner.

Try removing thes 2 lines ther causing the bug UseFirmwareBackground=true DialogClearsFirmwareBackground=false

stradicat commented 3 years ago

Experiment:

I purged plymouth-theme-elementary and plymouth-theme-spinner, installed plymouth-theme-ubuntu-gnome-logo, and it was shown at boot.

Then purged plymouth-theme-ubuntu-gnome-logo, reinstalled plymouth-theme-elementary and plymouth-theme-spinner, and it wasn't shown at boot.

Therefore, something's up with plymouth-theme-elementary and plymouth-theme-spinner.

Try removing thes 2 lines ther causing the bug UseFirmwareBackground=true DialogClearsFirmwareBackground=false

Will try tomorrow; where are those lines to be found?

BAProductions commented 3 years ago

/usr/share/plymouth/themes/elementary/elementary.plymouth

stradicat commented 3 years ago

/usr/share/plymouth/themes/elementary/elementary.plymouth

Alright, this got the spinner animation showing up at least. Your suggestion has been a step in the right direction 😃

Is there a logo supposed to show up, too? In past elementary OS releases, there was a nice "e" showing up, which isn't the case here. The asset is there, but not loaded.

I could try fiddling with plymouth's config tomorrow.

BAProductions commented 3 years ago

I believe so

BAProductions commented 3 years ago

It already tried with no luck

BAProductions commented 3 years ago

@dennismayr the old eOS Plymouth theme works 100%

4jNsY6fCVqZv commented 2 years ago

I wonder what has changed since the stable version of Hera. There the screen in the startup and shutdown process also sometimes changed between graphical level and command line, but since the last updates of the stable Odin version, I see, except for the Greeter login part, unfortunately only command line. No boot animation (by the way, not even during shutdown) and also no box to unlock the hard drive. Instead for example outputs like:

elementary OS Next [hostname] tty1
[hostname] login: _"

I wish elementary OS startup and shutdown would also provide a well-rounded user experience. And wonder what it takes now for that to happen (again).

stradicat commented 2 years ago

I agree, it makes a very nice OS experience feel a tad unfinished.

rdanter commented 2 years ago

I have the same issue with a freshly installed 6.1 on my Dell laptop. Older versions of eOS (Freya, I think) worked on this machine as does the last LTS release of Kubuntu.

I know it is only cosmetic, but it would be nice to have this working. :)

rdanter commented 2 years ago

OK, I have this working now, at least on my Dell laptop. The above suggestion to remove the following is actually almost there:

UseFirmwareBackground=true

Rather than remove it I changed it to =false.

Then add the following two lines:

WatermarkHorizontalAlignment=.5
WatermarkVerticalAlignment=.5

in the [two-step] section. This places the logo in the middle of the screen.

Finally, copy (or rename may work) the bgrt-fallback.png file to watermark.png and you should be done. I get both the 'e' logo and the spinner at boot and just the logo at shutdown now. I guess the latest plymouth looks for the fallback image as watermark instead now.

vjr commented 3 months ago

Pasting my comment from Discord if it helps:

I searched around the webzzz and it appears the amdgpu module is not included in the initrd image in os8/ubuntu2404 while it is present in my os7.1 installation... i looked around the elementary repos and doesn't seem like we're doing anything there so looks like an upstream difference between jammy and noble (maybe)...

I did sudo lsinitramfs /boot/initrd-6.xxxxxx | grep amdgpu in both os7.1 and os8 and that showed the above observation.

So then I appended amdgpu to the /etc/initramfs-tools/modules file then did a sudo update-initramfs -uk all and voila! next boot of os8 the issue was resolved - the plymouth splash works without blank screen hang.

Other comments online suggested some other plymouth themes worked anyway without the need to do this fix so dunno whether issue is upstream missing the amdgpu module in kernel initrd image or something about the elementary plymouth theme - I'm inclined to say the former.

vjr commented 3 months ago

I've posted https://bugs.launchpad.net/ubuntu/+bug/2077266 if anyone else is facing this issue and wants to upvote that bug report.

stradicat commented 3 months ago

Thing is, the problem happened on computers without AMD gpus, so your issue may perhaps be restricted to that particular hardware.

When I reported my experiences, the laptops had Intel-only and Intel+Nvidia gpus.

Still, the bug you've shared can definitely use upvotes.