Hello!
I have some problem when trying to make SDL running whit DirectFB and CLE266
ship set.
I am compiled SDL with DirectFB support and set environment variable ?SDL_VIDEODRIVER=directfb?.
After make install and ldconfig, I compiled programs of test-directory.
. Runing “testvidinfo -benchmark” works fine I think, but when I run ?testvidinfo?
without any parameter, I get error show below. ?caught signal 11? error
message comes ?about hundreds times?.
Same problem crash Freevo, when I play music, but works fine (?) when I play
divx-movie. SDL and mplayer use directfb for output both and DirectFB have
compiled with SDL support.
I think DirectFB works fine. I can play divx by ?mplayer ?vo directfb? and
run some test program. Below some information about DirectFB.
Can any one point me where I have something to fix? What to do, what looking
for?
What is difference exit of testvidinfo program with and without parameter?
My board is via apia M series and it?s running Redhat 9.0 and 2.4.24 kernel
whit ?epia patch?. DirectFB v0.9.20 and SDL 1.2.6.
Thanks
Wiljam______________________
And some statistics
Dfbinfo, testvidinfo with and without parameters.
[root at Epia-ITX test]# dfbinfo
(*) parsing config file ‘/etc/directfbrc’.
---------------------- DirectFB v0.9.20 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2003 convergence GmbH
-----------------------------------------------------------
() Single Application Core. (with MMX support) (2004-01-06 11:08)
() DirectFB/misc/memcpy: using linux kernel memcpy()
() DirectFB/InputDevice: IMPS/2 Mouse 0.9 (convergence integrated media
GmbH)
() DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
() MMX detected and enabled
() DirectFB/GraphicsDevice: VIA/S3G UniChrome 0.3 (-)
(*) DirectFB/Layer: Enabled ‘FBDev Primary Layer’.
Display Layers
(00) FBDev Primary Layer (primary layer)
Type: graphics
Caps: brightness contrast saturation surface
(01) VIA CLE266 Overlay
Type: graphics picture video
Caps: opacity screen_location surface
Input Devices
(01) IMPS/2 Mouse (primary mouse)
Type: mouse
Caps: axes buttons
(00) Keyboard (primary keyboard)
Type: keyboard
Caps: keys
[root at Epia-ITX test]# ./testvidinfo
(*) parsing config file ‘/etc/directfbrc’.
---------------------- DirectFB v0.9.20 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2003 convergence GmbH
-----------------------------------------------------------
() Single Application Core. (with MMX support) (2004-01-06 11:08)
() DirectFB/misc/memcpy: using libc memcpy()
() DirectFB/InputDevice: IMPS/2 Mouse 0.9 (convergence integrated media
GmbH)
() DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
() MMX detected and enabled
() DirectFB/GraphicsDevice: VIA/S3G UniChrome 0.3 (-)
(*) DirectFB/Layer: Enabled ‘FBDev Primary Layer’.
Video driver: directfb
Current display: 16 bits-per-pixel
Red Mask = 0x0000f800
Green Mask = 0x000007e0
Blue Mask = 0x0000001f
Fullscreen video modes:
800x600x16
A window manager is available
Hardware surfaces are available (32768K video memory)
Copy blits between hardware surfaces are accelerated
Colorkey blits between hardware surfaces are accelerated
Alpha blits between hardware surfaces are accelerated
Color fills on hardware surfaces are accelerated
(!) [22635: 0.000] --> Caught signal 11(!) [22635: 0.000] --> Caught
signal 11(!) [22635: 0.000] --> Caught signal 11(!) [22635: 0.000]
–> Caught signal 11(!) [22635: 0.000] --> Caught signal 11 … hudred
of times.
[root at Epia-ITX test]# ./testvidinfo -benchmark
(*) parsing config file ‘/etc/directfbrc’.
---------------------- DirectFB v0.9.20 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2003 convergence GmbH
-----------------------------------------------------------
() Single Application Core. (with MMX support) (2004-01-06 11:08)
() DirectFB/misc/memcpy: using MMX optimized memcpy()
() DirectFB/InputDevice: IMPS/2 Mouse 0.9 (convergence integrated media
GmbH)
() DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
() MMX detected and enabled
() DirectFB/GraphicsDevice: VIA/S3G UniChrome 0.3 (-)
(*) DirectFB/Layer: Enabled ‘FBDev Primary Layer’.
Video driver: directfb
Current display: 16 bits-per-pixel
Red Mask = 0x0000f800
Green Mask = 0x000007e0
Blue Mask = 0x0000001f
Fullscreen video modes:
800x600x16
A window manager is available
Hardware surfaces are available (32768K video memory)
Copy blits between hardware surfaces are accelerated
Colorkey blits between hardware surfaces are accelerated
Alpha blits between hardware surfaces are accelerated
Color fills on hardware surfaces are accelerated
Setting video mode: 640x480 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
SDL DirectFB_SetVideoMode: 640x480 at 8, flags: 0x00000000
(!?!) *** BUG ALERT [Unexpected pixelformat!] *** uc_hwset.c (147)
Running color fill and fullscreen update test
768 fills and flips in 15.38 seconds, 49.95 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 10.86 seconds, 46.04 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 10.12 seconds, 49.42 FPS
Setting video mode: 640x480 at 8 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
SDL DirectFB_SetVideoMode: 800x600 at 8, flags: 0x80000000
(!?!) *** BUG ALERT [Unexpected pixelformat!] *** uc_hwset.c (147)
Flags didn’t match: 0x00000000 SDL_SWSURFACE
Setting video mode: 640x480 at 8 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
SDL DirectFB_SetVideoMode: 800x600 at 8, flags: 0x80000001
(!?!) *** BUG ALERT [Unexpected pixelformat!] *** uc_hwset.c (147)
Flags didn’t match: 0x00000001 SDL_HWSURFACE
Setting video mode: 640x480 at 8 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN
| SDL_DOUBLEBUF
SDL DirectFB_SetVideoMode: 800x600 at 8, flags: 0xc0000001
(!?!) *** BUG ALERT [Unexpected pixelformat!] *** uc_hwset.c (147)
(!?!) *** BUG ALERT [Unexpected pixelformat!] *** uc_hwset.c (147)
Flags didn’t match: 0x40000001 SDL_HWSURFACE | SDL_DOUBLEBUF
Setting video mode: 640x480 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
SDL DirectFB_SetVideoMode: 640x480 at 16, flags: 0x00000000
Running color fill and fullscreen update test
768 fills and flips in 15.45 seconds, 49.72 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 20.04 seconds, 24.96 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 20.06 seconds, 24.93 FPS
Setting video mode: 640x480 at 16 bpp, flags: 0x80000000 SDL_SWSURFACE |
SDL_FULLSCREEN
SDL DirectFB_SetVideoMode: 800x600 at 16, flags: 0x80000000
Running color fill and fullscreen update test
768 fills and flips in 7.57 seconds, 101.51 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 11.32 seconds, 44.16 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 12.19 seconds, 41.03 FPS
Setting video mode: 640x480 at 16 bpp, flags: 0x80000001 SDL_HWSURFACE |
SDL_FULLSCREEN
SDL DirectFB_SetVideoMode: 800x600 at 16, flags: 0x80000001
Running color fill and fullscreen update test
768 fills and flips in 0.25 seconds, 3023.62 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 15.11 seconds, 33.10 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 1.55 seconds, 323.42 FPS
Setting video mode: 640x480 at 16 bpp, flags: 0xc0000001 SDL_HWSURFACE |
SDL_FULLSCREEN | SDL_DOUBLEBUF
SDL DirectFB_SetVideoMode: 800x600 at 16, flags: 0xc0000001
Running color fill and fullscreen update test
768 fills and flips in 15.38 seconds, 49.93 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 20.04 seconds, 24.95 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 10.02 seconds, 49.91 FPS
Setting video mode: 640x480 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
SDL DirectFB_SetVideoMode: 640x480 at 32, flags: 0x00000000
Running color fill and fullscreen update test
768 fills and flips in 30.76 seconds, 24.97 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 29.96 seconds, 16.69 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 29.89 seconds, 16.73 FPS
Setting video mode: 640x480 at 32 bpp, flags: 0x80000000 SDL_SWSURFACE |
SDL_FULLSCREEN
SDL DirectFB_SetVideoMode: 800x600 at 32, flags: 0x80000000
Flags didn’t match: 0x00000000 SDL_SWSURFACE
? and so on ?
Parhaat hakupalvelut yhdess? osoitteessa: http://www.eniro.fi/
Suomalaisten yritysten tuotteet ja palvelut: http://yritykset.eniro.fi/