View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Fri Sep 15, 2017 6:17 am Post subject: splashutils vs. plymouth on OpenRC, grub-themes |
|
|
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 |
_________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
nollo n00b
Joined: 15 Mar 2013 Posts: 43 Location: Ferrara - Italy
|
Posted: Fri Sep 15, 2017 7:35 am Post subject: |
|
|
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 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Fri Sep 15, 2017 8:16 am Post subject: |
|
|
Are you able to build splashutils with a recent portage right now? I filed a bugreport about splahutils: bug 631062 _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
cboldt Veteran
Joined: 24 Aug 2005 Posts: 1046
|
Posted: Fri Sep 15, 2017 10:09 am Post subject: |
|
|
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 |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Fri Sep 15, 2017 10:47 am Post subject: |
|
|
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' |
_________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
nollo n00b
Joined: 15 Mar 2013 Posts: 43 Location: Ferrara - Italy
|
Posted: Sat Sep 16, 2017 7:51 am Post subject: |
|
|
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 |
_________________ λάθε βιώσας
M/B Aorus x470 Gaming
Ryzen 7 2700x, 3.6GHz, 32GB
Samsung 960EVO 250GB, Nvidia GTX 1050 Ti |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3623
|
Posted: Sat Sep 16, 2017 9:46 am Post subject: |
|
|
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 |
|
|
duby2291 Guru
Joined: 17 Oct 2004 Posts: 583
|
Posted: Wed Oct 11, 2017 10:00 pm Post subject: |
|
|
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 |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Fri Oct 13, 2017 7:20 am Post subject: Re: splashutils vs. plymouth on OpenRC, grub-themes |
|
|
Massimo B. wrote: | Code: | error: Premature end of compressed.
Press any key to continue... |
| -> topic 1070498 _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Fri Oct 13, 2017 9:51 pm Post subject: |
|
|
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 |
|
|
|