[Kwintv] Nearly fine, but still some standard problems at startup

Christian Casteyde casteyde.christian at free.fr
Wed Mar 3 00:01:26 CET 2004


> Moreover, I can use bt848 (video4linux) too (until now, I had to
> use the Xv device). And... hourrah! the norm is correctly set up.
> This means : Xv from X11 4.3.0 doesn't work with 2.6, V4L/VBI
> works perfectly.
>
> The last test I'll do is to install XFree 4.4.0 when it'll be out.

Well, not very fun for me... but I've just tested XFree 4.4.0 tonight
(build from source against 2.6.3 kernel headers).
And of course, it nearly doesn't work anymore at all :-((

Now, Xv plugin doesn't work anymore, neither under 2.4 and nor under 2.6 
kernel (it *used* to work nicely under 2.4, and under 2.6 I had to force
a resize of the view to get the norm set up correctly). Now, even
after several resize / channel change, Xv still displays bad things.
The only thing that seems to work now is the v4l device.
I nevertheless had problems to set up the norm with it too,
but I managed to get it work quite easily (setting norm with dov4l
in shell and resizeing the window helped).

An important thing to take into consideration is that I use a NVidia
TNT2 card, and the nv driver has been rewritten in XFree 4.4.0.
Maybe this is the cause of my problems. Another thing is I rebuild
XFree 4.4.0 with gcc and with some optimizations (-march=athlon)
with gcc 3.3.3. Maybe there are some racy optimisations problems,
or bad code in Xv code.

To sum up, Xv doesn't work anymore with XFree 4.4.0 (same kwintv
binary version). Quite strange. At least, the behaviour is the same
under 2.4 and 2.6 now !

Oh, please also note that XFree 4.4 doesn't create libtool
.la file for its libfontconfig.so library, and that kwintv doesn't
build with 4.4.0 headers :

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
-O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common    -o libkvideoio.la -rpath /opt/kde/lib 
-L/usr/X11/lib -L/usr/lib/qt/lib -L/opt/kde/lib  -version-info 1:0:0 
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined kxv.lo 
qvideostream.lo v4ldev.lo v4ldevtuner.lo v4ldevcamera.lo v4limage.lo 
v4lutil.lo -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread 
-lkdecore -lXinerama -lXxf86vm -lXxf86dga -lXvMC -lXv
grep: /usr/X11R6/lib/libfontconfig.la: No such file or directory
/bin/sed: can't read /usr/X11R6/lib/libfontconfig.la: No such file or 
directory
libtool: link: `/usr/X11R6/lib/libfontconfig.la' is not a valid libtool 
archive
make[3]: *** [libkvideoio.la] Erreur 1
make[3]: Leaving directory `/usr/src/sys/kwintv3-cvs20040201/kwintv3/kvideoio'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/usr/src/sys/kwintv3-cvs20040201/kwintv3'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/src/sys/kwintv3-cvs20040201'
make: *** [all] Erreur 2


Don't know how to fix that. Otherwise I would have tried to recompile
kwintv to check if there is a build dependancy problem. But I don't think so,
it simply doesn't work.

Bye,

CC


More information about the kwintv mailing list