Comment 94 for bug 314928

Thanks for fixmtrr.sh !!.. it solved the slow performance problems in my Intel 945GM running Ubuntu/Kubuntu 9.04.

BTW, I am using the older xserver-xorg-video-intel-2.4.
If I use the default xserver-xorg-video-intel 2.6.3, then fixmtrr.sh fixes the performance issues, but causes screen corruption, which can be clearly noticed when switching windows using Alt+Tab !!

---------------------------------------------------------------------------

kernel version 2.6.28.11.15

lspci -vvnn:

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
 Subsystem: Hewlett-Packard Company Device [103c:30ad]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at f4600000 (32-bit, non-prefetchable) [size=512K]
 Region 1: I/O ports at 4000 [size=8]
 Region 2: Memory at e0000000 (32-bit, prefetchable) [size=256M]
 Region 3: Memory at f4680000 (32-bit, non-prefetchable) [size=256K]
 Capabilities: <access denied>
 Kernel modules: intelfb

cat /proc/mtrr :

reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0xf7f800000 (63480MB), size= 8MB, count=1: uncachable
reg02: base=0x0feda0000 ( 4077MB), size= 128KB, count=1: uncachable
reg03: base=0x0e0000000 ( 3584MB), size= 256MB, count=1: write-combining