adi1090x / plymouth-themes

A huge collection (80+) of plymouth themes ported from android bootanimations
GNU General Public License v3.0
1.82k stars 116 forks source link

sd-encrypt password prompt not showing up #19

Closed Davincible closed 1 year ago

Davincible commented 3 years ago

sd-encrypt password prompt doesn't show up. Have to press escape to get the regualar startup prompt. It does work with plymouth-encrypt.

As it does work with other themes, (tried manjaro), the issue must be in this theme set specifically

dustydecapod commented 3 years ago

This is not a theme issue. Are you using sd-plymouth?

Davincible commented 3 years ago

Yup HOOKS=(base systemd autodetect sd-plymouth modconf block keyboard sd-vconsole sd-encrypt lvm2 filesystems fsck)

dschemp commented 2 years ago

@Davincible I have setup mkinitcpio hooks as this:

HOOKS=(base systemd sd-plymouth autodetect modconf block keyboard sd-vconsole sd-encrypt filesystems fsck)

with the default bgrt (spinner derivate) theme. What theme did you use? Does is prompt you for your password when using for example spinner or bgrt.?

EDIT: I think I have to agree on this issue. I've tried using circle-alt, pixels and dna from this repository and none of them prompted me for my password other than in the terminal.

Davincible commented 2 years ago

@dschemp Can't remember which one I used. Using some completely other, basic theme now

rickie95 commented 2 years ago

I also confirm this issue, although using GRUB instead of systemd-boot.

Default plymouth themes works as expected, they all ask for the password, but the repository ones just run endlessly while the classic text password prompt is accessible only pressing escape.

Perhaps a script issue? I've tried to find the defaults' source but found nothing.

jocelynthode commented 2 years ago

I can confirm that I have exactly the same issues as @rickie95 . Using any of the themes here I was never prompted for the password. I have to press escape and fallback to TTY to enter the password. With the classic BGRT theme it works perfectly.

SteveGremory commented 2 years ago

same here, at least with the themes i tried (some from pack 4)

dejor commented 2 years ago

I had the same issue on Manjaro with KDE and the colorful_loop theme from pack_1. I am using the plymouth-git package from the AUR.

The problem was, that the initramfs did not include /usr/lib/plymouth/label.so and no font to use.

Fix

Only works for plymouth-git or plymouth from the AUR. Install the optional dependency ttf-dejavu with your preferred package manager, e.g.:

sudo pacman -S ttf-dejavu

Now the label.so lib and the ttf-dejavu font should be added to the initramfs by the plymouth or the sd-plymouth hook.

sp4rq-dev commented 2 years ago

I had the same issue on Manjaro with KDE and the colorful_loop theme from pack_1. I am using the plymouth-git package from the AUR.

The problem was, that the initramfs did not include /usr/lib/plymouth/label.so and no font to use.

Fix

Only works for plymouth-git or plymouth from the AUR. Install the optional dependency ttf-dejavu with your preferred package manager, e.g.:

sudo pacman -S ttf-dejavu

Now the label.so lib and the ttf-dejavu font should be added to the initramfs by the plymouth or the sd-plymouth hook.

Thanks it works for me. Also after installing the ttf-dejavu package you have to rebuild the theme.

plymouth-set-default-theme -R your-theme
rickie95 commented 2 years ago

I also confirm this fix, works like a charm now. @dejor, would you like to create a PR with a modified README mentioning this dependency?

TheRedCyclops commented 6 months ago

This seems to be broken again, I have just tested with sd-encrypt and no themes from this pack seem to work (I haven't tested all of them, but the code seems to be the same for all of them), but the default that come with the plymouth package do work

dejor commented 6 months ago

The issue could be, that the plymouth package for arch now requires a Font in the theme.plymouth file. See: https://gitlab.archlinux.org/archlinux/packaging/packages/plymouth/-/blob/main/plymouth.initcpio_install?ref_type=heads#L9

I don't have any issues, since the output of fc-match "" is NotoSans-Regular.ttf: "Noto Sans" "Regular" on my system.

TheRedCyclops commented 6 months ago

fc-match "" outputs the same thing in my system, And I have literally all the fonts available in the main repository installed