[fbsplash] Pas d'animation du splash (résolu)

Applications, problèmes de configuration réseau
Loic430
Daikyu
Messages : 51
Inscription : jeu. 23 juin 2011, 07:26

[fbsplash] Pas d'animation du splash (résolu)

Message par Loic430 »

Bonjours a vous. Je vien d'installer fbsplash mais lors du boot aucune animation ! Je veux dire par la que la barre de progression du
theme ne bouge pas. Est cela même en changeant de thème.
Pourtant lors des test en ttys tout fonctionner (avec le theme arch-black et arch-elegant).

Voici mon fichier /etc/conf.d/splash :

Code : Tout sélectionner

#
# /etc/conf.d/splash
#

####  WARNING!
## This file is also sourced in the initcpio hook.
## No BASH-code (like arrays) is allowed here!

####  initcpio and Fbsplash daemon  ##########################################

## Themes to include into initcpio
## For a smaller initcpio you may try theme cfg files instead of directories.
SPLASH_THEMES="
    arch-black/1280x1024.cfg
    arch-elegant/1280x1024.cfg
"

## Override the initial silent splash screen status message defaults.
## Note: '$progress' will be replaced by Fbsplash itself.
## * initcpio - (no effect with fbcondecor kernel)
SPLASH_INIT_MESSAGE="Initializing the kernel"
## * bootup
SPLASH_BOOT_MESSAGE="Booting '$HOSTNAME' (\$progress%)"
## * reboot
SPLASH_REBOOT_MESSAGE="Rebooting '$HOSTNAME' (\$progress%)"
## * shutdown
SPLASH_SHUTDOWN_MESSAGE="Shutting down '$HOSTNAME' (\$progress%)"

## Include and use the Fbsplash daemon (1.5 MiB) in the initcpio
## instead of the small helper only.
## Usefull to show animations early.
## Note: Themes with 'scripts/rc_init-pre' like 'arch-banner-icons' are
##       supported now if fbsplash-extras>=2.0.10 is installed, but there
##       might still be some sophisticated ones which break when using this.
SPLASH_DAEMON="early"

## Make the splash daemon use fade effects.
## Note: The initcpio helper does only use the kernel parameter!
# Just use fadein on bootup and fadeout on shutdown/reboot
case $PREVLEVEL in  N   ) SPLASH_EFFECTS="fadein" ; esac
case  $RUNLEVEL in [06] ) SPLASH_EFFECTS="fadeout"; esac
# Uncomment this line to allways use both
# SPLASH_EFFECTS="fadein,fadeout"

## Enable the textbox when starting the Fbsplash daemon.
## Useful if the theme provides a message log or other textbox.
## The scripts write any initscripts [FAIL] messages to the log.
## Note: The textbox can also be toggled by pressing F3-key.
SPLASH_TEXTBOX="yes"

## Splash progress timeout
## If set to a positive value, Fbsplash will automatically switch to verbose
## mode if there is no progress for the specified number of seconds.
SPLASH_AUTOVERBOSE=10

####  scripts behaviour  #####################################################

## Change to verbose mode on any initscripts [FAIL] message
## Useful with very simple themes and also when starting Xorg from DAEMONS
SPLASH_VERBOSE_ON_ERRORS="no"

## Name of the DAEMONS script starting Xorg if any
## Set this to avoid virtual terminal change struggle between X and Fbsplash.
#SPLASH_XSERVICE="gdm"
#SPLASH_XSERVICE="kdm"
#SPLASH_XSERVICE="xdm"
#SPLASH_XSERVICE="lxdm"
SPLASH_XSERVICE="slim"

## Push initscripts [BUSY] messages to the splash status message line.
SPLASH_PUSH_MESSAGES="no"

# EOF #
Ainsi que mon fichier /etc/mkinitcpio.conf:

Code : Tout sélectionner

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES="piix ide_disk reiserfs"
MODULES="radeon"

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS="base"
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS="base udev autodetect block filesystems"
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS="base udev block filesystems"
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS="base udev block mdadm encrypt filesystems"
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS="base udev block lvm2 filesystems"
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev v86d fbsplash autodetect modconf block filesystems keyboard fsck"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
Enfin ci ces fichiers peuvent vous aidez :mrgreen:
Merci d'avance !

Edit:
Si sa peut aider voici la ligne linux de mon fichier /boot/grub/grub.cfg:

Code : Tout sélectionner

linux	/vmlinuz-linux root=UUID=bc3593f4-eb57-4eb0-bcb7-0f9f7178b54e ro  quiet console=tty1 splash=silent,theme:arch-black 
Dernière modification par Loic430 le ven. 14 juin 2013, 10:07, modifié 1 fois.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [fbsplash] Pas d'animation du splash

Message par FoolEcho »

Salut,

Ça tient au fait que fbsplash est développé pour l'ancien système d'init (initscripts) et n'a pas d'adaptation pour systemd. Du coup, pas de problème à afficher l'image du splash mais pour ce qui est de la dynamique de la barre, nada. Et je n'ai pas l'impression que les dévs s'en préoccupent. :cry:

Si tu veux une barre de progression, je pense que tu devras dans l'immédiat te tourner vers plymouth par exemple (qui lui a un service systemd -- d'ailleurs ce dernier tente de le lancer par défaut).
«The following statement is not true. The previous statement is true.» :nage:
Loic430
Daikyu
Messages : 51
Inscription : jeu. 23 juin 2011, 07:26

Re: [fbsplash] Pas d'animation du splash

Message par Loic430 »

Merci beaucoup pour ta réponse.
J'ai bien essayer plymouth mais depuis les dernière grosse mise à jour il ne s'afficher que brièvement
avant l'exécution de slim. J'ai pourtant vérifier tout les fichiers de configuration afin de voir si rien n'avait bouger; mais rien... J'ai par le suite abandonner et migrer vers fbsplash.
En espérant que les développeurs si attardent car je le trouve plutôt bien fait et simple en configuration :mrgreen:
En tout cas merci pour ta réponse j'aurais pus chercher longtemps ! :dodo:
Répondre