[Solved] Can,t set plymouth theme in Debian 9

New to Debian (Or Linux in general)? Ask your questions here!

[Solved] Can,t set plymouth theme in Debian 9

Postby Ezingers » 2018-02-11 05:23

I have a HP 17-BS021CY laptop I got off of QVC last year which originally came with Windows 10. I replaced that with Debian 9 (Stretch) which I was planning on doing anyway even before I ordered it. Don’t really care to much for windows. Anyway, Debian 9 worked out of the box, figuratively speaking, everything worked fine.

I wanted to load a plymouth theme like I did on my other computers with Debian 7 (Wheezy) or 8 (Jessie). Never used Debian 6 (Squeeze), which all used the same method for doing this.

I search the Internet and all I found was the same instructions that I have for Debian 6 (Squeeze), 7 (Wheezy) and Testing on 8 (Jessie) but can’t find anything on activating a plymouth theme in Debian 9 (Stretch). So I assumed that if the three previous was done the same way so is Stretch. So I proceeded with the fallowing:

I first installed the plymouth with:

sudo apt-get install plymouth

Then I had to edit the initramfs-tools modules with one of the fallowing appropriate modules for my graphics card:

For Intel:

# KMS
intel_agp
drm
i915 modeset=1

For Nouveau (nVidia):

# KMS
drm
nouveau modeset=1

For ATI:

# KMS
drm
radeon modeset=1

My card is a Intel HD Graphics 620, so I used the:

# KMS
intel_agp
drm
i915 modeset=1

I opened the initramfs-tools modules with:

sudo nano /etc/initramfs-tools/modules
and edited the modules from:

# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod

to:

# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
#
# KMS
intel_agp
drm
i915 modeset=1

Then I set the theme, but first I needed to see what themes I have. (Showing Below)

sudo /usr/sbin/plymouth-set-default-theme –list

fade-in
glow
joy
lines
script
solar
spacefun
spinfinity
spinner
text
tribar
I used spinner, so I used:

sudo /usr/sbin/plymouth-set-default-theme spinner

Then I applied changes:

sudo update-initramfs -u

I did get an error the lack of firmware files, so I did the fallowing:

sudo apt-get install firmware-linux-nonfree

Then I repeated the applied changes:

sudo update-initramfs -u

Then I rebooted my system. The system booted just fine, but with the same debugging text. No graphic theme. So I went back and reset the default plymouth theme, but this time, even though I got no error about the plymouth-drm, I tried to install it anyway with:

sudo aptitude install plymouth-drm

and got this message:

No candidate version found for plymouth-drm
Unable to apply some actions, aborting

I opened Synapic Package Manager and did a search for plymouth-drm and found that the package is not even available in (Stretch). So I have no idea on how to set the plymouth. Can someone show me how to do this in Debian 9?
Last edited by Ezingers on 2018-02-11 17:50, edited 1 time in total.
Ezingers
 
Posts: 34
Joined: 2015-02-28 18:32

Re: Can,t set plymouth theme in Debian 9

Postby bw123 » 2018-02-11 10:47

I've never needed to change the defaults for initramfs in any way to get plymouth working, on any version since squeeze. I think that if you have changed the defaults from 'most' in the initramfs.conf that might still be necessary.

Just add splash to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub and you should be good to go. Don't forget update-grub after editing.

https://wiki.debian.org/plymouth
User avatar
bw123
 
Posts: 3188
Joined: 2011-05-09 06:02
Location: TN_USA

Re: [Solved] Can,t set plymouth theme in Debian 9

Postby Ezingers » 2018-02-11 17:52

Thank You! :) That worked.
Ezingers
 
Posts: 34
Joined: 2015-02-28 18:32

Re: [Solved] Can,t set plymouth theme in Debian 9

Postby stevepusser » 2018-02-11 22:57

It just works on my system with "splash", without all that extra messing around with config files. Install plymouth, plymouth-themes, and debian-plymouth-manager http://mxrepo.com/mx/repo/pool/main/d/d ... h-manager/ to set the theme.

Graphics: Card-1: Intel HD Graphics 520
Card-2: NVIDIA Device 179c
Display Server: x11 (X.Org 1.19.2 ) driver: intel Resolution: 1920x1080@60.01hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) version: 4.5 Mesa 13.0.6
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9802
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable