On Monday 12 December 2005 18:21, Denis Oliver Kropp wrote:
> Did you try "df_layer /dev/video0"?

I'm testing with df_layer, but it seems the read() in pipe_peek() always 
returns -1/EAGAIN for /dev/video0, resulting in 

(#) DirectFBError [dfb->CreateVideoProvider failed]: Resource is busy!

Anyone have an idea what that could signify? Do I have to set up the video0 
device somehow, before starting df_layer?

See below for full output.

Cheers!

    Rob



[EMAIL PROTECTED] ~]# df_layer /dev/video0 > out 2>&1

Output:

(-) [  NO NAME         0.000] (17581) DirectFB/Config: Unable to open config 
file `/etc/directfbrc'!
(-) [  NO NAME         0.000] (17581) DirectFB/Config: Unable to open config 
file `/root/.directfbrc'!
(-) [  NO NAME         0.000] (17581) DirectFB/Config: Unable to open config 
file `/etc/directfbrc.df_layer'!
(-) [  NO NAME         0.000] (17581) DirectFB/Config: Unable to open config 
file `/root/.directfbrc.df_layer'!

       ---------------------- DirectFB v0.9.25 ---------------------
             (c) 2000-2002  convergence integrated media GmbH  
             (c) 2002-2004  convergence GmbH                   
        -----------------------------------------------------------

(-) [  NO NAME         0.000] (17581) DirectFB/Core:     dfb_core_create...
(-) [  NO NAME         0.000] (17581) Direct/Main:       direct_initialize() 
called...
(-) [Main Thread       0.000] (17581) Direct/Main:       ...initializing now.
(-) [Main Thread       0.000] (17581) Direct/Signals:    Initializing...
(*) DirectFB/Core: Single Application Core. (2005-12-14 05:31) [ DEBUG ]
(-) [Main Thread       0.000] (17581) Direct/Modules:    Loading 
'/opt/sol/external/lib/directfb-0.9.25-debug/systems/libdirectfb_fbdev.so'...
(-) [Main Thread       0.001] (17581) Direct/Modules:    Registering 
'fbdev' ('/opt/sol/external/lib/directfb-0.9.25-debug/systems')
(-) [Main Thread       0.001] (17581) Direct/Modules:    ...registered.
(-) [Main Thread       0.001] (17581) Direct/Modules:    Loading 
'/opt/sol/external/lib/directfb-0.9.25-debug/systems/libdirectfb_sdl.so'...
(-) [Main Thread       0.011] (17581) Direct/Modules:    Registering 
'sdl' ('/opt/sol/external/lib/directfb-0.9.25-debug/systems')
(-) [Main Thread       0.011] (17581) Direct/Modules:    ...registered.
(-) [Main Thread       0.011] (17581) Direct/Memcpy:     Benchmarking memcpy 
methods (smaller is better):
(-) [Main Thread       0.056] (17581) Direct/Memcpy:            libc            
        
13921645
(-) [Main Thread       0.070] (17581) Direct/Memcpy:            linux           
        
13983375
(-) [Main Thread       0.084] (17581) Direct/Memcpy:            mmx             
        
13935611
(-) [Main Thread       0.094] (17581) Direct/Memcpy:            mmxext          
         
9648953
(-) [Main Thread       0.105] (17581) Direct/Memcpy:            sse             
        
10933000
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(-) [Main Thread       0.106] (17581) Direct/Main:       direct_initialize() 
called...
(-) [Main Thread       0.106] (17581) Direct/Main:       ...2 references now.
(-) [Main Thread       0.106] (17581) Direct/Signals:    Adding handler 
0xb7fb0b78 for signal -1 with context 0x804d850...
(-) [Main Thread       0.106] (17581) DirectFB/Core:     Initializing...
(-) [Main Thread       0.106] (17581) Core/Parts:        Going to initialize 
'clipboard' core...
(-) [Main Thread       0.106] (17581) Core/Parts:        Going to initialize 
'colorhash' core...
(-) [Main Thread       0.106] (17581) Core/Parts:        Going to initialize 
'system' core...
(-) [VT Switcher       0.166] (17593) Direct/Signals:    Blocking all signals 
from now on!
(-) [VT Switcher       0.257] (17593) DirectFB/fbdev/vt: vt_thread (-1)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 17593)...
(-) [Main Thread       0.257] (17581) Core/Parts:        Going to initialize 
'input' core...
(-) [Main Thread       0.258] (17581) Direct/Modules:    Loading 
'/opt/sol/external/lib/directfb-0.9.25-debug/inputdrivers/libdirectfb_keyboard.so'...
(-) [Main Thread       0.258] (17581) Direct/Modules:    Registering 
'keyboard' ('/opt/sol/external/lib/directfb-0.9.25-debug/inputdrivers')
(-) [Main Thread       0.258] (17581) Direct/Modules:    ...registered.
(-) [Main Thread       0.258] (17581) Direct/Modules:    Loading 
'/opt/sol/external/lib/directfb-0.9.25-debug/inputdrivers/libdirectfb_sdlinput.so'...
(-) [Main Thread       0.267] (17581) Direct/Modules:    Registering 
'sdlinput' ('/opt/sol/external/lib/directfb-0.9.25-debug/inputdrivers')
(-) [Main Thread       0.267] (17581) Direct/Modules:    ...registered.
(-) [Main Thread       0.268] (17581) Direct/Modules:    Loading 
'/opt/sol/external/lib/directfb-0.9.25-debug/inputdrivers/libdirectfb_ps2mouse.so'...
(-) [Main Thread       0.268] (17581) Direct/Modules:    Registering 
'ps2mouse' ('/opt/sol/external/lib/directfb-0.9.25-debug/inputdrivers')
(-) [Main Thread       0.268] (17581) Direct/Modules:    ...registered.
(-) [Main Thread       0.268] (17581) DirectFB/Input: Probing 'PS/2 Mouse 
Driver'...
(-) [Main Thread       0.318] (17581) DirectFB/Input: 1 available device 
provided by 'PS/2 Mouse Driver'.
(-) [PS/2 Input        0.368] (17608) Direct/Signals:    Blocking all signals 
from now on!
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 17608)...
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:853]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(-) [Main Thread       0.408] (17581) DirectFB/Input: Probing 'SDL Input 
Driver'...
(-) [Main Thread       0.408] (17581) DirectFB/Input: Probing 'Keyboard 
Driver'...
(-) [Main Thread       0.408] (17581) DirectFB/Input: 1 available device 
provided by 'Keyboard Driver'.
(-) [Keyboard Input    0.408] (17612) Direct/Signals:    Blocking all signals 
from now on!
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 17612)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(-) [Main Thread       0.408] (17581) Core/Parts:        Going to initialize 
'gfxcard' core...
(*) DirectFB/Genefx: MMX detected and enabled
(-) [Main Thread       0.408] (17581) Direct/Modules:    Loading 
'/opt/sol/external/lib/directfb-0.9.25-debug/gfxdrivers/libdirectfb_unichrome.so'...
(-) [Main Thread       0.409] (17581) Direct/Modules:    Registering 
'unichrome' ('/opt/sol/external/lib/directfb-0.9.25-debug/gfxdrivers')
(-) [Main Thread       0.409] (17581) Direct/Modules:    ...registered.
(*) DirectFB/Graphics: VIA/S3G CLE266/UniChrome 0.4 (-)
(-) [Main Thread       0.410] (17581) Core/Parts:        Going to initialize 
'screens' core...
(-) [Main Thread       0.410] (17581) Core/Parts:        Going to initialize 
'layers' core...
(-) [Main Thread       0.410] (17581) DirectFB/FBDev: dfb_fbdev_set_mode 
(surface: (nil), mode: 0xbffff588, buffermode: 1)
(-) [Main Thread       0.410] (17581) DirectFB/FBDev:           720x576-50  
720x 576  
(-) [Main Thread       0.410] (17581) DirectFB/FBDev: dfb_fbdev_set_mode 
(surface: (nil), mode: 0xbffff588, buffermode: 1)
(-) [Main Thread       0.411] (17581) DirectFB/FBDev:           640x480-60  
640x 480  

[snip many more modes]

(-) [Main Thread       0.415] (17581) DirectFB/FBDev: dfb_fbdev_set_mode 
(surface: (nil), mode: 0xbffff588, buffermode: 1)
(-) [Main Thread       0.415] (17581) DirectFB/FBDev:         1600x1200-76 
1600x1200  
(-) [Main Thread       0.415] (17581) DirectFB/FBDev: dfb_fbdev_set_mode 
(surface: (nil), mode: (nil), buffermode: 1)
(-) [Main Thread       0.415] (17581) Core/Parts:        Going to initialize 
'wm' core...
(-) [Main Thread       0.415] (17581) Direct/Modules:    Loading 
'/opt/sol/external/lib/directfb-0.9.25-debug/wm/libdirectfbwm_default.so'...
(-) [Main Thread       0.416] (17581) Direct/Modules:    Registering 
'default' ('/opt/sol/external/lib/directfb-0.9.25-debug/wm')
(-) [Main Thread       0.416] (17581) Direct/Modules:    ...registered.
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
(-) [Main Thread       0.416] (17581) DirectFB/Core:     Core successfully 
created.
(-) [Main Thread       0.416] (17581) Core/Layers:       
dfb_layer_get_primary_context (VIA CLE266 Graphics, activate) <- active: -1
(-) [Main Thread       0.416] (17581) Core/Layers:       
dfb_layer_create_context (VIA CLE266 Graphics)
(-) [Main Thread       0.416] (17581) Fusion/Object:     == Layer Context Pool 
==
(-) [Main Thread       0.416] (17581) Fusion/Object:       -> added 0x80569c0
(-) [Main Thread       0.416] (17581) Core/Layers:       
dfb_layer_context_create -> 0x80569c0
(-) [Main Thread       0.416] (17581) Core/Layers:       
dfb_layer_activate_context (VIA CLE266 Graphics, 0x80569c0)
(-) [Main Thread       0.416] (17581) Core/Layers:       
dfb_layer_context_activate (0x80569c0)
(-) [Main Thread       0.416] (17581) Core/Layers:       
dfb_layer_get_primary_context (VIA CLE266 Graphics, activate) <- active: 0
(-) [Main Thread       0.416] (17581) DirectFB/FBDev: dfb_fbdev_set_mode 
(surface: (nil), mode: 0x804f7c0, buffermode: 2)
(#) DirectFBError [dfb->CreateVideoProvider failed]: Resource is busy!
 (!!!)  *** WARNING [Application exited without deinitialization of DirectFB!] 
*** [core.c:747 in dfb_core_deinit_check()]
(-) [Main Thread       0.495] (17581) DirectFB/Core:     dfb_core_destroy...
(-) [Main Thread       0.495] (17581) Direct/Signals:    Removing handler 
0xb7fb0b78 for signal -1 with context 0x804d850...
(-) [Main Thread       0.495] (17581) DirectFB/Core:     Shutting down...
(-) [Main Thread       0.495] (17581) Core/Parts:        Going to shutdown 
'wm' core...
(-) [Main Thread       0.495] (17581) Core/Parts:        Going to shutdown 
'layers' core...
(-) [Main Thread       0.495] (17581) Core/Parts:        Going to shutdown 
'screens' core...
(-) [Main Thread       0.495] (17581) Core/Parts:        Going to shutdown 
'gfxcard' core...
(-) [Main Thread       0.496] (17581) Core/Parts:        Going to shutdown 
'input' core...
(-) [Main Thread       0.496] (17581) Direct/Thread:     Canceling 17608.
(-) [Main Thread       0.496] (17581) Direct/Thread:     Canceling 17612.
(-) [Main Thread       0.497] (17581) Core/Parts:        Going to shutdown 
'system' core...
(!) [Main Thread       0.497] (17581) *** Assertion [pool != NULL] failed *** 
[fbdev.c:625 in system_shutdown()]
(-) [Main Thread       0.497] (17581) Direct/Assertion: Sending SIGTRAP to 
process group 17581...
(!) [17581:    0.497] --> Caught signal 5 (sent by pid 17581, uid 0) <--




-- 
I explode like a bomb. No-one is spared. 
My power is my mass times the speed of light squared.

    - MC Hawking

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to