[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
Ralf Hildebrandt, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/comments/12 regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find. ** Changed in: linux (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
@Wladimir Mutel (mwg): Your solution work for me. Kernel: 3.2.0-25 Ubuntu 12.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
Btw, "enable_mtrr_cleanup mtrr_spare_reg_nr=1" did not help in my case. Now, by my subjective perception, graphic performance of my Intel Arrandale IGP with 256 MB shared-RAM framebuffer has become somewhat livelier. At least judging by Flash video and heavily-animated Flash games. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
ok, sorting my mtrr file by its second field, I noticed this 200MB region covered by 3 regs : 3,4,5 I made an initramfs hook /usr/share/initramfs-tools/scripts/init-top/screw_mtrr : -- #!/bin/sh PREREQ="" prereqs() { echo "$PREREQ" } case $1 in # get pre-requisites prereqs) prereqs exit 0 ;; esac for x in $(awk '$NF=="uncachable"{print substr($1,5,1)}' /proc/mtrr) do echo disable=$x > /proc/mtrr done -- and included it into my initramfs image (update-initramfs -u -k all) after the reboot, uncachable MTRRs were disabled , and i915 driver was able to allocate an MTRR for its needs : $ cat /proc/mtrr reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back reg01: base=0x0ffe0 ( 4094MB), size=2MB, count=1: write-protect reg02: base=0x08000 ( 2048MB), size= 1024MB, count=1: write-back reg03: base=0x0c000 ( 3072MB), size= 256MB, count=1: write-combining reg06: base=0x1 ( 4096MB), size= 1024MB, count=1: write-back -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
The problem is still there on my Acer 1830T, 4GB RAM with Quantal kernel 3.4.0-1-generic, x86_64 $ cat /proc/mtrr reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back reg01: base=0x0ffe0 ( 4094MB), size=2MB, count=1: write-protect reg02: base=0x08000 ( 2048MB), size= 1024MB, count=1: write-back reg03: base=0x0b800 ( 2944MB), size= 128MB, count=1: uncachable reg04: base=0x0b400 ( 2880MB), size= 64MB, count=1: uncachable reg05: base=0x0b380 ( 2872MB), size=8MB, count=1: uncachable reg06: base=0x1 ( 4096MB), size= 1024MB, count=1: write-back reg07: base=0x13800 ( 4992MB), size= 128MB, count=1: uncachable $ cat /proc/iomem - : reserved 0001-0009cfff : System RAM 0009d000-0009 : reserved 000a-000b : PCI Bus :00 000c-000c7fff : Video ROM 000e-000f : reserved 000f-000f : System ROM 0010-b363efff : System RAM 0100-01689262 : Kernel code 01689263-01cdfa3f : Kernel data 01dcc000-01f2 : Kernel bss b363f000-b36befff : reserved b36bf000-b37befff : ACPI Non-volatile Storage b37bf000-b37fefff : ACPI Tables b37ff000-b37f : System RAM b380-bfff : reserved c000-feaf : PCI Bus :00 c000-cfff : :00:02.0 d000-d03f : :00:02.0 d040-d13f : PCI Bus :01 d140-d23f : PCI Bus :02 d240-d33f : PCI Bus :02 d240-d2403fff : :02:00.0 d240-d2403fff : :02:00.0 d340-d43f : PCI Bus :01 d340-d343 : :01:00.0 d340-d343 : atl1c d440-d4403fff : :00:1b.0 d440-d4403fff : ICH HD audio d4404000-d4404fff : :00:1f.6 d4404000-d4404fff : ips thermal sensor d4405000-d44057ff : :00:1f.2 d4405000-d44057ff : ahci d4405800-d4405bff : :00:1d.0 d4405800-d4405bff : ehci_hcd d4405c00-d4405fff : :00:1a.0 d4405c00-d4405fff : ehci_hcd d4406000-d44060ff : :00:1f.3 d4406100-d440610f : :00:16.0 d4406100-d440610f : mei d4407000-d4407fff : Intel Flush Page d450-d4500fff : pnp 00:09 e000-efff : PCI MMCONFIG [bus 00-ff] e000-efff : reserved e000-efff : pnp 00:09 feb0-feb03fff : reserved fec0-fec00fff : reserved fec0-fec003ff : IOAPIC 0 fed0-fed003ff : HPET 0 fed1-fed13fff : reserved fed1-fed13fff : pnp 00:09 fed18000-fed19fff : reserved fed18000-fed18fff : pnp 00:09 fed19000-fed19fff : pnp 00:09 fed1b000-fed1 : reserved fed1c000-fed1 : pnp 00:09 fed2-fed3 : pnp 00:09 fed45000-fed8 : pnp 00:09 fee0-fee00fff : Local APIC fee0-fee00fff : reserved ffe0- : reserved 1-137ff : System RAM selected dmesgs : [0.00] MTRR default type: uncachable [0.00] MTRR fixed ranges enabled: [0.00] 0-9 write-back [0.00] A-B uncachable [0.00] C-E write-through [0.00] F-F write-combining [0.00] MTRR variable ranges enabled: [0.00] 0 base 0 mask F8000 write-back [0.00] 1 base 0FFE0 mask FFFE0 write-protect [0.00] 2 base 08000 mask FC000 write-back [0.00] 3 base 0B800 mask FF800 uncachable [0.00] 4 base 0B400 mask FFC00 uncachable [0.00] 5 base 0B380 mask FFF80 uncachable [0.00] 6 base 1 mask FC000 write-back [0.00] 7 base 13800 mask FF800 uncachable ... [ 13.932998] intel ips :00:1f.6: CPU TDP doesn't match expected value (found 11, expected 14) [ 13.933095] intel ips :00:1f.6: failed to get i915 symbols, graphics turbo disabled until i915 loads [ 13.935874] intel ips :00:1f.6: IPS driver initialized, MCP temp limit 90 [ 13.945921] [drm] Initialized drm 1.1.0 20060810 [ 13.986234] microcode: CPU1 sig=0x20655, pf=0x10, revision=0x2 [ 13.988326] microcode: CPU2 sig=0x20655, pf=0x10, revision=0x2 [ 13.990248] microcode: CPU3 sig=0x20655, pf=0x10, revision=0x2 [ 13.992176] microcode: Microcode Update Driver: v2.00 , Peter Oruba [ 14.272825] Linux video capture interface: v2.00 [ 14.373755] cfg80211: Calling CRDA to update world regulatory domain [ 14.410581] uvcvideo: Found UVC 1.00 device 1.3M WebCam (064e:a219) [ 14.420398] input: 1.3M WebCam as /devices/pci:00/:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/input/input4 [ 14.420548] usbcore: registered new interface driver uvcvideo [ 14.420552] USB Video Class driver (1.1.1) [ 14.685467] i915 :00:02.0: setting latency timer to 64 [ 14.750759] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.4, id: 0x1c0b1, caps: 0xd04773/0xa4/0xa0400 [ 14.765600] mtrr: no more MTRRs available [ 14.765605] [drm] MTRR allocation failed. Graphics performance may suffer. [ 14.766130] i915 :00:02.0: irq 42 for MSI/MSI-X [ 14.766147] [drm] Supports vblank times
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
Fixed in linux-image-3.2.0-18-generic on precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
still experiencing this bug with latest proposed kernel 2.6.38-11-generic #47-Ubuntu SMP Fri Jul 15 19:27:09 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux work-around (comment #7) is still valid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
If mtrr_cleanup fails, see: https://lkml.org/lkml/2011/6/3/22 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
Still there in 2.6.38-9-generic on natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
confirming problem and work-around on release version of natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
GRUB_CMDLINE_LINUX="enable_mtrr_cleanup mtrr_spare_reg_nr=1" solves the issue... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
I already performed the upstream-testing! ** Changed in: linux (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
Hi Ralf, If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results. Thanks in advance. [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.] ** Tags added: needs-upstream-testing ** Tags added: kj-triage ** Changed in: linux (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
mainline kernel is looking similar: [3.221143] [drm] Initialized drm 1.1.0 20060810 [3.240051] usb 5-1: new full speed USB device using uhci_hcd and address 2 [3.332112] i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [3.349466] i915 :00:02.0: setting latency timer to 64 [3.358577] sky2: driver version 1.28 [3.405735] mtrr: type mismatch for e000,1000 old: write-back new: write-combining [3.423512] [drm] MTRR allocation failed. Graphics performance may suffer. [3.441978] ioremap error for 0xcf6cb000-0xcf6ce000, requested 0x10, got 0x0 [3.460551] i915 :00:02.0: irq 42 for MSI/MSI-X [3.460560] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [3.478650] [drm] Driver supports precise vblank timestamp query. [3.531333] sdhci: Secure Digital Host Controller Interface driver [3.549655] sdhci: Copyright(c) Pierre Ossman [3.586762] sky2 :04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [3.632612] sdhci-pci :1c:03.2: SDHCI controller found [1217:7120] (rev 2) [3.649371] vgaarb: device changed decodes: PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [3.649758] [drm] initialized overlay support [3.689177] sdhci-pci :1c:03.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [3.708512] mmc0: no vmmc regulator found [3.727538] sky2 :04:00.0: setting latency timer to 64 [3.727578] sky2 :04:00.0: Yukon-2 EC Ultra chip revision 3 [3.743682] Registered led device: mmc0:: [3.743714] sky2 :04:00.0: irq 43 for MSI/MSI-X [3.743803] mmc0: SDHCI controller on PCI [:1c:03.2] using PIO [3.744828] sky2 :04:00.0: eth0: addr 00:17:42:ef:50:6a [3.783385] usb 5-2: new full speed USB device using uhci_hcd and address 3 [3.783424] firewire_ohci :1c:03.4: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [3.890194] firewire_ohci: Added fw-ohci device :1c:03.4, OHCI v1.10, 8 IR + 8 IT contexts, quirks 0x0 [4.381940] checking generic (e000 30) vs hw (e000 1000) [4.381947] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver [4.398947] Console: switching to colour dummy device 80x25 [4.400141] firewire_core: created device fw0: GUID 0e100402737e, S400 [4.435471] Console: switching to colour frame buffer device 160x50 [4.483273] fb0: inteldrmfb frame buffer device [4.483581] drm: registered panic notifier [4.484093] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0 ** Tags removed: needs-upstream-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
Testing mainline kernel 2.6.38-rc2 from http://kernel.ubuntu.com /~kernel-ppa/mainline/v2.6.38-rc2-natty/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
It's not a regression, since 2.6.37 reports the same message. ** Tags removed: regression-release -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 709677] Re: [drm] MTRR allocation failed. Graphics performance may suffer.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/709677 Title: [drm] MTRR allocation failed. Graphics performance may suffer. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs