jaxgeller
Posts: 2
Joined: Sun Jan 18, 2015 8:40 pm

Getting plymouth to run on boot

Sun Jan 18, 2015 9:27 pm

Hell I'm just trying to run plymouth at boot to show the classic spinner instead of the text based boot up.

Has anyone gotten this to work, or have any resources to do this? Having a tough time finding any documentation on the setup, especially with initramfs, something I don't have much experience with. Other wise I'm trying to avoid using fbi and a still image.

Other details
raspbian (latest)
pi b+
booting into X with autologin.

jaxgeller
Posts: 2
Joined: Sun Jan 18, 2015 8:40 pm

Re: Getting plymouth to run on boot

Sun Jan 18, 2015 11:36 pm

i keep running into this https://raspberrypi.stackexchange.com/q ... spberry-pi problem, any thoughts?

User avatar
alanpullen
Posts: 5
Joined: Sun Jun 09, 2013 9:07 pm
Location: Swindon, UK
Contact: Website

Re: Getting plymouth to run on boot

Tue Jun 02, 2015 11:48 am

Hi, I posted another solution to the question on stack exchange which I have working with the current version of Raspbian (May 2015). Here it is:

Before running sudo update-initramfs -u download the pango package from the official Debian repositary:

Code: Select all

wget http://ftp.uk.debian.org/debian/pool/main/p/pango1.0/libpango1.0-0_1.30.0-1_armhf.deb
Then extract this somewhere convienient, i.e /home/pi/pango:

Code: Select all

dpkg --extract libpango1.0-0_1.30.0-1_armhf.deb /home/pi/pango
Then make the pango directory in /usr/lib/arm-linux-gnueabihf/:

Code: Select all

sudo mkdir /usr/lib/arm-linux-gnueabihf/pango
Now copy the contents of the pango directory from `/home/pi/pango/usr/lib/arm-linux-gnueabihf/' to the directory you just created:

Code: Select all

sudo cp -r /home/pi/pango/usr/lib/arm-linux-gnueabihf/pango/* /usr/lib/arm-linux-gnueabihf/pango/
Now sudo update-initramfs -u should work - it did for me.

I have also made a script that can be downloaded that does this on github:
https://gist.github.com/alanpullen/cdfe ... 85edabf871

This can also be downloaded and run using the following commands:

Code: Select all

wget https://gist.githubusercontent.com/alanpullen/cdfeb71bd6d85edabf87/raw/5f44e180191e5b02ae8882743db2b8f1a04f9892/plymouth-pango-fix.sh
chmod +x plymouth-pango-fix.sh
./plymouth-pango-fix.sh
My website/blog: http://www.alanpullen.uk
Pi's owned: 2*B (Rev 1), 1*B (Rev 2), 3*A+, B+, 4*Pi 2 B, 3*Zero

herbfargus
Posts: 10
Joined: Sat Jul 18, 2015 11:51 pm

Re: Getting plymouth to run on boot

Wed Aug 12, 2015 8:45 am

I'm having the most difficult time getting this to work on my Raspberry Pi 2. I've followed this guide: https://github.com/notro/fbtft/wiki/Bootsplash and I also incorporated your pango fix script but I still can't get my splash screens to run. I can get the plymouth text to run, but even if I run

Code: Select all

sudo plymouth-set-default-theme spinner
and

Code: Select all

sudo update-initramfs -u
it still always defaults to the text theme. Could you possibly detail step by step what you did to get your theme to work starting from a fresh raspbian image all the way until booting the splash?

For reference I've been attempting this on my raspberry pi 2 with a fresh raspbian image (not NOOBS) and uname -r is (3.18.11-v7+)

User avatar
alanpullen
Posts: 5
Joined: Sun Jun 09, 2013 9:07 pm
Location: Swindon, UK
Contact: Website

Re: Getting plymouth to run on boot

Mon Jan 18, 2016 3:35 pm

herbfargus wrote:I'm having the most difficult time getting this to work on my Raspberry Pi 2. I've followed this guide: https://github.com/notro/fbtft/wiki/Bootsplash and I also incorporated your pango fix script but I still can't get my splash screens to run. I can get the plymouth text to run, but even if I run

Code: Select all

sudo plymouth-set-default-theme spinner
and

Code: Select all

sudo update-initramfs -u
it still always defaults to the text theme. Could you possibly detail step by step what you did to get your theme to work starting from a fresh raspbian image all the way until booting the splash?

For reference I've been attempting this on my raspberry pi 2 with a fresh raspbian image (not NOOBS) and uname -r is (3.18.11-v7+)
I followed the guide at https://github.com/notro/fbtft/wiki/Bootsplash after running the pango fix. Make sure the commands

Code: Select all

fbcon=map:10 splash quiet plymouth.ignore-serial-consoles
are added towards the front of the

Code: Select all

/boot/config.txt
as the kernel/plymouth only reads the first 512 bytes I think I read somewhere. I got it working when moving the commands to the start of the line and not and the end.

I have yet to get this working on Jessie.
My website/blog: http://www.alanpullen.uk
Pi's owned: 2*B (Rev 1), 1*B (Rev 2), 3*A+, B+, 4*Pi 2 B, 3*Zero

herbfargus
Posts: 10
Joined: Sat Jul 18, 2015 11:51 pm

Re: Getting plymouth to run on boot

Mon Jan 18, 2016 4:01 pm

I did finally get it sorted with your posted changes. Thank you. I also have the same issue with Jessie. I can get as far as the black background with the three white squares loading but can't get anything different.

I assume it is an upstream issue by not being able to change the splash theme but I haven't looked into it too extensively. I would be interested to hear if you come up with a solution for Jessie. I'll play around with it as well when I have some time to see if I can figure anything out.

dfleming
Posts: 2
Joined: Wed Apr 20, 2016 9:14 pm

Re: Getting plymouth to run on boot

Wed Apr 20, 2016 9:17 pm

I'm trying to get plymouth to work with a Pi3 and not having any luck. I was successful with a Pi2, has anyone else ran into this?

dfleming
Posts: 2
Joined: Wed Apr 20, 2016 9:14 pm

Re: Getting plymouth to run on boot

Thu Apr 21, 2016 7:39 pm

I was able to get Plymouth to work.

Add this line to /etc/apt/sources.list:
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

Then run the following:

Code: Select all

sudo apt-get update
mkdir plymouth
cd plymouth
sudo apt-get build-dep plymouth
sudo apt-get source plymouth --build
sudo dpkg -i libplymouth4_0.9.2-3_armhf.deb
sudo dpkg -i plymouth_0.9.2-3_armhf.deb plymouth-themes_0.9.2-3_armhf.deb
Then you can follow the instructions others have posted.

dfleming wrote:I'm trying to get plymouth to work with a Pi3 and not having any luck. I was successful with a Pi2, has anyone else ran into this?

david.fs
Posts: 1
Joined: Wed Apr 13, 2016 5:54 am

Re: Getting plymouth to run on boot

Tue Apr 26, 2016 6:33 am

I'm trying to follow your suggestions, but cannot get plymouth sources version 0.9.2 for raspbian.
When executing the apt-get source command, I only get version 0.9.0 not 0.9.2
Anyone knows how to get that specific version?

RaptorAvril
Posts: 4
Joined: Mon Jun 23, 2014 9:22 am

Re: Getting plymouth to run on boot

Wed Apr 27, 2016 1:40 pm

I'm trying to get Plymouth to run on Jessie-Lite (Model B+) but I can't get it to work. Plymouth seems to start as it loads the SPI driver and displays on the little TFT touchscreen but I just get "Loading. Please wait" on the screen then below an error message saying "unexpectedly disconnected from boot status daemon".

I've tried changing the theme but I still get the same message. I'm guessing it's something to do with systemd, not sure though. Be interested to hear if anyone has got it working on Jessie or Lite.

nalimleinad
Posts: 2
Joined: Sat Dec 05, 2015 11:06 pm

Re: Getting plymouth to run on boot

Tue Sep 13, 2016 8:44 am

I tried this guide, but didn´t worked. I just had basic boot. Can you, or anybody else please provide complete guide from the scratch to make plymouth to work with Raspberry Pi 3 ?

I would really appraised it.
dfleming wrote:I was able to get Plymouth to work.

Add this line to /etc/apt/sources.list:
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

Then run the following:

Code: Select all

sudo apt-get update
mkdir plymouth
cd plymouth
sudo apt-get build-dep plymouth
sudo apt-get source plymouth --build
sudo dpkg -i libplymouth4_0.9.2-3_armhf.deb
sudo dpkg -i plymouth_0.9.2-3_armhf.deb plymouth-themes_0.9.2-3_armhf.deb
Then you can follow the instructions others have posted.

dfleming wrote:I'm trying to get plymouth to work with a Pi3 and not having any luck. I was successful with a Pi2, has anyone else ran into this?

herbfargus
Posts: 10
Joined: Sat Jul 18, 2015 11:51 pm

Re: Getting plymouth to run on boot

Fri Sep 30, 2016 5:12 am

Just as an update the latest raspbian pixel release has Plymouth working and all I had to do was add my plymouth theme to

Code: Select all

/usr/share/plymouth/themes 
And then change it to my chosen Plymouth theme

Code: Select all

sudo plymouth-set-default-theme yourtheme

RaptorAvril
Posts: 4
Joined: Mon Jun 23, 2014 9:22 am

Re: Getting plymouth to run on boot

Fri Sep 30, 2016 4:52 pm

Cool. I'll try that over the weekend. Thanks for the update.

GauravMahna
Posts: 2
Joined: Sun Apr 23, 2017 6:05 am

Re: Getting plymouth to run on boot

Sat May 20, 2017 7:03 am

I have a simple Query :

is "plymouth.ignore-serial-consoles" a default value in cmdline.txt on raspberry pi 3 ????
As i start getting black screen when i am booting my pi. Earlier i used to get the Desktop UI but now only a terminal to work.

FYI - i am using debian linux on my pi sdcard. Can you please guide? what went wrong with my work. Rest of the things are working fine as expected.

Thanks,
Gaurav

Return to “General discussion”