Hi everyone -
I'm having issues with the SurfacePools in DFB 1.3 with devmem. I'm
attempting to modify devmem slightly to use a simple block of memory that I
provide rather than /dev/mem, but I get errors when running some of the test
utilities.
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed!
-> No virtual resolution support or not enough memory?
Falling back to system back buffer.
(!) DirectFB/DirectFBCreate: Setting system memory desktop back buffer
failed!
-> Using front buffer only mode.
(!!!) *** WARNING [workaround] *** [surfacemanager.c:194 in
dfb_surfacemanager_allocate()]
(!!!) *** UNIMPLEMENTED [dfb_surface_pool_displace] ***
[surface_pool.c:745]
(!) Core/SurfBuffer: Buffer allocation failed!
--> General failure!
In devmemInitPool(), it calls dfb_surfacemanager_create() with
dfb_config->video_length, which I have set to the byte-size of my memory
block. This isn't big enough, however, as dfb_gfxcard_calc_buffer_size() in
dfb_surfacemanager_allocate() returns a size slightly larger as the needed
size.
Even punting on this and creating a surfacemanager with a size double the
video_length, I still get the various warnings and eventual failures.
The test program I am using is dfbteset_window. Does anybody have any ideas
what's going on? Is devmem broken in DFB 1.3?
Thanks,
Justin
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev