Bug#689268: Intel HD 4000 (Ivy Bridge) graphics freeze
Sorry, I didn't receive the last 2 msgs in my mailbox, (especifically the
questions Ingo asks me). Here the answers:
a) Yes, I am using iceweasel.
b) my phisical RAM is 8 GB
The related kernel info is below, first kernel 3.5 related and then
standard wheezy 3.2 kernel related. Note that with kernel 3.5 I don't
have the "MTRR allocation failed" error.
Bug#689268: Intel HD 4000 (Ivy Bridge) graphics freeze
Interesting to see the differences between the 2 kernels. Compared to
my messages I found following lines in dmesg have disappeared with 3.5:
mtrr: type mismatch for e0000000,10000000 old: write-back new:
write-combining
[drm] MTRR allocation failed. Graphics performance may suffer.
[drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: restoring config space at offset 0xf (was 0x100,
writing 0x10b)
i915 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007,
writing 0x900407)
i915 0000:00:02.0: setting latency timer to 64
while enabling RC6 states has been added:
[drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
Probably a hint to the root cause?
I also compared the BIOS settings:
Javier has these options/settings:
Integrated Graphics Share Memory [64MB]
DVMT Memory [256MB]
I only have:
IGD DVMT Memory [256MB]
(which I called previously "agp-aperture" - ancient name when PC's had
a dedicated AGP-Port). This is the setting which I did change from
"max" -> "256MB" and got my system stable - which still holds right now.
However the "mtrr" setups (/proc/mtrr) are still identical with both
kernels. Seems the "write-combining area" has become obsolete - or
still not implemented in i915?
Ingo
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50719A71.8080202@gmx.net">http://lists.debian.org/50719A71.8080202@gmx.net
10-07-2012, 04:01 PM
Ben Hutchings
Bug#689268: Intel HD 4000 (Ivy Bridge) graphics freeze
On Sun, 2012-10-07 at 17:06 +0200, Ingo wrote:
> Interesting to see the differences between the 2 kernels. Compared to
> my messages I found following lines in dmesg have disappeared with 3.5:
>
> mtrr: type mismatch for e0000000,10000000 old: write-back new:
> write-combining
>
> [drm] MTRR allocation failed. Graphics performance may suffer.
> [drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
>
> i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> i915 0000:00:02.0: restoring config space at offset 0xf (was 0x100,
> writing 0x10b)
> i915 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007,
> writing 0x900407)
> i915 0000:00:02.0: setting latency timer to 64
>
> while enabling RC6 states has been added:
>
> [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
>
>
> Probably a hint to the root cause?
Don't think so.
> I also compared the BIOS settings:
>
> Javier has these options/settings:
> Integrated Graphics Share Memory [64MB]
> DVMT Memory [256MB]
>
> I only have:
> IGD DVMT Memory [256MB]
>
> (which I called previously "agp-aperture" - ancient name when PC's had
> a dedicated AGP-Port). This is the setting which I did change from
> "max" -> "256MB" and got my system stable - which still holds right now.
>
> However the "mtrr" setups (/proc/mtrr) are still identical with both
> kernels. Seems the "write-combining area" has become obsolete - or
> still not implemented in i915?
The driver calls ioremap_wc() which will enable write-combining through
the PAT in recent processors. An MTRR is not needed and in 3.5 the
driver doesn't even bother to allocate one:
commit 9e984bc1dffd405138ff22356188b6a1677c64c8
Author: Adam Jackson <ajax@redhat.com>
Date: Wed Mar 14 11:22:11 2012 -0400
drm/i915: Don't do MTRR setup if PAT is enabled
Ben.
--
Ben Hutchings
You can't have everything. Where would you put it?
10-10-2012, 12:26 PM
Ingo
Bug#689268: Intel HD 4000 (Ivy Bridge) graphics freeze
With 256MB of RAM assigned to graphics all is 100% stable here since
over 2 weeks. Also 512MB seem to be no problem, just if I enable
"Maximum DVMT".
I checked with the specifications of my MoBo (Intel DH77EB) and it says:
 Dynamic Video Memory Technology (DVMT) 5.0 support
 Support of up to 1.7 GB Video Memory with 4 GB and above system memory
configuration
So these 1.7GB probably exceeds what the driver (or PAT) is capable?
Regards,
Ingo
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 5075695E.7060406@gmx.net">http://lists.debian.org/5075695E.7060406@gmx.net
10-10-2012, 06:43 PM
Jonathan Nieder
Bug#689268: Intel HD 4000 (Ivy Bridge) graphics freeze
Hi Ingo,
Per Foreby wrote:
>> Per Foreby wrote:
>>> So far I'm running whith the default wheezy kernel but with the iGPU memory
>>> set to 256 MB. My plan was to run with this setting, and if I had another
>>> crash, try the experimental kernel.
[...]
> New freeze. Last entry in the debug log was more than 10 minutes before
> the freeze.
Ingo wrote:
> With 256MB of RAM assigned to graphics all is 100% stable here since
> over 2 weeks. Also 512MB seem to be no problem, just if I enable
> "Maximum DVMT".
There seem to be some differences in symptoms here, so please file a
separate bug. We can merge them later if they turn out to have the
same cause.
Thanks,
Jonathan
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20121010184321.GB3079@elie.Belkin