On Thu, Jul 18, 2002 at 06:30:42PM -0500, Markus Glodek wrote:
> > > [ hint ] you have MTRR support but it's unused.
> > >          It seems like your X server didn't set any MTRR ranges for the
> > >          graphics card. Maybe upgrading your X server helps...
> > >          You don't have a PCI graphics card, do you? AFAIK, MTRR only
> > >          helps with AGP cards.

False.  Using a write-combining MTRR helps performance on PCI as well as
AGP.

> > Are you sure you have MTRR support in your kernel?
> >
> > cat /var/log/messages | grep -i "mtrr"

grep -i mtrr /var/log/messages.  Useless Use of Cat award!

> > gives me (Matrox gfx card):
> >
> > Jul 18 22:56:03 spookcentral kernel: mtrr: v1.40 (20010327) Richard Gooch
> > ([EMAIL PROTECTED])
> > Jul 18 22:56:03 spookcentral kernel: mtrr: detected mtrr type: Intel
> > Jul 18 22:56:03 spookcentral kernel: matroxfb: MTRR's turned on

This line is only present because you have a Matrox card and are using
the matroxfb module.  Non-Matrox cards, or people who don't use
matroxfb, won't see it.

> Jul 18 10:04:58 philo kernel: mtrr: v1.40 (20010327) Richard Gooch
> ([EMAIL PROTECTED])
> Jul 18 10:04:58 philo kernel: mtrr: detected mtrr type: AMD K6
> 
> Nothing about "MTRR's turned on". I thought that the mere presence of
> /proc/mtrr (it's there) tells me that my kernel supports MTRR. Does it?
> 
> What should I do?

On startup, before X has ever run, do a "cat /proc/mtrr".  You should
see a single MTRR the size of your memory, like so:

reg00: base=0x00000000 (   0MB), size= 256MB: write-back, count=1

Then, start X.  In an xterm, do "cat /proc/mtrr".  You should see some
more mtrr entries there.  Here's mine:

reg00: base=0x00000000 (   0MB), size= 256MB: write-back, count=1
reg01: base=0xd4000000 (3392MB), size=  16MB: write-combining, count=1
reg05: base=0xd0000000 (3328MB), size=  64MB: write-combining, count=1

Those write-combining entries indicate that the framebuffer has been
mapped.

Additionally, you can look at the XFree86 log file,
/var/log/XFree86.0.log.  Search for MTRR.  (Case insensitive, I
suppose.)

-andy
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to