No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1

Bug #717516 reported by Luke
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cairo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: plymouth

Plymouth message and password prompts do not work with libcairo2_1.10.2-2ubuntu1 or later, using plymouth_0.8.2-2ubuntu14.
Text is not rendered when booting, but will render from plymouth-x11.

If initramfs made with libcairo2_1.10.2-2ubuntu1 is used to boot a root partition with an older version of libcairo, txt renddering begins when that root partition is mounted. If initramfs is made with older version (even though libcairo does NOT call update-initramfs), then text is renderd normally.

This is when using a custom splash theme based on the ubuntu-logo theme script and using the same code from that script to render text. I use a consistant background image from grub to plymouth to desktop, a modified password prompt window, and modified progress bullets.

Finding this bug required rolling back all the Feb 8 updates to Ubuntu Natty, then reinstalling them one at a time until the problem was found. I do not know for sure whether this should be considered a bug in plymouth or in libcairo, as I do not know whether an update in libcairo now requires an update in Plymouth or there is a bug in libcairo like what happened with gcc and plymouth.

Steve Langasek (vorlon)
affects: plymouth (Ubuntu) → cairo (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report but the cairo code didn't change, it's just some packaging which enabled the gl backend and resynchronized on debian, seems you are the only one to get that issue for now as well

Revision history for this message
Luke (lukekuhn) wrote : RE: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1

Perhaps this bug needs to be reassigned back to Plymouth then? The problem is still present with plymouth_0.8.2-2ubuntu17. As a further check, I booted with the default ubuntu-logo theme (I normally use a custom theme matching my desktop) and still got no text. This needs to be resolved either in cairo or in plymouth or there will be no cryptsetup prompting on default encrpted installations. I've seen this on three different machines-two AMD Phenom II/AMD 785 chipset(one using builtin graphics, one a Radeon 4350), and one Intel Atom N450 netbook.

> Date: Mon, 14 Feb 2011 09:59:59 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> thank you for your bug report but the cairo code didn't change, it's
> just some packaging which enabled the gl backend and resynchronized on
> debian, seems you are the only one to get that issue for now as well
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/717516
>
> Title:
> No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for the update, are you sure the cairo downgrade fixes the issue? the issue you describe seems similar to bug #718044

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you also give details on what cairo version you dowgraded to to get a working version?

Revision history for this message
Luke (lukekuhn) wrote :

libcairo2_1.10.2-1ubuntu1

> Date: Tue, 15 Feb 2011 09:11:53 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> could you also give details on what cairo version you dowgraded to to
> get a working version?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/717516
>
> Title:
> No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1

Revision history for this message
Luke (lukekuhn) wrote :

The fix works-I use it every day on three different machines.

> Date: Tue, 15 Feb 2011 09:07:08 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> thank you for the update, are you sure the cairo downgrade fixes the
> issue? the issue you describe seems similar to bug #718044
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/717516
>
> Title:
> No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new comments are not clear, what fix are you speaking about? the plymouth update?

Revision history for this message
Luke (lukekuhn) wrote :

Rolling back cairo (as described in my last update)and remaking the initramfs brings back the text prompts. Plymouth version has no effect.

> Date: Wed, 16 Feb 2011 09:27:28 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> the new comments are not clear, what fix are you speaking about? the
> plymouth update?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/717516
>
> Title:
> No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1

Revision history for this message
Christoph (christoph-thomas) wrote :

Hi,
I can confirm this issue mostly. Using standard theme plymouth-theme-ubuntu-logo_0.8.2-2ubuntu17 input field for password is given, but no messages are displayed (neither something like please enter password nor any message when using function "plymouth message". Downgrading to libcairo2_1.10.0-1ubuntu3 (from marveric) and rebuilding initramfs solves this issue. Maybe the problem is located in some functions, which were not needed earlier and therefore must be added to the initramfs hooks (/usr/share/initramfs-tools/hooks)? This problem might not be general, I'm not shure if Luke has an similar bootprocess, I use an script in /usr/share/initramfs-tools/scripts/local-bottom/ for the password request. This script is called before the root partition is mounted.

Revision history for this message
Luke (lukekuhn) wrote :

I use a script in local-top "cryptall" to call the passphrase, store it as a variable in ram, unlock all the disks, one of which has the root partition as an LVM volume,, overwrite the variable, then unset it before exiting. The script calls plymouth ask-for-password, just like the normal cryptroot script does in the initramfs.

> Date: Fri, 18 Feb 2011 06:31:28 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> Hi,
> I can confirm this issue mostly. Using standard theme plymouth-theme-ubuntu-logo_0.8.2-2ubuntu17 input field for password is given, but no messages are displayed (neither something like please enter password nor any message when using function "plymouth message". Downgrading to libcairo2_1.10.0-1ubuntu3 (from marveric) and rebuilding initramfs solves this issue. Maybe the problem is located in some functions, which were not needed earlier and therefore must be added to the initramfs hooks (/usr/share/initramfs-tools/hooks)? This problem might not be general, I'm not shure if Luke has an similar bootprocess, I use an script in /usr/share/initramfs-tools/scripts/local-bottom/ for the password request. This script is called before the root partition is mounted.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/717516
>
> Title:
> No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/717516/+subscribe

Revision history for this message
Luke (lukekuhn) wrote :

The bug is still present with plymouth_0.8.4~git20110304.89096d73-0ubuntu1~ricotz0_i386.deb , from the "ricotz" staging repo.

> Date: Fri, 18 Feb 2011 22:42:20 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: RE: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> I use a script in local-top "cryptall" to call the passphrase, store it as a variable in ram, unlock all the disks, one of which has the root partition as an LVM volume,, overwrite the variable, then unset it before exiting. The script calls plymouth ask-for-password, just like the normal cryptroot script does in the initramfs.
>
>
> > Date: Fri, 18 Feb 2011 06:31:28 +0000
> > From: <email address hidden>
> > To: <email address hidden>
> > Subject: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
> >
> > Hi,
> > I can confirm this issue mostly. Using standard theme plymouth-theme-ubuntu-logo_0.8.2-2ubuntu17 input field for password is given, but no messages are displayed (neither something like please enter password nor any message when using function "plymouth message". Downgrading to libcairo2_1.10.0-1ubuntu3 (from marveric) and rebuilding initramfs solves this issue. Maybe the problem is located in some functions, which were not needed earlier and therefore must be added to the initramfs hooks (/usr/share/initramfs-tools/hooks)? This problem might not be general, I'm not shure if Luke has an similar bootprocess, I use an script in /usr/share/initramfs-tools/scripts/local-bottom/ for the password request. This script is called before the root partition is mounted.
> >
> > --
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> > https://bugs.launchpad.net/bugs/717516
> >
> > Title:
> > No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
> >
> > To unsubscribe from this bug, go to:
> > https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/717516/+subscribe
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/717516
>
> Title:
> No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/717516/+subscribe

Revision history for this message
Christoph (christoph-thomas) wrote :

Hi,
it seems that the problem is solved. Today on my system a new initramfs image was build with kernel 2.6.38-8, initramfs-tools 0.98.8ubuntu3, libcairo2 11.10.2-2ubuntu1 and plymouth 0.8.2-2ubuntu2. The rendering of the text works yust fine. Hope the bug for Luke has also gone?
cheers, chris

Revision history for this message
Luke (lukekuhn) wrote :

Also works fine for me on the Intel Atom netbook, allowing me to unpin four packages. Expect it will work fine on Radeon, as video driver/card never seemed to affect this. Will test on AMD when I get home, but it looks like this is fixed.

> Date: Wed, 6 Apr 2011 17:57:42 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 717516] Re: No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> Hi,
> it seems that the problem is solved. Today on my system a new initramfs image was build with kernel 2.6.38-8, initramfs-tools 0.98.8ubuntu3, libcairo2 11.10.2-2ubuntu1 and plymouth 0.8.2-2ubuntu2. The rendering of the text works yust fine. Hope the bug for Luke has also gone?
> cheers, chris
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/717516
>
> Title:
> No Plymouth message or password prompts w libcairo2_1.10.2-2ubuntu1
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/717516/+subscribe

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

Per latest comments, marking this as fixed.

Changed in cairo (Ubuntu):
status: New → Fix Released
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.