I am trying to get DirectFB to work with a virtual frame buffer, but when ever I run dfb, I get this:

(!) DirectFB/FBDev: No supported modes found in /etc/fb.modes and current mode not supported!
(!) DirectFB/FBDev: Current mode's pixelformat: rgba 8/0, 8/0, 8/0, 0/0 (8bit)
(!) DirectFB/FBDev: Specified mode (640x480) not supported or not defined in '/etc/fb.modes'!
(!) DirectFB/FBDev: Using default mode (640x400) instead!

I have the right mode set in fb.modes for 16 bit.  I at first thought that the 1M vfb gives you was not enough, so I upped to 16M, but I still get the same thing.  Is there something else I need to do?  (I am not that familiar with framebuffers).

Also, can anyone recomend a good book on writing framebuffers?  The reason I want the vfb, is because I now have to use a DMA to write to the video memory, so I figured that I would write to memory, then have the DMA push it to the video mem.  But I would love to know if there is a better way by writting my own FB to use the DMA.

Thanks,
-Matt S.

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

Reply via email to