Plymouth does not display bootsplash

Bug #579906 reported by Thilo-Alexander Ginkel
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Lucid by Montblanc

Bug Description

Binary package hint: plymouth

After upgrading from Karmic to Lucid my Kubuntu installation initially came up with plymouth-theme-ubuntu-text although kubuntu-desktop (and consequently plymouth-theme-kubuntu-logo) were installed correctly. After having removed plymouth-theme-ubuntu-text I am unable to get any bootsplash to show.

This happens with an Intel 945GME graphics controller.

I am almost certain that the display is correctly initialized to graphics mode as the switchover to X happens seamlessly (i.e., the mouse cursor appears over the boot messages before kdm shows up).

When I manually invoke
  sudo plymouthd
  sudo plymouth --show-splash
on the console the splash screen is correctly displayed and animated.

The configuration per se also looks sensible:
-- 8< --
tg@cygnus:/lib/plymouth/themes$ ls -al
total 16
drwxr-xr-x 4 root root 4096 2010-05-11 20:51 .
drwxr-xr-x 4 root root 4096 2010-05-11 20:51 ..
lrwxrwxrwx 1 root root 34 2010-05-11 08:14 default.plymouth -> /etc/alternatives/default.plymouth
drwxr-xr-x 2 root root 4096 2010-05-11 02:14 details
drwxr-xr-x 2 root root 4096 2010-05-11 21:07 kubuntu-logo
tg@cygnus:/lib/plymouth/themes$ ls -al /etc/alternatives/default.plymouth
lrwxrwxrwx 1 root root 55 2010-05-11 08:14 /etc/alternatives/default.plymouth -> /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth
-- 8< --

There is one thing I should probably mention: I have encrypted my root partition with cryptsetup, so /lib/ is obviously not yet available when the password prompt is supposed to appear.

However, I also verified the contents of the initrd.img, which also looks sensible:
-- 8< --
tg@cygnus:~/initrd$ ls -al lib/plymouth/themes/
total 20
drwxr-xr-x 4 tg tg 4096 2010-05-13 01:57 .
drwxr-xr-x 4 tg tg 4096 2010-05-13 01:57 ..
-rw-r--r-- 1 tg tg 237 2010-05-13 01:57 default.plymouth
drwxr-xr-x 2 tg tg 4096 2010-05-13 01:57 details
drwxr-xr-x 2 tg tg 4096 2010-05-13 01:57 kubuntu-logo
tg@cygnus:~/initrd$ cat lib/plymouth/themes/default.plymouth
[Plymouth Theme]
Name=Kubuntu Logo
Description=A theme that features a blank background with a logo.
ModuleName=script

[script]
ImageDir=/lib/plymouth/themes/kubuntu-logo
ScriptFile=/lib/plymouth/themes/kubuntu-logo/kubuntu-logo.script
-- 8< --

When putting plymouth into debug mode I do not see any errors or other messages related to any attempt to load the splash theme (cf. attached photo).

I am currently somewhat stuck with my investigations. Do you have any idea where how to continue the root cause analysis?

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: plymouth 0.8.2-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Thu May 13 12:43:41 2010
DefaultPlymouth: /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth
MachineType: SAMSUNG ELECTRONICS CO., LTD. NC10
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-22-generic root=/dev/mapper/hostname-root ro nohdparm plymouth:debug crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
SourcePackage: plymouth
TextPlymouth: Error: command ['readlink', '/etc/alternatives/text.plymouth'] failed with exit code 1:
dmi.bios.date: 09/08/2009
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 11CA.M015.20090908.RHU
dmi.board.name: NC10
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr11CA.M015.20090908.RHU:bd09/08/2009:svnSAMSUNGELECTRONICSCO.,LTD.:pnNC10:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNC10:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A:
dmi.product.name: NC10
dmi.product.version: Not Applicable
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

Just spotted the "Error: command ['readlink', '/etc/alternatives/text.plymouth'] failed with exit code 1" error in the above output. Is having a text theme installed mandatory?

Revision history for this message
Steve Langasek (vorlon) wrote :

Please boot with plymouth debugging turned on and forward the resulting /var/log/boot.log.

Changed in plymouth (Ubuntu):
status: New → Incomplete
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

Please find attached the requested boot.log file.

In the meantime I also figured out a workaround: Adding the following Kernel boot parameters enables Plymouth to correctly display the graphical splash:

nomodeset video=uvesafb:mode_option=1024x600-24,mtrr=3,scroll=ywrap

This workaround was *not* active during the boot that resulted in the attached log.

Changed in plymouth (Ubuntu):
status: Incomplete → New
Revision history for this message
Steve Langasek (vorlon) wrote :

ah - could you also attach /var/log/plymouth-debug.log, please?

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

Sure. I noticed that the log points out a missing /lib/plymouth/renderers/x11.so, which is indeed not present in the initrd image although it is present in /lib/plymouth/renderers/ on the rootfs.

Revision history for this message
Steve Langasek (vorlon) wrote :

The x11.so message is irrelevant; we never want to be using the x11 renderer in the initramfs anyway.

The key section of the log is this:

[./plugin.c] create_backend:creating renderer backend for device /dev/dri/card0
[./plugin.c] load_driver:Attempting to load driver 'i915'
[ply-terminal.c] ply_terminal_open:trying to open terminal '/dev/tty7'
[ply-terminal.c] ply_terminal_look_up_geometry:looking up terminal text geometry
[ply-terminal.c] ply_terminal_look_up_geometry:terminal is now 80x25 text cells
[./plugin.c] query_device:Could not initialize heads
[ply-renderer.c] ply_renderer_open:could not query rendering device for plugin /lib/plymouth/renderers/drm.so
[./plugin.c] close_device:closing device
[./plugin.c] unload_driver:unloading driver
[./ply-renderer-i915-driver.c] destroy_driver:uninitializing intel buffer manager
[./plugin.c] create_backend:creating renderer backend for device /dev/fb0
[./plugin.c] open_device:could not open '/dev/fb0': No such file or directory

So both the drm and fb renderers are failing at this point.

This could be a race condition in /usr/share/initramfs-tools/scripts/init-top/framebuffer. Could you try adding 'sleep 1' to the bottom of this script, run 'sudo update-initramfs -u', and check whether that fixes the problem?

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

Added sleep, regenerated the initrd, re-enabled plymouth:debug, updated grub. Unfortunately, the issue is still unchanged. Even the plymouth-debug.log file is 100% identical to the one I attached to this bug (except for the timestamp).

Revision history for this message
Steve Langasek (vorlon) wrote :

Oh, very interesting. I would expect a 1 second delay to be sufficient, if this is a race condition.

Can you post the output of 'zcat /boot/initrd.img-$(uname -r) | cpio -t'? Also, please try booting with 'break=modules' and when you get a shell prompt, check whether /dev/fb0 is present - and if not, whether it shows up after a few seconds of waiting.

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

When booting with break=modules, /dev/fb0 is present (29, 0). However, I just noticed that when booting I noticed a message that may be related and shows up after grub, but before any plymouth message shows up:

mknod: /dev/fb0: File exists

Probably just cosmetic, but I thought I'd mention it.

Revision history for this message
Steve Langasek (vorlon) wrote :

After booting with break=modules and finding /dev/fb0 is there, does continuing the boot with Ctrl-D bring up the splash screen, or not?

The contents of the initramfs all look sensible, so a race condition still seems the most likely problem here.

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

Unfortunately, the splash does not show up after exiting the initramfs shell (although /dev/fb0 was present at that time): http://www.youtube.com/watch?v=E4Oky8d-flQ

On the other hand, when an fsck happens during boot, the bootsplash becomes visible as soon as the fsck starts: http://www.youtube.com/watch?v=Axku13oUwu0

Montblanc (montblanc)
Changed in plymouth (Ubuntu):
status: New → Confirmed
Revision history for this message
karaluh (karaluh) wrote :

I have the same issue, also Kubuntu, also Intel, but GMA 950

Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
dino99 (9d9) wrote :

That version has died long ago; no more supported

Changed in plymouth (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.