On Samstag, 3. Dezember 2005 22:12, Dave wrote:

> [dfb] RAM: 33812480 bytes
> [dfb] Accellerated Functions: FillRectange DrawRectange DrawLine 
> FillTriangle Blit StretchBlit All
> [dfb] Drawing Flags: Blend Xor
> [dfb] Surface Blitting Flags: BlendAlpha BlendColorAlpha Colorize 
> SrcColorkey DstColorkey Deinterlace
> [dfb] Supported video Modes are: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
> PROTECTED] 
> [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
> [EMAIL PROTECTED] [EMAIL PROTECTED] 
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> [dfb] Enumerating display Layers
> Layer 0 VIA CLE266 Graphics  Type: graphics
>   Caps: alphachannel brightness contrast opacity saturation src_colorkey 
> surface
> Layer 1 VIA Unichrome Video  Type: graphics picture video
>   Caps: deinterlacing dst_colorkey levels field_parity opacity 
> screen_location surface
> [surface capabilities] scrSurface: primary videoonly double-buffered 
> flipping
> [dfb] width = 800, height = 600
> [dfb] got fmt = 0x00418c04 bpp = 32
> [dfb] Using this layer for OSD: (VIA CLE266 Graphics - [736x576])

Here is a mismatch: screen is at 800x600, but OSD is at 736x576 ;-)
they should be at the same size !! I'm shure that I alloc'd OSD surface
with width & height retrieved from sreen surface (800x600) .

Can you try to specify resolution (800x600) at viafb module load time ?
Did you specify "mode = 800x600" in your /etc/directfbrc ?

> [surface capabilities] osdSurface: videoonly double-buffered flipping
>  (!!!)  *** WARNING [letting unprivileged 
> IDirectFBDisplayLayer::GetSurface() call pass until cooperative level 
> handling is finished] *** [idirectfbdisp$
> [surface capabilities] videoSurface: videoonly
> [dfb] Configuring CooperativeLevel for Overlay
> [dfb] Configuring CooperativeLevel for OSD
> [dfb] Using this layer for OSD: VIA CLE266 Graphics
> [dfb] Using this layer for Video out: VIA Unichrome Video
> [dfb] Display frame time is 16652 microseconds
> [dfb] (re)configuring Videolayer to 720 x 576 (720x576)
> [surface capabilities] videoSurface: videoonly double-buffered flipping
> [dfb] (re)configured 0x00200806
> [softdevice] Subplugin successfully opend
> [softdevice] Video Out seems to be OK
> [softdevice] Initializing Audio Out
> [softdevice] Audio out seems to be OK
> [softdevice] A/V devices initialized, now initializing MPEG2 Decoder
> cSoftDevice::MakePrimaryDevice

> [dfb] (re)configuring Videolayer to 736 x 576 (720x576)
> [surface capabilities] videoSurface: videoonly double-buffered flipping
> [dfb] (re)configured 0x00200806

> [dfb] (re)configuring Videolayer to 736 x 576 (720x576)
> [dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float, 
> float, float, float), result=Invalid argument!
> [surface capabilities] videoSurface: videoonly double-buffered flipping
> [dfb] (re)configured 0x00200806

One call of SetParams() passed without exception, the others not :-( :


-- 
Stefan Lucke


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

Reply via email to