Olá,
sou novo aqui no fórum, e estou tentando compilar o Ginga-NCL em C++. Tive diversos problemas e usei o fórum para resolver a maioria deles.
Todos os arquivos estão compilando, no entanto, quando vou rodar o programa aparece o seguinte erro:
DirectFBError [GfxManager IDirectFBScreen::TestConfiguration]: Not supported!
Pelo que li, isso diz respeito ao Directfb-extra, mas ele está instalado, juntamente com o Xine (sem o FFMPEG). Estou usando o Ubuntu 7.04 com o processador AMD64.
Já tenti reinstalar tudo, usando somente o FFMPEG, somente o Xine e os dois, mas sempre o mesmo erro acontece.
Alguma sugestão ??
Obrigado pela ajuda!!
Beto
Autor: Beto Valenca
1212 comentários
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2007-10-17 13:16)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(*) Direct/Thread: Running 'X11 Input' (INPUT, 6288)...
(*) DirectFB/Input: X11 Input 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) X11/Display: Using XShm.
(#) DirectFBError [GfxManager IDirectFBScreen::TestConfiguration]: Not supported! Valeu! Beto
Sugiro desabilitar as opcoes do servidor X na instalacao do DirectFB (veja como em './configure --help' do directfb). Uma saida interessante para sua chamada nao deveria ter essas linhas: (*) Direct/Thread: Running 'X11 Input' (INPUT, 6288)...
(*) DirectFB/Input: X11 Input 0.1 (directfb.org)
(*) X11/Display: Using XShm. Sds. Marcio
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2007-10-29 13:56)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 19805)...
(*) Direct/Thread: Running 'Linux Input' (INPUT, 19808)...
(*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 19809)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 19810)...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 19811)...
(*) DirectFB/Input: ImPS/2 Logitech Wheel Mouse (4) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 19812)...
(*) DirectFB/Input: Power Button (FF) (5) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 19813)...
(*) DirectFB/Input: Power Button (CM) (6) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 19814)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 19815)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
--> Invalid argument
(#) DirectFBError [GfxManager IDirectFBScreen::TestConfiguration]: Not supported!
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::replace
(!) [19804: 0.000] --> Caught signal 6 (unknown origin) <--
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
Aborted (core dumped) O problema ainda está com o DirectFB ?? Obrigado pela ajuda
Beto
Moreno
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
df_andi.c <462>:
(#) DirectFBError [DirectFBCreate( &dfb )]: Initialization error! Vocês podem me ajudar? Abraços Emerson
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2007-10-29 13:56)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 20473)...
(*) Direct/Thread: Running 'Linux Input' (INPUT, 20476)...
(*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 20477)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 20478)...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 20479)...
(*) DirectFB/Input: ImPS/2 Logitech Wheel Mouse (4) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 20480)...
(*) DirectFB/Input: Power Button (FF) (5) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 20481)...
(*) DirectFB/Input: Power Button (CM) (6) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 20482)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 20483)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
--> Invalid argument
(#) DirectFBError [GfxManager IDirectFBScreen::TestConfiguration]: Not supported!
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::replace
(!) [20470: 0.000] --> Caught signal 6 (unknown origin) <--
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
Aborted (core dumped) Abraços,
Beto
Moreno
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2008-01-29 19:41) (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <10485760>...
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...
(*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Surface: Allocated 640x480 16bit RGB16 buffer at offset 0 and pitch 1280.
(*) FBDev/Mode: (Post)Setting 640x480 RGB16
(*) FBDev/Mode: Switched to 640x480 (640x480) at 16 bit RGB16 (wanted RGB16).
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
--> Invalid argument
(*) FBDev/Mode: Testing 640x480 RGB16
(*) FBDev/Mode: Preparing switch to 640x480 RGB16
(*) FBDev/Mode: (Post)Setting 640x480 RGB16
(*) FBDev/Mode: Testing 640x480 RGB16
(#) DirectFBError [GfxManager IDirectFBScreen::TestConfiguration]: Not supported!
AVPlayer constructor
GfxManager.cpp <318>:
(#) DirectFBError [dfb->CreateVideoProvider(dfb, mrl, &provider)]: No (suitable) implementation found!
(!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:858 in dfb_core_deinit_check()]
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()] [root@localhost ~]# fbset -i mode "640x480-73"
# D: 30.720 MHz, H: 36.923 kHz, V: 73.260 Hz
geometry 640 480 640 480 16
timings 32552 80 32 16 4 80 4
rgba 5/11,6/5,5/0,0/0
endmode Frame buffer device information:
Name : VESA VGA
Address : 0xf0000000
Size : 1228800
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 1280
Accelerator : No [root@localhost ~]# cat /boot/grub/grub.conf default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 vga=785 video=vesafb:ywrap,mtrr rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img Se alguem puder dar uma dica, ou caso o Beto tenha encontrado uma solução me ajude. Att