On Tue, Feb 13, 2001 at 09:59:45PM +0000, Lee Elliott wrote:
> Hello James,
> 
> Something about the tone of your reply makes me think I've missed
> something obvious:-)
> 
> Certainly, please do tell me what you did/where I've gone wrong.

Don't read too much into the tone of my reply :)  It's just that these
kinds of projects always appear so much simpler after figuring them out,
and I can at least share what's worked for me.

Well, this page was my primary reference:
http://dri.sourceforge.net/DRIuserguide.html

What it boiled down to for me was the following:
1)  Install xlibmesa3 (this will remove/replace mesag3 libraries)
2)  Configure the kernel in the Character Devices section:
CONFIG_AGP=y
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_I810 is not set
CONFIG_AGP_VIA=y
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_I810 is not set
CONFIG_DRM_MGA=m

That is, say Yes to /dev/agpgart, Yes to whatever is your motherboard
chipset (which for me is VIA, as I've got an Abit KT7-RAID), Yes to
Direct Rendering Manager, and Module to Matrox g200/g400

Of course, recompile the kernel.  I would also get rid of or move away
any modules from Matrox that you may have lying around.  It might be
good to check Section 6 and 10.3 in the sourceforge document mentioned
above to be sure your XF86Config file is correct.  Oh yes, I *did*
have to assign an interrupt to the video card in the BIOS, too.

After rebooting and starting X, run glxinfo in an xterm; you should have
a line like
OpenGL renderer string: Mesa DRI G400 20000510
If the word 'Indirect' is at the end of that line, something's not
working right yet.  And when it works, OpenGL apps such as those in
xscreensaver-gl run much faster, I was quite impressed!

HTH,
James


> 
> TIA,
> 
> LeeE
> 
> 
> James Dietrich wrote:
> > 
> > On Tue, Feb 13, 2001 at 08:45:34PM +1100, Damon Muller wrote:
> > > Quoth Lee Elliott,
> > > > I'm not able to get hardware rendering/GL running on my G400.  Kernel is
> > > > currently 2.4.0-test11 (2.4.0 was a bit wobbly for me - haven't d/loaded
> > > > 2.4.1 yet) and I'm getting the follwing error in /var/log/XFre86.0.log
> > >
> > > I don't know if this will help for your particular problem, but Matrox
> > > has recently (within the last few days) released a new set of driver
> > > modules for X 4.02
> > >
> > > The drivers are available here:
> > >
> > > http://www.matrox.com/mga/support/drivers/latest/home.cfm
> > >
> > > While I had problems with the last lot of drivers, I now have dri
> > > working perfectly with my G450.
> > 
> > Lee,
> > 
> > Do you have this figured out yet?  I was able to get hardware GL working
> > on my G400 without using any drivers from Matrox (don't know if the
> > Matrox drivers do anything that the kernel ones can't), and I can tell
> > you what I did if you're still stumped...
> > 
> > James
> 

Reply via email to