Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339981 - x11-drivers/xf86-video-intel-2.{11,12} crashes whenever it does rendering.
Summary: x11-drivers/xf86-video-intel-2.{11,12} crashes whenever it does rendering.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 20:11 UTC by Mathieu Z
Modified: 2010-10-23 08:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
X log (Xorg.0.log.err,32.94 KB, text/plain)
2010-10-14 17:57 UTC, Mathieu Z
Details
dmesg (dmesg_drm,84.20 KB, text/plain)
2010-10-14 21:39 UTC, Mathieu Z
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Z 2010-10-06 20:11:31 UTC
My laptop has the following intel GPU:

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 215a
        Flags: bus master, fast devsel, latency 0, IRQ 47
        Memory at f2000000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 1800 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915

I found that whenever X tries to do any 3D rending, it crashes. This includes running glxgear, making a 3D plot in Mathematica, to running compiz. dmesg gives the following error:

[  479.322934] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[  479.323025] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 4820 at 3761)

and this error is logged in Xorg.0.log:
[   180.318] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.

The problem goes away after I downgrade the drive to <2.11 (some other minor issue with compiz comes up, but that's another bug).

This might be related to bug #312747.

Reproducible: Always
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2010-10-13 08:03:06 UTC
Please try 2.13.0. If that version doesn't work, please try it with the latest version of sys-kernel/git-sources. If that still fails, please attach your xorg.conf, Xorg.0.log (with the new versions of course).

Thanks
Comment 2 Mathieu Z 2010-10-14 17:57:14 UTC
Created attachment 250597 [details]
X log

No, still fails:

[I] x11-drivers/xf86-video-intel (2.13.0@10/13/2010): X.Org driver for Intel cards
[I] x11-base/xorg-server (1.9.0.901@10/13/2010): X.Org X servers
[I] x11-libs/libdrm (2.4.22@10/13/2010): X.Org libdrm library
[I] media-libs/mesa (7.9[1]@10/13/2010): OpenGL-like graphic library for Linux
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2010-10-14 18:22:09 UTC
Could you try the latest sys-kernel/git-sources kernel?

Please attach the output dmesg with that kernel.

Thanks
Comment 4 Mathieu Z 2010-10-14 21:39:18 UTC
Created attachment 250619 [details]
dmesg
Comment 5 Mathieu Z 2010-10-23 01:59:13 UTC
I just discovered that this is probably not a problem with xf86-video-intel. I realized that if mesa is kept under 7.9, there is no crash. Current (crash-free) stack is:

media-libs/mesa-7.8.2
x11-apps/mesa-progs-7.7
x11-base/xorg-server-1.9.0.902
x11-drivers/xf86-video-intel-2.13.0
x11-libs/libdrm-2.4.22

I also filed a bug with freedesktop.org: https://bugs.freedesktop.org/show_bug.cgi?id=31021
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2010-10-23 08:32:32 UTC
I've CCed myself on the upstream bug, let's track the issue there directly.

Thanks