You are not logged in.
Pages: 1
i use dracut to generate the initramfs with plymouth module included, and set up systemd-boot according to the ArchWiki:
loader.conf
default arch
timeout 5
console-mode max
editor noarch.conf
title Arch Linux
linux /vmlinuz-linux-zen
initrd /amd-ucode.img
initrd /initramfs-linux-zen.img
options root=PARTUUID=382ef5d7-7d0e-43ce-9521-9c3b70887369 rw quiet splash loglevel=3 rd.udev.log_priority=3afer selecting the default entry, i get a black screen and then to the sddm login screen in a few seconds.The splash won't show at start up, but i can see the splash when shutting down.
is there anything wrong?
Offline
The Arch Wiki:
You now need to append the quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0 kernel parameters. See Silent boot for other parameters to limit the output to the console
Offline
The Arch Wiki:
You now need to append the quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0 kernel parameters. See Silent boot for other parameters to limit the output to the console
the kernel parameters are in the option part of the arch.conf file, where i think them should be, or do i put them in the wrong place?
Offline
Have you set
# /etc/plymouth/plymouth.conf
...
ShowDelay=0as described in the Wiki ?
Last edited by icar (2020-12-21 12:18:00)
Offline
I'm a little bit intrigued as I don't use dracut but this guide from Gentoo has a mention of dracut. The Archwiki on Plymouth doesn't have any mention of dracut yet which I feel it should. Keep us posted how you get on.
Offline
yes, and i also tried other values, but didn't make a difference.
Offline
torors wrote:The Arch Wiki:
You now need to append the quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0 kernel parameters. See Silent boot for other parameters to limit the output to the consolethe kernel parameters are in the option part of the arch.conf file, where i think them should be, or do i put them in the wrong place?
Yep, they are in the wrong place - you should put them in /etc/default/grub, like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0"
You may have other stuff on that line, like resume=something, for hibernation, but just add your stuff up front and let the rest stay.
After you save, you need to generate the main configuration file again:
grub-mkconfig -o /boot/grub/grub.cfgOffline
nggbb wrote:torors wrote:The Arch Wiki:
You now need to append the quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0 kernel parameters. See Silent boot for other parameters to limit the output to the consolethe kernel parameters are in the option part of the arch.conf file, where i think them should be, or do i put them in the wrong place?
Yep, they are in the wrong place - you should put them in /etc/default/grub, like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 rd.udev.log_priority=3 vt.global_cursor_default=0"
You may have other stuff on that line, like resume=something, for hibernation, but just add your stuff up front and let the rest stay.
After you save, you need to generate the main configuration file again:
grub-mkconfig -o /boot/grub/grub.cfg
OP is using systemd-boot
Offline
Are you using the package in the official repositories or the dracut-git in the AUR? The package in the official repositories hadn't been updated since April until today, there were a number of issues that had been patched but were not in the package due to that. Upgrading may solve your issue.
Otherwise, what are the parameters you are using for dracut? Do you have the sddm-plymouth.service enabled via systemctl? Do you have early KMS set?
Offline
Are you using the package in the official repositories or the dracut-git in the AUR? The package in the official repositories hadn't been updated since April until today, there were a number of issues that had been patched but were not in the package due to that. Upgrading may solve your issue.
Otherwise, what are the parameters you are using for dracut? Do you have the sddm-plymouth.service enabled via systemctl? Do you have early KMS set?
I used dracut in the official repositories, so I just tried dracut-git, the same result. I didn't change any configuration of dracut, but used the dracut-hook in the AUR, and the sddm-plymouth.service was enabled. I can see my GPU driver included in the initramfs.img file by lsinitrd, but I'm not sure if I had early KMS set, or how could I do that with dracut? I'm wondering if it is because the boot process is too fast? (about 5 seconds from selecting the entry to the login screen)
Last edited by nggbb (2020-12-23 16:21:18)
Offline
:: Building initramfs for linux-zen-5.9.14-zen1-1-zen
dracut: Executing: /usr/bin/dracut -f --no-hostonly-cmdline /boot/initramfs-linux-zen.img --kver 5.9.14-zen1-1-zen
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'dash' will not be installed, because command '/bin/dash' could not be found!
dracut: dracut module 'mksh' will not be installed, because command '/bin/mksh' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'network-legacy' will not be installed, because command 'dhclient' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'kpartx' could not be found!
dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found!
dracut: dracut module 'network' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'network-legacy' will not be installed, because command 'dhclient' could not be found!
dracut: dracut module 'network' depends on 'network-legacy', which can't be installed
dracut: dracut module 'cifs' depends on 'network', which can't be installed
dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found!
dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found!
dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack
dracut: dracut-squash module requires squashfs-tools
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: modsign ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: btrfs ***
dracut: *** Including module: crypt ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: kernel-network-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: mdraid ***
dracut: Skipping udev rule: 64-md-raid.rules
dracut: *** Including module: nvdimm ***
dracut: *** Including module: qemu ***
dracut: *** Including module: qemu-net ***
dracut: *** Including module: lunmask ***
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ***
dracut: *** Store current command line parameters ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initramfs-linux-zen.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-linux-zen.img' done ***Offline
As far as I know, if your boot is too fast, you may never see plymouth.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I think the drm module means you are getting KMS, try checking with
lsinitrd --unpackearly /boot/initramfs-linux-zen.img | lessand see if you have what you need under kernel extra modules. It might be easier to replace less with
grep extramodules.
What plymouth theme are you trying to use? Both mkinitcpio and dracut have had problems with certain ones.
Offline
I think the drm module means you are getting KMS, try checking with
lsinitrd --unpackearly /boot/initramfs-linux-zen.img | lessand see if you have what you need under kernel extra modules. It might be easier to replace less with
grep extramodules.
What plymouth theme are you trying to use? Both mkinitcpio and dracut have had problems with certain ones.
I'm using the BGRT theme. I can see the theme when shutting down so I think dracut might be ok with it.
Offline
Well Plymouth would show my splash screen during encrypt pw part of boot and boot, and sometimes during shutdown but it wouldn't show the password prompt or field or any entered text. Turns out Dracut wasn't installing everything needed for the theme to function properly. It would install a few of the things, like text.so, but not label.so or the required font.
I put
install_items+=" /usr/lib/plymouth/label.so /usr/lib/plymouth/text.so /usr/share/fonts/TTF/DejaVuSans.ttf /etc/fonts/fonts.conf "into /etc/dracut.conf.d/plymouth.conf and run Dracut with the hostonly option.
https://github.com/adi1090x/plymouth-themes/issues/10
https://gitlab.freedesktop.org/plymouth … issues/116
Edit: Forgot to mention that the lsinitrd unpack was to check to see if those were being included. The theme file under /usr/share/plymouth/themes will specify what font, your theme uses Cantarell which was mentioned in those threads I believe. Might be affecting you.
Last edited by MuddyArch (2020-12-27 23:07:11)
Offline
Pages: 1