Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188578 - media-gfx/splashutils-1.5 - silent mode not working properly
Summary: media-gfx/splashutils-1.5 - silent mode not working properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-12 12:32 UTC by Daniel Pielmeier
Modified: 2007-08-28 19:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
splash-function.sh for baselayout 1 (splash-functions-bl1.sh.diff,4.45 KB, patch)
2007-08-17 18:35 UTC, Jimmy.Jazz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pielmeier gentoo-dev 2007-08-12 12:32:41 UTC
I tried the new splashutils-1.5 but with silent mode it doesn`t boot. This means i can not switch to verbose mode. It stuck before the progress-bar from the livecd-2007.0 splash used to show up. I have to force reboot and enable verbose mode in grub to get my system booting.
I have rebuilt the kernel and the initrd image but this was not the problem.

Maybe this bug is similar to an old one #140511.

Or do i need a newer kernel with the fbcondecor and uvesafb patch?


Here are my settings, if you need more feel free to ask:

grub boot entry:

# For booting Gentoo GNU/Linux Kernel 2.6.21-gentoo-r4 Splash LiveCD-2007.0
title  Gentoo GNU/Linux, kernel-2.6.21-gentoo-r4 Splash LiveCD-2007.0
root (hd0,0)
kernel /boot/kernel/kernel-2.6.21-gentoo-r4 root=/dev/evms/root32 video=vesafb:ywrap,mtrr:3,1280x1024-32splash=silent,kdgraphics,fadein,theme:livecd-2007.0 quiet console=tty1 BOOT_MSG="Welcome to Gentoo Linux" doevms2
initrd /boot/kernel/initramfs-livecd-2007.0-2.6.21-gentoo-r4

initrd created by:

genkernel --kernel-cc=/usr/lib/ccache/bin/gcc --gensplash=livecd-2007.0 --evms2 initrd
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2007-08-12 12:56:20 UTC
Could you please try to boot without the 'kdgraphics' option and let me know whether this changes anything?
Comment 2 Daniel Pielmeier gentoo-dev 2007-08-12 13:10:42 UTC
(In reply to comment #1)
> Could you please try to boot without the 'kdgraphics' option and let me know
> whether this changes anything?

When i remove the kdgraphics option the system is able to boot normal, but the progress bar is still missing.

Comment 3 Aaron Slunt 2007-08-12 18:43:41 UTC
I get errors whenever I boot saying that /etc/init.d/splash is missing, and I believe /sbin/splash_util.static is missing as well. Reverting back to 1.4.3 always gives me a working bootsplash again.
Comment 4 Daniel Pielmeier gentoo-dev 2007-08-12 18:47:39 UTC
(In reply to comment #3)
> I get errors whenever I boot saying that /etc/init.d/splash is missing, and I
> believe /sbin/splash_util.static is missing as well. Reverting back to 1.4.3
> always gives me a working bootsplash again.
> 

Please read the output after the merge! There is explained why this is missing.

See also here for more information:
http://dev.gentoo.org/~spock/projects/fbcondecor/

Regards,

Daniel
Comment 5 Georg Heissenberger 2007-08-13 08:24:05 UTC
In the script /sbin/splash-functions.sh (fbcondecor executes this script) there is a refer to /sbin/splash_util.static, but this file isn't provided by media-gfx/splashutils-1.5, so i get an error message that this file is missing too.
Comment 6 Daniel Pielmeier gentoo-dev 2007-08-13 17:18:18 UTC
(In reply to comment #5)
> In the script /sbin/splash-functions.sh (fbcondecor executes this script) there
> is a refer to /sbin/splash_util.static, but this file isn't provided by
> media-gfx/splashutils-1.5, so i get an error message that this file is missing
> too.
> 

splash_util.static has moved from /sbin to /bin, but splash-functions.sh is still referring to the old location!
Comment 7 Georg Heissenberger 2007-08-13 18:02:54 UTC
That is not the only problem. These are a few lines of splash-functions.sh:
 if [[ ${SPLASH_MODE_REQ} == "silent" ]] ; then
                splash_comm_send "set mode silent"
                splash_comm_send "repaint"
                ${spl_util} -c on 2>/dev/null
 fi


But the new splash_util.static doesn't support the "on" command anymore, so there is no way that script could work.

Maybe that's your problem.

Usage of splash_util.static / 1.5:
splash_util/splashutils-1.5
Usage: splash_util [options] -c <cmd>

Commands:
  setmode  set global splash mode
  getmode  get global splash mode
  getres   get the resolution which the silent splash will use

.....

Usage of splash_util.static / 1.4.3:
splash_util/splashutils-1.4.3
Usage: splash_util [options] -c <cmd>

Commands:
  on       enable splash on a virtual console
  off      disable splash on a virtual console
  getstate get splash state on a virtual console
  setcfg   set splash configuration for a virtual console
  getcfg   get splash configuration for a virtual console
  setpic   set splash background picture for a virtual console;
           note that this command will only have any effect if
           it's called for the current console
  setmode  set global splash mode
  getmode  get global splash mode
  getres   get the resolution which the silent splash will use
Comment 8 Michal Januszewski (RETIRED) gentoo-dev 2007-08-14 20:19:04 UTC
I just added a patch for this in CVS. Please let me know whether it fixed the problem.
Comment 9 michel 2007-08-14 20:36:03 UTC
(In reply to comment #8)
> I just added a patch for this in CVS. Please let me know whether it fixed the
> problem.
> 

Please post this patch here ...
Comment 11 michel 2007-08-15 17:59:01 UTC
patch works but i cannot change into verbose mode with F2 ... it doesnt work
Comment 12 Víctor Enríquez 2007-08-17 14:32:46 UTC
I think I have the same problem or at least is very similar, I can't boot with splashutils-1.5 ,if I use silent mode it boots until it loads xdm and then the system stops responding, I cant switch vt or do anything except use magic keys to reboot, if I use verbose mode it's even worse the system can't start loading initscripts, the system stops at a line saying:

fbsplash: console 0 using theme 'livecd-2007.0'

and then it completely freezes.

my boot line is:

root(hd0,0)
kernel /boot/kernel-2.6.22-gentoo-r2 root=/dev/hda1 video=vesafb:ywrap,mtrr,vga=0x318 splash=silent,theme:livecd-2007.0 CONSOLE=/dev/tty1 noapic clocksource=acpi_pm
initrd /boot/fbsplash-livecd-2007.0-1024x768

The initrd was created with splashutils-1.5 so it has fbcondecor_helper inside.

And I have /etc/init.d/fbcondecor added at default level.

my emerge --info:

Portage 2.1.3.6 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r2 i686)
=================================================================
System uname: 2.6.22-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 2.0.0_rc2
Timestamp of tree: Thu, 16 Aug 2007 19:30:10 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/mnt/hda2/distfiles"
FEATURES="ccache distlocks elog metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://pandemonium.tiscali.de/pub/gentoo/  ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es es_ES"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/portage/local/layman/r300-driver /usr/portage/local/layman/xeffects /usr/local/overlays/portage"
SYNC="rsync://192.168.1.33/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr aoss asf audiofile avahi avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdparanoia cdr chardet cli cracklib crypt cups dbus devhelp dga doc dri dts dvb dvd dvdr eds encode esd evo exif expat fam fbsplash ffmpeg flac fontconfig fortran galago gd gdbm ggi gif gimp glib glitz glut gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib ipv6 isdnlog java javascript jikes joystick jpeg keyring lcms libburn libnotify libvisual mad matroska midi mmx mng modplug mono motif mp3 mp4 mpeg msn mudflap nautilus ncurses newspr nls nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp oss pam pam_console pcmcia pcre pdf perl png ppds pppd print pwdb python qt4 quicktime readline reflection ruby samba scanner sdl session sharedmem slang slp sndfile spell spl sqlite sqlite3 sse sse2 ssl ssse3 svg tcl tcltk tcpd theora threads tiff tk tracker truetype truetype-fonts type1-fonts udev unicode usb v4l vcd verbose videos vorbis wifi win32codecs wmf x264 x86 xcb xface xine xinerama xml xml2 xorg xpm xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




   
Comment 13 Michal Januszewski (RETIRED) gentoo-dev 2007-08-17 14:39:54 UTC
(In reply to comment #11)
> patch works but i cannot change into verbose mode with F2 ... it doesnt work
> 

Did it work for you before?  Which version of baselayout are you using?
Comment 14 Michal Januszewski (RETIRED) gentoo-dev 2007-08-17 14:41:54 UTC
(In reply to comment #12)
> I think I have the same problem or at least is very similar, I can't boot with
> splashutils-1.5 ,if I use silent mode it boots until it loads xdm and then the
> system stops responding, I cant switch vt or do anything except use magic keys
> to reboot, if I use verbose mode it's even worse the system can't start loading
> initscripts, the system stops at a line saying:
> 
> fbsplash: console 0 using theme 'livecd-2007.0'
> 
> and then it completely freezes.
> 
> my boot line is:
> 
> root(hd0,0)
> kernel /boot/kernel-2.6.22-gentoo-r2 root=/dev/hda1
> video=vesafb:ywrap,mtrr,vga=0x318 splash=silent,theme:livecd-2007.0
> CONSOLE=/dev/tty1 noapic clocksource=acpi_pm
> initrd /boot/fbsplash-livecd-2007.0-1024x768
> 
> The initrd was created with splashutils-1.5 so it has fbcondecor_helper inside.

Please try booting without the initrd and fix your kernel command line.  It should be: video=vesafb:ywrap,mtrr:3 vga=0x318 is you're using vesafb.
Comment 15 Víctor Enríquez 2007-08-17 14:51:11 UTC
(In reply to comment #14)
> (In reply to comment #12)
> > I think I have the same problem or at least is very similar, I can't boot with
> > splashutils-1.5 ,if I use silent mode it boots until it loads xdm and then the
> > system stops responding, I cant switch vt or do anything except use magic keys
> > to reboot, if I use verbose mode it's even worse the system can't start loading
> > initscripts, the system stops at a line saying:
> > 
> > fbsplash: console 0 using theme 'livecd-2007.0'
> > 
> > and then it completely freezes.
> > 
> > my boot line is:
> > 
> > root(hd0,0)
> > kernel /boot/kernel-2.6.22-gentoo-r2 root=/dev/hda1
> > video=vesafb:ywrap,mtrr,vga=0x318 splash=silent,theme:livecd-2007.0
> > CONSOLE=/dev/tty1 noapic clocksource=acpi_pm
> > initrd /boot/fbsplash-livecd-2007.0-1024x768
> > 
> > The initrd was created with splashutils-1.5 so it has fbcondecor_helper inside.
> 
> Please try booting without the initrd and fix your kernel command line.  It
> should be: video=vesafb:ywrap,mtrr:3 vga=0x318 is you're using vesafb.
> 

It does not work,same result
Comment 16 Jimmy.Jazz 2007-08-17 18:21:56 UTC
(In reply to comment #11)
> patch works but i cannot change into verbose mode with F2 ... it doesnt work
> 

Hello,

I didn't follow exactly what spock suggests in this post but i have resolved the F2 problem with the following modifications i made. It works except the icons. The strange thing is the icons are displayed correctly on my x86 but not on my amd64 (64bits kernel). The configurations are also the same.

Anyway, if the script could help someone, here it is :)

Jj

@spock, would it be possible to send directly the command setmode/getmode/getres  to the daemon instead to use splash_util or fbcondecor ?
Comment 17 Jimmy.Jazz 2007-08-17 18:35:04 UTC
Created attachment 128425 [details, diff]
splash-function.sh for baselayout 1

The F2 key correction will certainly work with a baselayout 2 fork but i didn't intent to switch to it. I disagree about the way rc will be managed in the future ... (just adding my two cents' worth :)
Comment 18 michel 2007-08-18 10:02:26 UTC
(In reply to comment #13)
> (In reply to comment #11)
> > patch works but i cannot change into verbose mode with F2 ... it doesnt work
> > 
> 
> Did it work for you before?  Which version of baselayout are you using?
> 

im using baselayout-1.12.10-r4
Comment 19 michel 2007-08-18 10:09:16 UTC
(In reply to comment #17)
> Created an attachment (id=128425) [edit]
> splash-function.sh for baselayout 1
> 
> The F2 key correction will certainly work with a baselayout 2 fork but i didn't
> intent to switch to it. I disagree about the way rc will be managed in the
> future ... (just adding my two cents' worth :)
> 

your patch doesnt work by me ...
Comment 20 Daniel Pielmeier gentoo-dev 2007-08-19 22:12:53 UTC
(In reply to comment #8)
> I just added a patch for this in CVS. Please let me know whether it fixed the
> problem.
> 

Sorry for being late.
The current status with the patch is as follows.

System is able to boot.
Switching to verbose mode works only before the progress-bar starts, after that i can't switch to verbose mode.
If i switch to verbose mode before the progress-bar starts, i am not able to go back to the silent mode. Maybe switching is only possible before the starting of the progress-bar!

It also takes much longer for the progress bar to start, but this was also the case before you added the patch. Maybe this has something to do with the initrd i need for the evms stuff. It already took long, but with the new version of splashutils it takes even longer.
Comment 21 Daniel Pielmeier gentoo-dev 2007-08-21 17:47:29 UTC
(In reply to comment #20)

Just a little correction about the switching between the modes.
I also can not switch to verbose mode too, like michel described in comment #11. I think i was able to switch to verbose mode and not back but at the last times i boot i couldn't switch to verbose mode!
Comment 22 Michal Januszewski (RETIRED) gentoo-dev 2007-08-26 19:43:29 UTC
Could you please try out splashutils-1.5.1 and let me know if your issues are fixed in this release?

If your problem is that you can't use the F2 key to switch modes, first of all make sure that you have evdev built into your kernel.  If you do, try booting with:

splash=<whatever_settings_you_have_now>,profile

and attach your /lib/splash/cache/profile.

If you have a look at this file, you should see something like "set
event dev /dev/input/event8" on one of its lines.  If you do, let me
know what the contents of /sys/class/input/event8/device/name are
(you will have to adjust the event device number (8 here) accordingly)
Comment 23 Daniel Pielmeier gentoo-dev 2007-08-27 16:42:50 UTC
(In reply to comment #22)
> Could you please try out splashutils-1.5.1 and let me know if your issues are
> fixed in this release?

The new version fixes the problem for me. I am now able to switch between verbose and silent mode by using the F2 key again.

Thanks for your hard work though you are on away status!

Regards,

Daniel
Comment 24 Michal Januszewski (RETIRED) gentoo-dev 2007-08-28 19:53:43 UTC
Since the problem appears to be fixed, I'm closing the bug.  If you encounter any other problems with the silent mode, please open a new bug.