From owner-freebsd-multimedia Fri Feb 7 0:19:24 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B95E037B401 for ; Fri, 7 Feb 2003 00:19:23 -0800 (PST) Received: from haystack.lclark.edu (haystack.lclark.edu [149.175.1.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 416BC43FAF for ; Fri, 7 Feb 2003 00:19:23 -0800 (PST) (envelope-from eta@lclark.edu) Received: from [149.175.30.191] ([149.175.30.191]) by haystack.lclark.edu (SAVSMTP 3.0.0.44) with SMTP id M2003020700190330486 ; Fri, 07 Feb 2003 00:19:03 -0800 Subject: Re: FreeBSD 4.7 Matrox G400 OpenGL help From: Eric Anholt To: Corey Holcomb-Hockin Cc: multimedia@FreeBSD.ORG In-Reply-To: <3E44B6BF.1080308@ipeg.com> References: <3E44B6BF.1080308@ipeg.com> Content-Type: text/plain Organization: Message-Id: <1044606054.680.2.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 07 Feb 2003 00:20:55 -0800 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 2003-02-07 at 23:50, Corey Holcomb-Hockin wrote: > I need help setting up FreeBSD to compile and run OpenGL programs on my > Matrox G400. > > I've done a few things already. I just got a a7v-266e motherboard > because my old a7a-133 couldn't load the drm module. I've compiled agp > into the kernel. I've loaded drm_kmod-0.9.5_1 by running drm.sh.sample > by hand but I'm not sure how to set it up to automatically load. I've > set my kern.module_path in etc/sysctl.conf to > "/;/boot/;/modules//;/usr/local/lib/drm", but that doesn't seem to do > it. I've also added dri and glx to my XF86Config. > > I've been told before I need to compile the Xfree86 port with > WITH_MATROX_GXX_DRIVER=yes but I haven't done that yet because of the > large download. I'll do that after I get a better idea of everything I > need to do. > > I've also heard that I need to compile a opengl library, but I'm not > sure which or how. Full instructions on this can be found at http://people.freebsd.org/~anholt/dri/install.html. You don't need WITH_MATROX_GXX_DRIVER, and I would recommend against using it unless you need something it specifically provides. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message