ubuntu-logo theme rendered incorrectly with recent grub, instead of full-screen purple, it's a purple frame around black rectangle

Bug #1308723 reported by Dimitri John Ledkov
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Invalid
Undecided
Unassigned
Trusty
Invalid
Undecided
Unassigned
Utopic
Invalid
Undecided
Unassigned
plymouth (Ubuntu)
Fix Released
Low
Dimitri John Ledkov
Trusty
Fix Released
Low
Dimitri John Ledkov
Utopic
Fix Released
Low
Dimitri John Ledkov

Bug Description

SRU Justification:
[Impact]
When booting ubuntu-desktop you'll see a black rectangle instead of fully purple screen as early as possible.
[Test Case]
1. install update
2. run $ sudo update-grub
3. Reboot
[Regression Potential]
Minor change to background_color to fix this issue.

--

if background_color 44,0,30; then
  clear
fi

is what ubuntu-logo plymouth theme snippet injects into grub.cfg, this generates a purple one character frame whilst the center is black. It used to be all purple. i mean aubergine.

Related branches

Changed in grub2 (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
tags: added: flicker-at-boot
Revision history for this message
Yu Ning (yuningdodo) wrote :

I checked the grub2's source code, command clear will invoke each output backend's cls method, and it seems that the black rectangle is produced by backend "console".

Revision history for this message
Yu Ning (yuningdodo) wrote :

I noticed a very weird behavior by executing below commands in grub console:

```
set pager=1

background_color 44,0,30

# from now on all the text will be printed with black background but not color 44,0,30

help

# help will show a long list of commands, since we have set pager=1 then it will first pause on the first page, all the text are displayed with black background.

# then we press space to view next page, and we can notice that the background is now correctly set to color 44,0,30 instead of black.
```

It seems that some settings are not fully synced in command background_color, but it's synced by the pager switching.

Revision history for this message
Yu Ning (yuningdodo) wrote :

I found a workaround for this issue by setting alpha channel to 0:

if background_color 44,0,30,0; then
  clear
fi

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1308723] Re: clear, after background_color command uses a black color and thus only colors a frame

On 10 September 2014 12:38, Yu Ning <email address hidden> wrote:
> I found a workaround for this issue by setting alpha channel to 0:
>
> if background_color 44,0,30,0; then
> clear
> fi
>

\o/ horay. Let me upload this fix into both Utopic and Trusty!

--
Regards,

Dimitri.

Changed in grub2 (Ubuntu Trusty):
status: New → Invalid
Changed in plymouth (Ubuntu Trusty):
status: New → Triaged
Changed in plymouth (Ubuntu Utopic):
assignee: nobody → Dimitri John Ledkov (xnox)
Changed in plymouth (Ubuntu Trusty):
assignee: nobody → Dimitri John Ledkov (xnox)
Changed in plymouth (Ubuntu Utopic):
status: New → Triaged
Changed in plymouth (Ubuntu Trusty):
importance: Undecided → Low
Changed in plymouth (Ubuntu Utopic):
importance: Undecided → Low
summary: - clear, after background_color command uses a black color and thus only
- colors a frame
+ ubuntu-logo theme rendered incorrectly with recent grub, instead of
+ full-screen purple, it's a purple frame around black rectangle
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package plymouth - 0.9.0-0ubuntu5

---------------
plymouth (0.9.0-0ubuntu5) utopic; urgency=medium

  * Adjust grub snippet that sets purple background color - set alpha to
    zero. This corrects early boot theming. Thanks to Yu Ning. (LP:
    #1308723).
 -- Dimitri John Ledkov <email address hidden> Sun, 21 Sep 2014 22:28:25 +0100

Changed in plymouth (Ubuntu Utopic):
status: Triaged → Fix Released
Revision history for this message
pdknsk (pdknsk) wrote :

It didn't make it to Trusty.

Revision history for this message
pdknsk (pdknsk) wrote :

Still not in Trusty.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

It's in the queue (https://launchpad.net/ubuntu/trusty/+queue?queue_state=1&queue_text=). After it gets forward from there, this bug will be updated with instructions on how to verify the fix.

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted plymouth into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/plymouth/0.8.8-0ubuntu17.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

description: updated
description: updated
Changed in plymouth (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Yu Ning (yuningdodo) wrote :

I verified on my trusty box, by upgrading below packages to 0.8.8-0ubuntu17.1:

libplymouth2
plymouth
plymouth-label
plymouth-theme-ubuntu-logo
plymouth-theme-ubuntu-text

the issue still can be reproduced until I manually execute "update-grub". During the upgrade only update-initramfs is executed, but not update-grub.

Should we treat this is as verification-done? Or verification-failed?

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1308723] Re: ubuntu-logo theme rendered incorrectly with recent grub, instead of full-screen purple, it's a purple frame around black rectangle

On 3 December 2014 at 06:30, Yu Ning <email address hidden> wrote:
> I verified on my trusty box, by upgrading below packages to
> 0.8.8-0ubuntu17.1:
>
> libplymouth2
> plymouth
> plymouth-label
> plymouth-theme-ubuntu-logo
> plymouth-theme-ubuntu-text
>
> the issue still can be reproduced until I manually execute "update-
> grub". During the upgrade only update-initramfs is executed, but not
> update-grub.
>
> Should we treat this is as verification-done? Or verification-failed?
>

That's verification-done. Plymouth themes must not trigger grub
update, however they do provide a snippet that grub integrates into
it's theming at next convenient update-grub time at which point the
visual bug is resolved. I'll update test instructions.

--
Regards,

Dimitri.

description: updated
Revision history for this message
Yu Ning (yuningdodo) wrote :

Thanks for the explanation, then I'll mark it as verification-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package plymouth - 0.8.8-0ubuntu17.1

---------------
plymouth (0.8.8-0ubuntu17.1) trusty; urgency=medium

  * Correct early boot theming. Adjust grub snippet that sets purple
    background color - set alpha to zero. Thanks to Yu Ning. (LP:
    #1308723).
 -- Dimitri John Ledkov <email address hidden> Wed, 26 Nov 2014 00:40:31 +0000

Changed in plymouth (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for plymouth has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Colin Watson (cjwatson)
Changed in grub2 (Ubuntu):
assignee: Colin Watson (cjwatson) → nobody
Changed in grub2 (Ubuntu Utopic):
assignee: Colin Watson (cjwatson) → nobody
Revision history for this message
dino99 (9d9) wrote :

This has been fixed long time ago.

Changed in grub2 (Ubuntu):
status: Confirmed → Invalid
Changed in grub2 (Ubuntu Utopic):
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.