Kenneth Culver wrote:
I don't know if this is relevant, but the NVidia drivers won't work with
libkse or libthr, because it messes with the %gs segment register, which
both threading libraries use. The only threading library it currently
works with is libc_r.


Actually from what I hear that's not accurate. It only works with the
linuxthreads port.

FWIW, the patch below (from doc/machdep.c.diff in the port) makes the drivers work fine on my -stable box, even with KDE GL apps. I'm also building the nvidia port with WITH_FREEBSD_AGP=yes WITH_NVIDIA_HACKS=yes.


Matt

Index: machdep.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v
retrieving revision 1.385.2.28
diff -d -u -r1.385.2.28 machdep.c
--- machdep.c   22 Jan 2003 20:14:52 -0000      1.385.2.28
+++ machdep.c   8 May 2003 20:05:06 -0000
@@ -742,8 +742,6 @@
        regs->tf_cs = _ucodesel;
        regs->tf_ds = _udatasel;
        regs->tf_es = _udatasel;
-       regs->tf_fs = _udatasel;
-       load_gs(_udatasel);
        regs->tf_ss = _udatasel;
 }


_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to