Bug 9604 - graphical startup animation not working
Summary: graphical startup animation not working
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 18:55 CEST by Marcus Zurhorst
Modified: 2013-04-06 13:46 CEST (History)
1 user (show)

See Also:
Source RPM: plymouth-0.8.6.1-7.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Marcus Zurhorst 2013-04-03 18:55:39 CEST
Description of problem:
As originally reported in bug 9560, the entire graphical boot is not working in Mageia 3 right now.
According to Barrys recommendation, I was able to get grub2 back to graphics.
But now, everything between grub2 and GDM is still in "talky text mode".

Per Barry hint, I am now opening another bug against plymouth!


I tried to configure plymouth manually, and received the following error message:

[marcus@mzlaptop ~]$ sudo plymouth-set-default-theme Mageia-Default
[marcus@mzlaptop ~]$ sudo plymouth-set-default-theme 
Mageia-Default
[marcus@mzlaptop ~]$ sudo plymouth-set-default-theme -R
/usr/share/plymouth/themes//.plymouth does not exist


According to my understanding of the bash script, the variable ${THEME_NAME} is not defined:
${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth
(from line 196 in /sbin/plymouth-set-default-theme)


Here my knowledge stops. I hope you can pick it up from here and get the boot animation back working.



Version-Release number of selected component (if applicable):
plymouth-0.8.6.1-7.mga3.src.rpm


Reproducible: 

Steps to Reproduce:
Comment 1 Marcus Zurhorst 2013-04-03 19:18:18 CEST
Please forget my previous message, I did not use the script properly.
Handing over the name of the particular theme made it work:

[marcus@mzlaptop ~]$ sudo plymouth-set-default-theme Mageia-Default -R


Now the initrd was recreated.
However, the next boot was still "talky", I did not see the graphical animation.   Something is broken here.


Barry asked me to check /etc/default/grub for an vga=XXX entry, but there is none in this file.
Comment 2 Barry Jackson 2013-04-03 21:09:01 CEST
Marcus, can you please post the output of

cat /etc/default/grub|grep GRUB_CMDLINE_LINUX_DEFAULT

CC: (none) => zen25000

Comment 3 Marcus Zurhorst 2013-04-03 21:11:25 CEST
Sure!

There is no output, this parameter is not defined in the file:

[marcus@mzlaptop ~]$ cat /etc/default/grub|grep GRUB_CMDLINE_LINUX_DEFAULT
[marcus@mzlaptop ~]$
Comment 4 Marcus Zurhorst 2013-04-03 21:15:03 CEST
Here is the full file, just in case this is the next question :-)
 
[marcus@mzlaptop ~]$ cat /etc/default/grub
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=true
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_DISTRIBUTOR=Mageia
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=text
GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
[marcus@mzlaptop ~]$
Comment 5 Barry Jackson 2013-04-03 22:00:33 CEST
Ouch!
I have no idea how that can happen - maybe Thierry can help.

Add the line:
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
Comment 6 Marcus Zurhorst 2013-04-04 22:41:12 CEST
I (re?)added the line per your instruction.  However, this does not fix anything, I cannot see a difference.


Do I have to trigger something like initrd recreation? -- Or is this supposed to have an immediate effect?
Comment 7 Barry Jackson 2013-04-05 00:11:12 CEST
Ah sorry:
$ update-grub
Comment 8 Marcus Zurhorst 2013-04-06 08:29:41 CEST
Well, that worked.  Thanks!


The situation is improving, but it is still not perfect.
I have now the following findings:

a)  beween Grub2 and Plymouth, I see for 1-2 seconds the first line of the boot messages.  Afterwards, the Mageia background is shown.

b)  I saw that there are these blue "bubbles" raising out of the pot, which seems to represent the progress bar.  When Plymouth switches to another image, the screen is black for short while.

c)  With 2-3 more boots, the defect b) improves (maybe a learning curve for the pre-loading of data during boot), but I see with every boot another behavior.
(sometimes 2-3 bubbles smoothly blended; once the screen got black after 2nd bubble and stayed there until GDM is loaded)

d)  when the last Plymouth image is shown, the screen goes black for a short while before GDM appears.



While this as all booting, the following things showed up when shutting down:

e) Triggering a shutdown from GDM --> animation works perfect

f) Triggering a reboot from GDM  --> animation does not work; I only see console output
Comment 9 Marcus Zurhorst 2013-04-06 08:38:25 CEST
Some more testing:

I switched the animation: 
[marcus@mzlaptop ~]$ sudo plymouth-set-default-theme glow -R
[marcus@mzlaptop ~]$ sudo update-grub2


Now rebooting (triggered from within Gnome Desktop), I don't see any flaws (maybe because this is a still image and no animation?)

The boot animation was much smoother as well.
Nevertheless, here was also in between a very short black screen flickering, and the "gap" between Plymouth and GDM was also still there.
Comment 10 Barry Jackson 2013-04-06 13:39:02 CEST
(In reply to Marcus Zurhorst from comment #9)

> Nevertheless, here was also in between a very short black screen flickering,
> and the "gap" between Plymouth and GDM was also still there.

I think that's as good as it gets, for this release - unless someone is working on it - I have never seen a totally smooth boot without the black dropouts ;)
Comment 11 Barry Jackson 2013-04-06 13:46:01 CEST
The missing theme was probably down to the grub2-mageia-theme package missing from the install DVD (https://bugs.mageia.org/show_bug.cgi?id=9608) which has been fixed for the next release, so I think this can be closed now.

Closing as fixed.

If you manage to reproduce the /etc/default/grub problem feel free to open another bug, but I cannot reproduce ;)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.