From supraexpress@globaleyes.net  Tue Apr  5 20:17:01 2005
Return-Path: <supraexpress@globaleyes.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6AC7716A4D4
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Apr 2005 20:17:01 +0000 (GMT)
Received: from mercury.ll.net (mercury.ll.net [209.131.224.35])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E15A443D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Apr 2005 20:16:55 +0000 (GMT)
	(envelope-from supraexpress@globaleyes.net)
Received: from freebsd2.localnet10 (unverified [209.131.254.185]) by mercury.ll.net
 (Vircom SMTPRS 3.2.315.0) with ESMTP id <B0394839133@mercury.ll.net> for <FreeBSD-gnats-submit@freebsd.org>;
 Tue, 5 Apr 2005 15:16:53 -0500
Message-Id: <1112732217.0@freebsd2.localnet10>
Date: Tue, 5 Apr 2005 15:16:57 -0500
From: "User1001" <supraexpress@globaleyes.net>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: Upgrade/update Nvidia-Driver from 6133 to 7174
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         79571
>Category:       ports
>Synopsis:       Upgrade/update x11/nvidia-driver from 6133 to 7174
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danfe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 05 20:20:06 GMT 2005
>Closed-Date:    Wed May 11 08:56:25 GMT 2005
>Last-Modified:  Wed May 11 08:56:25 GMT 2005
>Originator:     User1001
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.4-PRERELEASE #1: Sun Mar  6 13:30:52 CST 2005

linux_base-rh-9 


>Description:


Update nvidia-driver to 7114 via newer source file and supplied patches. Driver now shuts down cleaner/faster than 6113 does/did.


>How-To-Repeat:





>Fix:


--- files.diffs begins here ---
Only in files: patch-lib::Makefile
Only in files: patch-src::nv-freebsd.h
Only in files.orig: patch-src::nvidia_pci.c
Only in files: patch-src::nvidia_subr.c
--- files.diffs ends here ---


--- distinfo.diffs begins here ---
*** distinfo.orig	Tue Aug 17 06:54:09 2004
--- distinfo	Tue Apr  5 02:22:19 2005
***************
*** 1,2 ****
! MD5 (NVIDIA-FreeBSD-x86-1.0-6113.tar.gz) = 1dab16b9ebf3ab4253811b6ba29fc701
! SIZE (NVIDIA-FreeBSD-x86-1.0-6113.tar.gz) = 6215565
--- 1,2 ----
! MD5 (NVIDIA-FreeBSD-x86-1.0-7174.tar.gz) = b57a03e0325617092016144229ae6114
! SIZE (NVIDIA-FreeBSD-x86-1.0-7174.tar.gz) = 8433799
--- distinfo.diffs ends here ---


--- Makefile.diffs begins here ---
*** Makefile.orig	Thu Mar  3 02:49:50 2005
--- Makefile	Tue Apr  5 02:21:17 2005
***************
*** 24,30 ****
  NO_PACKAGE=	should be recompiled for a particular FreeBSD kernel
  INSTALLS_SHLIB=	yes
  
! NVVERSION=	6113
  
  .include <bsd.port.pre.mk>
  
--- 24,30 ----
  NO_PACKAGE=	should be recompiled for a particular FreeBSD kernel
  INSTALLS_SHLIB=	yes
  
! NVVERSION=	7174
  
  .include <bsd.port.pre.mk>
  
--- Makefile.diffs ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Tue Apr 5 20:25:03 GMT 2005 
State-Changed-Why:  
Where are the patches? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79571 

From: Pav Lucistnik <pav@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, supraexpress@globaleyes.net
Cc:  
Subject: Re: ports/79571: Upgrade/update Nvidia-Driver from 6133 to 7174
Date: Tue, 05 Apr 2005 23:05:33 +0200

 supraexpress@globaleyes.net p=ED=B9e v =FAt 05. 04. 2005 v 16:03 -0500:
 
 You're aware of the fact that "files" is a directory?
 
 --- files.diffs begins here ---
 Only in files: patch-lib::Makefile
 Only in files: patch-src::nv-freebsd.h
 Only in files.orig: patch-src::nvidia_pci.c
 Only in files: patch-src::nvidia_subr.c
 --- files.diffs ends here ---
 
 Where is a content of those three new patch files?
 
 > The patches are included (inline) in the FIX area (files.diffs,
 > distinfo.diffs, and Makefile.diffs).
 >=20
 >=20
 > On  5 Apr, Pav Lucistnik wrote:
 > > Synopsis: Upgrade/update Nvidia-Driver from 6133 to 7174
 > >=20
 > > State-Changed-From-To: open->feedback
 > > State-Changed-By: pav
 > > State-Changed-When: Tue Apr 5 20:25:03 GMT 2005
 > > State-Changed-Why:=20
 > > Where are the patches?
 > >=20
 > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D79571
 >=20
 >=20
 --=20
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 Like 'Do Notte Buye Betamacks.' That was a prediction for 1972.
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Tue Apr 5 21:20:01 GMT 2005 
State-Changed-Why:  
More from submitter: 

Yes - I am aware that "files" is a directory, but the DIFF command properly 
shows the CONTENTS of the directory, implying what is NOT there any more by 
exclusion. The gist of the "files patch" is to remove the 
'patch-src::nvidia_pci.c' file. There are no changes to any of the other 
patch files. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79571 
Responsible-Changed-From-To: freebsd-ports-bugs->danfe 
Responsible-Changed-By: pav 
Responsible-Changed-When: Tue Apr 5 21:20:47 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79571 

From: User1001 <supraexpress@globaleyes.net>
To: freebsd-gnats-submit@FreeBSD.org, supraexpress@globaleyes.net
Cc:  
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Fri, 08 Apr 2005 02:00:08 -0500

 Just encountered a problem with Nvidia-driver-7174:
 
 mplayer kingdom_of_heaven-excl_m480.mov
 /libexec/ld-elf.so.1: /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1:
 Undefined symbol "_nv0045XvMCdynamic"

From: User1001 <supraexpress@globaleyes.net>
To: freebsd-gnats-submit@FreeBSD.org, supraexpress@globaleyes.net
Cc:  
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Fri, 08 Apr 2005 03:14:54 -0500

 Fix for mplayer/libXvMCNDIVIDIA library problem: recompile and reinstall
 mplayer. (G)Mplayer works just fine afterwards.

From: User1001 <supraexpress@globaleyes.net>
To: freebsd-gnats-submit@FreeBSD.org, supraexpress@globaleyes.net
Cc:  
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Fri, 08 Apr 2005 07:08:16 -0500

 Comment: 7174 fixes a problem that I was having with 6133 where closing
 down Gnome would hang about 50% of the time. So far - no shutdown hangs.

From: Mikhail Teterin <mi+kde@aldan.algebra.com>
To: bug-followup@FreeBSD.org, supraexpress@globaleyes.net
Cc:  
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Sat, 23 Apr 2005 00:31:06 -0400

 After upgrading the port, the uninstall target does not work -- the
 *.diff files in share/doc/NVIDIA_GLX-1.0 (such as agp.ko-hints.diff)
 are missing.
 
 Does pkg-list need updating?
 
 	-mi
 

From: Mikhail Teterin <mi+kde@aldan.algebra.com>
To: bug-followup@FreeBSD.org, danfe@FreeBSD.org,
	supraexpress@globaleyes.net
Cc:  
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Sat, 23 Apr 2005 01:01:53 -0400

 Alexey!
 
 I intend to commit the diff below unless you object quickly. In addition
 to the patches by User1001, my diff removes dependency on compat4x,
 resets PORTREVISION, and appends a warning to the 4.x users at the end
 of pkg-message.
 
 It appears, NVidia is now using FreeBSD-5.x to build the client-side
 libraries -- their shared objects come linked with libm.so.3.
 
 I also think, the gl.h and glx.h should be replacing those installed
 by XFree86 (or Xorg) instead of going into share/doc/... But I'm not
 changing that now.
 
 Thanks! Yours,
 
 	-mi
 
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/x11/nvidia-driver/Makefile,v
 retrieving revision 1.27
 diff -U2 -r1.27 Makefile
 --- Makefile	1 Mar 2005 21:51:48 -0000	1.27
 +++ Makefile	23 Apr 2005 04:53:45 -0000
 @@ -8,5 +8,4 @@
  PORTNAME=	nvidia-driver
  PORTVERSION=	1.0.${NVVERSION}
 -PORTREVISION=	4
  CATEGORIES=	x11
  MASTER_SITES=	http://download.nvidia.com/freebsd/1.0-${NVVERSION}/ \
 @@ -25,12 +24,8 @@
  INSTALLS_SHLIB=	yes
  
 -NVVERSION=	6113
 +NVVERSION=	7174
  
  .include <bsd.port.pre.mk>
  
 -.if ${OSVERSION} >= 503000
 -LIB_DEPENDS+=	m.2:${PORTSDIR}/misc/compat4x
 -.endif
 -
  # XXX Should use ${PKG_INFO} XXX
  #
 Index: distinfo
 ===================================================================
 RCS file: /home/pcvs/ports/x11/nvidia-driver/distinfo,v
 retrieving revision 1.4
 diff -U2 -r1.4 distinfo
 --- distinfo	17 Aug 2004 11:54:09 -0000	1.4
 +++ distinfo	23 Apr 2005 04:53:45 -0000
 @@ -1,2 +1,2 @@
 -MD5 (NVIDIA-FreeBSD-x86-1.0-6113.tar.gz) = 1dab16b9ebf3ab4253811b6ba29fc701
 -SIZE (NVIDIA-FreeBSD-x86-1.0-6113.tar.gz) = 6215565
 +MD5 (NVIDIA-FreeBSD-x86-1.0-7174.tar.gz) = b57a03e0325617092016144229ae6114
 +SIZE (NVIDIA-FreeBSD-x86-1.0-7174.tar.gz) = 8433799
 Index: pkg-message
 ===================================================================
 RCS file: /home/pcvs/ports/x11/nvidia-driver/pkg-message,v
 retrieving revision 1.4
 diff -U2 -r1.4 pkg-message
 --- pkg-message	17 Aug 2004 11:54:09 -0000	1.4
 +++ pkg-message	23 Apr 2005 04:53:45 -0000
 @@ -1,3 +1,2 @@
 -
  To use these drivers, make sure that you have loaded the nvidia kernel
  module, by doing
 @@ -25,2 +24,6 @@
  
  See ${PREFIX}/share/doc/NVIDIA_GLX-1.0/README for more information.
 +
 +On 4.x the client-side libraries may require the new libm.so.3 from 5.x.
 +You may need to either get the library from a 5.x machine or try some
 +libmap.conf(5) magic. This is not currently supported.
 Index: pkg-plist
 ===================================================================
 RCS file: /home/pcvs/ports/x11/nvidia-driver/pkg-plist,v
 retrieving revision 1.6
 diff -U2 -r1.6 pkg-plist
 --- pkg-plist	9 Nov 2004 09:37:32 -0000	1.6
 +++ pkg-plist	23 Apr 2005 04:53:45 -0000
 @@ -37,10 +37,4 @@
  %%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/glext.h
  %%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/glxtokens.h
 -%%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/agp.ko-hints.diff
 -%%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/machdep.c.diff
 -%%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/vm_map.c_4.10.diff
 -%%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/device_pager.c_4.10.diff
 -%%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/vm_object.c_5.2.diff
 -%%PORTDOCS%%share/doc/NVIDIA_GLX-1.0/device_pager.c_5.2.diff
  %%PORTDOCS%%@dirrm share/doc/NVIDIA_GLX-1.0
  %%FREEBSD4%%@cwd /modules
 
 

From: Alexey Dokuchaev <danfe@FreeBSD.org>
To: Mikhail Teterin <mi+kde@aldan.algebra.com>
Cc: bug-followup@FreeBSD.org, supraexpress@globaleyes.net
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Mon, 25 Apr 2005 10:22:44 +0000

 On Sat, Apr 23, 2005 at 01:01:53AM -0400, Mikhail Teterin wrote:
 > Alexey!
 > 
 > I intend to commit the diff below unless you object quickly. In addition
 > to the patches by User1001, my diff removes dependency on compat4x,
 > resets PORTREVISION, and appends a warning to the 4.x users at the end
 > of pkg-message.
 
 Are you absolutely sure that new version works for RELENG_4 ?  I have
 not been able to test it there yet, and this is the main reason why
 I cannot blindly commit this update.  DragonFly guys reported problems
 here [1], and I tend to believe that are applicable to us as well.
 
 > 
 > It appears, NVidia is now using FreeBSD-5.x to build the client-side
 > libraries -- their shared objects come linked with libm.so.3.
 > 
 > I also think, the gl.h and glx.h should be replacing those installed
 > by XFree86 (or Xorg) instead of going into share/doc/... But I'm not
 > changing that now.
 > 
 > Thanks! Yours,
 > 
 > 	-mi
 
 ./danfe
 
 [1] http://leaf.dragonflybsd.org/mailarchive/kernel/2005-04/msg00195.html

From: Mikhail Teterin <mi@corbulon.video-collage.com>
To: danfe@FreeBSD.org (Alexey Dokuchaev)
Cc: mi+kde@aldan.algebra.com (Mikhail Teterin),
	bug-followup@FreeBSD.org, supraexpress@globaleyes.net
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Mon, 25 Apr 2005 10:27:27 -0400 (EDT)

 > > I intend to commit the diff below unless you object quickly. In
 > > addition to the patches by User1001, my diff removes dependency on
 > > compat4x, resets PORTREVISION, and appends a warning to the 4.x
 > > users at the end of pkg-message.
 
 > Are you absolutely sure that new version works for RELENG_4 ? I have
 > not been able to test it there yet, and this is the main reason why I
 > cannot blindly commit this update. DragonFly guys reported problems
 > here [1], and I tend to believe that are applicable to us as well.
 
 I'm sure, the kernel module will work. The client side will not because
 it uses libm.so.3. Which means, 4.x users will need to play with
 libmap.conf or use the client-side from the old (currently supported)
 release. How about splitting nvidia-driver into nvidia-kernel and
 nvidia-client?
 
 That said, I don't think, we should be holding off much longer for the
 sake of 4.x users. 5.x is now "-stable" and new installs should be using
 that. Older installs already have previous NVidia versions.
 
 Yours,
 
 	-mi
 
 P.S. Glad you are back to e-mail :-)

From: supraexpress@globaleyes.net
To: mi@corbulon.video-collage.com
Cc: danfe@FreeBSD.org, mi+kde@aldan.algebra.com,
	bug-followup@FreeBSD.org
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to
 7174
Date: Mon, 25 Apr 2005 18:51:41 -0500 (CDT)

 Perhaps it would be better/simpler to split nvidia-driver as 7174 has been
 conditionalized:
 
 [NVIDIA-FreeBSD-x86-1.0-7174/src/nv-freebsd.h]
 #if __FreeBSD_version > 600000
 #error This driver does not support FreeBSD 6.x/-CURRENT!
 #endif
 #if __FreeBSD_version < 503000
 #error This driver requires FreeBSD 5.3 or later!
 #endif
 
 
 On 25 Apr, Mikhail Teterin wrote:
 >> > I intend to commit the diff below unless you object quickly. In
 >> > addition to the patches by User1001, my diff removes dependency on
 >> > compat4x, resets PORTREVISION, and appends a warning to the 4.x
 >> > users at the end of pkg-message.
 > 
 >> Are you absolutely sure that new version works for RELENG_4 ? I have
 >> not been able to test it there yet, and this is the main reason why I
 >> cannot blindly commit this update. DragonFly guys reported problems
 >> here [1], and I tend to believe that are applicable to us as well.
 > 
 > I'm sure, the kernel module will work. The client side will not because
 > it uses libm.so.3. Which means, 4.x users will need to play with
 > libmap.conf or use the client-side from the old (currently supported)
 > release. How about splitting nvidia-driver into nvidia-kernel and
 > nvidia-client?
 > 
 > That said, I don't think, we should be holding off much longer for the
 > sake of 4.x users. 5.x is now "-stable" and new installs should be using
 > that. Older installs already have previous NVidia versions.
 > 
 > Yours,
 > 
 > 	-mi
 > 
 > P.S. Glad you are back to e-mail :-)
 

From: Mikhail Teterin <mi+mx@aldan.algebra.com>
To: supraexpress@globaleyes.net
Cc: danfe@freebsd.org, bug-followup@freebsd.org
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Mon, 25 Apr 2005 19:56:11 -0400

 > Perhaps it would be better/simpler to split nvidia-driver as 7174 has been
 > conditionalized:
 >
 > [NVIDIA-FreeBSD-x86-1.0-7174/src/nv-freebsd.h]
 > #if __FreeBSD_version > 600000
 > #error This driver does not support FreeBSD 6.x/-CURRENT!
 > #endif
 > #if __FreeBSD_version < 503000
 > #error This driver requires FreeBSD 5.3 or later!
 > #endif
 
 If you remove this #errors manually, does the module compile and load on your 
 4.11?
 
 Can the older client libraries talk to it?
 
 	-mi

From: Alexey Dokuchaev <danfe@FreeBSD.org>
To: Mikhail Teterin <mi@corbulon.video-collage.com>
Cc: Mikhail Teterin <mi+kde@aldan.algebra.com>,
	bug-followup@FreeBSD.org, supraexpress@globaleyes.net
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to 7174
Date: Tue, 26 Apr 2005 04:39:16 +0000

 On Mon, Apr 25, 2005 at 10:27:27AM -0400, Mikhail Teterin wrote:
 > > > I intend to commit the diff below unless you object quickly. In
 > > > addition to the patches by User1001, my diff removes dependency on
 > > > compat4x, resets PORTREVISION, and appends a warning to the 4.x
 > > > users at the end of pkg-message.
 > 
 > > Are you absolutely sure that new version works for RELENG_4 ? I have
 > > not been able to test it there yet, and this is the main reason why I
 > > cannot blindly commit this update. DragonFly guys reported problems
 > > here [1], and I tend to believe that are applicable to us as well.
 > 
 > I'm sure, the kernel module will work. The client side will not because
 > it uses libm.so.3. Which means, 4.x users will need to play with
 > libmap.conf or use the client-side from the old (currently supported)
 > release. How about splitting nvidia-driver into nvidia-kernel and
 > nvidia-client?
 
 I was thinkging about it too, and I was also considering doing something
 like .if ${OSVERSION} > 50xxxx NVVERSION=7174 .else NVVERSION=6133 .endif
 
 Let's first hear from RELENG_4 users, and then I think I'll commit the
 update, with all considerations.
 
 > 
 > That said, I don't think, we should be holding off much longer for the
 > sake of 4.x users. 5.x is now "-stable" and new installs should be using
 > that. Older installs already have previous NVidia versions.
 > 
 > Yours,
 > 
 > 	-mi
 > 
 > P.S. Glad you are back to e-mail :-)
 
 :-)
 
 ./danfe

From: supraexpress@globaleyes.net
To: danfe@FreeBSD.org
Cc: mi@corbulon.video-collage.com, mi+kde@aldan.algebra.com,
	bug-followup@FreeBSD.org
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to
 7174
Date: Tue, 26 Apr 2005 08:30:05 -0500 (CDT)

 FYI - this note is coming to you by way of FBSD-4.11-RC2,
 nvidia-driver-1.0.7174_4, AND gcc-3.4.4_20050422.
 
 7174 has some gcc-3.4 specific compiler options that gcc-3.2 does not have.
 Removing them and attempting to recompile with gcc-3.2 compiled, but the
 kernel module was "borked".
 
 After updating gcc-3.4 and recompiling nvidia-driver "as is", the compile
 completed successfully and the driver kernel module was loaded succssfully,
 and I am using it right now.
 
 SO - 7174 is usable by FBSD-4.11, BUT it appears to have a strong dependency
 on gcc-3.4.
 
 
 On 26 Apr, Alexey Dokuchaev wrote:
 > On Mon, Apr 25, 2005 at 10:27:27AM -0400, Mikhail Teterin wrote:
 >> > > I intend to commit the diff below unless you object quickly. In
 >> > > addition to the patches by User1001, my diff removes dependency on
 >> > > compat4x, resets PORTREVISION, and appends a warning to the 4.x
 >> > > users at the end of pkg-message.
 >> 
 >> > Are you absolutely sure that new version works for RELENG_4 ? I have
 >> > not been able to test it there yet, and this is the main reason why I
 >> > cannot blindly commit this update. DragonFly guys reported problems
 >> > here [1], and I tend to believe that are applicable to us as well.
 >> 
 >> I'm sure, the kernel module will work. The client side will not because
 >> it uses libm.so.3. Which means, 4.x users will need to play with
 >> libmap.conf or use the client-side from the old (currently supported)
 >> release. How about splitting nvidia-driver into nvidia-kernel and
 >> nvidia-client?
 > 
 > I was thinkging about it too, and I was also considering doing something
 > like .if ${OSVERSION} > 50xxxx NVVERSION=7174 .else NVVERSION=6133 .endif
 > 
 > Let's first hear from RELENG_4 users, and then I think I'll commit the
 > update, with all considerations.
 > 
 >> 
 >> That said, I don't think, we should be holding off much longer for the
 >> sake of 4.x users. 5.x is now "-stable" and new installs should be using
 >> that. Older installs already have previous NVidia versions.
 >> 
 >> Yours,
 >> 
 >> 	-mi
 >> 
 >> P.S. Glad you are back to e-mail :-)
 > 
 > :-)
 > 
 > ./danfe
 

From: Leonidas Tsampros <ltsampros@upnet.gr>
To: "mailto:bug-followup"@FreeBSD.org
Cc: supraexpress@globaleyes.net
Subject: Re: ports/79571: Upgrade/updatex11/nvidia-driver from 6133 to 7174
Date: Wed, 27 Apr 2005 15:14:07 +0300

 Hello,
 
 I am a freebsd-current user and finally bought a geforce 6600gt . I
 managed to compile the driver cleanly by commenting out the condition 
 
  #if __FreeBSD_version > 600000
  #error This driver does not support FreeBSD 6.x/-CURRENT!
  #endif
 
 Anyway, using xorg-6.7.0_1 there is a small problem. This specific
 card can afford 1600x1200 @ 32bpp. When I set this one to my
 xorg.conf it keeps complaining that no usable configuration can be
 found.
 
 Anyway setting this to 24bpp works like a charm except for mplayer
 crashing the whole universe when you try to play a simple avi file.
 
 I don't know if you are aware of these but if there's something i can
 do to help you, i'll be available.
 
 Thank you.

From: Leonidas Tsampros <ltsampros@upnet.gr>
To: bug-followup@FreeBSD.org
Cc: supraexpress@globaleyes.net
Subject: Re: ports/79571: Upgrade/updatex11/nvidia-driver from 6133 to 7174
Date: Wed, 27 Apr 2005 15:26:54 +0300

 Hello,
 
 I am a freebsd-current user and finally bought a geforce 6600gt . I
 managed to compile the driver cleanly by commenting out the condition 
 
  #if __FreeBSD_version > 600000
  #error This driver does not support FreeBSD 6.x/-CURRENT!
  #endif
 
 Anyway, using xorg-6.7.0_1 there is a small problem. This specific
 card can afford 1600x1200 @ 32bpp. When I set this one to my
 xorg.conf it keeps complaining that no usable configuration can be
 found.
 
 Anyway setting this to 24bpp works like a charm except for mplayer
 crashing the whole universe when you try to play a simple avi file.
 
 I don't know if you are aware of these but if there's something i can
 do to help you, i'll be available.
 
 Thank you.
 
 

From: supraexpress@globaleyes.net
To: danfe@FreeBSD.org
Cc: mi@corbulon.video-collage.com, mi+kde@aldan.algebra.com,
	bug-followup@FreeBSD.org
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to
 7174
Date: Wed, 27 Apr 2005 09:03:51 -0500 (CDT)

 Hmmm - I forgot about three small patches that I made for FBSD-4.11
 NVIDIA-DRIVER, so my statement about compiling it "as is" is not correct. I
 will have to go back and try it without them to see what the affect will be,
 but it still appears that gcc-3.4 is required/best.
 
 It may be simplest just to conditionalize the NVIDIA-DRIVER port for FBSD >=
 5.x and <= 4.11, as already proposed.
 
 
 On 26 Apr, To: danfe@FreeBSD.org wrote:
 > FYI - this note is coming to you by way of FBSD-4.11-RC2,
 > nvidia-driver-1.0.7174_4, AND gcc-3.4.4_20050422.
 > 
 > 7174 has some gcc-3.4 specific compiler options that gcc-3.2 does not have.
 > Removing them and attempting to recompile with gcc-3.2 compiled, but the
 > kernel module was "borked".
 > 
 > After updating gcc-3.4 and recompiling nvidia-driver "as is", the compile
 > completed successfully and the driver kernel module was loaded succssfully,
 > and I am using it right now.
 > 
 > SO - 7174 is usable by FBSD-4.11, BUT it appears to have a strong dependency
 > on gcc-3.4.

From: Mikhail Teterin <mi+mx@aldan.algebra.com>
To: Leonidas Tsampros <ltsampros@upnet.gr>
Cc: bug-followup@freebsd.org, supraexpress@globaleyes.net
Subject: Re: ports/79571: Upgrade/updatex11/nvidia-driver from 6133 to 7174
Date: Wed, 27 Apr 2005 12:46:08 -0400

 > I am a freebsd-current user and finally bought a geforce 6600gt . I
 > managed to compile the driver cleanly by commenting out the condition
 >
 >  #if __FreeBSD_version > 600000
 >  #error This driver does not support FreeBSD 6.x/-CURRENT!
 >  #endif
 
 The driver may be making some assumptions, that are true on 5.x, but not on 
 6.x. I don't know, what the differences are, but I know, they exist :-(
 
 > Anyway, using xorg-6.7.0_1 there is a small problem. This specific
 > card can afford 1600x1200 @ 32bpp. When I set this one to my
 > xorg.conf it keeps complaining that no usable configuration can be
 > found.
 >
 > Anyway setting this to 24bpp works like a charm except for mplayer
 > crashing the whole universe when you try to play a simple avi file.
 
 Have you tried the module's many configuration options?
 
 	sysctl -Aa | grep -i nvidia
 
 Try changing NvAGP, for example, according to the README.
 
 	-mi

From: supraexpress@globaleyes.net
To: danfe@FreeBSD.org
Cc: mi@corbulon.video-collage.com, mi+kde@aldan.algebra.com,
	bug-followup@FreeBSD.org
Subject: Re: ports/79571: Upgrade/update x11/nvidia-driver from 6133 to
 7174
Date: Wed, 27 Apr 2005 22:38:58 -0500 (CDT)

 Well - now that I have a TOTALLY borked 4.11-P4/mplayer (upgraded from
 4.11-RC2), I would say that it may be simplest (again) to leave the 4.11
 nvidia-driver at 6133 and avoid any more mess. Attempts to recompile DRIVER
 without additional patches had failed, and while 7174 + gcc-3.4 WOULD work
 for simple things like Gnome, it would not for mplayer (server mode?) because
 of libm.so.3 (for starters).
 
 At any rate, my 4.11 "machine" is not really reliable any more and I have
 just been waiting, for the last couple of months, to copy files to my 5.4
 machine and reuse the 4.11 disk drives.
 
 
 On 27 Apr, To: danfe@FreeBSD.org wrote:
 > Hmmm - I forgot about three small patches that I made for FBSD-4.11
 > NVIDIA-DRIVER, so my statement about compiling it "as is" is not correct. I
 > will have to go back and try it without them to see what the affect will be,
 > but it still appears that gcc-3.4 is required/best.
 > 
 > It may be simplest just to conditionalize the NVIDIA-DRIVER port for FBSD >=
 > 5.x and <= 4.11, as already proposed.
State-Changed-From-To: open->closed 
State-Changed-By: danfe 
State-Changed-When: Wed May 11 08:55:28 GMT 2005 
State-Changed-Why:  
Port updated, thanks for your submission. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79571 
>Unformatted:
