Dear DirectFB experts,

I'm making myself a digital photo frame using a mini-ITX board with a 
small flash disk, and I think I want to use DirectFB for rendering the 
photos onto the display.  Perhaps first I should ask if you think that 
DirectFB is the right tool for the job: I haven't done any non-X 
graphics before, and the differences between svgalib, directfb, GGI, 
SDL and a few others are hard to understand.  Basically at first I just 
want to display a JPEG occupying the whole screen, preferably with a 
fairly easy way to fade it in and out.  In the future I might want to 
do some basic text and on-screen-display type rendering.  Is directfb 
the way to go?

Anyway, so far I have compiled and run the "image loading and 
displaying" tutorial, and it works as expected.  Good.  I also read the 
"features and concepts overview" document which made the concepts 
clear.  Thanks for these docs.

But the one thing that isn't working right yet is the screen 
resolution.  I'm using the VIA framebuffer driver by David Boucher (not 
the directfb one; I believe they have similar features).  From the 
console I can set the screen resolution using fbset.  When I start my 
directfb program, however, it changes back to 640x480 for the 
duration.  When it terminates it goes back to the console at the fbset 
resolution.

So my question is: is the screen resolution set from within the 
directfb program, or can it be so set?  If not, why does the resolution 
change when it starts up?  I get the feeling that it is something to do 
with virtual consoles, or multiple framebuffers, or something like 
that.  Any ideas?  (Maybe there is some documentation that I have missed?)

Thanks,

Phil.





_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to