Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
splashutils vs. plymouth on OpenRC, grub-themes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1479
Location: Germany

PostPosted: Fri Sep 15, 2017 6:17 am    Post subject: splashutils vs. plymouth on OpenRC, grub-themes Reply with quote

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:
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:
# 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:
error: Premature end of compressed.
Press any key to continue...

I'm booting from SD card and that has enough space left:
Code:
# df -h |grep boot
/dev/mmcblk0p1         1,9G   65M  1,7G   4% /boot

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
nollo
n00b
n00b


Joined: 15 Mar 2013
Posts: 30
Location: Ferrara - Italy

PostPosted: Fri Sep 15, 2017 7:35 am    Post subject: Reply with quote

I am still using spashutils with a beautiful PLF theme from the ages of Mandriva and it works perfectly
_________________
λάθε βιώσας
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1479
Location: Germany

PostPosted: Fri Sep 15, 2017 8:16 am    Post subject: Reply with quote

Are you able to build splashutils with a recent portage right now? I filed a bugreport about splahutils: bug 631062
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 769

PostPosted: Fri Sep 15, 2017 10:09 am    Post subject: Reply with quote

I have had to "USE=-truetype" for media-gfx/splashutils since I don't remember when, but with that, it emerges just fine.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1479
Location: Germany

PostPosted: Fri Sep 15, 2017 10:47 am    Post subject: Reply with quote

Does not build with USE="-truetype" either:
Code:
  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'

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
nollo
n00b
n00b


Joined: 15 Mar 2013
Posts: 30
Location: Ferrara - Italy

PostPosted: Sat Sep 16, 2017 7:51 am    Post subject: Reply with quote

Yes I can compile splashutils
my use

Code:
USE="gpm png truetype -fbcondecor -hardened"


I do not use fbcondecor nor uvesafb but vesafb so i put in my /etc/default/grub

Code:
video=vesafb:mtrr:3,ywrap vga=795 console=tty1 splash=silent,fadein,fadeout,theme:PLF5

_________________
λάθε βιώσας
Back to top
View user's profile Send private message
CaptainBlood
l33t
l33t


Joined: 24 Jan 2010
Posts: 821

PostPosted: Sat Sep 16, 2017 9:46 am    Post subject: Reply with quote

Code:
 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.
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 578

PostPosted: Wed Oct 11, 2017 10:00 pm    Post subject: Reply with quote

Massimo B. wrote:
Does not build with USE="-truetype" either:
Code:
  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:

  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
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1479
Location: Germany

PostPosted: Fri Oct 13, 2017 7:20 am    Post subject: Re: splashutils vs. plymouth on OpenRC, grub-themes Reply with quote

Massimo B. wrote:
Code:
error: Premature end of compressed.
Press any key to continue...
-> topic 1070498
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Elleni
Guru
Guru


Joined: 23 May 2006
Posts: 417

PostPosted: Fri Oct 13, 2017 9:51 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum