Quoting Mikael Jansson ([EMAIL PROTECTED]): > Denis Oliver Kropp skrev: > > Quoting Mikael Jansson ([EMAIL PROTECTED]): > >> Denis Oliver Kropp skrev: > >> > Quoting Mikael Jansson ([EMAIL PROTECTED]): > >> >> Hi (again), > >> >> > >> >> A while ago I sent out a mail on the list about a problem I have > >> with GTK+ for DirectFB on G400/CRTC2 only displays at white stripes > >> -- would anyone here know what might be the problem? > >> > > >> > Do you have a TV connected? It doesn't work with VGA. > >> > > >> Yeah, that's where I see the white stripes. PAL TV connected through > >> the S-Video output. > > > > I only tested CVBS. Did anyone test S-Video on G400 successfully? > > > What app did you test? I tried the trivial helloworld/ example app in the > examples/ folder. > > MPlayer works splendid w/ dfbmga (w/ the the fusion and irq-vblank patches > applied to my 2.4.20 kernel), so at least I know that /some/ output from > Linux/DirectFB on CRTC2 works...
I guess the default pixelformat of the CRTC2 is YUV and GTK+ doesn't like that. You can change the pixelformat of the CRTC2 after the GetDisplayLayer() call: DFBDisplayLayerConfig config; layer->SetCooperativeLevel (layer, DLSCL_ADMINISTRATIVE); layer->GetConfiguration (layer, &config); config.pixelformat = DSPF_RGB16; layer->SetConfiguration (layer, &config); layer->SetCooperativeLevel (layer, DLSCL_SHARED); -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
