Page 1 of 1

Plymouth themes

PostPosted: Apr 2nd, '14, 08:28
by bobw
Has anyone successfully changed the Plymouth theme? I've tried, however all I get is the progress bar and Mageia 4! in the lower right hand corner.
I've loaded the other themes and have done the following:

1) plymouth-set-default-theme --list (to list the available themes)
2) plymouth-set-default-theme <theme_name> --rebuild_initrd (select new them, rebuild initrd)

One thing I've noticed is that the initrd image seems to be rather larger...

Anyone?

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 20:15
by doktor5000
I'd not use plymouth-set-default-theme to update the initrd, better use dracut to do that.

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 22:17
by bobw
1) Why NOT use plymouth-set-default-theme?
2) Running 'dracut --force <current.img file to be replaced>' generated a smaller file, however the result is the same.

The dracut config file has:
omit_dracutmodules+=" network systemd "
Is systemd required to show the themes?

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 22:25
by doktor5000
Looking at it again, this may help: viewtopic.php?f=7&t=1021

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 22:36
by alf
bobw wrote:plymouth-set-default-theme <theme_name> -R
did not work after the change to dracut, but later on the mkinitrd script was adjustet to use of dracut and command worked again. But presently it doesn't work again(MGA4); maybe the -f switch is not passed to dracut from mkinitrd. Worth a bugreport ?

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 22:47
by bobw
It appears to be a bug.

I've used both (dracut and plymouth-set-default-theme) and neither gets a plymouth theme - just the progress bar along the bottom.

2 questions are still unanswered in my post(s):

1) why use dracut over plymouth-set-default-theme?
2) is systemd NEEDED for plymouth to work - currently, it is disabled in the initrd build along with networking...

Anyone?

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 22:52
by alf
I've jaust tested to chang the plymouth theme in MGA4. After
Code: Select all
plymouth-set-default-theme <theme_name> -R
the theme was changed, but did not appear at boot time (though at reboot/shutdown). After
Code: Select all
dracut -f -H
the machine booted with the new theme.

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 22:55
by alf
bobw wrote:I've used both (dracut and plymouth-set-default-theme) and neither gets a plymouth theme - just the progress bar along the bottom.

That's the fallback theme if the chosen theme can't be loaded.

Re: Plymouth themes

PostPosted: Apr 2nd, '14, 23:59
by bobw
Performed the following:

plymouth-set-default-theme Mageia-Default -R
<reboot> no theme
dracut -f -H
<reboot> no theme

Next, I checked for available themes....
plymouth-set-default-theme --list
charge
details
fade-in
glow
Mageia-Default
script
solar
spinfinity
spinner
text

If the default theme is used (progress bar), then it must not be finding the Mageia-Default theme?

******************************************
Mageia4 x86_64
Nvidia non-free driver 331.49

Re: Plymouth themes

PostPosted: Apr 3rd, '14, 19:10
by bobw
I've verified that the Plymouth themes are setup properly. I can set a theme from the list generated by 'plymouth-set-default-theme --list'.
Afterward, I can show the theme with it's animation using a script. I believe that the kernel image is being build incorrectly by dracut and that somehow, the plymouth information is getting lost...

Re: Plymouth themes

PostPosted: Apr 3rd, '14, 20:01
by doktor5000
Can you please post the output as root of
Code: Select all
lsinitrd /boot/initrd.img | grep plymouth

and replace /boot/initrd.img by the initrd that you have generated/is currently in use.

Re: Plymouth themes

PostPosted: Apr 4th, '14, 00:06
by bobw
Heres the output:

Code: Select all
plymouth
drwxr-xr-x   2 root     root            0 Apr  2 14:49 etc/plymouth
-rw-r--r--   1 root     root          102 Apr  2 14:45 etc/plymouth/plymouthd.conf
-rwxr-xr-x   1 root     root        41336 Apr  2 14:50 usr/bin/plymouth
-rwxr-xr-x   1 root     root        87904 Apr  2 14:50 usr/bin/plymouthd
-rwxr-xr-x   1 root     root          160 Oct  8 00:55 usr/lib/dracut/hooks/emergency/50-plymouth-emergency.sh
-rwxr-xr-x   1 root     root          223 Oct  8 00:55 usr/lib/dracut/hooks/pre-pivot/90-plymouth-newroot.sh
-rwxr-xr-x   1 root     root         1193 Oct  8 00:55 usr/lib/dracut/hooks/pre-trigger/10-plymouth-pretrigger.sh
drwxr-xr-x   3 root     root            0 Apr  2 14:50 usr/lib64/plymouth
-rwxr-xr-x   1 root     root        15728 Apr  2 14:50 usr/lib64/plymouth/details.so
drwxr-xr-x   2 root     root            0 Apr  2 14:50 usr/lib64/plymouth/renderers
-rwxr-xr-x   1 root     root        32824 Apr  2 14:50 usr/lib64/plymouth/renderers/drm.so
-rwxr-xr-x   1 root     root        24296 Apr  2 14:50 usr/lib64/plymouth/renderers/frame-buffer.so
-rwxr-xr-x   1 root     root        79184 Apr  2 14:50 usr/lib64/plymouth/script.so
-rwxr-xr-x   1 root     root        20064 Apr  2 14:50 usr/lib64/plymouth/text.so
drwx------   3 root     root            0 Apr  2 14:49 usr/share/plymouth
-rw-r--r--   1 root     root          109 Oct 18 19:39 usr/share/plymouth/plymouthd.defaults
drwx------   5 root     root            0 Apr  2 14:49 usr/share/plymouth/themes
drwxr-xr-x   2 root     root            0 Apr  2 14:49 usr/share/plymouth/themes/Mageia-Default
-rw-r--r--   1 root     root          203 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/Mageia-Default.plymouth
-rw-r--r--   1 root     root      1286057 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/background.png
-rw-r--r--   1 root     root          870 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/box.png
-rw-r--r--   1 root     root         9650 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble1.png
-rw-r--r--   1 root     root         9637 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble2.png
-rw-r--r--   1 root     root         9554 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble3.png
-rw-r--r--   1 root     root         9517 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble4.png
-rw-r--r--   1 root     root         9451 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble5.png
-rw-r--r--   1 root     root          296 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bullet.png
-rw-r--r--   1 root     root          350 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/entry.png
-rw-r--r--   1 root     root         1839 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/lock.png
-rw-r--r--   1 root     root        20702 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/logo.png
-rw-r--r--   1 root     root        11498 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/mga.script
-rw-r--r--   1 root     root          863 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/motif.png
-rw-r--r--   1 root     root          183 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_bar.png
-rw-r--r--   1 root     root          227 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_box.png
-rw-r--r--   1 root     root          192 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_box_background.png
-rw-r--r--   1 root     root          183 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_box_edge.png
-rw-r--r--   1 root     root         1529 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/shadow.png
-rw-r--r--   1 root     root       379519 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/suspend.png
drwxr-xr-x   2 root     root            0 Apr  2 14:49 usr/share/plymouth/themes/details
-rw-r--r--   1 root     root           84 Oct 18 19:39 usr/share/plymouth/themes/details/details.plymouth
drwxr-xr-x   2 root     root            0 Apr  2 14:49 usr/share/plymouth/themes/text
-rw-r--r--   1 root     root           98 Oct 18 19:39 usr/share/plymouth/themes/text/text.plymouth