Re: NVidia driver stability?

From: Matthew Reimer <mreimer_at_vpop.net>
Date: Fri, 11 Jul 2003 10:27:10 -0500
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
_at__at_ -742,8 +742,6 _at__at_
         regs->tf_cs = _ucodesel;
         regs->tf_ds = _udatasel;
         regs->tf_es = _udatasel;
-       regs->tf_fs = _udatasel;
-       load_gs(_udatasel);
         regs->tf_ss = _udatasel;
  }
Received on Fri Jul 11 2003 - 06:26:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC