Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plymouth does not work properly
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Sun Oct 09, 2016 4:22 pm    Post subject: Plymouth does not work properly Reply with quote

Hello:

I use Plymouth-breeze but this only last two seconds, the boot lasts 15 seconds

What should I do to Plymouth last all boot? It is my grub.

Thank you very much


Code:
#     'grub2-mkconfig -o /boot/grub/grub.cfg'
GRUB_DISTRIBUTOR="Gentoo"
GRUB_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_DEFAULT=0
GRUB_GFXMODE=1024x768
GRUB_CMDLINE_LINUX_DEFAULT='splash quiet'
GRUB_THEME=/boot/grub/themes/breeze/theme.txt
GRUB_HIDDEN_TIMEOUT=0
#GRUB_TERMINAL=console
#GRUB_DISABLE_LINUX_UUID=true
GRUB_DISABLE_RECOVERY=true
GRUB_DISABLE_SUBMENU=y
#GRUB_GFXMODE=1366x768x24
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_CMDLINE_LINUX="dolvm rootfstype=ext4 init=/usr/lib/systemd/systemd quiet loglevel=0 show_status=0 udev.log-priority=3"
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sun Oct 09, 2016 5:13 pm    Post subject: Reply with quote

You probably need to include Plymouth and the theme you want in an initramfs if you want to have the splash earlier and longer. If the Plymouth theme is only available after the real root partition is mounted it reduce the time it is display.

I prefer to use Fbcondecor in the kernel image and splashutils in an initramfs. It give me an early background image on the console and I can see the boot messages too. All virtual terminal background images can be set too.
_________________
Paul
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Sun Oct 09, 2016 6:50 pm    Post subject: Reply with quote

Hi Logicien!

It is my lines in genkernel.conf. It is right?

Code:
# Installs, or not, plymouth into the initramfs. If "splash" will be
# passed at boot, plymouth will be activated.
PLYMOUTH="yes"

# Embeds the given plymouth theme into the initramfs.
#PLYMOUTH_THEME="solar"
PLYMOUTH_THEME="breeze"


and genkernel:

Code:
dev/sda1 ya está montado en /boot
pcr pcr # genkernel --install initramfs
[...]
* Running with options: --install initramfs
* Using genkernel.conf from /etc/genkernel.conf
*         >> Appending plymouth cpio data...
*   >> Installing plymouth [ using the breeze theme and plugin: "script" ]...
[...]


I leave using fbcondecor for problems with other packages.

Thanks for your answers!!
Back to top
View user's profile Send private message
hudsonzuo
n00b
n00b


Joined: 29 Aug 2010
Posts: 4

PostPosted: Fri Oct 14, 2016 2:22 am    Post subject: Reply with quote

Change the kernel parameter root= to be wrong in the grub menu manually. If your initramfs has the plymouth in, then you can see the splash screen.
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Sat Oct 15, 2016 6:05 pm    Post subject: Reply with quote

Hi:
I made changes but nothing:

Code:
#     'grub2-mkconfig -o /boot/grub/grub.cfg'
GRUB_DISTRIBUTOR="Gentoo"
GRUB_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_DEFAULT=0
GRUB_GFXMODE=1024x768
GRUB_CMDLINE_LINUX_DEFAULT='splash quiet'
GRUB_THEME=/boot/grub/themes/breeze/theme.txt
GRUB_HIDDEN_TIMEOUT=0
#GRUB_CMDLINE_LINUX="dolvm rootfstype=ext4 init=/usr/lib/systemd/systemd quiet udev.log-priority=3"
#GRUB_TERMINAL=console
#GRUB_DISABLE_LINUX_UUID=true
GRUB_DISABLE_RECOVERY=true
GRUB_DISABLE_SUBMENU=y
#GRUB_GFXMODE=1366x768x24
GRUB_GFXPAYLOAD_LINUX=keep
#GRUB_CMDLINE_LINUX="dolvm rootfstype=ext4 init=/usr/lib/systemd/systemd quiet loglevel=0 show_status=0$
GRUB_CMDLINE_LINUX="dolvm root=/dev/sda6 rootfstype=ext4 init=/usr/lib/systemd/systemd quiet"


In kernel:
Code:
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="root=/dev/sda6"


Some other idea?

Thank!!
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sat Oct 15, 2016 6:16 pm    Post subject: Reply with quote

More information allow more ideas. According with the GRUB_CMDLINE_LINUX variable, you use Systemd as boot scripts system. When you pass to the Linux kernel the parameter quiet, not only Linux become quiet at boot time but Systemd too. Systemd do not show any boot messages. This may explain why the Plymouth splash screen appear so few long.

Instead of using quiet to reduce Linux log output, you can use loglevel=0. This wiil keep Linux quiet and Systemd verbose. Than you may see Plymouth longer. You can just remove the quiet parameter if you want. Do not forget to do grub-mkconfig.
_________________
Paul
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Mon Oct 17, 2016 1:14 am    Post subject: Reply with quote

I made the changes but nothing.

"Plymouth OK" show the log...
Back to top
View user's profile Send private message
baragoon
n00b
n00b


Joined: 11 Feb 2013
Posts: 12

PostPosted: Mon Oct 17, 2016 7:22 am    Post subject: Reply with quote

try to downgrade to 0.8.8
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Mon Oct 17, 2016 11:45 pm    Post subject: Reply with quote

Yes baragoon!!!

sys-boot/plymouth-0.8.8 work!!

What is the issues?

Thank!!
Back to top
View user's profile Send private message
baragoon
n00b
n00b


Joined: 11 Feb 2013
Posts: 12

PostPosted: Tue Oct 18, 2016 6:33 am    Post subject: Reply with quote

natrix wrote:
Yes baragoon!!!

sys-boot/plymouth-0.8.8 work!!

What is the issues?

Thank!!

I have no idea what is the issue.
I'm playing with different versions and find that 0.8.8 work fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum