Framebuffer graphics WITHOUT /dev/fb#
Im coding a 2d game engine for the AMD Geode-LX embedded system under Linux.
AMD Provide drivers patches for the Kernel and Xorg to use what little hardware acceleration this device has to offer..
These Patches include
1) X11 Graphics Driver 9 would prefere not to use X11 )
( Works Well, But i was hoping to keep the system small, and rediuce the overhead )
2) Frame Buffer Driver.... ( preffered choice )
HOWEVER... this framebuffer driver appears to be broken and in-complete
with absolutly no documentation.
The kernel will happily use this framebuffer driver to devliver the standard 'framebuffer console complete with penguin logo'
but any attempts to use /dev/fbX fail miserably....
IOCTL's work fine as expected, allowing me to pan the display / change screen_var_info...
however, ad attempt to read / write to /dev0 fails !!
linux reports the block device as being of size zero.
all attempts to mmap it fail.
fbset reports the framebufer address as NIL.
Which Leads me to my final question...
The kernel is able to take advantage of this hardware accelerated framebuffer ( it can dump text to the screen far faster than the generic vesa framebuffer )
it seemss to just be the block device driver that is borked !
from userspace.... is there a way of performing the usual framebuffer activities without the /dev/fb0 block device ?????
I am running Linux 2.6.11, currently with a gentoo environment ( but later plan to create a nice customised distro with help from LFS )