[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2011-02-03 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/314928

Title:
  [i915GM] MTRR entry gets removed when restarting xorg - causes
  corruption on ttys

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2011-01-25 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Importance: Medium = Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/314928

Title:
  [i915GM] MTRR entry gets removed when restarting xorg - causes
  corruption on ttys

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2010-10-24 Thread Alex Valavanis
Jaunty reached EOL on 23 October 2010, so no further fixes will be
released.  This bug has been fixed in more recent versions of Ubuntu

** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
   Status: Confirmed = Won't Fix

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2010-06-18 Thread Andy Whitcroft
** Changed in: linux (Ubuntu Jaunty)
   Status: In Progress = Won't Fix

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2010-04-30 Thread Tom Chiverton
All seems well for me, Intel video hardware and 10.4

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2010-04-30 Thread Jeremy Foshee
Sebastian,
Are you able to verify Tom's findings above?

Thanks!

~JFo

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2010-04-30 Thread Bart Rose
I removed my fix from above to see if this had been fixed for me in
subsequent updates and it has not. Here is my output with fixes removed:

b...@bart-laptop:~$ cat /proc/mtrr
reg00: base=0x0fffe ( 4095MB), size=  128KB, count=1: write-protect
reg01: base=0x0fffc ( 4095MB), size=  128KB, count=1: uncachable
reg02: base=0x0 (0MB), size=  512MB, count=1: write-back
reg03: base=0x02000 (  512MB), size=  512MB, count=1: write-back
reg04: base=0x03f80 ( 1016MB), size=8MB, count=1: uncachable
reg05: base=0x03f60 ( 1014MB), size=2MB, count=1: uncachable
reg06: base=0x03f50 ( 1013MB), size=1MB, count=1: uncachable
reg07: base=0x0 (0MB), size=  128KB, count=1: uncachable

b...@bart-laptop:~$ dmesg | grep MTRR
[0.00] MTRR default type: uncachable
[0.00] MTRR fixed ranges enabled:
[0.00] MTRR variable ranges enabled:
[   14.065032] mtrr: no more MTRRs available
[   14.065042] [drm] MTRR allocation failed.  Graphics performance may suffer.


Tom, which graphics chipset are you using? Mine is a GME945.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2010-03-29 Thread Bart Rose
This bug seems to be back in Lucid Beta 1 on my Acer One 150.

With a stock boot my dmesg reports:

[   14.725138] mtrr: no more MTRRs available
[   14.725148] [drm] MTRR allocation failed.  Graphics performance may suffer.

and a cat /proc/mtrr reports:

reg00: base=0x0fffe ( 4095MB), size=  128KB, count=1: write-protect
reg01: base=0x0fffc ( 4095MB), size=  128KB, count=1: uncachable
reg02: base=0x0 (0MB), size=  512MB, count=1: write-back
reg03: base=0x02000 (  512MB), size=  512MB, count=1: write-back
reg04: base=0x03f80 ( 1016MB), size=8MB, count=1: uncachable
reg05: base=0x03f60 ( 1014MB), size=2MB, count=1: uncachable
reg06: base=0x03f50 ( 1013MB), size=1MB, count=1: uncachable
reg07: base=0x0 (0MB), size=  128KB, count=1: uncachable

If I pass enable_mtrr_cleanup mtrr_spare_reg_nr=1 to kernel and
echo base=0x4000 size=0x1000 type=write-combining  /proc/mtrr on 
boot, then my dmesg reports:

original variable MTRRs
[0.00] reg 0, base: 4194176KB, range: 128KB, type WP
[0.00] reg 1, base: 4194048KB, range: 128KB, type UC
[0.00] reg 2, base: 0GB, range: 512MB, type WB
[0.00] reg 3, base: 512MB, range: 512MB, type WB
[0.00] reg 4, base: 1016MB, range: 8MB, type UC
[0.00] reg 5, base: 1014MB, range: 2MB, type UC
[0.00] reg 6, base: 1013MB, range: 1MB, type UC
[0.00] reg 7, base: 0GB, range: 128KB, type UC
[0.00] WARNING: BIOS bug: VAR MTRR 7 contains strange UC entry under 
1M, check with your system vendor!
[0.00] total RAM covered: 1013M
[0.00] Found optimal setting for mtrr clean up
[0.00]  gran_size: 64K  chunk_size: 16M num_reg: 4  lose 
cover RAM: 0G
[0.00] New variable MTRRs
[0.00] reg 0, base: 0GB, range: 1GB, type WB
[0.00] reg 1, base: 1013MB, range: 1MB, type UC
[0.00] reg 2, base: 1014MB, range: 2MB, type UC
[0.00] reg 3, base: 1016MB, range: 8MB, type UC

and a cat /proc/mtrr reports:

reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
reg01: base=0x03f50 ( 1013MB), size=1MB, count=1: uncachable
reg02: base=0x03f60 ( 1014MB), size=2MB, count=1: uncachable
reg03: base=0x03f80 ( 1016MB), size=8MB, count=1: uncachable
reg04: base=0x04000 ( 1024MB), size=  256MB, count=2: write-combining


This seems like a regression. Please let me know if you need more data.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-12-27 Thread ticket
Although I understand this issue is fixed in karmic, I found that if I
issue (under karmic)

  cat /proc/mtrr

I see the output shows that mtrr is not set up.
I can fix it for my gpu card by issuing a

sudo -s
echo base=0xe000 size=0x1000 type=write-combining | /proc/mtrr

If I put the echo command inside  /etc/gdm/PostLogin/Default , it is
ignored in karmic (wasn't in jaunty).  I can make it stick by putting it
in /etc/rc.local  (but with the provisos noted by the posts above).

With mtrr correctly setup, their is a very slight improvement in flash
performance, so it appears to be doing something.  I am not using an
intel gpu - I have an nVidia one.

My /boot/config-2.6.31-15-generic contains

CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
CONFIG_X86_PAT=y

So does this mean I don't need to set up mtrr in karmic?  And it is safe
to ignore the wrong setup reported by  cat /proc/mtrr ?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-12-20 Thread v1nsai
I don't know how to change the status, but the xserver-xorg-video-intel
2.9 on Ubuntu Karmic is still unclaimed on my Dell Studio 15 when I
check 'lshw -C display'.

Performance is still a little laggy, I'm using compiz but a lot of the
animations lag pretty easily, and VMware always gives me an error about
my video card being incompatible.

I tried rolling back to the 2.4 driver but that didn't fix it and almost
fubar'ed my system o_0

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-12-17 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/jaunty-proposed/xserver-xorg-video-intel

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-10-07 Thread Steve Beattie
On Tue, Oct 06, 2009 at 02:09:18AM -, Bernhard wrote:
 This bug has a remote bug watch, in this case it's related to a bug in
 freedesktopbugs (#21303). If that bug is considered invalid, then the
 bot declares the Ubuntu bug as invalid too.

That's not quite correct. The bug watch noticed that the freedesktop
bug #21303 got set to invalid, so it changed the corresponding tracking
state *of the upstream task* in this launchpad bug to match. It did not
change the state of the Ubuntu specific bug task, which had been set to
Fix Released.

-- 
Steve Beattie
sbeat...@ubuntu.com
http://NxNW.org/~steve/

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-10-06 Thread ivan
** Changed in: xserver-xorg-video-intel (Ubuntu Karmic)
   Status: Fix Released = New

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-10-06 Thread Bryce Harrington
[No reason was given for reopening the Karmic task]

** Changed in: xserver-xorg-video-intel (Ubuntu Karmic)
   Status: New = Fix Released

** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
 Assignee: Bryce Harrington (bryceharrington) = (unassigned)

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-10-05 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Status: In Progress = Invalid

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-10-05 Thread Jan Girlich
Okay, I'm not very active on launchpad, so please forgive me if I'm
sounding silly, but: What the heck??

There is this user called Bug Watch Updater who just set the status to
invalid and I try to understand why, but all I can find out is that this
account does not really exists according to https://launchpad.net/~bug-
watch-updater, is not mentioned anywhere on http://help.launchpad.net/
and google only turns up with more things Bug Watch Updater does *not*
have on launchpad like blueprints, PPAs, questions, assigned bugs and so
on.

But he just decided to invalidate this bug, so I guess it's a not very
well documented bot acting here?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-10-05 Thread Bernhard
This bug has a remote bug watch, in this case it's related to a bug in
freedesktopbugs (#21303). If that bug is considered invalid, then the
bot declares the Ubuntu bug as invalid too.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-09-09 Thread Martin Pitt
Can anyone please test the update in jaunty-proposed and give feedback
here?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-09-09 Thread Giovanni Battista Salvietti
The Xorg update in jaunty-proposed isn't working at all.
IMHO we should close this bug, 'cause the ubuntu team isn't interested at 
solving it (althought is extremely simple to do).
All in all, we only have to wait 1 more month for karmic

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-09-09 Thread Martin Pitt
Well, nothing is simple when it comes to video drivers, I'm afraid :-(,
and you just said yourself that the patch doesn't work.,,,

Anyway, thanks for testing. Since the current patch doesn't work, I
removed the current package from jaunty-proposed.

** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
   Status: Fix Committed = Confirmed

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-09-08 Thread Kasper Henriksen
** Changed in: linux (Ubuntu Karmic)
   Status: Fix Released = Fix Committed

** Changed in: linux (Ubuntu Karmic)
   Status: Fix Committed = Fix Released

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-08-13 Thread elgilicious
I have a MSI MS-1223 (PR201) laptop, which has an Intel GMA X4500
graphics chip, with Ubuntu 9.04 (32-bit) on it.

I fixed the choppy fullscreen Flash playback as follows:

1) sudo apt-get install compizconfig-settings-manager
2) Click General Options 
3) Remove the check from Unredirect Fullscreen Windows

Flash videos should now play smoothly in Firefox in fullscreen mode. I
switched to Metacity at this point because my Conky monitors were
flashing during playback withh Compiz as the window manager. If you
don't use Conky, you shouldn't see this flicker. Use whatever window
manager you want.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-08-13 Thread Theodore Lee
AFAIK, this issue still occurs with Compiz disabled or not installed at
all (at least, it affects my system that way).

The temporary fix is to download and run the fixmtrr.sh script [1] as
root (with 'sudo') every time you start up your system. So for example,
if you saved the script in your home directory you'd need to open a
terminal window and run 'sudo ~/fixmtrr.sh' (without the quotes) on each
login.

I think we'd all appreciate it if the kernel fix arrived soon. =)

[1] http://launchpadlibrarian.net/26193373/fixmtrr.sh

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-08-01 Thread Dušan Miletić
huff, is there any way of speeding them up? it's really taking to long
considering the fact that fix is already here and that this is a serious
issue.

could somebody post a detailed instructions (for mortal users) how to
fix it ourselves?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-07-23 Thread Giovanni Battista Salvietti
Well, the fix has been released. It consists of two patches, one for the 
kernel, the other for the intel driver.
The problem is that the updates hasn't been released and God knows when they'll 
release them
By now you have the choice to mess up your system using PPA kernel and driver 
or use the fixmtrr patch.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-07-17 Thread Wayne Stark
Ive just come across this thread, and am having the same problem on my Dell 
Inspiron 531, with a Radeon HD2400 Graphics card. Its been bugging me for 
months. Could anyone tell me if a fix has been submitted yet?
 Or could someone, tell me simply what the temporary fix is.
Thanks in advance.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-29 Thread Martin Pitt
** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
   Status: In Progress = Fix Committed

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-27 Thread Bryce Harrington

** Attachment added: 122_dont_fixup_mtrrs_in_gem_config.patch
   
http://launchpadlibrarian.net/28453154/122_dont_fixup_mtrrs_in_gem_config.patch

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-27 Thread Bryce Harrington
** Description changed:

- When comparing /proc/mtrr of intrepid and current jaunty i noticed there
- is an entry missing.
+ [Impact]
+ This bug is one of a set of fairly serious issues that afflict -intel users 
on Jaunty.  The problem is that X and the kernel are miscommunicating about 
MTRR's, and X ends up deleting ones it shouldn't.
+ 
+ The user-visible effect of this is poor performance in video playback,
+ such as very choppy flash video.
+ 
+ [Solution]
+ The solution for this issue is composed by a kernel patch and a xorg patch, 
both from the -intel upstream developers.  Both of these patches are upstream, 
and currently included as of the 2.6.30 kernel and -intel 2.7.99.x in Karmic, 
which does not exhibit the bug.  For Jaunty both of these need backported.
+ 
+ Kernel patch:  http://people.ubuntu.com/~apw/lp314928-jaunty/0001
+ -UBUNTU-SAUCE-drm-i915-Set-up-an-MTRR-covering-the-GT.patch
+ 
+ -intel patch:  
+   
http://launchpadlibrarian.net/28453154/122_dont_fixup_mtrrs_in_gem_config.patch
+ 
+ The kernel patch sets the MTRR correctly and the Xorg patch assures that
+ reloading xorg doesn't wipe it.
+ 
+ It's not necessary to roll out both patches simultaneously, but both
+ linux and -intel need their patches in order to make the bug be
+ resolved.
+ 
+ [Test Case]
+ 0.  Verify flash video playback is relatively okay
+ 1.  Note contents of /proc/mtrr
+ 2.  Restart xorg
+ 3.  Note contents of /proc/mtrr again, and how it has changed since #1
+ 4.  See that flash video playback is laggy
+ 
+ [Regression Potential]
+ Reasonably low.  This change has been reviewed and tested upstream and in 
karmic for quite a while, and the specific patches being proposed in this SRU 
have been provided for testers via a PPA and verified to solve the bug.  Due to 
the nature of the patch, it's not possible to prove definitively that it can't 
cause regression, so it would be advisable to test this thoroughly in 
jaunty-proposed.
+ 
+ [Original Report]
+ When comparing /proc/mtrr of intrepid and current jaunty i noticed there is 
an entry missing.
  
  Intrepid:
  reg00: base=0x (   0MB), size=1024MB: write-back, count=1
  reg01: base=0x4000 (1024MB), size= 512MB: write-back, count=1
  reg02: base=0x5f70 (1527MB), size=   1MB: uncachable, count=1
  reg03: base=0x5f80 (1528MB), size=   8MB: uncachable, count=1
  reg04: base=0xb000 (2816MB), size= 256MB: write-combining, count=1
  
  Jaunty:
  reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
  reg01: base=0x04000 ( 1024MB), size=  512MB, count=1: write-back
  reg02: base=0x05f70 ( 1527MB), size=1MB, count=1: uncachable
  reg03: base=0x05f80 ( 1528MB), size=8MB, count=1: uncachable
  
  So I tried adding it back by using:
  sudo -s
  echo base=0xb000 size=0x1000 type=write-combining  /proc/mtrr
  
  I have noticed a few things after adding that entry:
  - glxgears is now about twice as fast (I know its not a real benchmark ;)
  - 2D Performance does not seem affected however (just testing a bit with 
x11perf/gtkperf)
  - it fixes the corruption on the ttys (bug 312677)
  
  I also noticed that this entry gets removed everytime xorg gets
  restarted.
  
  But I'm not sure with all the recent changes in memory management if
  that entry should still be there or not.
  
  -
  
  lspci 
  00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express 
Processor to DRAM Controller (rev 03)
  00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML 
Express Graphics Controller (rev 03)
  00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express 
Graphics Controller (rev 03)
  00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI 
Express Port 1 (rev 03)
  00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI 
Express Port 3 (rev 03)
  00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #1 (rev 03)
  00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #2 (rev 03)
  00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #3 (rev 03)
  00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #4 (rev 03)
  00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB2 EHCI Controller (rev 03)
  00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
  00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW 
(ICH6 Family) AC'97 Audio Controller (rev 03)
  00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 
Modem Controller (rev 03)
  00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge 
(rev 03)
  00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller 
(rev 03)
  00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus 

[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-23 Thread Aaron Brady
I can confirm that the two packages, along with suggest kernel
parameters, fix video on my Aspire One 110L. Can't wait for it to hit
real-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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-23 Thread Zack Evans
I ran your patched kernel for quite some time and it was perfectly
stable. I moved X on to xorg-edgers version because I was curious about
a few other bugs...

I've just been looking into going back a few versions and doing the
testing as you suggest. However my .28 kernel is now

linux-image-2.6.28-13-generic  2.6.28-13.44

which has come from -updates, and dpkg is therefore moaning about older
versions. So does this already have the patch in, or should I force the
downgrade to your kernel for testing, with the hope of turning your
patch into the .45 release?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-22 Thread nandhp
Sorry, I missed the fact that the patches were supposed to be applied
together. I installed the kernel (which caused dpkg to make a fuss,
since it's now out-of-date) alongside the Xorg driver, and it works
perfectly.

I hope this will be released into jaunty-updates soon.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-22 Thread Bernhard
Yeah, hope so too. I had the feeling that this really improved my
performance.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-21 Thread Andres Mujica
Reporters, please take into account that the solution for this issue is
composed by a kernel patch and a xorg patch.

The first one provided by Andy at
http://people.ubuntu.com/~apw/lp314928-jaunty/

The second one provided by Bryce's magenta PPA
https://edge.launchpad.net/~bryceharrington/+archive/magenta

The kernel patch sets correctly the MTRR and the Xorg one assures that
reloading xorg doesn't wipe it.


Please reporters with the same issue, test both, and confirm here to move those 
to normal updates (i believe they aren't there yet.)

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-21 Thread Mike.lifeguard
Isn't the kernal patch applied at some point such that it is present in
2.6.30 release (that's how it's fixed for Karmic)? And wouldn't the xorg
fix be present in bleeding-edge code like
2:2.7.99.1+git20090605.66ceedc0-0ubuntu0sarvatt2~jaunty (bryce's magenta
PPA seems to be patched 2.6.3)?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-21 Thread Andres Mujica
Sure Mike, i've should have said Jaunty's reporters.

(the kernel patch applies to 2.6.28 series and the xorg one to the 2.6.3
intel driver, both from Jaunty)

sorry for the confusion.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-18 Thread nandhp
I can also confirm on my ThinkPad T500 running Jaunty that the deb from
the PPA does not resolve stuttering in  flash video (e.g. fullscreen
Hulu, embedded YouTube), but the fixmtrr shell script does:

/proc/mtrr after installing the deb, before running fixmtrr.sh:
reg00: base=0x07d00 ( 2000MB), size=   16MB, count=1: uncachable
reg01: base=0x07e00 ( 2016MB), size=   32MB, count=1: uncachable
reg02: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg03: base=0x07ce0 ( 1998MB), size=2MB, count=1: uncachable

After running fixmtrr.sh:
reg00: base=0x07d00 ( 2000MB), size=   16MB, count=1: uncachable
reg01: base=0x07e00 ( 2016MB), size=   32MB, count=1: uncachable
reg02: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg03: base=0x07ce0 ( 1998MB), size=2MB, count=1: uncachable
reg04: base=0x0d000 ( 3328MB), size=  256MB, count=1: write-combining

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-18 Thread nandhp

** Attachment added: lspci -vvnn
   http://launchpadlibrarian.net/28066707/lspci.txt

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-10 Thread Azarashi
lspci -vvnn:
Region 2: Memory at e000 (64-bit, prefetchable) [size=256M]

cat /proc/mtrr:
reg01: base=0x0e000 ( 3584MB), size=  512MB, count=1: uncachable

/proc/mtrr already has the region but it is not write-combining. Is
there any way to reset it or everything is fine and I shouldn't do
anything?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-07 Thread Musthafa Meeran
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 f460 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at 4000 [size=8]
Region 2: Memory at e000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at f468 (32-bit, non-prefetchable) [size=256K]
Capabilities: access denied
Kernel modules: intelfb

cat /proc/mtrr :

reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0xf7f80 (63480MB), size=8MB, count=1: uncachable
reg02: base=0x0feda ( 4077MB), size=  128KB, count=1: uncachable
reg03: base=0x0e000 ( 3584MB), size=  256MB, count=1: write-combining

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-06 Thread Bernhard
Thanks for the patch Bryce. At first glance, this patch seems to have
improved my sound and video stuttering.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-06 Thread Giovanni Battista Salvietti
I went to the ppa, but I see only a karmic repository where is the
jaunty one?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-06 Thread Bernhard
You can just download the deb file and install it on your machine with
dpkg -i ...

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-06 Thread Bryce Harrington
It's updated with a jaunty one now.

On Sat, Jun 06, 2009 at 09:20:41PM -, Giovanni Battista Salvietti wrote:
 I went to the ppa, but I see only a karmic repository where is the
 jaunty one?
 
 -- 
 [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 bug assignee.
 
 Status in X.org xf86-video-intel: In Progress
 Status in “linux” source package in Ubuntu: Fix Released
 Status in “xserver-xorg-video-intel” source package in Ubuntu: Fix Released
 Status in linux in Ubuntu Jaunty: In Progress
 Status in xserver-xorg-video-intel in Ubuntu Jaunty: In Progress
 Status in linux in Ubuntu Karmic: Fix Released
 Status in xserver-xorg-video-intel in Ubuntu Karmic: Fix Released
 
 Bug description:
 When comparing /proc/mtrr of intrepid and current jaunty i noticed there is 
 an entry missing.
 
 Intrepid:
 reg00: base=0x (   0MB), size=1024MB: write-back, count=1
 reg01: base=0x4000 (1024MB), size= 512MB: write-back, count=1
 reg02: base=0x5f70 (1527MB), size=   1MB: uncachable, count=1
 reg03: base=0x5f80 (1528MB), size=   8MB: uncachable, count=1
 reg04: base=0xb000 (2816MB), size= 256MB: write-combining, count=1
 
 Jaunty:
 reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
 reg01: base=0x04000 ( 1024MB), size=  512MB, count=1: write-back
 reg02: base=0x05f70 ( 1527MB), size=1MB, count=1: uncachable
 reg03: base=0x05f80 ( 1528MB), size=8MB, count=1: uncachable
 
 So I tried adding it back by using:
 sudo -s
 echo base=0xb000 size=0x1000 type=write-combining  /proc/mtrr
 
 I have noticed a few things after adding that entry:
 - glxgears is now about twice as fast (I know its not a real benchmark ;)
 - 2D Performance does not seem affected however (just testing a bit with 
 x11perf/gtkperf)
 - it fixes the corruption on the ttys (bug 312677)
 
 I also noticed that this entry gets removed everytime xorg gets restarted.
 
 But I'm not sure with all the recent changes in memory management if that 
 entry should still be there or not.
 
 -
 
 lspci 
 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express 
 Processor to DRAM Controller (rev 03)
 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML 
 Express Graphics Controller (rev 03)
 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express 
 Graphics Controller (rev 03)
 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI 
 Express Port 1 (rev 03)
 00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI 
 Express Port 3 (rev 03)
 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
 USB UHCI #1 (rev 03)
 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
 USB UHCI #2 (rev 03)
 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
 USB UHCI #3 (rev 03)
 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
 USB UHCI #4 (rev 03)
 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
 USB2 EHCI Controller (rev 03)
 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
 00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW 
 (ICH6 Family) AC'97 Audio Controller (rev 03)
 00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 
 Modem Controller (rev 03)
 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge 
 (rev 03)
 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller 
 (rev 03)
 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus 
 Controller (rev 03)
 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit 
 Ethernet PCI Express (rev 11)
 04:00.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller 
 (rev 03)
 04:00.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller 
 (rev 01)
 04:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] 
 Network Connection (rev 05)

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-06 Thread Giovanni Battista Salvietti
@Bryce

Sorry, the patch in the ppa doesn't work for me (Jaunty 64bit). It didn't set 
the mtrr at all. By the way fixmtrr.sh method works.
Here it is my lspci, if it helps

00:02.0 VGA compatible controller [0300]: Intel Corporation 82G33/G31 Express 
Integrated Graphics Controller [8086:29c2] (rev 02)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device [1297:3106]
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 2299
Region 0: Memory at fdf0 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at ff00 [size=8]
Region 2: Memory at d000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at fdc0 (32-bit, non-prefetchable) [size=1M]
Capabilities: access denied

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-05 Thread Bryce Harrington
Here is a PPA with this patch packaged for jaunty

  https://edge.launchpad.net/~bryceharrington/+archive/magenta

Please test and verify it solves the original issue.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-06-02 Thread Mike.lifeguard
@Bryce: Should those experiencing this bug apply the patch you've
provided? I guess that's supposed to replace the workaround script
provided by Bartek?

Being unfamiliar with launchpad, I also wanted to check that I'm
understanding the status correctly: this bug is fixed for Karmic, but
not for Jaunty... is a fix planned for Jaunty? Is it possible to get
some bleeding-edge whatever that debdiff patches, which I think is x
in Jaunty, even if it's not official?

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-15 Thread max
Just started having this problem since upgrading to Ubuntu 9.04. This is
pretty bad - terrible lagging in videos. I hope this is fixed pretty
soon.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-13 Thread Andy Whitcroft
** Tags added: regression-release

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-12 Thread Bryce Harrington
** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
   Importance: Undecided = Critical

** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
   Status: Triaged = In Progress

** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
Milestone: None = jaunty-updates

** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
 Assignee: (unassigned) = Bryce Harrington (bryceharrington)

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-12 Thread Bryce Harrington

** Bug watch added: freedesktop.org Bugzilla #21303
   https://bugs.freedesktop.org/show_bug.cgi?id=21303

** Also affects: xserver-xorg-video-intel via
   https://bugs.freedesktop.org/show_bug.cgi?id=21303
   Importance: Unknown
   Status: Unknown

** Attachment added: intel_mtrr.debdiff
   http://launchpadlibrarian.net/26650527/intel_mtrr.debdiff

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-12 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Status: Unknown = In Progress

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-11 Thread udippel
Though this might be slightly off-topic, it still is a helper:
Here gmplayer usually crashes NBR, but mplayer 'worked', by stuttering a whole 
lot.
The first culprit that I found: pulseaudio. 
As soon as I ordered it to use sdl or OSS, it played much smoother. (mplayer 
myfile.avi -ao oss)

Now I wonder if and how to replace pulseaudio; or is it going to break
something?

Uwe

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-11 Thread Andy Whitcroft
@bryce -- could you give us some insite into the x-servers interaction
with the MTRRs here.  It appears from the logs in the previous couple of
comments that the x-server is also attempting to instigate and remove an
MTRR for the AGP aperture.  Yet it seems to be failing to create in in
our case, but still managing to remove it on exit.  There appear to be
two errors in behaviour here from xorg:

1) it is removing the AGP mtrr regarless of whether it was it that installed it
2) when there is no mtrr at start it seems to fail to add one dispite trying

Perhaps you can point me to the right place in X or some docs as to the
expected behaviour.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-11 Thread Bryce Harrington
** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
   Status: Won't Fix = Triaged

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-08 Thread Andy Whitcroft
@Bartek, Zack -- yes I see the same.  I am tracking the trigger for the
removal as it is not the driver which is doing it.  Will spin an updated
patch when I have that identified and fixed.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-08 Thread Bartek
I don't know whether I'm stating the obvious but maybe it will help.
When the X server is started using 'startx' in user mode and fixmtrr.sh
has not been run, the following error message will output to the
terminal when X is closed:



Dropping master
error setting MTRR (base = 0xd000, size = 0x1000, type = 1) Invalid
argument (22)
 ddxSigGiveUp: Closing log

and xorg log has the following final lines:
(WW) intel(0): drmDropMaster failed: Invalid argument
 ddxSigGiveUp: Closing log



When fixmtrr was run before, the lines look like so:
Dropping master
 ddxSigGiveUp: Closing log

and xorg.log still looks the same.



-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-07 Thread Stefan Bader
Confirming the correct setup of MTRR on an Acer Aspire One with an Intel
945GME chipset.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-07 Thread Bartek
I would like to add emphasis to Zack's point that the fix proposed in
the 2.6.28-13.44~lp314928apw1 does not survive an X restart, logout /
login procedure or a user switching.

-Bartek

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-07 Thread Bryce Harrington
[Tracking linux status]

** Changed in: xserver-xorg-video-intel (Ubuntu Karmic)
   Status: Triaged = Fix Released

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Andy Whitcroft
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=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x08000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x1 ( 4096MB), size= 1024MB, count=1: write-back
reg03: base=0x0be00 ( 3040MB), size=   32MB, count=1: uncachable
reg04: base=0x0ffe0 ( 4094MB), size=2MB, count=1: write-protect
reg05: base=0x0bde0 ( 3038MB), size=2MB, count=1: uncachable
reg06: base=0x0d000 ( 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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Andy Whitcroft
@Kresimir -- this fix will not help your case as the MTRR handling is
driver specific.  As this fix for this bug is driver specific, we should
get a new bug filed for yours and add a link to this one.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Luka Renko
Andy: your kernel fixes the problem for me (ThinkPad X200s with
4500MHD). No more chopy flash, no need to fixmtrr.sh!

Thanks you very much for looking into this and I hope this fix will get
into jaunty-proposed soon.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Andy Whitcroft
** Changed in: linux (Ubuntu Jaunty)
   Status: New = In Progress

** Changed in: linux (Ubuntu Jaunty)
 Assignee: (unassigned) = Andy Whitcroft (apw)

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Ilya B
$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated 
Graphics Controller (rev 02)

Repository kernel:
$ uname -a
Linux corner 2.6.28-12-generic #43-Ubuntu SMP Fri May 1 19:27:06 UTC 2009 i686 
GNU/Linux
$ cat /proc/mtrr
reg00: base=0x0 ( 0MB), size= 1024MB, count=1: write-back
reg01: base=0x03f80 ( 1016MB), size= 8MB, count=1: uncachable

~lp314928apw1 kernel:
$ uname -a
Linux corner 2.6.28-13-generic #44~lp314928apw1 SMP Wed May 6 08:32:32 UTC 2009 
i686 GNU/Linux
$ cat /proc/mtrr
reg00: base=0x0 ( 0MB), size= 1024MB, count=1: write-back
reg01: base=0x03f80 ( 1016MB), size= 8MB, count=1: uncachable
reg02: base=0x0e000 ( 3584MB), size= 256MB, count=1: write-combining

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Tim Gardner
Already upstream

** Changed in: linux (Ubuntu Karmic)
   Status: In Progress = Fix Released

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread wirechief
cat /proc/mtrr
reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f70 ( 2039MB), size=1MB, count=1: uncachable
reg02: base=0x07f80 ( 2040MB), size=8MB, count=1: uncachable
then i tried this fix
sudo sh /usr/local/bin/fixmtrr.sh
Before:
---
reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f70 ( 2039MB), size=1MB, count=1: uncachable
reg02: base=0x07f80 ( 2040MB), size=8MB, count=1: uncachable

After:
--
reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f70 ( 2039MB), size=1MB, count=1: uncachable
reg02: base=0x07f80 ( 2040MB), size=8MB, count=1: uncachable
reg03: base=0x0e000 ( 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-racer0.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 a...@canonical.com 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=0x0 (    0MB), size= 2048MB, count=1: write-back
    reg01: base=0x08000 ( 2048MB), size= 1024MB, count=1: write-back
    reg02: base=0x1 ( 4096MB), size= 1024MB, count=1: write-back
    reg03: base=0x0be00 ( 3040MB), size=   32MB, count=1: uncachable
    reg04: base=0x0ffe0 ( 4094MB), size=    2MB, count=1: write-protect
    reg05: base=0x0bde0 ( 3038MB), size=    2MB, count=1: uncachable
    reg06: base=0x0d000 ( 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,

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Zack Evans
Andy's kernel is a partial fix - but at least it proves the patch is
along the right lines...

Netbook Advent 4211 = rebadge of MSI Wind.

$ uname -a
Linux vademecum 2.6.28-13-generic #44~lp314928apw1 SMP Wed May 6 08:32:32 UTC 
2009 i686 GNU/Linux

On boot and after first successful X login...
$ cat /proc/mtrr
reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
reg01: base=0x03f70 ( 1015MB), size=1MB, count=1: uncachable
reg02: base=0x03f80 ( 1016MB), size=8MB, count=1: uncachable
reg03: base=0x0c000 ( 3072MB), size=  256MB, count=1: write-combining

After a (clean!) X restart (logged out and restarted from the greeter)...
reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
reg01: base=0x03f70 ( 1015MB), size=1MB, count=1: uncachable
reg02: base=0x03f80 ( 1016MB), size=8MB, count=1: uncachable

Have attached my lspci -vvnn.


** Attachment added: lspci-vvnn-msiwind.txt
   http://launchpadlibrarian.net/26396644/lspci-vvnn-msiwind.txt

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread bookworm
New to Ubuntu. I have been trying to figure out what I need to enter as
it seems to be different for each person. Here is what I have

reg00: base=0x0 (0MB), size=  512MB, count=1: write-back
reg01: base=0x01f70 (  503MB), size=1MB, count=1: uncachable
reg02: base=0x01f80 (  504MB), size=8MB, count=1: uncachable

If some could help me figure out my echo line it would be much
appreciated. I tried to compair others but couldn't figure out how the
command is generated.

Thanks

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread Bryce Harrington
** Tags added: corruption

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread wirechief
check this link : http://ubuntuforums.org/showthread.php?t=1130582


On Wed, May 6, 2009 at 4:48 PM, bookworm nofishple...@gmail.com wrote:
 New to Ubuntu. I have been trying to figure out what I need to enter as
 it seems to be different for each person. Here is what I have

 reg00: base=0x0 (    0MB), size=  512MB, count=1: write-back
 reg01: base=0x01f70 (  503MB), size=    1MB, count=1: uncachable
 reg02: base=0x01f80 (  504MB), size=    8MB, count=1: uncachable

 If some could help me figure out my echo line it would be much
 appreciated. I tried to compair others but couldn't figure out how the
 command is generated.

 Thanks

 --
 [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,

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-06 Thread bookworm
Thanks wirechief.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-05 Thread Andy Whitcroft
** Changed in: linux (Ubuntu Karmic)
   Status: New = In Progress

** Changed in: linux (Ubuntu Karmic)
 Assignee: (unassigned) = Andy Whitcroft (apw)

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-05 Thread Kresimir Krizanic
FYI, the same thing (missing entry in /proc/mmtr) is occuring on 
ATI Radeon X1250. Manually adding the missing entry solves 
the choppy flash issue. 

initial mmtr:

reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
reg01: base=0x04000 ( 1024MB), size=  512MB, count=1: write-back
reg02: base=0x06000 ( 1536MB), size=  256MB, count=1: write-back
reg03: base=0x07000 ( 1792MB), size=  128MB, count=1: write-back

entry added:

reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
reg01: base=0x04000 ( 1024MB), size=  512MB, count=1: write-back
reg02: base=0x06000 ( 1536MB), size=  256MB, count=1: write-back
reg03: base=0x07000 ( 1792MB), size=  128MB, count=1: write-back
reg04: base=0x0c000 ( 3072MB), size=  256MB, count=2: write-combining

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-04 Thread Robert Hooker
Aspire ones need enable_mtrr_cleanup mtrr_spare_reg_nr=1 added to the
boot options.. It's a different bug because they don't have the MTRRs in
the first place but marked as a duplicate of this.

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/370552

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-03 Thread Ste
@Bartek, Norman: the script worked, thanks.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-03 Thread Eddy
Thanks! Fixed my jerky flash videos.


lspci -v

this gives me 2 entries to my video card amongst others, its the first
one I need which tells me the memory region (Memory at d000 (32-bit,
prefetchable) [size=256M])

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at eff0 (32-bit, non-prefetchable) [size=512K]
I/O ports at eff8 [size=8]
Memory at d000 (32-bit, prefetchable) [size=256M]
Memory at efec (32-bit, non-prefetchable) [size=256K]
Capabilities: access denied
Kernel modules: intelfb

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 
Express Integrated Graphics Controller (rev 03)
Subsystem: Dell Device 0201
Flags: bus master, fast devsel, latency 0
Memory at eff8 (32-bit, non-prefetchable) [size=512K]
Capabilities: access denied


 
my mtrr before:

:~$ cat /proc/mtrr 
reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f80 ( 2040MB), size=8MB, count=1: uncachable
reg02: base=0x07f70 ( 2039MB), size=1MB, count=1: uncachable

I then use the memory region I obtained before and enter

sudo -s
echo base=0xd000 size=0x1000 type=write-combining  /proc/mtrr


AFTER:

reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x07f80 ( 2040MB), size=8MB, count=1: uncachable
reg02: base=0x07f70 ( 2039MB), size=1MB, count=1: uncachable
reg03: base=0x0d000 ( 3328MB), size=  256MB, count=2: write-combining

tada!

Fixed, thanks everyone

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-03 Thread JoshAF1986
Hello

I need help...

I have an acer aspire one A110 with Jaunty netbook remix.
I have already modified the kernel to enable MTRR cleanup (I think... how can I 
check?)

cat /proc/mtrr
reg00: base=0x0fffe ( 4095MB), size=  128KB, count=1: write-protect
reg01: base=0x0fffc ( 4095MB), size=  128KB, count=1: uncachable
reg02: base=0x0 (0MB), size=  256MB, count=1: write-back
reg03: base=0x01000 (  256MB), size=  256MB, count=1: write-back
reg04: base=0x01f80 (  504MB), size=8MB, count=1: uncachable
reg05: base=0x01f60 (  502MB), size=2MB, count=1: uncachable
reg06: base=0x01f50 (  501MB), size=1MB, count=1: uncachable
reg07: base=0x0 (0MB), size=  128KB, count=1: uncachable

lspci -v
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express 
Integrated Graphics Controller (rev 03)
Subsystem: Acer Incorporated [ALI] Device 015b
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 3848 (32-bit, non-prefetchable) [size=512K]
I/O ports at 60c0 [size=8]
Memory at 2000 (32-bit, prefetchable) [size=256M]
Memory at 3850 (32-bit, non-prefetchable) [size=256K]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 
Enable-
Capabilities: [d0] Power Management version 2
Kernel modules: intelfb

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 
Express Integrated Graphics Controller (rev 03)
Subsystem: Acer Incorporated [ALI] Device 015b
Flags: bus master, fast devsel, latency 0
Memory at 3840 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2


I can't get the fix to work. When I type:

r...@joshaf1986-laptop:~# echo base=0xb000 size=0x1000 type
=write-combining  /proc/mtrr

I get the error message:

bash: echo: write error: No space left on device

My partitions are far from full, I don't know what is wrong.

Please advise.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-03 Thread Norman Yarvin
I think that message no space left on device means your MTRR registers
are all used up.  (There are only eight of them.)

To check whether MTRR cleanup is enabled, you can run dmesg | grep
MTRR.  The cleanup process produces the lines original variable MTRRs
and then New variable MTRRs (as well as a lot of other output).

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-02 Thread Norman Yarvin
That error message write error: invalid argument doesn't mean that
there was a syntax error.  Instead the kernel is rejecting the command.
In my case it added a line to dmesg explaining the rejection:

mtrr: type mismatch for d000,100 old: write-back new: write-
combining

That was because there was already an overlapping MTRR entry, covering
the first 4GB of address space, describing it as write-back.  The
kernel rejects the write-combining MTRR since it overlaps that write-
back range.  (There are already a bunch of MTRR entries listing
uncacheable memory ranges in the first 4GB; but that's permissible,
whereas overlap of write-combining and write-back isn't permissible.)
This is on an AMD64 machine with 4GB of memory.  I did manage to add a
write-combining MTRR entry, but only by deleting the entry covering the
first 4GB, and replacing it with one 2GB entry and one 1GB entry.  This
wouldn't be possible on all motherboards; it just happens that on this
motherboard, there's no usable memory in the fourth GB of address space;
it's all mapped either above or below that.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-02 Thread Bartek
@Norman: hmm, yes you are indeed right, my apologies to ste

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-02 Thread Norman Yarvin
Having looked into this further, I find that adding the kernel boot
parameter enable_mtrr_cleanup does exactly what I'd done in replacing
the 4GB entry, and for the same purpose (opening up a range where a new
write-combining entry can go).  Plus, it's a general algorithm, not
something specific to this one motherboard.  The sanitizer can be
selected by default when compiling the kernel
(CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1), but Ubuntu doesn't do so.

Looking at this thread:
   http://lkml.org/lkml/2008/4/28/52

it seems that the kernel developers are moving towards using PAT, rather
than MTRRs, for the write-combining regions; but the Ubuntu kernel
doesn't have PAT enabled.

So people who are getting the write error: invalid argument message
might try adding that boot parameter.

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-01 Thread Bryce Harrington
This seems to be something requiring a kernel-side change, so assigning
a task for linux.

I'm leaving the -intel task open just to make it easier to find and keep
track of on the X side, but there is not actually work on the X side to
be done for this.

I don't know about the feasibility of a backport to jaunty, however
since it would help address some of the performance issues for -intel,
it would be nice if the kernel team could look into it.

** Summary changed:

- [i915GM] MTRR entry missing since jaunty - is this intentional?
+ [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on 
ttys

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Jaunty)
   Importance: Undecided
   Status: New

** Also affects: xserver-xorg-video-intel (Ubuntu Jaunty)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Karmic)
   Importance: Undecided
   Status: New

** Also affects: xserver-xorg-video-intel (Ubuntu Karmic)
   Importance: Undecided
   Status: Confirmed

** Changed in: linux (Ubuntu Jaunty)
   Importance: Undecided = High

** Changed in: linux (Ubuntu Karmic)
   Importance: Undecided = High

** Changed in: linux (Ubuntu Karmic)
Milestone: None = karmic-alpha-2

** Changed in: xserver-xorg-video-intel (Ubuntu Jaunty)
   Status: New = Won't Fix

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 314928] Re: [i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys

2009-05-01 Thread Bryce Harrington
** Changed in: xserver-xorg-video-intel (Ubuntu Karmic)
   Importance: Undecided = High

** Changed in: xserver-xorg-video-intel (Ubuntu Karmic)
   Status: Confirmed = Triaged

-- 
[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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs