Plymouth linux что это

Обновлено: 03.07.2024

И выключении тоже. Чтобы был лог.

Привет ЛОР. Сабж. Имею arch с криптоконтейнером внутри которого lvm. Все работало до того как поменял загрузчик с grub на systemd-boot.
Сейчас плимут пропал и осталась текстовая консолька.

В loader.conf написал console-mode keep

В хуках ничего не менял.

Собственно вопрос в названии топика. В своё время был fbsplash, его можно было и как заставку использовать, а можно было указать verbose в самой теме сплеша и тогда вся консоль работала штатно, но на фоне картинки. Возможно ли такое с плимутом? Про «esc» я в курсе, но тогда пропадает картинка, а хотелось бы просто tty с фоном.

Не получается изменить тему plymouth.
Скопировал тему в /usr/share/plymouth/themes/

последняя команда выдает ошибку:
plymouth module (/usr/lib/x86_64-linux-gnu/plymouth//.so) missing, skipping that theme.

Странно, что в теме по-умолчанию содержимое .plymouth похоже, и ошибок при переключении на нее нет.

Всем намасте!
Собственно сабж, поставил себе plymouth, но из-за ошибкок в DSDT показ загрузчика прерывается, что подбешивает. Про починку DSDT читал тут и понял, что не по мне, а производитель все равно отморозится фиксить.
Итак, можно ли отключить показ уведомлений и ошибок, чтобы plymouth гладенько отрабатывал до самого рабстола?

Под сабжем я подразумеваю сохранение логотипа UEFI и показ анимации загрузки на его фоне. Сама анимация может отличаться от виндовой.

Иксы стартуют на tty1. Если переключиться на tty2, то также можно успеть заметить логотип UEFI, пока systemd не запустит getty и он не очистит консоль. При переключении на остальные консоли данный эффект уже не повторяется (возможно, getty запускается слишком быстро).

Раз пошло такое дело, то хочется заставить plymouth рисовать анимацию поверх логотипа UEFI, как это делает офтопик. Техническая возможность со стороны ядра точно есть, иначе бы этот логотип не мерцал при старте SDDM. Нужно как-то создать прозрачную тему plymouth или что-то вроде этого.

Кстати, если убрать опцию splash из параметров ядра, то логотип UEFI не появляется ни разу за всё время загрузки. Если переключиться в текстовую консоль с помощью Esc при работе plymouth, то там будут обычные информационные строчки на чёрном фоне.

При перезагрузке тоже автоматом не включается. Если имеет значение - установлен плимус. В ядро включены:

Работает и интел и нвидиа через оптиран, как говорит glxgears -info, вручную ксандр тоже не добавляет

Arch Linux. Gnome 3. GDM. Plymouth.

После входа в систему в top видно процесс:

Который жрёт стабильно 2% CPU. Это не так много, но не даёт уснуть процессору при бездействии и влияет на энергопотребление.

Если не следовать арчевики и не включать сервис gdm-plymouth вместо gdm, то процесс висеть не остаётся. Однако тогда gdm категорически не хочет стартовать в wayland-режиме (и не только сам не стартует, но и запустить основной сеанс в этом режиме не даёт), а при старте самого gdm происходит смена видеорежима (при запуске через gdm-plymouth такого не происходит и происходит плавный переход от анимации загрузки к gdm).

В чём может быть проблема?

Решил попробовать загрузку без прослойки в виде граба и у меня назрела пара вопросов:

2. Как правильно грузить initramfs?

Пробовал делать так:

Но в любом случае initramfs не подхватывается.

Точка монтирования EFI раздела: /boot/efi

Полный путь: /boot/efi/EFI/gentoo/@bootfile

3. Ранний старт plymouth вообще реально завести через efistub ?

4. Я в процессе завода initramfs наделал (и еще наделаю) кучу записей в NVRAM, насколько это чревато последствиями?

1) Debian v9.2, ветка stable;
2) XFCE v4.12.3;
3) Lightdm v1.18.3;
4) Plymouth v0.9.2 и темы по умолчанию.

начало анимационного ролика воспроизводится корректно, во всей красе, но чуть погодя все превращается в монохромную (а иногда и в оттенках серого) кашу различного рода артефактов. Дальше все загружается в нормальном режиме.

Смена темы только усугубила положение: ос зависает при загрузке почти наглухо (даже терминалы по ctrl-alt-f не переключаются), работает только ctrl-alt-del. Перезагрузился в режим восстановления и вернул рабочую тему обратно.

В журнале dmesg насторожило следующие:

Вывод dmesg изменился на:

Значения video=uvesafb:mode_option пробовал самые различные. Брал их отсюда:
cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
и отсюда:
cat /sys/class/graphics/fb0/modes,
и из hwinfo --framebuffer тоже. Не помогло.

Потрачена куча времени с нулевым результатом. Что делать дальше?

Помогите пожалуйста и спасибо за внимание.

Не могу понять, что же я делаю не так. Ставил плимут на арч по инструкции: собрал, добавил хук в initrd в нужном месте, добавил quiet splash к параметрам ядра, переключил lightdm на lightdm-plymouth, даже интеловский модуль в initrd добавлял для раннего запуска KMS - всё впустую: до и после плимутовского спиннера я гляжу на чёрный экран с ехидной строчкой starting version 234, потом появляется окно авторизации. При выключении машины спиннер вообще не появляется.

Я точно знаю, что так не должно быть, потому что в минте плимут работал как положено. Кто-нибудь решил эту проблему?

Ну ладно, а это вообще как-нибудь диагностируется, или и дальше вслепую тыкаться? Просто по моим поверхностным познаниям процесса загрузки плимут запускается на уровне initrd, что раньше, чем запуск init-а (так ведь?), так что то, почему он не светится, когда systemd уже заработал - самая настоящая загадка для меня.

Доброго всем дня! По мотивам своего вопроса относительно сплэшскрина под Debian, хочу спросить совета, как устанавливать plymouth, потому что у меня на система ни одно из руководств нельзя адекватно интерпретировать. Вот, берем для примера англоязычное руководство с сайта Debian по пунктам:

1. apt-get install plymouth plymouth-themes - с этим проблем нет, в репозитории есть, ставится 2. Edit the file /etc/initramfs-tools/modules and add the modesetting for your graphics card - но у меня нет ничего из указанных карт, у меня очень обрезанная система на основе iMX6 с GPU от Vivante, что мне писать в этом случае? 3. Grub2 - у меня не груб, а U-boot, все, что можно передать из него ядру по поводу разрешения и цвета я уже передаю, система работает. 4. plymouth-set-default-theme -R THEME - темы поставились и доступны для выбора, тут все ок

В русскоязычном руководстве с того же сайта Debian есть иные пункты: * update-initramfs -u - эта команда у меня проходит, но никакого образа в /boot я не нахожу Далее идет информация об установке драйверов, но я даже не знаю, нужно ли мне это? Есть ли шансы вообще запустить plymouth на девятом Debian и с U-boot в качестве загрузчика?

Почему в место лого fedor'ы на экране три точки при загрузке: Скрин Тема: fade-in.

Не могу разобраться почему плюмут так поздно стартует, т.е. аж на этапе инициализации демонов. Коротко, initramfs с плюмутом и темой создан (пробовал и genkernel-next и dracut), в грабе все прописано

По факту, стартует ядро как обычно, запускается systemd и аж потом включается плюмут. Пробовал для теста удалять initramfs, картина все та же. Судя по всему плюмут не хочет стартовать с initramfs.

Закрадываются мысли, что для того, что бы плюмут работал еще на старте ядра нужен UEFI, на арчвики пишут что EFI фреймбуфер дружит с плюмутом. Может быть?

Contents

Preparation

Plymouth primarily uses KMS (Kernel Mode Setting) to display graphics. In EFI/UEFI systems, plymouth can utilize the EFI framebuffer. If you cannot use KMS, e.g. because you are using a proprietary driver, or if you do not want to use the EFI framebuffer, consider using Uvesafb as it works with widescreen resolutions.

If you have neither KMS nor a framebuffer, Plymouth will fall back to text-mode.

Installation

Plymouth is available from the AUR: the stable package is plymouth AUR and the development version is plymouth-git AUR . Due to the fact that upstream plymouth release only happen on a spotty and highly unregular schedule, it is generally recommended to use plymouth-git AUR , because it is actually less likely to cause problems for most users than the stable package.

The plymouth hook

Add plymouth to the HOOKS array in mkinitcpio.conf. It must be added after base and udev for it to work:

  • If you use hard drive encryption with the encrypt hook, you must replace the encrypt hook with plymouth-encrypt and add it after the plymouth hook in order to get to the TTY password prompts.
  • Using PARTUUID or PARTLABEL in cryptdevice= parameter does not work with plymouth-encrypt hook.
  • For a ZFS encrypted root, you must install plymouth-zfsAUR and replace the zfs hook with plymouth-zfs

This might also be a step needed for some themes to work.

Alternative plymouth hook (systemd)

If your mkinitcpio.conf includes the systemd hook, then replace plymouth with sd-plymouth . Additionally, if using hard drive encryption, use sd-encrypt instead of encrypt or plymouth-encrypt :

The kernel command line

Append quiet splash vt.global_cursor_default=0 to the kernel parameters. See Silent boot for other parameters to limit the output to the console.

Configuration

Smooth transition

If using GDM, install gdm-plymouth AUR which supports smooth transition out of the box (no other steps are required as it cleanly replaces gdm ).

Optimus-manager users on GDM can install gdm-plymouth-prime AUR , which is a fork of gdm-plymouth AUR with the required patches to support Prime switching.

Users of other display managers (SDDM, LightDM or LXDM) will have to:

    your display manager unit, e.g. lxdm.service . the respective DM-plymouth unit provided, e.g. lxdm-plymouth.service .

Show delay

Plymouth has a configuration option to delay the splash screen:

On systems that boot quickly, you may only see a flicker of your splash theme before your DM or login prompt is ready. You can set ShowDelay to an interval (in seconds) longer than your boot time to prevent this flicker and only show a blank screen. The default is 5 seconds, but you may wish to change this to a lower value to see your splash earlier during boot.

Change background image

Certain themes (such as spinner) can have their background image changed. On spinner, by default it is a grey noise pattern. To change it, replace /usr/share/plymouth/themes/theme/background-tile.jpg with your desired image. You may want to copy and create a new theme when doing this, to prevent it from being overridden by updates to Plymouth. Do not forget to regenerate the theme once changed, see the next section for how.

Changing the theme

Plymouth comes with a selection of themes:

  1. Fade-in: "Simple theme that fades in and out with shimmering stars"
  2. Glow: "Corporate theme with pie chart boot progress followed by a glowing emerging logo"
  3. Script: "Script example plugin" (Despite the description seems to be a quite nice Arch logo theme)
  4. Solar: "Space theme with violent flaring blue star"
  5. Spinner: "Simple theme with a loading spinner"
  6. Spinfinity: "Simple theme that shows a rotating infinity sign in the center of the screen"
  7. BGRT: A variation of Spinner that keeps the OEM logo if available (BGRT stands for Boot Graphics Resource Table)
  8. (Text: "Text mode theme with tricolor progress bar")
  9. (Details: "Verbose fallback theme")

In addition you can install other themes from AUR, just have a look at the "Required by"-Array on plymouth AUR .

All currently installed themes can be listed by using this command:

By default, the spinner theme is selected. The theme can be changed by editing /etc/plymouth/plymouthd.conf , for example:

Themes can be previewed without rebuilding, press Ctrl+Alt+F6 to switch to a text terminal, log in as root and type:

To quit the preview, press Ctrl+Alt+F6 again and type:

Every time a theme is changed, the initrd must be rebuilt. The -R option ensures that it is rebuilt (otherwise manually run mkinitcpio -P ):

Hidpi

Edit plymouthd.conf as

and rebuild the initrd.

Tips and tricks

Show kernel messages

During boot you can switch to kernel messages by pressing the Home or Esc keys.

Adding Arch Logo to spinner and BGRT themes

To add the Arch Logo to the spinner and BGRT themes copy the Arch logo to the spinner theme directory with the name watermark.jpg :

To center the logo (if not already centered), add the following lines to the theme's configuration file (file name ending with .plymouth , e.g. spinner.plymouth ):

Replacing the Arch Logo and creating custom themes

The following themes use the Arch Linux logo supplied by Plymouth in /usr/share/plymouth/arch-logo.jpg : fade-in, script, solar, spinfinity. If you want to use another logo, you can take one of them or one of the plymouth themes in AUR, edit the file *.plymouth (and maybe *.script , too) and replace this image with one of your choice. You should create a package from your newly created theme, because changes in /usr/share/plymouth may not be persistent across package upgrades.

After installing and selecting your theme, you should rebuild the initrd image to use the new splash.

Disable vendor logo

Troubleshooting

"Unit configured to use KillMode=none" error message in logs

As of plymouth v0.9.5-6 and systemd 247.2-1, the following error message appears with high frequency in the system log:

See the upstream issue for more details.

This issue has now been fixed by upstream. However, because a new versioned release with the fix has yet to be released, the plymouth AUR package also still has this issue. plymouth-git AUR already incorporates the fix (as of late February, 2021).

Package Details: gdm-plymouth 41.0+r15+g23ebe6171-1

Package Actions

Dependencies (17)

    (gnome-session-git) (ebadoo-shell, gnome-shell-xrdesktop-git, gnome-shell-oldstable, gnome-shell-performance, gnome-shell-git) (plymouth-nosystemd, plymouth-git) (systemd-light, systemd-cdown-git, systemd-git, systemd-selinux) (upower-pm-utils, upower-git, upower-nocritical, upower-silent-mouse) (xorg-server1.12, xorg-server-hwcursor-gamma, xorg-server-notty, xf86-input-evdev-git-surfacepen3, xf86-input-evdev-git, xorg-server-sd_notify, xorg-server-noudev, xorg-server-dev, xorg-server1.19-git, xorg-server-rootless-nosystemd-minimal-git, xorg-server-rootless-nosystemd-minimal, xorg-server-git, xorg-server-bug865) (xorg-xrdb-mcpp) (check-git) (check)(make) (git-git, git-vfs) (make) (gobject-introspection-git) (make) (meson-git) (make)(make) (fprintd-libfprint2) (optional) – fingerprint authentication

Required by (12)

    (requires gdm) (requires gdm) (requires gdm) (requires gdm) (requires gdm) (optional) (requires gdm) (requires gdm) (optional) (requires gdm) (optional) (requires gdm) (optional) (requires gdm) (optional) (requires gdm) (optional) (requires gdm) (optional)

Sources (4)

Pinned Comments

It is no longer neccessary or recommended to use gdm-plymouth.service in place of gdm.service .

Please stick with gdm.service

Latest Comments

zenlord commented on 2021-11-22 13:15

As @ewout wrote already: package version should be 41.0+r15+g23ebe617-1

ewout commented on 2021-11-15 11:44

pkgver in PKGBUILD has a extra appended digit leading to continious rebuilding when executing a AUR helper

Taijian commented on 2021-07-28 10:16

@devmrfitz: what is the output of meson -v ? You should get 0.59.0 . If you don't, then that's where your problem comes from.

Taijian commented on 2020-10-21 10:14

@ExaHamza: Once gdm-prime gets updated, enabling plymouth support there should be as simple as compiling it on a system that has plymouth installed, as gdm auto-configures itself for plymouth at compile time.

That said, I do not know if there are any special quirks with NVIDIA hardware, and am unable to test for that. But do give it a try and let us know! :)

ExaHamza commented on 2020-10-20 07:37

Hi, can you make it compatible with optimus-manager? (like gdm-prime)

The latest package versions gdm-plymouth 3.36.3-3, libgdm-plymouth 3.36.3-3, plymouth 0.9.5-4 are starting again without problems. Switched back to gdm.service too.

It is no longer neccessary or recommended to use gdm-plymouth.service in place of gdm.service .

Please stick with gdm.service

Yeah, upon checking, it turns out that most of the xxx-plymouth.service files in the plymouth package aren't really needed any more. I'm gonna update the wiki and the plymouth packages accordingly. Also sticky a comment here.

I can confirm. I had to substitute this package with gdm

Copyright © 2004-2021 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Мне это не очень нравится, и я хочу задать несколько вопросов:

1. Как называется это изображение? Подобные картинки/анимации появляются во всех ubuntu-based дистрибутивах при загрузке, у этого явления точно должно быть название.

2. Можно ли его убрать?

3. Можно ли поставить другое изображение, вместо этого?

4. Есть ли подобные изображения на выбор?

Мне нужно оттолкнуться хотя бы от одного. Узнать название и убрать - уже хорошо, остальное опционально, хотя ответы мне будут интересны.


plymouth-theme
я её вообще не ставлю, мелькнёт на пару секунд, лог загрузки красивее выглядит и полезнее порой


Можно посонам показать, какой ты хакир.


можешь и сказать, разрешаю


можно и просто от рут в /lib/plymouth/theme картинку поменять (background вроде зовётся) и потом update-initramfs - u запустить
только это типа некорректно, обновится если потом плимут при обновлении и снова придётся так сделать


Не силён в *бунтах, но просто убрать splash из параметров запуска ядра - не то? Ещё говорят, что может оказаться достаточно plymouth.conf переименовать во что-нибудь другое.


можно просто удалить в /etc/default/grub между кавычками 2 слова quiet splash и потом выполнить update-grub

и тем валом на том же gnome-look

apt-get remove plymouth* по зависимостям может потащить чего, хз

amorpher ★★★★★ ( 17.11.15 03:09:28 )
Последнее исправление: amorpher 17.11.15 03:13:04 (всего исправлений: 3)


quiet лучше не убирать, лог ядра слишком подробный, а для хакира и лог загрузки системы сойдёт.


Начиная с какой-то версии systemd с quiet консоль вообще пустая.


Не наблюдаю у себя в минте (17.1) systemd.


В эпоху SSD и systemd люди ещё озабочены бутсплэшами.



/boot/grub2/grub.cfg правим ручками секцию с настройкой изозагрузки (это если загрузчик grub2)

если загрузчик grub (а не grub2) то правим ручками бут/груб/менюлист!

для grub2 темы картинок лежат в /boot/grub2/themes

C 17.2 в минте Systemd? Можно пруфы?


Упс, ошибся. Планируют с 17.3, похоже.

А сюда можно пруфы? :)

Да не груб мне нужен, бля. Груб и plymouth - разные вещи.


17.3 планируется на базе 15.04. Хотя пока не понятно. Могут и до 18.х отложить внедрение, пока не будет нового LTS от убунты.

Кстати, убирал с помощью grub-customizer quiet splash, и не помогло. Ну, не важно. Хотя бы не придётся видеть поделие глубоко больных дизайнеров linux mint, которые умудрились на одну картинку запихнуть и зелёный, и белый, и чёрный цвета. Надеюсь, они сделают редизайн, а лучше и ребрендинг.

Читайте также: