Bug 53235 - [IVB] rendering problem and GPU hang with rev 09 desktop GT1 CPU
Summary: [IVB] rendering problem and GPU hang with rev 09 desktop GT1 CPU
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Daniel Vetter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 09:39 UTC by Takashi Iwai
Modified: 2017-07-24 23:00 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of rendering error (1.99 MB, image/jpeg)
2012-08-08 09:42 UTC, Takashi Iwai
no flags Details
kernel messages (62.58 KB, text/plain)
2012-08-08 09:46 UTC, Takashi Iwai
no flags Details
i915_error_state dump (2.15 MB, text/plain)
2012-08-08 09:47 UTC, Takashi Iwai
no flags Details

Description Takashi Iwai 2012-08-08 09:39:29 UTC
On a HP desktop machine with IvyBridge GT1 desktop CPU, we see many rendering garbages at the first boot.  Then after activating Compiz, CPU hangs frequently, and X aborts immediately.

Interestingly, this problem happens only with rev 09 CPU.  Replacing the CPU with rev 08, it starts working without changing anything else.

The machine has an eDP with 1920x1080.  BIOS seems still a bit problematic, as it shows the duplicated video entry in ACPI.

Also, even with rev 08 CPU, enable_mtrr_cleanup option was necessary to assign MTRRs properly.  So, BIOS is certainly not perfect.

We tested to swap/reduce RAMs, but it doesn't change.

Another interesting point is that rev 09 CPU works on another desktop machine.  But it has a different panel (1600x900 eDP), different BIOS version, maybe other bunch of small differences.

Intel VBIOS on non-working machines is 2137, while the version on the working machine is older, 2132.

The problem happens on 3.4, 3.5 and 3.6-rc1+ kernels.
Tested with xf86-video-intel-2.20.3, libdrm-2.4.33 and Mesa 8.0.4 from openSUSE 12.2-RC2.

The problem was originally reported for the latest SLED11-SP2, which has kernel 3.0.x (drm/i915 is equivalent with 3.3+), xf86-video-intel 2.17.0, libdrm 2.4.27 and Mesa 7.11.2, each with backports.
Comment 1 Takashi Iwai 2012-08-08 09:42:22 UTC
Created attachment 65269 [details]
Screenshot of rendering error
Comment 2 Chris Wilson 2012-08-08 09:44:12 UTC
Can you please attach your Xorg.0.log? (Primarily to confirm the versions.)

And of course, X aborting deserves attaching the gdm.log (or xdm.log, whatever).
Comment 3 Takashi Iwai 2012-08-08 09:46:31 UTC
Created attachment 65270 [details]
kernel messages
Comment 4 Takashi Iwai 2012-08-08 09:47:18 UTC
Created attachment 65272 [details]
i915_error_state dump
Comment 5 Takashi Iwai 2012-08-08 09:50:38 UTC
At the point the rendering garbage appears, there is no error in X and anything else.

The abort of X comes from gnome-shell's crash because of GPU hang.  So I don't think it's interesting to see, it's too away from the culprit :)

Currently the machine has an older version of X/libdrm/Mesa stack for SLED11-SP2 testing.  If you'd like to check inevitably the versions in Xorg.log, I can reinstall the machine freshly from openSUSE-12.2-RC2.  Let me know.

BTW, one more thing I forgot to mention: the fbdev works fine.  When I start X with fbdev, there is no rendering problem nor GPU hang.  The problem happens only via DRM.
Comment 6 Chris Wilson 2012-08-08 09:52:02 UTC
That error state is from a broken UXA (using 86 PS threads on IVB GT1). Can you please confirm you are testing with the latest release of xf86-video-intel-2.20.3 and the current mesa-8.0 branch (the GT1 bugfix has not yet landed in a stable release).
Comment 7 Takashi Iwai 2012-08-08 09:54:46 UTC
OK, I'll reinstall the machine and give logs back.
Comment 8 Takashi Iwai 2012-08-08 12:47:26 UTC
Indeed the recent commit in Mesa seems fixing the GPU hang with 3D.

The rendering issue looks like a problem in the original openSUSE-12.2 xf86-video-intel package, which is version 2.20.0, so also missing GT1 fix.

I'll play a bit more whether it's really stabilized.
Comment 9 Takashi Iwai 2012-08-10 07:19:06 UTC
Confirmed that everything works now with the latest Mesa 8.0 git branch.
Thanks for the hint!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.