[lkml]   [2002]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Screen corruption in 2.4.18
On Tue, 2 Apr 2002, [iso-8859-1] Chris Rankin wrote:

> --- "Richard B. Johnson" <>
> wrote: > On Tue, 2 Apr 2002, Chris Rankin wrote:
> > [SNIPPED...]
> >
> > >
> > > A few other things:
> > > - since I have about 1.25 GB of RAM, I have
> > enabled a 256 MB AGP aperture.
> >
> > What? 'since amount of RAM' has nothing to do with
> > AGP aperature. The
> > aperature should be the same as the amount of AGP
> > shared RAM used for
> > the screen-card on-board graphics. This is normally
> > set by the BIOS but
> > can be reset if the BIOS doesn't 'understand' your
> > screen card.
> >
> > So, unless you have 256 MB on your screen board,
> > typically 32 MB for
> > high-resolution true-color boards, you will be
> > disabling PCI hardware
> > hand-shaking for a lot of addresses above your
> > screen board. This
> > can make DRAM-controler, controlled RAM accesses
> > interfere.
> I set the AGP aperture based upon the following
> information:
> "The AGP aperture is an area of system RAM reserved
> for use by the AGP card for storing textures if it
> needs to. The RAM is available for use by the system
> as normal if not used by the graphics card."
> ...
> "It is generally advised to set the AGP aperture to
> half the system RAM ."
> Therefore, it seemed reasonable to maximise my AGP
> aperture size for all and any conceivable textures (I
> have system RAM to spare), with no harm done.
> Admittedly, 256 MB does seem excessive, but anyway ...
> ;-).
> Chris

From Page 153, "The BIOS COMPANION" ISBN 188967120-7
"The AGP Aperture Size is the amount of system memory for the
AGP card, so host cycles hitting that area are forwarded to that
card without translation..."

This may be causing confusion because it really should read
"amount of system address space". Too many writers interchange
the word "memory" for "address space".

No graphics cards, on their own, or with their own BIOS, use any
"system memory". They can't. They don't "own" any. Of course, when
you run X, X will own some system memory that it allocated via mmap(),
and it uses it in conjunction with your AGP card. The internal RAM
within the AGP card is the only RAM in "owns". This is accessible
to the CPU as well as the card electronics. The address range through
which the CPU can access this high-speed RAM is called the Graphics
Aperture and/or the AGP Aperture.

This is the same thing as (page 139), "VGA Frame Buffer Size"
for the older PCI/VGA boards.

So, if you set your AGP aperture size to overlap address-space where
memory exists, you will probably see streaking and flashing (snow) on
the screen. The bus-contention will also slow your machine during
RAM access and may even cause data corruption in RAM. In other words,
if you have 32 MB of RAM in your screen-card, set the aperture size
to 32 MB, not (!) 256 MB.

Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

Windows-2000/Professional isn't.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.041 / U:18.388 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site