Reinhard Katzmann <[EMAIL PROTECTED]> writes:
> Hi Francois!
Hi;
> > Get latest kernel from cooker with newagpgart (versin 0.99).
>
> No I won't. I don't like patched kernels where I don't know what
> all the patches do. Where can I get the patch ? Also AFAIK the
In the src rpm.
> RIVA Cards don't need this do they ? Is this patch part of the
No you do not need unless you try DMA transfert ?
> coming 2.2.17 (vanilla) kernel ? If no, you have to do something
> about it anyway.
It is the patch provided by GLX (newagpgart) now integrated in kernel 2.4 which
has been backported to 2.2 used in Cooker, It is necessary for any form of
hardware acceleration.
>
> I have found the include files in the sources of XFree (maybe an
> older version), and this works for compiling and running.
>
> Oh yes, with the MesaGL library switch the vrwave package still
> works fine, so we have a compromise here ;-). But I needed to
I don't known how to do differently when compiling with the wrapper, as it break
3D acceleration with XFree-4.0.1.
> heavy patch the native part as XMesa has been renamed to osmesa
XMesa should be used for implementing pseudo-GLX interface with GLX (see
xmesa.h), and should not be used by programs. This is much more true as it is
not provided by XFree86-devel (as it absolutely a soft Mesa renderer without
acceleration). But OSMesa is available in the wrapper and is provided by the
libGL.so.1.2 provided by XFree86-devel, it should really be better to use it
instead (if possible ?).
> :-( Also XMesaBuffer (OSMesaBuffer) is no longer existant, so
> I don't know what to do about vrwave :-((
I can re-add Mesa-devel (but just for this type of applications), you should
link with it and use libMesaGL.so* library instead.
>
> What has happened here ? Help is much appreciated, as I suspect
xmesa.h is in Mesa-devel (previous version) but this package is obsoloted by
XFree86-devel which provides all Mesa-devel files except xmesa.h (see above).
> only Mandrake changes (no version number changes). There
> seems to be something broken up here :-(
>
> I have still added the patch and spec for vrwave again for lenny,
> in case vrwave gets into contrib (still got no answer to that one),
> but be aware that it won't compile.
>
> Best regards,
>
> Reinhard Katzmann
Hope this help, Fran�ois.
NB : In your patch, you have used OSMesaCreateVisual which do not exists, so you
really have to use xmesa, if it has compiled it should have failed (or permisse
CC options ?).