Author |
Message |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: Sun 23 Oct 2011, 08:10 Post subject:
|
|
Ok mixed results. Using Luci_529
My own frugal install has a nice bootsplash that fades in and then continues by making the blue dots into red 'running dots' until X starts and the desktop appears.
See YouTube video for dots I mean,
splash
However the problem is at shutdown, the shutdown scripts are unaltered but the console messages are not echoed, but they do run. i.e. the save state at close.
I did make a LiveCd of 529 and had some success with it same as above. However the shutdown is a real problem with black screen, you don't see the option window to save to file !!
If anyone wants to try it out, I can see whether either the forum will cope or I can find a download site.
It consists of a 'new' initrd.gz , a pet of modified startup scripts and an addition of vga=785 to the end of kernel grub line in menu.lst.
I could do with at least a couple of testers.[/url]
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Tue 25 Oct 2011, 11:44 Post subject:
|
|
my personal opinion, is that if you are going to have a wizard run when you get to X that may require restarting X, you may as well start up with Xvesa (on my box it takes less than 0.2 seconds to start Xvesa vs 5-10 seconds for Xorg with intel graphics) let the user select Xorg if they want.
here is a short example
Xvesa -screen 1024x768x16 & sleep .2 && jwm -display :0
(see the pupngo thread for more advanced usage)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6815 Location: Chatham, Kent, UK
|
Posted: Tue 25 Oct 2011, 12:46 Post subject:
|
|
I'll re-suggest an idea that may appeal now.....fastboot, or a variant of it
How about a button that simply says 'run' at the grub stage
.....which when hit fires up a saved setup, AS IF THE PC HAD BEEN PUT TO SLEEP
There would only need to be one question....
Have you changed hardware?
if yes, normal load modules boot
if no, run saved 'suspend to ram' settings/ make the suspend.sh script executable.....should fire up in less than 5 seconds
It's been around since 2003....
http://fchabaud.free.fr/English/Tricks/Laptop/Swsusp/Doc/Software-suspend.html
I'm sure this is possible, and seems to be the way chrome/android is going with fastboot - away from grub, using UEFI
[fastboot entered with kernel 2.6.29]
http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface
http://www.mjmwired.net/kernel/Documentation/x86/boot.txt
http://www.mjmwired.net/kernel/Documentation/x86/x86_64/uefi.txt
Aitch
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Wed 26 Oct 2011, 01:13 Post subject:
|
|
The thing is most of those modules do not _need_ to be loaded for the desktop to start up. In fact, using devtmpfs, it is possible to start up the desktop from the initramfs after only mounting sys proc and dev. this can be done within 1 second depending on system BIOS(I have tested it - still a few bugs to work out) from there it is possible to do the rest of the startup as part of for instance the jwm startup command (a script that is in the jwmrc inside the <Startup></Startup> tag ... this is not currently used in Puppy)
Granted this is a pretty drastic departure from the norm and probably beyond what was intended, but it is a possibility.
The other thing that somewhat cripples puppy is the notion of having to have a union file system. This is simply not the case. It is entirely possible to mount the "save file" as / and then mount any number of squash files (or any other loop filesystem for that matter) as an overlay - either clobbering or non-clobbering (I wrote an implementation of this for jwm_tools that also works with puppy as-is) This is basically what tinycore does and what DSL did.
btw did you know a compress 2gb save file only takes up a few kb - quite simple have various sizes on an iso and to decompress one at startup, rather than having the whole 10 minute first shutdown process that sometimes loses firstrun data anyways.
... food for thought
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6815 Location: Chatham, Kent, UK
|
Posted: Wed 26 Oct 2011, 08:08 Post subject:
|
|
technosaurus wrote: | .....this can be done within 1 second depending on system BIOS(I have tested it - still a few bugs to work out)
Granted this is a pretty drastic departure from the norm and probably beyond what was intended, but it is a possibility. |
I'd be most interested, as I'm sure a few others would, if you ever sort out the bugs....
Aitch
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: Thu 27 Oct 2011, 17:19 Post subject:
|
|
Been away a couple of days so missed these.
I wasn't really looking for a different solution or method of booting.
No, I was simply trying to polish up the existing Puppy startup.
It always seems to me that whenever I show anyone who is used to Windows the Puppy system, they shy at seeing a text startup.
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
Back to top
|
|
 |
recobayu

Joined: 15 Sep 2010 Posts: 293 Location: indonesia
|
Posted: Sat 29 Oct 2011, 20:53 Post subject:
|
|
the animation splash screen is good i think
can you give us the tutorial how to do that?
i'm sorry, but in my oppinion, text mode is better.
when i show my lupu528 to my friend, he is very like it because it's like a proffessional hacker mode on. he has been looking to the walking text like:
searching puppy file . . . and then Done
loading luci528.sfs . . . Done
bla bla bla . . . . Done
it's like the matrix's effect.
and i'll say..
so, the text mode when starting puppy is better than splash screen animation, i think..
i'm sorry, it's just my oppinion.
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: Sun 30 Oct 2011, 08:15 Post subject:
|
|
Hi recobayu,
No problem, everyone has their own opinion.
I too like the text startup BUT the average Windows user has never seen one, so it unsettles them when the text pauses.
As to making the animation, well it's the 'Pebble' server by pizzasgood with a series of single frame pictures played at 20 frames per second. It uses the framebuffer at startup with a grub menu.lst change to graphic mode.
For Puppy regular users there is a getout 'nosplash' which disables frames and displays text at startup.
It requires quite a bit of hacking to the initrd.gz and the Puppy startup scripts.
'Pebble' is in the Additional Software/Unsorted section of forum.
Please be aware that I do not have it running how I like. On my machine because of the grub parameter it will startup OK but at shutdown the text is masked, which leaves you blind as to what is happening.
I made an iso Live CD with 5.2.9 on it which starts and runs. It does pause for the usual start messages between animation but I've yet to get it to shutdown properly and during shutdown display the 'savefile' messages. It is doing it, but in the masked background processing.
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Sun 30 Oct 2011, 14:44 Post subject:
|
|
I posted my improved wait function that can indicate while process(es) run.
Mainly it is to improve boot speed by elimination of long sleeps or wait command
http://bashismal.blogspot.com/2011/10/stop-waiting-on-wait.html
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: Mon 31 Oct 2011, 16:34 Post subject:
|
|
techno*
You mentioned fbsplash in the Pebble thread. Have you any experience trying to run it ?
I've been trying for a few days but no joy.
I modded the init and added
Code: | /bin/busybox fbsplash -s /boot/splash.ppm -c -i /boot/fb.config -f /proc/fbsplash |
but I suspect the paths are wrong.
It appears to be doing something behind the black screen I get when I use vga=785 without a splash pic to load. I got the same result when I made the wrong path using Pebble.
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Mon 31 Oct 2011, 20:36 Post subject:
|
|
Sounds like you need a modprobe fbcon in the init script ...puppy's has some quirky requirement for kms or something like that for it to get loaded and I am unsure at what part it occurrs
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: Tue 01 Nov 2011, 06:19 Post subject:
|
|
Yep modeprobe already in there earlier on, I only posted the fbsplash activate line.
I'm sure it's related to what is loaded paths. I placed it in same position as working Pebble script. i.e just before "Loading Drivers needed to access disk drives" this way the proc etc have loaded.
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Wed 02 Nov 2011, 10:08 Post subject:
|
|
fbcon should be loaded after the framebuffer kernel modules are loaded .
It is [still] not set AFTER User Selected Modules but after Loading Kernel Modules .
fbcon.ko has to be loaded after framebuffer drivers at least for nvidiafb.ko &| nouveau.ko ; loading fbcon first did not work for me .
The Standard Puppy Kernel is configured without framebuffer drivers [both in kernel and as modules ] .
[ I wondered first why these framebuffer drivers are mentioned in the SKIPLIST of /etc/rc.d/MODULESCONFIG ???]
For busybox you have to watch out , that busybox might use /dev/fb/0 [ similar to its losetup applet using /dev/loop/[0-9] ] INSTEAD of /dev/fb0 .
tasmod , what does your fb.conf file looks like ?
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1462 Location: North Lincolnshire. UK
|
Posted: Wed 02 Nov 2011, 14:37 Post subject:
|
|
Hi Karl,
the config is just defaults. Should it have more?
Code: | BAR_LEFT=312
BAR_TOP=550
BAR_WIDTH=400
BAR_HEIGHT=11
BAR_R=64
BAR_G=64
BAR_B=64 |
I've messed around so much i confused myself, so I've started again.
This is now what's in init in initrd.gz
Code: | ###################################################TASMOD FBSPLASH###
modprobe fbcon
mkfifo /tmp/fbsplash.fifo
/bin/busybox fbsplash -s /boot/puppy.jpg -c -d /dev/fb/0 -i /boot/fb.config -f /tmp/fbsplash.fifo
####################################################TASMOD FBSPLASH### |
This code is placed in same spot as the pebble code that worked.
There is also fifo pipes in /boot
EDIT:
Ah, the bulb came on in the brain. Of course, Pebble has a separate pet that adds the framebuffer files !
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Thu 03 Nov 2011, 07:41 Post subject:
|
|
Please make sure /dev/fb/0 exists in the initrd.gz
ls -alF fb*
crwxr--r-- 1 root root 29, 0 2011-06-22 15:59 fb0
I would mkdir the folder fb/ there and copy the already present [initrd-tree] ./dev/fb0 named as '0' into ./dev/fb/ additionally .
I have only experimented with the busybox fbset once on full installation and created
# ls -alF /dev/fb*
crw-rw---- 1 root root 29, 0 2001-02-27 17:58 /dev/fb0
crw-rw---- 1 root 5 29, 1 2002-04-16 03:49 /dev/fb1
crw-rw---- 1 root 5 29, 2 2002-04-16 03:49 /dev/fb2
crw-rw---- 1 root 5 29, 3 2002-04-16 03:49 /dev/fb3
/dev/fb:
total 28
drwxr-xr-x 2 root root 4096 2011-07-03 20:52 ./
drwxrwxr-x 15 root root 20480 2011-11-03 11:40 ../
lrwxrwxrwx 1 root root 6 2011-07-03 20:48 0 -> ../fb0
lrwxrwxrwx 1 root root 6 2011-07-03 20:52 1 -> ../fb1
lrwxrwxrwx 1 root root 6 2011-07-03 20:52 2 -> ../fb2
lrwxrwxrwx 1 root root 6 2011-07-03 20:52 3 -> ../fb3
lrwxrwxrwx 1 root root 6 2011-07-03 20:52 4 -> ../fb4
# file /dev/fb/4
/dev/fb/4: broken symbolic link to `../fb4'
for that purpose . Still Much Luck !
|
Back to top
|
|
 |
|