[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree86 4.0.2 and Matrox G400



Hello James,

The answer was in there:-)

First of all though, I switched to the 2.4.1 kernel, re-compiled, and it
made no difference - I still got an error about mga_hal missing.

I had a look at matrox.com and found the new drivers that one of the
other posters had mentioned, and on the same page: a download for
mga_hal.  I downloaded both and installed them - the mga_hal was no
longer missing in XFree86.0.log.  Unfortunately, it made no difference
to the performance.  Very odd - no error messages that I could find, but
still poor performance.  I noticed that if I tried 24/32 bpp I got:

(EE) MGA(0): [drm] Insufficient memory for direct rendering

My G400 has 16MB, running at 1600x1200 screen res.

ssystem -bench gave me the same results on both 16bpp and 24/32bpp! -
about 11fps.  No errors with 16bpp but still not working.

Then I saw your posting and spotted ***1)  Install xlibmesa3 (this will
remove/replace mesag3 libraries)***

Awww....

I still just had mesag3

Installed xlibmesa3 and now get 77fps (with two seti clients running
backgrounded - SMP) in 16bpp, 44fps at 1600x1200 fullscreen.

Still get the Insufficient memory error when I use 24/32bpp and fps
drops to about 5fps :-(

Sad, as 32bpp is fine with X3.3.6 & utah_glx.  At some point I'll try a
lower res in 24/32 and if that works I'll consider getting a 32MB card,
assuming that 16MB isn't enough for DRI at 1600x1200.  If anyone can
actually confirm that this is the problem I'd appreciate it.

See, it was something obvious after all:-)

Thanks,

LeeE


James Dietrich wrote:
> 
> 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
> >
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: