主题 : 求教 DirectFB(1.5.3) 交叉编译 Mini6410 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 41867
精华: 0
发帖: 58
金钱: 300 两
威望: 60 点
综合积分: 116 分
注册时间: 2011-04-01
最后登录: 2015-01-04
楼主  发表于: 2011-12-24 03:38

 求教 DirectFB(1.5.3) 交叉编译 Mini6410

请教各位高手:我的配置项./configure CC=arm-linux-gcc --host=arm-linux --enable-shared=yes --enable-freetype=yes --enable-linotype=no --enable-png=yes --enable-static=no --with-gfxdrivers=none --enable-x11=no --enable-fbdev=no --enable-devmem=no --enable-multi=no --with-inputdrivers=all --prefix=$PREFIX

jpegv8 libpng freetype 都装了

运行df_andi时

directfbrc
system=fbdev
fbdev=/dev/fb0
wm=default
mode=320x240
depth=32
pixelformat=RGB32


报如下错:
   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.5.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2010  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2011-12-24 03:21)
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/FBDev: Found 's3cfb' (ID 0) with frame buffer at 0x5d780000, 510k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'Hotplug with Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/DirectFBCreate: Setting desktop resolution to 0x0 failed!
     -> Using default resolution.
(!) DirectFB/DirectFBCreate: Setting desktop format failed!
     -> Using default format.
(!) 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.
(!) DirectFB/core/layers: Could not set primary region config!
    --> The requested operation or an argument is (currently) not supported
(!) InitLayers: Could not get primary region of layer 0!
    --> The requested operation or an argument is (currently) not supported
df_andi.c <472>:
    (#) DirectFBError [DirectFBCreate( &dfb )]: The requested operation or an argument is (currently) not supported

先谢谢啦!!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2011-12-24 13:35
(!) DirectFB/DirectFBCreate: Setting desktop resolution to 0x0 failed!
     -> Using default resolution.
(!) DirectFB/DirectFBCreate: Setting desktop format failed!
     -> Using default format.
(!) 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.
(!) DirectFB/core/layers: Could not set primary region config!
    --> The requested operation or an argument is (currently) not supported
(!) InitLayers: Could not get primary region of layer 0!
    --> The requested operation or an argument is (currently) not supported
df_andi.c <472>:
    (#) DirectFBError [DirectFBCreate( &dfb )]: The requested operation or an argument is (currently) not supported

看起来像是frame buffer的分辨率设置有问题
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 41867
精华: 0
发帖: 58
金钱: 300 两
威望: 60 点
综合积分: 116 分
注册时间: 2011-04-01
最后登录: 2015-01-04
2楼  发表于: 2011-12-24 15:11

 回 1楼(kasim) 的帖子

您是对的,的确分辨率设置有问题。谢谢版主!!!