Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

splashutils vs. plymouth on OpenRC, grub-themes

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

splashutils vs. plymouth on OpenRC, grub-themes

  • Quote

Post by Massimo B. » Fri Sep 15, 2017 6:17 am

Years ago I always had nice splashutils with a verbose background for the booting sequence and all terminals. These days are gone for a long time now, as splashutils does not emerge. Doesn't it have any maintainer? Is there any chance to get it built?

Code: Select all

common.c:(.text+0xb7): undefined reference to `makedev'  
Gentoo has become a quite dark and pale world these days. Even if functionality counts the look-like is always a catcher also for new users. Every distribution has its artwork, and you need the framework to display it.

However I tried that plymouth. Too bad it only has a few themes. For creating an initramfs there is only genkernel-next or dracut. I was always using genkernel.
Ok, I switched to genkernel-next, merged the configuration and created the initramfs. However it fails to open my LUKS as it seems that all modules where missing at creation:
https://github.com/Sabayon/genkernel-next/issues/55
This genkernel-next fork is focussing on systemd, but should still work on OpenRC.
What about dracut, which is also focussing on systemd, is that a recommendation on OpenRC?

To get at least some color on the booting terminal, I tried setting up some grub theme:

Code: Select all

# grep -v "^#" /etc/default/grub 
GRUB_DISTRIBUTOR="Gentoo"
GRUB_DEFAULT="saved"
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_CMDLINE_LINUX_DEFAULT="keymap=de splash crypt_root=UUID=e609e76c-419f-4677-ff00-872290730e6f root=LABEL=gentoo dobtrfs"
GRUB_GFXMODE=1920x1080x32
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_THEME="/boot/grub/themes/starfield/theme.txt"
GRUB_BACKGROUND="/etc/splash/livecd-2007.0/images/verbose-1920x1200.png"
GRUB_DISABLE_SUBMENU=y
GRUB_TERMINAL_OUTPUT="gfxterm"
The resolution is not set, it is even worse than without gfxterm. I also tried without GFXMODE as this should also choose a resolution automatically. Same result.
However when starting grub I get an error:

Code: Select all

error: Premature end of compressed.
Press any key to continue...
I'm booting from SD card and that has enough space left:

Code: Select all

# df -h |grep boot
/dev/mmcblk0p1         1,9G   65M  1,7G   4% /boot
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
nollo
n00b
n00b
Posts: 44
Joined: Fri Mar 15, 2013 5:16 pm
Location: Ferrara - Italy

  • Quote

Post by nollo » Fri Sep 15, 2017 7:35 am

I am still using spashutils with a beautiful PLF theme from the ages of Mandriva and it works perfectly
λάθε βιώσας
M/B Aorus x470 Gaming
Ryzen 7 2700x, 3.6GHz, 32GB
Samsung 960EVO 250GB, Nvidia GTX 1050 Ti
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Fri Sep 15, 2017 8:16 am

Are you able to build splashutils with a recent portage right now? I filed a bugreport about splahutils: [bug]631062[/bug]
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
cboldt
Veteran
Veteran
User avatar
Posts: 1046
Joined: Wed Aug 24, 2005 2:54 pm

  • Quote

Post by cboldt » Fri Sep 15, 2017 10:09 am

I have had to "USE=-truetype" for media-gfx/splashutils since I don't remember when, but with that, it emerges just fine.
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Fri Sep 15, 2017 10:47 am

Does not build with USE="-truetype" either:

Code: Select all

  CC      fbcondecor_helper-image.o
  CC      fbcondecor_helper-effects.o
daemon_cmd.c: In function ‘cmd_log’:
daemon_cmd.c:367:3: warning: implicit declaration of function ‘list_ringadd’ [-Wimplicit-function-declaration]
   list_ringadd(&theme->msglog, strndup(args[0], theme->log_cols));
   ^~~~~~~~~~~~
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:506:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
   read(fd_tty[config.tty_s], &ret, 1);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c: In function ‘daemon_start’:
daemon.c:682:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  chdir("/");
  ^~~~~~~~~~
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
./.libs/libfbsplashrender.a(libfbsplashrender_la-common.o): In function `dev_create':
common.c:(.text+0xb7): undefined reference to `makedev'
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
nollo
n00b
n00b
Posts: 44
Joined: Fri Mar 15, 2013 5:16 pm
Location: Ferrara - Italy

  • Quote

Post by nollo » Sat Sep 16, 2017 7:51 am

Yes I can compile splashutils
my use

Code: Select all

USE="gpm png truetype -fbcondecor -hardened"
I do not use fbcondecor nor uvesafb but vesafb so i put in my /etc/default/grub

Code: Select all

video=vesafb:mtrr:3,ywrap vga=795 console=tty1 splash=silent,fadein,fadeout,theme:PLF5
λάθε βιώσας
M/B Aorus x470 Gaming
Ryzen 7 2700x, 3.6GHz, 32GB
Samsung 960EVO 250GB, Nvidia GTX 1050 Ti
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Sat Sep 16, 2017 9:46 am

Code: Select all

 eix splashutils
[I] media-gfx/splashutils
     Available versions:  1.5.4.4-r7^t {fbcondecor gpm hardened +png +truetype}
     Installed versions:  1.5.4.4-r7^t(14:18:22 06/08/2017)(fbcondecor gpm png truetype -hardened)
gcc-6.4, ld-2.28.1=bfd.
Thks 4 ur attention.
Top
duby2291
Guru
Guru
User avatar
Posts: 583
Joined: Sun Oct 17, 2004 4:47 am

  • Quote

Post by duby2291 » Wed Oct 11, 2017 10:00 pm

Massimo B. wrote:Does not build with USE="-truetype" either:

Code: Select all

  CC      fbcondecor_helper-image.o
  CC      fbcondecor_helper-effects.o
daemon_cmd.c: In function ‘cmd_log’:
daemon_cmd.c:367:3: warning: implicit declaration of function ‘list_ringadd’ [-Wimplicit-function-declaration]
   list_ringadd(&theme->msglog, strndup(args[0], theme->log_cols));
   ^~~~~~~~~~~~
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:506:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
   read(fd_tty[config.tty_s], &ret, 1);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c: In function ‘daemon_start’:
daemon.c:682:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  chdir("/");
  ^~~~~~~~~~
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
./.libs/libfbsplashrender.a(libfbsplashrender_la-common.o): In function `dev_create':
common.c:(.text+0xb7): undefined reference to `makedev'
I just wanted to chime in to this thread and say I'm experiencing this too. You have to set -fbcondecor unfortunately. I like the frame buffer decorations though. And I wonder if it's possible for a programmer to duplicate this? Ultimately I'm just hoping for frame buffer decorations.

EDIT: Oops, I think I spoke a bit too soon, actually it didn't compile with -fbcondecor either. This is the exact compile error I'm receiving.

Code: Select all

  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
  LD      fbcondecor_helper
./.libs/libfbsplashrender.so: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1001: splash_util] Error 1
make[4]: *** Waiting for unfinished jobs....
./.libs/libfbsplashrender.so: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:997: fbsplashd] Error 1
./.libs/libfbsplashrender.a(libfbsplashrender_la-common.o): In function `dev_create':
common.c:(.text+0xaf): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:993: fbsplashctl] Error 1
make[3]: *** [Makefile:1475: all-recursive] Error 1
make[2]: *** [Makefile:691: all] Error 2
make[1]: *** [Makefile:441: all-recursive] Error 1
make: *** [Makefile:372: all] Error 2
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

Re: splashutils vs. plymouth on OpenRC, grub-themes

  • Quote

Post by Massimo B. » Fri Oct 13, 2017 7:20 am

Massimo B. wrote:

Code: Select all

error: Premature end of compressed.
Press any key to continue...
-> [topic]1070498[/topic]
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Elleni
Veteran
Veteran
Posts: 1298
Joined: Tue May 23, 2006 10:56 pm

  • Quote

Post by Elleni » Fri Oct 13, 2017 9:51 pm

Inspired by the original poster, I decided to give splashutils, fbsplash a new try as me too years ago had this running. It installed flawlessly, even with fbcondecor and truetype USE flags.

Added SPLASH_THEME="livedvd-12.0" in /etc/conf.d/splash, added fbcondecor in boot runlevel, modified

/etc/default/grub accordingly

GRUB_GFXMODE=1920x1080
GRUB_GFXPAYLOAD_LINUX=1920x1080
GRUB_CMDLINE_LINUX_DEFAULT="linux mtrr:3,ywrap console=tty1 splash=silent,fadein,fadeout,theme:livedvd-12.0"
GRUB_THEME="/boot/grub/themes/gentoo-grub-themes-master/gentoo_frosted/theme.txt"

Checked that framebuffere was set correctly in kernel (radeon in my case), downloaded and setup grub2 theme too, and fired grub-mkconfig -o /boot/grub/grub.cfg

All good. Besides this https://bugs.gentoo.org/467936.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic