Re: [XFree86] Fullscreen DGA really slow

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

 



On Fri, 31 Oct 2003, Pieter Hulshoff wrote:

> On my SuSE 8.2 system, default xfree86 drivers,

which are?

> I get very slow performance
> using Fullscreen DGA (using xmame) on my Hercules AIW 9000 card. I've used a

Screen updating using DGA is not accellerated.  It is just like writing to
(slow!) memory.

> morphix boot cd as well,

which use which XFree86 version?

> and the performance is fine there. Windowed
> performance (same xmame, same game, same options) is fine as well.

Updating Windows is usually accellerated.

(Unaccellerated) Write performance to the screen is extremely dependent on
telling your CPU that this memory area is to be treated specially: don't
blow the CPU cache on trying to accellerate it but combine as many writes
into one as possible (to enable burst writing and to not perform useless
reads from the screen buffer).

This is controlled by the MTRR (Memory Type Range Registers).  You can
view them and write them as /proc/mtrr under Linux.

To see where the screen buffer is located, poke around with lspci -vvv or
/proc/pci (or somesuch).

-Peter

PS: X should enable the right range automatically but sometimes it doesn't
work.  It probably even tells you that it tries to fiddle with the MTRRs
and fails.  Take a look at the logfiles.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux