From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 19:48:25 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 875F116A4CE for ; Mon, 24 Jan 2005 19:48:25 +0000 (GMT) Received: from smtp.cms-stl.com (smtp.cms-stl.com [192.94.149.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EA8243D31 for ; Mon, 24 Jan 2005 19:48:25 +0000 (GMT) (envelope-from madden@cms-stl.com) Date: Mon, 24 Jan 2005 13:48:23 -0600 From: Michael Madden To: freebsd-questions@freebsd.org Message-ID: <20050124194823.GA14049@cmsrtp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-CMS-Received: Mon, 24 Jan 2005 13:48:24 -0600, linus.cms-stl.com ([172.16.25.70]:34964) X-CMS-Archived: smtp.cms-stl.com X-CMS-Scanned: Sophos Anti-Virus X-CMS-Received: Mon, 24 Jan 2005 13:48:24 -0600, localhost.localdomain ([127.0.0.1]:55703 helo=lxmail.cms-stl.com) X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: madden@cms-stl.com X-SA-Exim-Scanned: No (on smtp.cms-stl.com); SAEximRunCond expanded to false Subject: 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: Mon, 24 Jan 2005 19:48:25 -0000 I have a Matrox G400, and I cannot figure out how to get hardware acceleration setup for it. glxinfo still displays "direct rendering: No", and OpenGL apps like glxgears are slow. I'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. Thanks for the help. Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "speedo" Load "type1" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "hp 1825" HorizSync 31.5 - 64.3 VertRefresh 50-70 EndSection Section "Device" Identifier "Matrix G400" Driver "mga" VideoRam 16384 EndSection Section "Screen" Identifier "Screen 1" Device "Matrix G400" Monitor "hp 1825" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "DRI" Mode 0666 EndSection