Plymouth problem after update?

```text
System:
  Kernel: 6.2.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=e0aa6bf1-e32d-48b2-a659-01e4322f83f8
    rw rootflags=subvol=@ quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=31f5f81c-4fb3-4a39-893a-3e7c25a0feb6 loglevel=3 ibt=off
  Desktop: GNOME v: 43.4 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 43.0 Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X513UA_M513UA v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: X513UA v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC.
    v: X513UA.312 date: 04/26/2022
Battery:
  ID-1: BAT0 charge: 27.9 Wh (68.9%) condition: 40.5/42.1 Wh (96.4%) volts: 11.8 min: 11.8
    model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: discharging cycles: 240
CPU:
  Info: model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x68 (104) stepping: 1 microcode: 0x8608103
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 1399 high: 1400 min/max: 1400/4056 boost: enabled scaling:
    driver: acpi-cpufreq governor: powersave cores: 1: 1397 2: 1400 3: 1400 4: 1400 5: 1397 6: 1400
    7: 1400 8: 1400 9: 1397 10: 1400 11: 1400 12: 1400 bogomips: 50304
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Lucienne vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:164c
    class-ID: 0300 temp: 41.0 C
  Device-2: Quanta USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 3-3:3
    chip-ID: 0408:30d4 class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1 compositor: gnome-shell
    driver: X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x4161 built: 2020 res: 1920x1080 dpi: 142 gamma: 1.2
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Message: No known Wayland EGL/GBM data sources. API: EGL/GBM
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci,
    snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound API: ALSA v: k6.2.8-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:2725 class-ID: 0280
  IF: wlp1s0 state: down mac: <filter>
  Device-2: ZTE WCDMA MSM DEMO Mobile Boardband type: USB driver: cdc_ether,usb-storage
    bus-ID: 1-3:3 chip-ID: 19d2:1405 class-ID: 0806 serial: <filter>
  IF: enp3s0f3u3 state: up speed: 150 Mbps duplex: half mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-2:2 chip-ID: 8087:0032
    class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 491.84 GiB used: 26.55 GiB (5.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLQ512HALU-00000 size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: FXV7101Q temp: 35.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: SanDisk model: Cruzer size: 14.9 GiB block-size:
    physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
Partition:
  ID-1: / raw-size: 146.49 GiB size: 146.49 GiB (100.00%) used: 6.56 GiB (4.5%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%) used: 608 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 321.45 GiB size: 321.45 GiB (100.00%) used: 5.43 GiB (1.7%) fs: btrfs
    dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-4: /var/log raw-size: 146.49 GiB size: 146.49 GiB (100.00%) used: 6.56 GiB (4.5%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 146.49 GiB size: 146.49 GiB (100.00%) used: 6.56 GiB (4.5%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.15 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3
    maj-min: 259:3
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A gpu: amdgpu temp: 40.0 C
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 387 Uptime: 2m wakeups: 1 Memory: 7.15 GiB used: 2.54 GiB (35.5%) Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1305
  libs: 353 tools: pamac,paru Client: shell wrapper v: 5.1.16-release inxi: 3.3.25
Garuda (2.6.16-1):
  System install date:     2022-12-05
  Last full system update: 2023-03-29
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio
  Windows dual boot:       No/Undetected
  Failed units:            
```

I've just done an update and Plymouth was one of the things that was updated.

The following was displayed after the update:

warning: /etc/plymouth/plymouthd.conf installed as /etc/plymouth/plymouthd.conf.pacnew
WARNING: The 'plymouth-encrypt' and 'sd-plymouth' hooks are no longer exist in the package. You should replace them with 'encrypt' and 'plymouth' hooks in your 'mkinitcpio.conf'. The 'lxdm-plymouth.service', 'lightdm-plymouth.service' and 'sddm-plymouth.service' systemd service files are no longer exist in the package. You should enable 'lxdm.service', 'lightdm.service' or 'sddm.service' instead.
New optional dependencies for plymouth
    gtk3: x11 renderer [installed]

I rebooted after the update, and during the reboot it mentioned something about fonts, but everything seems OK.

Is there something I should be concerned about?

The fact that you saw this message suggests your Plymouth is broken. Probably the error message has been there the whole time, but normally with Plymouth enabled you will see an animation of some kind instead of the boot messages.

Fix the Plymouth hook by editing /etc/mkinitcpio.conf:

micro /etc/mkinitcpio.conf

Find the HOOKS line and change sd-plymouth to just plymouth.

Before:

HOOKS=(... sd-plymouth ...)

After:

HOOKS=(... plymouth ...)

The order of the hooks is significant, so don’t change where it appears in the list.

Optionally, you can fix that font error by adding setfont to the BINARIES field (higher up in the same file):

BINARIES=(setfont)

When you are finished amending the file, save and exit. Then rebuild the initramfs:

sudo mkinitcpio -P

It looks like you dodged a bullet on the encryption hook since you aren’t using encryption, and likewise your display manager (GDM) isn’t one of the listed ones so you should be fine to disregard those parts of the message.

When you have a chance, take a look at what is new in this configuration file and see if you would like to amend your config with any of the new properties.

sudo meld /etc/plymouth/plymouthd.conf /etc/plymouth/plymouthd.conf.pacnew

Meld is is useful for this because it will highlight the differences, and you can copy things from one file to the other with the arrows. If you’re not sure what to do, take a screenshot and drop it in the thread so others can chime in.

4 Likes

Many thanks for the comprehensive reply.

Below is my mkinitcpio.conf - it seems like nothing is set.

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(crc32c intel_agp i915 amdgpu radeon nouveau)
MODULES=(crc32c intel_agp i915 amdgpu radeon nouveau)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap consolefont plymouth resume filesystems grub-btrfs-overlayfs"

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

Your hooks look correct already, actually. Are you still not getting the Plymouth splash screen? It is the little spinning animation in between the Grub menu and the login screen.

The splash screen is working OK, but I'm still getting the setfont error.

Do I change

BINARIES=()

to

BINARIES=(setfont)

?

That's right, and save/exit the file, and then rebuild the initramfs.

sudo mkinitcpio -P
4 Likes

Many thanks for your words of wisdom.

I followed your advice and now things seems to be working correctly again.

:trophy:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.