Zitat von Denis Oliver Kropp: > Stefan Lucke wrote: > > On Monday 29 September 2008, Stefan Lucke wrote: > > > >> 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 > >> -- calling: osdLayer->SetCooperativeLevel(DLSCL_EXCLUSIVE); > >> (*) FBDev/Mode: Setting 640x480 AiRGB > >> (*) FBDev/Mode: Switched to 640x480 (virtual 640x480) at 32 bit (AiRGB), > >> pitch 2560 > >> (*) FBDev/Surface: Allocated 640x480 32 bit AiRGB buffer (index 0) at > >> offset 0 and pitch 2560. > >> -- calling: osdLayer->SetConfiguration(osdLayerConfiguration) > >> (*) FBDev/Surface: Allocated 1024x768 32 bit AiRGB buffer (index 0) at > >> offset 0 and pitch > 2560. > >> > >> That's interesting 1024 width, 32 bit AiRGB and pitch 2560 ;-) . > >> > >> (*) FBDev/Mode: Setting 1024x768 AiRGB > >> (*) FBDev/Mode: Switched to 1024x768 (virtual 1024x1536) at 32 bit > >> (AiRGB), pitch 4096 > >> (*) FBDev/Surface: Allocated 1024x768 32 bit AiRGB buffer (index 1) at > >> offset 3145728 and > pitch 4096. > >> -- DONE > >> [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 > >> [DFB++] No SB , pitch = 2560 > >> [DFB++] No SB , pitch = 4096 > >> [DFB++] No SB , pitch = 2560 > >> [DFB++] No SB , pitch = 4096 > >> > > > > Attached diff fixes this by using the default resolution > > from dfb_config if it is set. Pixelformat is already selected > > by dfb_config if it is set. > > Latest DirectFB version?
Was from 2008-09-26. Did I miss a git update ? df_input shows a similar issue even with my change applied. There is an additional dependency on the framebuffer driver used: - viafb from VIA shows a varying pitch between 2560 and 4096 of the primary layer and every 2nd drawing is recognizable. - viafb from DirectFB reports pitch 4096 constantly but none of the drawing is recognizable :-( . Stefan Lucke _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
