Skip to main content
Topic: [SOLVED] Plymouth runs in the background after login (Read 290 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Plymouth runs in the background after login

I installed Artix OpenRC, Plasma edition via the official iso, it is fully upgraded.
I have plymouth, plymouth-kcm and breeze-plymouth packages installed, which are related. The display manager is sddm.
I used these to set up plymouth:

Code: [Select]
echo "HOOKS+=('plymouth')"  | sudo tee /etc/mkinitcpio.conf.d/plymouth.conf
sudo mkinitcpio -P
if [ $(grep -c -Pz 'GRUB_CMDLINE_LINUX_DEFAULT=$GRUB_CMDLINE_LINUX_DEFAULT" splash rd.udev.log_priority=3 vt.global_cursor_default=0"' /etc/default/grub) -eq 0 ]; then
    echo $'nGRUB_CMDLINE_LINUX_DEFAULT=$GRUB_CMDLINE_LINUX_DEFAULT" splash rd.udev.log_priority=3 vt.global_cursor_default=0"'  | sudo tee -a /etc/default/grub
fi
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo plymouth-set-default-theme -R breeze

It does run correctly, with the correct theme, but after I log in and check in the process manager, plymouthd runs a core somewhere between 50% to 100%.
From looking through the plymouth issue tracker, it looks like this issue:
https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/100
Where they say the display manager should stop plymouth.
I also tested and
Code: [Select]
sudo plymouth quit
does indeed stop it, so it is not just broken.

Re: Plymouth runs in the background after login

Reply #1
Plymouth influences my system detecting other displays too. If plymouth runs and I restart the machine with my hub plugged in, it won't ever notice the displays even if replugged. If I restart with the hub pulled out and plug it in after login, it works correctly. I disabled plymouth and the bug disappeared. The displays work before plymouth, grub appears on them.

Not sure if related or something else.

Re: Plymouth runs in the background after login

Reply #2
What if you put 'plymouth quit' in /etc/rc.local? Or, add a start_post() in /etc/init.d/sddm with that command?
Code: [Select]
start_post() {
    plymouth quit
}

Re: Plymouth runs in the background after login

Reply #3
What if you put 'plymouth quit' in /etc/rc.local? Or, add a start_post() in /etc/init.d/sddm with that command?
Code: [Select]
start_post() {
    plymouth quit
}
Putting that function in /etc/init.d/sddm solved both the process running and the screens no longer working. Is this something that should be done by the distro, or by people that want to use it? If the latter, is there some place where i can put it and it won't be overwritten by some update? Also, should this be included in the wiki then?

Re: Plymouth runs in the background after login

Reply #4
Not all people use plymouth, so it's up to those who do. It won't be overwritten by updates. Perhaps it's worth putting it on the wiki, although it's probably an upstream bug as you mentioned.

 
Artix forum uses a single cookie to remember youOK