Comment 69 for bug 314928

Revision history for this message
wirechief (wirechief) wrote : Re: [Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f700000 ( 2039MB), size= 1MB, count=1: uncachable
reg02: base=0x07f800000 ( 2040MB), size= 8MB, count=1: uncachable
then i tried this fix....
sudo sh /usr/local/bin/fixmtrr.sh
Before:
-------
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f700000 ( 2039MB), size= 1MB, count=1: uncachable
reg02: base=0x07f800000 ( 2040MB), size= 8MB, count=1: uncachable

After:
------
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f700000 ( 2039MB), size= 1MB, count=1: uncachable
reg02: base=0x07f800000 ( 2040MB), size= 8MB, count=1: uncachable
reg03: base=0x0e0000000 ( 3584MB), size= 256MB, count=1: write-combining

Linux wirechief-laptop 2.6.30-020630rc2-generic #020630rc2 SMP Wed Apr
15 13:20:18 UTC 2009 x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation Mobile
GM965/GL960 Integrated Graphics Controller (rev 0c)
Ubuntu 9.04 \n \l
ii xserver-xorg-v 2:2.7.99.1+git X.Org X server -- Intel i8xx, i9xx display d

I am not seeing "freeze" or any abnormal operation, i have tested ii
planetpenguin-racer 0.3.1-11
and it runs fine.

i am using a modified xorg.conf with 2048 2048
Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
        Virtual 2048 2048
EndSection

On Wed, May 6, 2009 at 6:54 AM, Andy Whitcroft <email address hidden> wrote:
> It appears that the i915 family driver used to insert the mtrr in older
> kernels and returns in the latest drivers in the 2.6.30-rc series.  It
> appears that the current driver only inserts the mtrr when GEM is being
> used.  Had a go at backporting the fix for this from upstream.  I have
> built kernels with this patch, and they seem to work on my Intel based
> laptop:
>
>    $ cat /proc/mtrr
>    reg00: base=0x000000000 (    0MB), size= 2048MB, count=1: write-back
>    reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
>    reg02: base=0x100000000 ( 4096MB), size= 1024MB, count=1: write-back
>    reg03: base=0x0be000000 ( 3040MB), size=   32MB, count=1: uncachable
>    reg04: base=0x0ffe00000 ( 4094MB), size=    2MB, count=1: write-protect
>    reg05: base=0x0bde00000 ( 3038MB), size=    2MB, count=1: uncachable
>    reg06: base=0x0d0000000 ( 3328MB), size=  256MB, count=1: write-combining
>
> If those of you who are affected by this could test out the Jaunty
> kernels below and report back here that would be very helpful.  In
> particular could you report the output of 'cat /proc/mtrr' with the new
> kernel.  Kernels are at the URL below:
>
>    http://people.ubuntu.com/~apw/lp314928-jaunty/
>
> --
> [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys
> https://bugs.launchpad.net/bugs/314928
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Reach out and share life, care for others,