Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 13:08:47 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Cliff Sarginson <csfbsd@raggedclown.net>
Cc:        FreeBSD-questions@FreeBSD.org
Subject:   Re: NVIDIA  3D FreeBSD Drivers (Matrox works)
Message-ID:  <20020304160909.3227.qmail@exxodus.fedaykin.here>

next in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020304160909.3227.qmail>