From owner-freebsd-questions Mon Mar 4 8:19:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from heaven.gigo.com (gigo.com [207.173.11.186]) by hub.freebsd.org (Postfix) with ESMTP id C8FA837B417 for ; Mon, 4 Mar 2002 08:19:26 -0800 (PST) Received: from ppp166-bsace7023.telebrasilia.net.br (ppp166-bsace7023.telebrasilia.net.br [200.163.6.166]) by heaven.gigo.com (Postfix) with ESMTP id 11657B717 for ; Mon, 4 Mar 2002 08:19:17 -0800 (PST) Received: (qmail 3228 invoked by uid 1001); 4 Mar 2002 16:09:09 -0000 Message-ID: <20020304160909.3227.qmail@exxodus.fedaykin.here> Date: Mon, 4 Mar 2002 13:08:47 -0300 From: Mario Sergio Fujikawa Ferreira To: Cliff Sarginson Cc: FreeBSD-questions@FreeBSD.org Subject: Re: NVIDIA 3D FreeBSD Drivers (Matrox works) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Operating-System: FreeBSD 4.5-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > And drm-kmod does not work with Matrox G400/G450 AGP cards. Last time I had to check, it did. Well my system had it worked till a month ago when I had to RMA my Matrox. Anyway, when it gets back I'll get back my good performance which I do not get from this Geforce2 since it does not have a native FreeBSD driver. By the way, apart from the HAL binary lib, the matrox driver IS OpenSource. Just compile your XFree86-4 with make WITH_MATROX_GXX_DRIVER=yes THEN, install the drm-kmod modules If you want to use the absolutely latest matrox driver, try the attached patch. This will might be committed after the XFree86-4 meta infra-structure gets committed (sometime this week). Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-Makefile --- Makefile.orig Sat Mar 2 12:46:56 2002 +++ Makefile Sat Mar 2 13:05:26 2002 @@ -95,10 +95,9 @@ .endif .if defined(WITH_MATROX_GXX_DRIVER) -MGA_DRIVER_VERSION= 133_143 -MGA_DRIVER_DIR= 1.4.3 -MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2001/beta_${MGA_DRIVER_VERSION}/ -DISTFILES+= mga-${MGA_DRIVER_VERSION}-source.tgz +MGA_DRIVER_VERSION= 2.0 +MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2002/:mga +DISTFILES+= mgadrivers-${MGA_DRIVER_VERSION}-src.tgz:mga PLIST_SUB+= MATROX_GXX="" .else @@ -119,10 +118,10 @@ .endif # !target(post-patch) @${MV} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga \ ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga.old - @${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/mga-${MGA_DRIVER_VERSION}-source.tgz \ + @${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/mgadrivers-${MGA_DRIVER_VERSION}-src.tgz \ -C ${WRKDIR} - @${MV} ${WRKDIR}/mgasource/mga-${MGA_DRIVER_DIR}/mga \ - ${WRKSRC}/programs/Xserver/hw/xfree86/drivers + @${MV} ${WRKDIR}/mgadrivers-${MGA_DRIVER_VERSION}-src/${PORTVERSION}/drivers/src \ + ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga @${CP} ${WRKSRC}/config/cf/xf86site.def ${WRKSRC}/config/cf/host.def @${ECHO_CMD} "#define HaveMatroxHal YES" >> ${WRKSRC}/config/cf/host.def @${PERL} -pi.orig -ne 's!(#define PCI_CHIP_MGAG400\s+0x0525)!\1\n#define PCI_CHIP_MGAG550 0x2527\n!; \ --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-distinfo --- distinfo.orig Mon Mar 4 04:27:01 2002 +++ distinfo Sat Mar 2 12:56:22 2002 @@ -1,4 +1,4 @@ MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32 MD5 (xc/X410src-2.tgz) = beaffed1cbdb700e5fed6a5490a7f222 -MD5 (xc/mga-133_143-source.tgz) = 849bf57f23f1684fea970459f919d1f2 +MD5 (xc/mgadrivers-2.0-src.tgz) = 877db503967ae837c147953dbcd8ee6d MD5 (xc/Wraphelp.c) = IGNORE --7JfCtLOvnd9MIVvH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message