Page 1 of 1

Can Plymouth show splash screen when resuming?

Posted: Thu Dec 06, 2012 3:22 am
by Wolfgang_K
Hello!

I got Plymouth to work on Mint 13 (64 bit) when booting and shutting down and I was wondering if Plymouth is supposed to show a splash screen when the machine is resuming as well. Right now, the screen stays black while the machine is resuming. I guess most probably the troublemaker is the vga card by NVidia, that is run by NVidia's driver (NVIDIA-Linux-x86_64-310.19), which I installed manually. As far as I understand it, when I do hibernation, the NVidia driver is active and doesn't work with Plymouth.

If this is so and there is no solution to this little problem, then I just will have to live with it and I don't need to look for a solution any further. If there is a simple solution to the problem, I'd be very happy to look at something more than just a black screen when resuming. ;-)

Re: Can Plymouth show splash screen when resuming?

Posted: Thu Dec 06, 2012 5:35 am
by wavespot
Plymouth is not involved in the suspend/hibernate process. However, I guess it could be with that kind of things :

Create this script in /etc/pm/sleep.d with execution rights

# /etc/pm/sleep.d/00_plymouth
#

case "$1" in
hibernate|suspend)
/bin/plymouth --show-splash
;;
thaw|resume)
/bin/plymouth --quit
;;
*) exit $NA
;;
esac


Also don't forget to run the plymouth daemon :

sudo plymouthd

I can't tell you if it's really working : for an unknown reason my PC actually refuse to suspend or hibernate :))