Page 1 sur 1

[fbsplash/fbcondecor] Plusieurs problèmes (résolu)

Publié : mar. 25 août 2009, 01:23
par Ptiwee
Bonsoir,
J'essaye d'obtenir un fond d'écran pour ma console ainsi qu'un bootsplash, j'ai donc installé kernel26-fbcondecor, fbsplash, initscripts-extras-fbsplash et fbsplash-theme-arch-dark.
Pour l'instant, j'ai bien un bootsplash, sauf que je n'ai pas de chargement (Il reste sur Initializing kernel) et il ne disparaît pas à la fin du boot (Je suis obligé de faire Ctrl+Alt+F1). Par contre au moment du shutdown j'ai bien le déchargement qui s'effectue (Avec la barre et tout).
Le fond d'écran sur ma console ne marche pas (Mais peut être qu'il faut configurer un truc que je n'ai pas fait).

J'ai une carte intel X3100, que j'utilise avec KMS.

Si ça peut vous aider, voici deux/trois fichiers :

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="intel_agp i915"

# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish.  This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy 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 anyway.  This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
#    FILES="/etc/modprobe.conf"
FILES="/etc/modprobe.d/modprobe.conf"

# 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
# 'modload' may be used in place of 'udev', but is not recommended
# '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 pata scsi sata filesystems"
#
#    This is identical to the above, except the old ide subsystem is
#    used for IDE devices instead of the new pata subsystem.
#    HOOKS="base udev autodetect ide scsi sata filesystems"
#
#    This setup will generate a 'full' image which supports most systems.
#    No autodetection is done.
#    HOOKS="base udev pata scsi sata usb filesystems"
#
#    This setup assembles an pata raid array with an encrypted root FS.
#    Note: See 'mkinitcpio -H raid' for more information on raid devices.
#    HOOKS="base udev pata raid encrypt filesystems"
#
#    This setup loads an lvm2 volume group on a usb device.
#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata lvm2 filesystems fbsplash"

FBTHEMES="arch-black"
FBRES="1280x800"

# COMPRESSION
# Use this to compress the initramfs image. With kernels earlier than
# 2.6.30, only gzip is supported, which is also the default. Newer kernels
# support gzip, bzip2 and lzma.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
menu.lst

Code : Tout sélectionner

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution 

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux (Graphique)
root   (hd0,0)
kernel /vmlinuz26 root=/dev/mapper/Interne-Systeme ro quiet 5
initrd /kernel26.img

title  Arch Linux (Terminal)
root   (hd0,0)
kernel /vmlinuz26 root=/dev/mapper/Interne-Systeme ro quiet 3
initrd /kernel26.img

title Arch Linux (fbcondecor)
root (hd0,0)
kernel /vmlinuz26-fbcondecor root=/dev/mapper/Interne-Systeme ro splash=silent,theme:arch-black console=tty1 quiet 
initrd /kernel26-fbcondecor.img

# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
Merci de votre aide :)

Re: [fbsplash/fbcondecor] Plusieurs problèmes

Publié : mar. 25 août 2009, 01:31
par benjarobin
Je sens que tu n'as pas suivi le wiki :rtfm: -> http://wiki.archlinux.fr/howto/kernel/fbsplash :copain:

Re: [fbsplash/fbcondecor] Plusieurs problèmes

Publié : mar. 25 août 2009, 01:58
par Ptiwee
Je commence à résoudre deux/trois problèmes (J'ai suivi le wiki, j'ai aussi regardé du côté du wiki anglophone mais ce n'est pas très clair)
Bref pour la barre de chargement il faut rajouter SPLASH="fbsplash" dans rc.conf (C'est pas marqué dans le wiki) et pour le fond de console faut lancer fbsplash comme daemon.
Par contre là j'ai une erreur :

Code : Tout sélectionner

FBIOCONDECOR_SETSTATE failed, error code 22.
au moment de lancer le démon fbsplash.

EDIT : Je progresse, cette erreur provient soit de KMS, soit de la résolution, car si je n'active pas le KMS et que je mets une résolution à 1024x768 ça marche.

EDIT 2 : Le problème venait bien de la résolution, j'ai créé une nouvelle résolution dans le thème et c'est bon.