Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. Progress and transitions (Daire Byrne)
   2. Re: Progress and transitions (Ray Strode)


----------------------------------------------------------------------

Message: 1
Date: Tue, 26 May 2009 18:15:41 +0100 (BST)
From: Daire Byrne <[email protected]>
Subject: Progress and transitions
To: plymouth <[email protected]>
Message-ID: <538380753.89441243358141295.javamail.r...@mailbox1>
Content-Type: text/plain; charset=utf-8

Hi,

I have my busybox based initrd working well with Plymouth now and I have copied 
and customised the "charge/two-step" theme. But I still have a couple of 
niggling issues that I can't figure out.

How exactly do I control the progress speed within the initrd? My initrd takes 
around 20 secs before it does a chroot and starts using the Fedora image. In 
this time the progress bar makes it most of the way through it's sequence. I 
tried adding "/usr/share/plymouth/default-boot-duration" to my initrd and 
adding some entries like so:

  0.100:RCdiskless1
  0.130:RCdiskless2
  0.160:RCdiskless3
  0.200:RCdiskless4
  0.222:RCkernelparam
  0.223:RChostname
  0.238:RCmountfs
  0.275:RCswap
  ..

and then I added the corresponding "plymouth --update=RCdiskless1" entries to 
my "init" script but it doesn't seem to make much difference.

Also should the "radeon(hd)" KMS driver not be able to transition seamlessly to 
the GDM screen? It just quits for me before GDM starts. I see there are entries 
like this for the "charge" theme config:

  Transition=none
  TransitionDuration=0.0

but I don't know exactly what they are for or how to use them.

Finally, how does plymouth get called when doing a shutdown or reboot? I just 
get a blank screen when doing this using my initrd/diskless setup. It works 
fine when Fedora11 is actually installed properly on the local drive.

Regards,

Daire


------------------------------

Message: 2
Date: Tue, 26 May 2009 14:37:50 -0400
From: Ray Strode <[email protected]>
Subject: Re: Progress and transitions
To: Daire Byrne <[email protected]>
Cc: plymouth <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi,

> How exactly do I control the progress speed within the initrd? My initrd 
> takes around 20 secs before it does a chroot and starts using the Fedora 
> image. In this time the progress bar makes it most of the way through it's 
> sequence. I tried adding "/usr/share/plymouth/default-boot-duration" to my 
> initrd and adding some entries like so:
>
> ?0.100:RCdiskless1
> ?0.130:RCdiskless2
> ?0.160:RCdiskless3
> ?0.200:RCdiskless4
> ?0.222:RCkernelparam
> ?0.223:RChostname
> ?0.238:RCmountfs
> ?0.275:RCswap
> ?..
>
> and then I added the corresponding "plymouth --update=RCdiskless1" entries to 
> my "init" script but it doesn't seem to make much difference.

You want /var/lib/plymouth/boot-duration not
/usr/share/plymouth/default-boot-duration

> Also should the "radeon(hd)" KMS driver not be able to transition seamlessly 
> to the GDM screen?
radeon should be able to, but radeonhd can't as far as I know.

You basically need a driver that supports backing:

 X -nr

Also, make sure you're using a build of GDM that supports the
transition. I think you're using a standard Fedora build though?

The upstream bug for tracking those patches is here:

http://bugzilla.gnome.org/show_bug.cgi?id=572173

> It just quits for me before GDM starts. I see there are entries like this for 
> the "charge" theme config:
>
> ?Transition=none
> ?TransitionDuration=0.0
>
> but I don't know exactly what they are for or how to use them
Those are for crossfading between frames of the animation, nothing to
do with the plymouth->gdm transition

> Finally, how does plymouth get called when doing a shutdown or reboot?
We ship this file in /etc/event.d:

http://git.fedorahosted.org/git/?p=initscripts.git;a=blob_plain;f=event.d/plymouth-shutdown

Which starts plymouthd in "shutdown" mode

--Ray


------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 8, Issue 13
***************************************

Reply via email to