Howto: Plymouth in Debian Squeeze

Share your own howto's etc. Not for support questions!

Howto: Plymouth in Debian Squeeze

Postby Mr James » 2011-02-07 22:09

Part 1: Setting up the framebuffer

Those that do not use the proprietary graphics drivers can skip this part.

Those that use the proprietary graphics drivers lose a wonderful feature called KMS and anything running outside of X will look like crap because the resolution is way off.
Install v86d and hwinfo. These tools will allow us to discover and set the appropriate framebuffer resolution.

Code: Select all
# apt-get install v86d hwinfo


now run
Code: Select all
# hwinfo --framebuffer


to get a list of valid resolutions you can run the framebuffer in. Choose the resolution that is closest to your native screen resolution (what you use in X) and remember or copy it.

Edit the /etc/default/grub file.

Find the line that starts with GRUB_CMDLINE_LINUX_DEFAULT and edit it to
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1400x1050-24,mtrr=3,scroll=ywrap"


Then uncomment (remove the hash at the beginning) and edit the GRUB_GFXMODE line to
Code: Select all
GRUB_GFXMODE=1400x1050


And in both instances replace the "1400x1050" to whatever resolution you got from hwinfo. My screen's native resolution is 1920x1080 and 1400x1050 is the best I got.

Now edit the /etc/initramfs-tools/modules file. Add the following line
Code: Select all
uvesafb mode_option=1400x1050-24 mtrr=3 scroll=ywrap

Also replacing "1400x1050" for the resolution you got with hwinfo.

Run
Code: Select all
# echo FRAMEBUFFER=y | tee /etc/initramfs-tools/conf.d/splash


And then
Code: Select all
# update-grub2
# update-initramfs -u

to apply the changes.

Part 2: Setting up Plymouth

Run
Code: Select all
# apt-get install plymouth

to install plymouth.

Now run
Code: Select all
# /usr/sbin/plymouth-set-default-theme --list

to get a list of available theme names. Choose one.

Run
Code: Select all
# /usr/sbin/plymouth-set-default-theme THEME

replacing THEME with whatever theme name you chose.

Finally, run
Code: Select all
# update-initramfs -u

now and after every theme change to apply your selection.
Last edited by Mr James on 2011-02-09 19:47, edited 1 time in total.
E8400 P5QL 4GB 9600GT 1TB 23" 1920x1080 Debian/Wheezy dwm i386*
* found myself pulling in truckloads of multiarch packages, so...
User avatar
Mr James
 
Posts: 1249
Joined: 2010-09-10 13:02

Re: Howto: Plymouth in Debian Squeeze

Postby vinnie1 » 2011-02-09 19:31

Hi

Just wanted to say thanks for this howto.

It worked perfectly on a system with Nvidia graphics card. :D
vinnie1
 
Posts: 10
Joined: 2011-02-09 19:26

Re: Howto: Plymouth in Debian Squeeze

Postby evelpete » 2011-02-09 22:56

Works perfectly.
On my gracefully aging VIAO, I had to replace "nomodeset" in /etc/default/grub with "i915.modeset=0". This also improved my boot time and got rid of those annoying EDID invalid messages.
evelpete
 
Posts: 2
Joined: 2011-02-09 22:50

Re: Howto: Plymouth in Debian Squeeze

Postby FreewheelinFrank » 2011-02-13 21:34

This didn't work for me until I did these things from the Debian Wiki

Code: Select all
Removed- see below


Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"


Code: Select all
update-grub2


http://wiki.debian.org/plymouth

But it did help me on the way, so thanks for that, and good luck to Googlers following.

EDIT: I went back and checked, and the first step (below) seems to have been unnecessary.

Code: Select all
GRUB_GFXMODE=<my_monitor_size>
Last edited by FreewheelinFrank on 2011-02-16 08:10, edited 1 time in total.
User avatar
FreewheelinFrank
 
Posts: 186
Joined: 2010-06-07 16:59

Re: Howto: Plymouth in Debian Squeeze

Postby stevepusser » 2011-02-14 06:13

It also works in a guest in a Virtual Box virtual machine without all the messing around with framebuffers...which is weird.
stevepusser
 
Posts: 4258
Joined: 2009-10-06 05:53

Re: Howto: Plymouth in Debian Squeeze

Postby sqlpython » 2011-02-14 16:23

I personally have no need/interest in Plymouth BUT...............

but a good Howto always deserves a thanks!
Thanks Mr. James..
Criticism accepted for solutions that work! ;^)
User avatar
sqlpython
 
Posts: 214
Joined: 2008-09-05 01:36
Location: USA

Re: Howto: Plymouth in Debian Squeeze

Postby Mr James » 2011-02-14 20:56

@ FreewheelinFrank and stevepusser: The wierd framebuffer thing is to get proper resolution within virtual terminals and for the plymouth graphic itself when KMS is absent, in other words - anywhere outside of X.

@Everybody: Thanks, guys. As long as someone found it useful, I am happy.
E8400 P5QL 4GB 9600GT 1TB 23" 1920x1080 Debian/Wheezy dwm i386*
* found myself pulling in truckloads of multiarch packages, so...
User avatar
Mr James
 
Posts: 1249
Joined: 2010-09-10 13:02

Re: Howto: Plymouth in Debian Squeeze

Postby FreewheelinFrank » 2011-02-15 07:21

Mr James wrote:@ FreewheelinFrank and stevepusser: The wierd framebuffer thing is to get proper resolution within virtual terminals and for the plymouth graphic itself when KMS is absent, in other words - anywhere outside of X.



Mr James wrote:Part 1: Setting up the framebuffer

Those that do not use the proprietary graphics drivers can skip this part.



I don't use a proprietary graphics driver so I skipped that part.
User avatar
FreewheelinFrank
 
Posts: 186
Joined: 2010-06-07 16:59

Re: Howto: Plymouth in Debian Squeeze

Postby Mr James » 2011-02-15 11:28

FreewheelinFrank wrote:I don't use a proprietary graphics driver so I skipped that part.


Then what you doing fiddling with GRUB_GFXMODE?
E8400 P5QL 4GB 9600GT 1TB 23" 1920x1080 Debian/Wheezy dwm i386*
* found myself pulling in truckloads of multiarch packages, so...
User avatar
Mr James
 
Posts: 1249
Joined: 2010-09-10 13:02

Re: Howto: Plymouth in Debian Squeeze

Postby FreewheelinFrank » 2011-02-15 13:17

Mr James wrote:
FreewheelinFrank wrote:I don't use a proprietary graphics driver so I skipped that part.


Then what you doing fiddling with GRUB_GFXMODE?


Getting Plymouth to work.
User avatar
FreewheelinFrank
 
Posts: 186
Joined: 2010-06-07 16:59

Re: Howto: Plymouth in Debian Squeeze

Postby FreewheelinFrank » 2011-02-16 08:08

I went back and checked, and the change to GFXMODE seems to have been unnecessary.

Code: Select all
GRUB_GFXMODE=<my_monitor_size>
User avatar
FreewheelinFrank
 
Posts: 186
Joined: 2010-06-07 16:59

Re: Howto: Plymouth in Debian Squeeze

Postby Red-guy » 2011-03-30 04:41

Great HOWTO Mr. James, have it setup now on my computer running Wheezy.
Today I think...Tomorrow I solve
"Better to be thought a fool in silence, than to speak and remove all doubt"
User avatar
Red-guy
 
Posts: 252
Joined: 2005-10-16 06:00
Location: Vancouver Island,BC,Canada

Re: Howto: Plymouth in Debian Squeeze

Postby Mr James » 2011-03-30 09:38

You're most welcome, friend.
E8400 P5QL 4GB 9600GT 1TB 23" 1920x1080 Debian/Wheezy dwm i386*
* found myself pulling in truckloads of multiarch packages, so...
User avatar
Mr James
 
Posts: 1249
Joined: 2010-09-10 13:02

Re: Howto: Plymouth in Debian Squeeze

Postby phenest » 2011-04-21 21:24

Excellent Mr James! Works with my nVidia GPU, and in my VBox VM too.
Dell XPS 17 L702X - Compaq Mini 110c 1110SA
Debian Wheezy Gnome3
User avatar
phenest
 
Posts: 741
Joined: 2010-03-09 09:38
Location: Between the seat and the keyboard

Re: Howto: Plymouth in Debian Squeeze

Postby phenest » 2011-04-21 21:39

phenest wrote:Excellent Mr James! Works with my nVidia GPU, and in my VBox VM too.

Although, it is only 16 bit colour (less than 24 bit for sure) at startup, but 24 bit at shutdown. Shame it doesn't support widescreen.
Dell XPS 17 L702X - Compaq Mini 110c 1110SA
Debian Wheezy Gnome3
User avatar
phenest
 
Posts: 741
Joined: 2010-03-09 09:38
Location: Between the seat and the keyboard

Next

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable