/srv/irclogs.ubuntu.com/2009/10/25/#upstart.txt

Keybukrandom thought22:50
Keybukfedora people22:50
Keybukdoes plymouth actually have a long-running process?22:50
Keybukor does it just paint to the screen and exit?22:50
ionIIRC, it does animation, so it must have a long-running process.22:52
ionEven without graphics, it does a simple text-based animation.22:52
Keybukyeah22:54
Keybukbut you could do that by having one process paint the screen22:54
Keybukthen if you wanted a throbber, start a throbbler process that animates that bit of the screen22:54
Keybukand if you wanted an input, start a different process that took another bit of the screen for input22:54
Keybukit'd solve the whole fifo issue :)22:54
ionTrue22:56
ionBut i’d expect a single process that listens on a socket for multiple connections would be simpler to implement.22:57
Keybukpossibly22:59
Keybukbut then you have to deal with things getting out of the way before X and stuff23:00
Keybukin Moblin, their plymouth-lite thing does just paint the image and go23:00
ionTrue. Animation will also use resources one could use to, say, boot the system. :-P23:01
Keybukyeah23:01
ionEven with some magic to retain the splash when X is initializing, until the first X window being painted, animation would seem to get hung for a while, whereas if the splash was static in the first place, things would look quite nice.23:03
Keybukyeah, exactly23:03
ionRetain the framebuffer contents, that is23:03
Keybukthat's what I was thinking23:03
Keybukhave a program to write a static image (THE DESKTOP BACKGROUND!)23:03
Keybukif we need to do fsck, just have a small program that paints over the top in one area of the screen23:03
Keybukif we need to do input, just have a small program that paints over the top in a different area of the screen23:04
Keybukand both of those block X from starting anyway23:04
ionHow about a splash program that is still long-running and listens on a socket, but actually just draws the static image once and then does single updates for input/progress? It would solve the same issue, but it would be more efficient, there would be no need for different things to have predefined display areas (it could allocate them when on demand) and it could easily handle the ‘multiple clients want input, use tabulator to switch focus’ case.23:07
Keybukthat would work too23:08
Keybukthen at least you could show multiple progress bars23:09
Keybukand ask for multiple passphrases23:09
Keybukand I guess you'd want cancellation and stuff23:09
ionIt could also easily do the pretty text UI when KMS is not available.23:10
Keybukright23:11
Keybukwhich is I guess how plymouth works23:11
ionkeybuk: http://heh.fi/tmp/text-splash-mockup.png http://heh.fi/tmp/text-splash-mockup.text :-P23:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!