From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 14:06:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 449BF16A4CE for ; Thu, 27 Jan 2005 14:06:31 +0000 (GMT) Received: from smtp.wiredcity.com.au (adsl-105-192.wiredcity.net.au [203.161.105.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F51343D1D for ; Thu, 27 Jan 2005 14:06:29 +0000 (GMT) (envelope-from g_glasson@wiredcity.com.au) Received: from kosh.glastech.com.au ([192.168.1.1]) by kosh.glastech.com.au with esmtp (Exim 4.24; FreeBSD 4.8) id 1CuAHr-000Fgs-Hl; Thu, 27 Jan 2005 22:06:19 +0800 From: Geoff Glasson To: madden@cmsrtp.com Date: Thu, 27 Jan 2005 22:06:18 +0800 User-Agent: KMail/1.7.2 References: <20050124201524.8028816A4DB@hub.freebsd.org> In-Reply-To: <20050124201524.8028816A4DB@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200501272206.18713.g_glasson@wiredcity.com.au> X-Spam-Score: 0.0 X-Spam-Report: Spam detection software, running on the system "kosh.glastech.com.au", hasmessageblock similar future email. If you have any questions, see the administrator of that system for details. Content preview: Michael, This might sound like a stupid questionthe X server and the DRI module for X, but it also requires a kernel module for the hardware being accelerated. [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description -------------------------------------------------- cc: freebsd-questions@freebsd.org Subject: RE: OpenGL hardware acceleration with FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 14:06:31 -0000 Michael, This might sound like a stupid question but...Did you load the DRI kernel=20 module for the card before start the X server? 3D acceleration under X is a two part system. There is the X server and th= e=20 DRI module for X, but it also requires a kernel module for the hardware bei= ng=20 accelerated. =20 The main DRI web site is at: http://dri.sourceforge.net There is also Eric Anholt's web site which is a little out of date, but you= =20 might find the troubleshooting section of use. =20 http://people.freebsd.org/~anholt/dri/ Regards...Geoff On Tue, 25 Jan 2005 04:15 am, freebsd-questions-request@freebsd.org wrote: > Message: 25 > Date: Mon, 24 Jan 2005 13:48:23 -0600 > From: Michael Madden > Subject: OpenGL hardware acceleration with FreeBSD 5.3 > To: freebsd-questions@freebsd.org > Message-ID: <20050124194823.GA14049@cmsrtp.com> > Content-Type: text/plain; charset=3Dus-ascii > > I have a Matrox G400, and I cannot figure out how to get hardware > acceleration setup for it. =A0glxinfo still displays "direct rendering: N= o", > and OpenGL apps like glxgears are slow. =A0I've made sure I've got the dri > and glx modules loaded, and I've added the DRI section to xorg.conf. > > If it helps, here is my xorg.conf file. =A0Thanks for the help. > > Section "Module" > =A0 =A0 =A0 =A0 Load =A0"dbe" > =A0 =A0 =A0 =A0 Load =A0"dri" > =A0 =A0 =A0 =A0 Load =A0"extmod" > =A0 =A0 =A0 =A0 Load =A0"glx" > =A0 =A0 =A0 =A0 Load =A0"record" > =A0 =A0 =A0 =A0 Load =A0"xtrap" > =A0 =A0 =A0 =A0 Load =A0"freetype" > =A0 =A0 =A0 =A0 Load =A0"speedo" > =A0 =A0 =A0 =A0 Load =A0"type1" > EndSection > > Section "Files" > =A0 =A0 =A0 =A0 RgbPath =A0 =A0 =A0"/usr/X11R6/lib/X11/rgb" > =A0 =A0 =A0 =A0 ModulePath =A0 "/usr/X11R6/lib/modules" > =A0 =A0 =A0 =A0 FontPath =A0 =A0 "/usr/X11R6/lib/X11/fonts/misc/" > =A0 =A0 =A0 =A0 FontPath =A0 =A0 "/usr/X11R6/lib/X11/fonts/TTF/" > =A0 =A0 =A0 =A0 FontPath =A0 =A0 "/usr/X11R6/lib/X11/fonts/Speedo/" > =A0 =A0 =A0 =A0 FontPath =A0 =A0 "/usr/X11R6/lib/X11/fonts/Type1/" > =A0 =A0 =A0 =A0 FontPath =A0 =A0 "/usr/X11R6/lib/X11/fonts/CID/" > =A0 =A0 =A0 =A0 FontPath =A0 =A0 "/usr/X11R6/lib/X11/fonts/75dpi/" > =A0 =A0 =A0 =A0 FontPath =A0 =A0 "/usr/X11R6/lib/X11/fonts/100dpi/" > EndSection > > Section "InputDevice" > =A0 =A0 =A0 =A0 Identifier =A0"Keyboard1" > =A0 =A0 =A0 =A0 Driver =A0 =A0 =A0"keyboard" > EndSection > > Section "InputDevice" > =A0 =A0 =A0 =A0 Identifier =A0"Mouse1" > =A0 =A0 =A0 =A0 Driver =A0 =A0 =A0"mouse" > =A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Protocol" "auto" > =A0 =A0 =A0 =A0 Option =A0 =A0 =A0"Device" "/dev/sysmouse" > =A0=A0=A0=A0=A0=A0=A0=A0Option =A0 =A0 =A0"ZAxisMapping" =A0 =A0 =A0"4 5" > EndSection > > Section "Monitor" > =A0 =A0 Identifier =A0"hp 1825" > =A0 =A0 HorizSync =A0 31.5 - 64.3 > =A0 =A0 VertRefresh 50-70 > EndSection > > Section "Device" > =A0 =A0 Identifier =A0"Matrix G400" > =A0 =A0 Driver =A0 =A0 =A0"mga" > =A0 =A0 VideoRam =A0 =A016384 > EndSection > > Section "Screen" > =A0 =A0 Identifier =A0"Screen 1" > =A0 =A0 Device =A0 =A0 =A0"Matrix G400" > =A0 =A0 Monitor =A0 =A0 "hp 1825" > =A0 =A0 DefaultDepth 24 > > =A0 =A0 Subsection "Display" > =A0 =A0 =A0 =A0 Depth =A0 =A0 =A0 8 > =A0 =A0 =A0 =A0 Modes =A0 =A0 =A0 "1280x1024" "1024x768" "800x600" "640x4= 80" > =A0 =A0 =A0 =A0 ViewPort =A0 =A00 0 > =A0 =A0 EndSubsection > =A0 =A0 Subsection "Display" > =A0 =A0 =A0 =A0 Depth =A0 =A0 =A0 16 > =A0 =A0 =A0 =A0 Modes =A0 =A0 =A0 "1280x1024" "1024x768" "800x600" "640x4= 80" > =A0 =A0 =A0 =A0 ViewPort =A0 =A00 0 > =A0 =A0 EndSubsection > =A0 =A0 Subsection "Display" > =A0 =A0 =A0 =A0 Depth =A0 =A0 =A0 24 > =A0 =A0 =A0 =A0 Modes =A0 =A0 =A0 "1280x1024" "1024x768" "800x600" "640x4= 80" > =A0 =A0 =A0 =A0 ViewPort =A0 =A00 0 > =A0 =A0 EndSubsection > EndSection > > Section "ServerLayout" > =A0 =A0 Identifier =A0"Simple Layout" > =A0 =A0 Screen "Screen 1" > =A0 =A0 InputDevice "Mouse1" "CorePointer" > =A0 =A0 InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > Section "DRI" > =A0 =A0 Mode 0666 > EndSection =2D-=20 Geoff Glasson g_glasson@wiredcity.com.au