Le mercredi 28 décembre 2011 à 14:27 +0100, Bruno Friedmann a écrit :
On 12/28/2011 01:09 AM, Cristian Rodríguez wrote:
Hi:
Today I looked into Plymouth and got it somehow working quickly, I want to propose the inclusion of this replacement of bootsplash, under the following constrains:
- It will be only supported when running in conjunction with systemd. (it has native integration with it)
- Users are free to package or create their own themes, but we provide only ONE theme, consistent "looking" between desktops whatever the openSUSE artwork theme decides.
Steps:
- enable building of systemd-plymouth package, actually changing %build_plymouth variable in systemd.spec
- Take a look to the initrd related code, as well as "cryptsetup" integration that looks somewhat strange currently.
- Install "bootsplash" only with legacy sysvinit.
That's all for now.
If we start (restart) that way, think also to remove all kind of fancy other splash we have like the hard dependency in suspend.
I wrote patch to add support for plymouth to suspend two (or maybe three) years ago. It is still waiting in upstream suspend mailing list. And you can grab it from Mageia source package.
- be sure it offer a password prompt to unlock full encrypted system with the correct keyboard layout
It does (and it does it in a nice graphical way). The only issue (back when I integrated plymouth at Mandriva, it might have changed since) was not having text available until initrd is done (since fonts display is relying on pango and we didn't put pango on initrd).
- be sure to include in openQA specific tests for it (including suspend ram, disk and wake up serveral times)
- be sure to have a nice and clean description how to manage the artwork nicely & quickly Plymouth have a quite verbose explanation of its "script" language (when you write a splash using it, it is not mandatory) : http://www.freedesktop.org/wiki/Software/Plymouth/Scripts
If it's able to support the native resolution nvidia offer (in my case 0x34d) then everything will just goes fine :D
It should be able to handle it and even better, it rescale splash on its own, so our artwork team won't have to create several splash for several screen ratio.
I remember that plymouth need some (heavy?) patches for gdm,kdm,ldm,xdm,lightDM? what the situation actually?
I think gdm has them integrated (either in our openSUSE package or maybe even upstream). Can't say for other DM, but as the work was done in other distributions, I would strongly suggest to look at Mageia packages for any patches.
I've also heard a lot that our mkinitrd should be move to drakut to have a nice integration in plymouth, then creating another not yet ready for openSUSE brick in the puzzle.
It is not a hard requirement for switching to plymouth.
--
Frederic Crozat