Ok, I didn't realize that I don't need a modeline with XDirectFB. That's
even better. However, I think I still need to find a working modeline,
since unfortunately not all the applications that I want to try out in
my living room are "directfb enabled [TM]". So I'll go and check the
modelines found in mplayer. Even still if anybody has a particularly
good one easily available, I wouldn't mind ;)
On a related note, it seems I need directfb from cvs if I want to use
XdirectFB from cvs right? I get a following error trying to compile the
cvs version of XdirectFB with directfb-0.9.20:
[snip]
rm -f directfbX.o
gcc -m32 -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -Wundef -I.
-I../../../../programs/Xserver/mi -I../../../../prog
ms/Xserver/fb -I../../../../include/extensions
-I../../../../programs/Xserver/Xext
-I../../../../programs/Xserver/
nder -I../../../../programs/Xserver/include
-I../../../../exports/include/X11
-I../../../../programs/Xserver/os -I
/../../../exports/include -I../../../../include/fonts `directfb-config
--cflags` -I../../../.. -I../../../../exports/include
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE
D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -DSHAPE -DXKB -DLBX -DXAPPG
UP -DXCSECURITY -DTOGCUP -DDPMSExtension -DPANORAMIX
-DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIX
IV -DSINGLEDEPTH
-DXFreeXDGA -DDIRECTFBSERVER
-DSMART_SCHEDULE
DX_BYTE_ORDER=X_LITTLE_ENDIAN -D_REENTRANT -DNDEBUG -DFUNCPROTO=15
-DNARROWPROTO -Wall directfbX.c
directfbX.c: In function `InitOutput':
directfbX.c:488: warning: concatenation of string literals with
__FUNCTION__ is deprecated
directfbX.c:493: warning: concatenation of string literals with
__FUNCTION__ is deprecated
directfbX.c: In function `DPMSSet':
directfbX.c:735: error: `IDirectFBScreen' undeclared (first use in this
function)
directfbX.c:735: error: (Each undeclared identifier is reported only
once
directfbX.c:735: error: for each function it appears in.)
directfbX.c:735: error: `screen' undeclared (first use in this function)
directfbX.c:761: error: structure has no member named `GetScreen'
make[5]: *** [directfbX.o] Error 1
Anyhow, "iso kiitos" for your help,
juhis
On Sat, 2004-02-14 at 23:14, Ville Syrj�l� wrote:
> On Sat, Feb 14, 2004 at 08:59:50PM +0200, Juha Pahkala wrote:
> > Hi list,
> >
> > I'm trying to get XDirectFB running on the tv-out of my G400 card. I've
> > tried to generate a working modeline for PAL, ie. 720x576, 50Hz, 32bit
> > with the gtf modeline generator (http://www.sh.nu/nvidia/gtf.php).
> > However, the modeline that it generates:
>
> You don't need a modeline. Just use matrox-crtc2 + primary-layer=2
> DirectFB options with XDirectFB and it should display on the TV. Oh and
> you have to remove matroxfb_maven module from your kernel.
>
> > mode "720x576 50.00Hz 32bit (GTF)"
> > # PCLK: 26.57 MHz, H: 29.65 kHz, V: 50.00 Hz
> > geometry 720 576 720 576 32
> > timings 37642 88 16 13 1 72 3
> > hsync low
> > vsync high
> > endmode
> >
> > produces a picture with green horizontal bars on the tv. No good.
>
> As you found out the TV-out is quite picky about the timing. If you really
> need some working modelines mplayer source has a few.
>
> --
> Ville Syrj�l�
> [EMAIL PROTECTED]
> http://www.sci.fi/~syrjala/
>
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.