2009-01-08 01:37:13 |
Sebastian Keller |
bug |
|
|
added bug |
2009-01-09 06:43:07 |
Bryce Harrington |
xserver-xorg-video-intel: status |
New |
Incomplete |
|
2009-01-09 12:47:07 |
Sebastian Keller |
bug |
|
|
added attachment 'lspci.txt' (sudo lspci -vvnn) |
2009-01-09 12:47:38 |
Sebastian Keller |
bug |
|
|
added attachment 'Xorg.0.log' (Xorg.0.log) |
2009-01-09 12:47:54 |
Sebastian Keller |
xserver-xorg-video-intel: status |
Incomplete |
New |
|
2009-01-09 12:47:54 |
Sebastian Keller |
xserver-xorg-video-intel: statusexplanation |
|
|
|
2009-01-16 05:16:20 |
Bryce Harrington |
xserver-xorg-video-intel: status |
New |
Confirmed |
|
2009-01-28 10:35:29 |
Bryce Harrington |
title |
MTRR entry missing since jaunty - is this intentional? |
[915GM] MTRR entry missing since jaunty - is this intentional? |
|
2009-03-05 02:01:53 |
Bryce Harrington |
title |
[915GM] MTRR entry missing since jaunty - is this intentional? |
[i915GM] MTRR entry missing since jaunty - is this intentional? |
|
2009-04-26 22:11:48 |
Frank Hart |
removed subscriber Frank Hart |
|
|
|
2009-04-28 11:00:20 |
A. Bram Neijt |
removed subscriber A. Bram Neijt |
|
|
|
2009-04-30 18:23:38 |
Bartek |
attachment added |
|
fixmtrr.sh http://launchpadlibrarian.net/26188260/fixmtrr.sh |
|
2009-04-30 21:43:20 |
Bartek |
attachment added |
|
check whether mtrr range has been set up, move 0x prefixes to echo http://launchpadlibrarian.net/26193373/fixmtrr.sh |
|
2009-05-01 15:19:45 |
gilipter |
removed subscriber gilipter |
|
|
|
2009-05-01 22:18:14 |
Bryce Harrington |
summary |
[i915GM] MTRR entry missing since jaunty - is this intentional? |
[i915GM] MTRR entry gets removed when restarting xorg - causes corruption on ttys |
|
2009-05-01 22:18:30 |
Bryce Harrington |
bug task added |
|
linux (Ubuntu) |
|
2009-05-01 22:18:45 |
Bryce Harrington |
bug task added |
|
linux (Ubuntu Jaunty) |
|
2009-05-01 22:18:45 |
Bryce Harrington |
bug task added |
|
xserver-xorg-video-intel (Ubuntu Jaunty) |
|
2009-05-01 22:18:45 |
Bryce Harrington |
bug task added |
|
linux (Ubuntu Karmic) |
|
2009-05-01 22:18:45 |
Bryce Harrington |
bug task added |
|
xserver-xorg-video-intel (Ubuntu Karmic) |
|
2009-05-01 22:19:10 |
Bryce Harrington |
linux (Ubuntu Jaunty): importance |
Undecided |
High |
|
2009-05-01 22:19:52 |
Bryce Harrington |
linux (Ubuntu Karmic): importance |
Undecided |
High |
|
2009-05-01 22:19:52 |
Bryce Harrington |
linux (Ubuntu Karmic): milestone |
|
karmic-alpha-2 |
|
2009-05-01 22:21:47 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Jaunty): status |
New |
Won't Fix |
|
2009-05-01 22:41:30 |
zaphodbblx |
removed subscriber zaphodbblx |
|
|
|
2009-05-01 23:03:18 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Karmic): importance |
Undecided |
High |
|
2009-05-01 23:03:18 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Karmic): status |
Confirmed |
Triaged |
|
2009-05-05 17:37:17 |
Andy Whitcroft |
linux (Ubuntu Karmic): status |
New |
In Progress |
|
2009-05-05 17:37:17 |
Andy Whitcroft |
linux (Ubuntu Karmic): assignee |
|
Andy Whitcroft (apw) |
|
2009-05-06 12:55:12 |
Andy Whitcroft |
linux (Ubuntu Jaunty): status |
New |
In Progress |
|
2009-05-06 12:55:12 |
Andy Whitcroft |
linux (Ubuntu Jaunty): assignee |
|
Andy Whitcroft (apw) |
|
2009-05-06 14:01:23 |
Tim Gardner |
linux (Ubuntu Karmic): status |
In Progress |
Fix Released |
|
2009-05-06 15:05:30 |
Zack Evans |
attachment added |
|
lspci-vvnn-msiwind.txt http://launchpadlibrarian.net/26396644/lspci-vvnn-msiwind.txt |
|
2009-05-06 15:15:33 |
Ste |
removed subscriber Ste |
|
|
|
2009-05-06 20:57:03 |
Bryce Harrington |
tags |
intel jaunty mtrr |
corruption intel jaunty mtrr |
|
2009-05-07 21:52:09 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Karmic): status |
Triaged |
Fix Released |
|
2009-05-11 18:02:27 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Jaunty): status |
Won't Fix |
Triaged |
|
2009-05-12 20:36:09 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Jaunty): importance |
Undecided |
Critical |
|
2009-05-12 20:36:09 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Jaunty): status |
Triaged |
In Progress |
|
2009-05-12 20:36:09 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Jaunty): milestone |
|
jaunty-updates |
|
2009-05-12 20:36:09 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Jaunty): assignee |
|
Bryce Harrington (bryceharrington) |
|
2009-05-12 20:49:33 |
Bryce Harrington |
bug watch added |
|
https://bugs.freedesktop.org/show_bug.cgi?id=21303 |
|
2009-05-12 20:49:33 |
Bryce Harrington |
bug task added |
|
xserver-xorg-video-intel |
|
2009-05-12 20:51:24 |
Bryce Harrington |
attachment added |
|
intel_mtrr.debdiff http://launchpadlibrarian.net/26650527/intel_mtrr.debdiff |
|
2009-05-12 20:58:51 |
Bug Watch Updater |
xserver-xorg-video-intel: status |
Unknown |
In Progress |
|
2009-05-13 11:50:28 |
Andy Whitcroft |
tags |
corruption intel jaunty mtrr |
corruption intel jaunty mtrr regression-release |
|
2009-06-06 21:36:05 |
Jayhawk |
removed subscriber Jayhawk |
|
|
|
2009-06-11 05:21:51 |
Mingming Ren |
removed subscriber Mingming |
|
|
|
2009-06-18 15:04:20 |
nandhp |
attachment added |
|
lspci -vvnn http://launchpadlibrarian.net/28066707/lspci.txt |
|
2009-06-23 10:34:17 |
Iain |
removed subscriber Iain |
|
|
|
2009-06-27 07:05:16 |
Bryce Harrington |
attachment added |
|
122_dont_fixup_mtrrs_in_gem_config.patch http://launchpadlibrarian.net/28453154/122_dont_fixup_mtrrs_in_gem_config.patch |
|
2009-06-27 07:24:09 |
Bryce Harrington |
description |
When comparing /proc/mtrr of intrepid and current jaunty i noticed there is an entry missing.
Intrepid:
reg00: base=0x00000000 ( 0MB), size=1024MB: write-back, count=1
reg01: base=0x40000000 (1024MB), size= 512MB: write-back, count=1
reg02: base=0x5f700000 (1527MB), size= 1MB: uncachable, count=1
reg03: base=0x5f800000 (1528MB), size= 8MB: uncachable, count=1
reg04: base=0xb0000000 (2816MB), size= 256MB: write-combining, count=1
Jaunty:
reg00: base=0x000000000 ( 0MB), size= 1024MB, count=1: write-back
reg01: base=0x040000000 ( 1024MB), size= 512MB, count=1: write-back
reg02: base=0x05f700000 ( 1527MB), size= 1MB, count=1: uncachable
reg03: base=0x05f800000 ( 1528MB), size= 8MB, count=1: uncachable
So I tried adding it back by using:
sudo -s
echo "base=0xb0000000 size=0x10000000 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) |
[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=0x00000000 ( 0MB), size=1024MB: write-back, count=1
reg01: base=0x40000000 (1024MB), size= 512MB: write-back, count=1
reg02: base=0x5f700000 (1527MB), size= 1MB: uncachable, count=1
reg03: base=0x5f800000 (1528MB), size= 8MB: uncachable, count=1
reg04: base=0xb0000000 (2816MB), size= 256MB: write-combining, count=1
Jaunty:
reg00: base=0x000000000 ( 0MB), size= 1024MB, count=1: write-back
reg01: base=0x040000000 ( 1024MB), size= 512MB, count=1: write-back
reg02: base=0x05f700000 ( 1527MB), size= 1MB, count=1: uncachable
reg03: base=0x05f800000 ( 1528MB), size= 8MB, count=1: uncachable
So I tried adding it back by using:
sudo -s
echo "base=0xb0000000 size=0x10000000 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) |
|
2009-06-29 06:37:21 |
Martin Pitt |
xserver-xorg-video-intel (Ubuntu Jaunty): status |
In Progress |
Fix Committed |
|
2009-07-08 22:17:23 |
Matt Gagne |
removed subscriber Matt Gagne |
|
|
|
2009-07-13 08:16:50 |
Alexey Androsov |
removed subscriber Alexey Androsov |
|
|
|
2009-07-17 20:27:33 |
DSHR |
removed subscriber DSHR |
|
|
|
2009-07-24 18:57:19 |
Steffen Röcker |
removed subscriber Steffen Röcker |
|
|
|
2009-09-08 18:46:40 |
Kasper Henriksen |
linux (Ubuntu Karmic): status |
Fix Released |
Fix Committed |
|
2009-09-08 18:46:46 |
Kasper Henriksen |
linux (Ubuntu Karmic): status |
Fix Committed |
Fix Released |
|
2009-09-09 13:31:21 |
Martin Pitt |
xserver-xorg-video-intel (Ubuntu Jaunty): status |
Fix Committed |
Confirmed |
|
2009-09-28 20:35:08 |
Kels |
removed subscriber Kels |
|
|
|
2009-10-05 21:49:34 |
Bug Watch Updater |
xserver-xorg-video-intel: status |
In Progress |
Invalid |
|
2009-10-06 18:11:18 |
ivan |
xserver-xorg-video-intel (Ubuntu Karmic): status |
Fix Released |
New |
|
2009-10-06 18:32:59 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Karmic): status |
New |
Fix Released |
|
2009-10-06 18:33:25 |
Bryce Harrington |
xserver-xorg-video-intel (Ubuntu Jaunty): assignee |
Bryce Harrington (bryceharrington) |
|
|
2009-10-13 11:11:24 |
Christian Göbel |
removed subscriber Christian Göbel |
|
|
|
2009-10-24 23:56:19 |
Hendrik van Antwerpen |
removed subscriber Hendrik van Antwerpen |
|
|
|
2009-11-01 10:42:32 |
Mattias Öhrn |
removed subscriber Mattias Öhrn |
|
|
|
2009-12-18 03:50:27 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/jaunty-proposed/xserver-xorg-video-intel |
|
2009-12-18 07:41:04 |
udippel |
removed subscriber udippel |
|
|
|
2009-12-27 17:22:41 |
David Hardstone |
removed subscriber David Hardstone |
|
|
|
2009-12-28 13:24:12 |
Nighto |
removed subscriber Nighto |
|
|
|
2010-01-02 19:46:50 |
Dominik Stadler |
removed subscriber Dominik Stadler |
|
|
|
2010-01-04 23:57:02 |
molecule-eye |
removed subscriber molecule-eye |
|
|
|
2010-01-21 21:31:53 |
José P Valdés |
removed subscriber José P Valdés |
|
|
|
2010-01-24 17:06:31 |
fossfreedom |
removed subscriber DavidM |
|
|
|
2010-05-01 13:52:22 |
Mike.lifeguard |
removed subscriber Mike.lifeguard |
|
|
|
2010-05-01 18:16:19 |
Gem |
removed subscriber Gem |
|
|
|
2010-05-18 06:05:22 |
Omega Music |
removed subscriber Omega Music |
|
|
|
2010-06-13 13:25:40 |
Sebastian Keller |
removed subscriber Sebastian Keller |
|
|
|
2010-06-18 19:16:28 |
Andy Whitcroft |
linux (Ubuntu Jaunty): status |
In Progress |
Won't Fix |
|
2010-07-20 21:48:45 |
Musthafa Meeran |
removed subscriber Musthafa Meeran |
|
|
|
2010-09-10 21:39:19 |
Zer0Nin3r |
removed subscriber Zer0Nin3r |
|
|
|
2010-09-14 12:58:27 |
Bug Watch Updater |
xserver-xorg-video-intel: importance |
Unknown |
Medium |
|
2010-10-12 17:36:30 |
icfri |
removed subscriber icfri |
|
|
|
2010-10-24 09:15:12 |
Alex Valavanis |
xserver-xorg-video-intel (Ubuntu Jaunty): status |
Confirmed |
Won't Fix |
|
2010-10-24 09:18:18 |
Alex Valavanis |
bug |
|
|
added subscriber Alex Valavanis |
2011-01-25 15:18:18 |
Bug Watch Updater |
xserver-xorg-video-intel: importance |
Medium |
Unknown |
|
2011-01-26 11:12:05 |
JoshAF1986 |
removed subscriber JoshAF1986 |
|
|
|
2011-02-03 18:47:19 |
Bug Watch Updater |
xserver-xorg-video-intel: importance |
Unknown |
Medium |
|
2012-02-23 22:35:52 |
Kai Kasurinen |
removed subscriber Kai Kasurinen |
|
|
|
2013-02-17 06:04:02 |
mazurkin |
bug |
|
|
added subscriber mazurkin |