Gabor,
Wikipedia says:
"By default VirtualBox provides graphics support through a custom
virtual graphics card which is VESA compatible."
Why are you trying to use the devmem subsystem?
Devmem requieres a dedicated DirectFB gfxdriver, i.e. it works only
in combination with a supported graphics card and a corresponding
(devmem-) gfxdriver.
dfbinfo tells you:
(!) IDirectFB_Construct: No layers available! Missing driver?
(#) DirectFBError [DirectFBCreate() failed]: Not supported!
so you're certainly missing a devmem gfxdriver, as I said above.
For your setup, there's no point in trying to use devmem, as you have
an emulated "custom" graphics card in VirtualBox and, additionally,
fbset tells you that you have a "VGA16" framebuffer
Anyway, most gfxdrivers in DirectFB are drivers for the more common
fbdev system which uses the linux framebuffer kernel interface to
talk to the graphics hardware.
As VirtualBox's emulated gfx card seems to be VESA compatible
according to Wikipedia, why don't you try to set up the vesafb
frame buffer driver at boot time.
Also, you don't need all the stuff you have in your .directfbrc file,
except maybe mmx (so why do you disable it?). Anyway, it might be a
good idea to start with an empty .directfrc . So, use fbdev. At startup,
if DirectFB doesn't find a suitable gfxdriver, it will automatically
revert to software rendering, which is what you want.
If I try it with FB instead of DEVMEM:
(!) [Main Thread 0.000] (
3999) *** Assertion [call->handler == NULL]
failed *** [call.c:526 in fusion_call_init()]
(!) [ 3999: 0.000] --> Caught signal 5
(unknown origin) <--
(!) DirectFB/core/vt: Unable to disallocate VT!
--> Device or resource busy
(!) [Main Thread 0.384] (
3999) *** Assertion [skirmish->single !=
NULL] failed *** [lock.c:666 in fusion_skirmish_destroy()]
(!) [ 3999: 0.384] --> Caught signal 5
(unknown origin) <--
It looks like there is a problem with fusion, i.e. with the "fusion
fake", as you didn't compile DirectFB with multi application support.
You could try to configure multi app support and then recompile and
reinstall DirectFB. Maybe this helps
Are you using the latest DirectFB (from git)? If your problem doesn't
go away, I would see if I could upgrade, or downgrade my DirectFB...
Hope this helps...
Oliver
Am 02.08.2010 06:54, schrieb hong zhang:
what is in directfbrc file?
--- On Fri, 7/30/10, fisherg <fish...@freemail.hu> wrote:
From: fisherg <fish...@freemail.hu>
Subject: [directfb-users] DirectFB for font drawing with FB and VFB/DEVMEM
config problem - driver missing
To: directfb-users@directfb.org
Date: Friday, July 30, 2010, 1:35 AM
Hello everybody,
I would like to use DirectFB in the future on a PowerPC,
running Linux,
without video card or any input, with virtual framebuffer.
Now for debugging I'm trying with Ubuntu on my Oracle
VirtualBox with video
card, but I have some problem with configuring it. For
debugging I try to
use devmem () to access the memory.
After installation I try to configure it in directfbrc with
(even I don't
know what sould I use for video-phys and length, I saw
these values in
forum):
system=devmem
no-hardware
software
no-mmx
video-phys=0x83000000
video-length=691200
no-debug
With fbset-i I get:
mode "640x480-60"
# D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
geometry 640 480 640 480 4
timings 39721 48 16 33 10 96 2
rgba 6/0,6/0,6/0,0/0
endmode
Frame buffer device information:
Name : VGA16 VGA
Address : 0xa0000
Size : 65536
Type : VGA 16
colors in 4 planes
Visual : PSEUDOCOLOR
XPanStep : 8
YPanStep : 1
YWrapStep : 0
LineLength : 80
Accelerator : No
When running dbinfo I get:
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3
|~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world
wide DirectFB Open Source Community
(c) 2000-2004 Convergence
(integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-07-28
12:50) [ DEBUG ]
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT
OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT
OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Joystick 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected, but disabled by option
'no-mmx'
(!!!) *** ONCE [Joystick sends JS_EVENT_INIT events,
make sure it has been
calibrated using 'jscal -c'
] *** [joystick.c:99 in joystick_handle_event()]
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6
(directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) IDirectFB_Construct: No layers available! Missing
driver?
(#) DirectFBError [DirectFBCreate() failed]: Not
supported!
Interface instances remaining (1):
- 'IDirectFB' at 0x946b7f0 (dfb) allocated in
DirectFBCreate (directfb.c:
197)
If I try it with FB instead of DEVMEM:
(!) [Main Thread 0.000] (
3999) *** Assertion [call->handler == NULL]
failed *** [call.c:526 in fusion_call_init()]
(!) [ 3999: 0.000] --> Caught signal 5
(unknown origin) <--
(!) DirectFB/core/vt: Unable to disallocate VT!
--> Device or resource busy
(!) [Main Thread 0.384] (
3999) *** Assertion [skirmish->single !=
NULL] failed *** [lock.c:666 in fusion_skirmish_destroy()]
(!) [ 3999: 0.384] --> Caught signal 5
(unknown origin) <--
Please help me to go on with this project!
Thanks,
Gabor Halasz
--
View this message in context:
http://old.nabble.com/DirectFB-for-font-drawing-with-FB-and-VFB-DEVMEM-config-problem---driver-missing-tp29293773p29293773.html
Sent from the DirectFB Users mailing list archive at
Nabble.com.
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users