DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: Initial image
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Re: Initial image



Quoting Andreas Kotes:
> Heya,
> 
> * Jan Ekholm <chakie@infa.abo.fi> [20040428 08:46]:
> > Is it possible to set some kind of "initial image" that would be set after
> > the framebuffer has been initialized? I always just see garbage, quite
> > often something from before the last reboot. Warm reboots don't seem to
> > clear the framebuffer, and I'd like to have something else there, such as
> > a DirectFB logo or similar.
> > 
> > I can of course do it using a custom app or DFBSee, but they have to be
> > left running, as soon as I kill them the image becomes garbage that
> > slightly resembles what the original image was. What I'm looking for is
> > thus an app or "thing" that sets an image to the framebuffer and then
> > exits, leaving the framebuffer free for the main application that will be
> > started once the system is fully up and running.
> > 
> > I hope my ramblings make any sense?
> 
> sure does. how about pure ignorance:
> 
> cat /dev/fb0 > your_file.raw
> 
> .. with what you want on screen .. and:
> 
> cat your_file.raw > /dev/fb0
> 
> .. to show it on boot.

dd if=/dev/fb0 of=your_file.raw bs=1024k count=2

and

dd if=/dev/fb0 of=your_file.raw bs=1024k count=2


Should be faster and saves disk space, especially with newer cards ;)

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info: To unsubscribe send a mail to ecartis@directfb.org with 
"unsubscribe directfb-users" as subject.



Home | Main Index | Thread Index


directfb.org / Development / Old Archives