Hi,

I'm having some very serious problems when using directfb
with the i830 driver.

dfbinfo runs fine, but when I run df_fire from the examples,
strange things start to happen. The first 1/4 of the screen shows the fire
as it should be on the whole screen, so its completely normal, the second
1/4 of the screen shows a vibrating version of the fire (vsynced, maybe 
at 60hz,
cant tell its just a guess), and the remaining 2/4 of the screen shows 
some garbage from
the initial terminal (now it's yellow lines, all over) vibrating.

if I try mplayer with -vo fbdev2 -ao null, then the movie
is still crippled: the movie is shown in some sort of black and white,
and then the first like 10% of the screen (in width) is copied after the
video, duplicating the first part of the actual screen..
and it has vertical bars inside, like it would be interlaced vertically :)

if I try mplayer with -vo directfb -ao null, then the video "twitches"
sometimes when theres fast movement, and its kinda horrible :)

here's the info:

lspci:
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM 
Integrated Graphics Device (rev 02)

dfbinfo:
debian:~/mplayer# dfbinfo

     =======================|  DirectFB 1.0.0-rc4  |=======================
          (c) 2001-2006  United Cultures of Earth - go for outer space!
          (c) 2000-2004  Convergence (integrated media) GmbH
        ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-02-07 14:50)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 30707)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 30708)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 30709)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Intel 830/845G/852GM/855GM/865G 0.1 (Denis Oliver 
Kropp)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)


Screen (00) FBDev Primary Screen            (primary screen)
   Caps: VSYNC POWER_MANAGEMENT

     Layer (00) FBDev Primary Layer             (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION

     Layer (01) Intel 830/845/855/865 Overlay
        Type:    GRAPHICS VIDEO STILL_PICTURE
        Caps:    SURFACE SCREEN_LOCATION DST_COLORKEY BRIGHTNESS 
CONTRAST SATURATION SCREEN_POSITION SCREEN_SIZE


Input (01) IMPS/2 Mouse                    (primary mouse)
   Type: MOUSE
   Caps: AXES BUTTONS
   Max. Axis: 2
   Max. Button: 2

Input (00) Keyboard                        (primary keyboard)
   Type: KEYBOARD
   Caps: KEYS

debian:~/mplayer#

mplayer -vo directfb -ao null:
DirectFB: Preinit entered

     =======================|  DirectFB 1.0.0-rc4  |=======================
          (c) 2001-2006  United Cultures of Earth - go for outer space!
          (c) 2000-2004  Convergence (integrated media) GmbH
        ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-02-07 14:50)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 30716)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 30717)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 30718)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Intel 830/845G/852GM/855GM/865G 0.1 (Denis Oliver 
Kropp)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
DirectFB: Keyboard init OK
DirectFB: Preinit OK
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 1 bits!
AUDIO: 48000 Hz, 2 ch, s16le, 80.0 kbit/5.21% (ratio: 10000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [directfb] 624x352 => 624x352 Planar YV12
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
DirectFB: Config entered [624x352]
DirectFB: With requested format: Planar YV12
 (!!!)  *** WARNING [letting unprivileged 
IDirectFBDisplayLayer::GetSurface() call pass until cooperative level 
handling is finished] *** [idirectfbdisplaylayer.c:172 in 
IDirectFBDisplayLayer_GetSurface()]
DirectFB: Config - looking for suitable layer
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - layer 1 scale/pos 8
DirectFB: Test format - added layer 1 scale/pos 8
DirectFB: Config - layer 1
DirectFB: Config - switching layer to exclusive mode
DirectFB: Config - changing layer configuration (size)
DirectFB: Layer reports format:200806
DirectFB: Desired pixelformat: 810060a
DirectFB: Config - changing layer configuration (format)
DirectFB: Double buffering is active
DirectFB: Requested field parity: Don't care
DirectFB: Config - flipping = 1
DirectFB: Config - surface size = 624x352
DirectFB: Config finished [10000x7522] - [624x352]

what is happening? :)

is it a bug in intelfb rather than the i830 driver of directfb?

Thanks for any suggestions!

Zoltan NAGY,
Software Engineer

ps.: I tried it with accel=0, hwcursor=0, and got the same...



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

Reply via email to