Bug 39387

Summary: [i965gm] GPU lockup render.IPEHR: 0x60020100
Product: Mesa Reporter: Bryce Harrington <bryce>
Component: Drivers/DRI/i965Assignee: Chris Wilson <chris>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium CC: christopher.m.penalver, eugeni
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: BootDmesg.txt
CurrentDmesg.txt
i915_error_state.txt
XorgLog.txt
XorgLogOld.txt

Description Bryce Harrington 2011-07-19 14:31:58 UTC
Forwarding this bug from Ubuntu reporter Daniel erbnescu:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/812828

[Problem]
GPU lockup in rendering after ~17 hrs uptime, apparently due to changing modeline.

dmesg shows:
[63206.900917] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[63256.520147] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[63256.520163] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
[63256.521666] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 2164665 at 2164650, next 2164668)
[63256.522045] [drm:init_ring_common] *ERROR* render ring initialization failed ctl 00000000 head 00000000 tail 00000000 start 00000000
[63256.522675] [drm] Changing LVDS panel from (+hsync, +vsync) to (-hsync, -vsync)
[63256.522833] ------------[ cut here ]------------
[63256.522890] WARNING: at /build/buildd/linux-3.0.0/drivers/gpu/drm/i915/intel_display.c:791 intel_enable_pipe+0x144/0x150 [i915]()
[63256.522898] Hardware name: Satellite A200
[63256.522903] PLL state assertion failure (expected on, current off)
[63256.522909] Modules linked in: ipt_REDIRECT xt_tcpudp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables kvm_intel kvm parport_pc ppdev dm_crypt binfmt_misc snd_hda_codec_realtek uvcvideo snd_hda_intel snd_hda_codec snd_hwdep videodev snd_pcm snd_seq_midi arc4 snd_rawmidi tifm_7xx1 snd_seq_midi_event tifm_core snd_seq snd_timer snd_seq_device pcmcia iwl3945 joydev iwl_legacy snd mac80211 soundcore cfg80211 yenta_socket pcmcia_rsrc pcmcia_core snd_page_alloc psmouse serio_raw sparse_keymap lp parport firewire_ohci firewire_core crc_itu_t sdhci_pci sdhci i915 ahci libahci drm_kms_helper drm i2c_algo_bit video
[63256.523036] Pid: 14236, comm: kworker/u:35 Not tainted 3.0.0-5-generic #6-Ubuntu
[63256.523042] Call Trace:
[63256.523062]  [<c10474c2>] warn_slowpath_common+0x72/0xa0
[63256.523105]  [<f82d2774>] ? intel_enable_pipe+0x144/0x150 [i915]
[63256.523145]  [<f82d2774>] ? intel_enable_pipe+0x144/0x150 [i915]
[63256.523156]  [<c1047593>] warn_slowpath_fmt+0x33/0x40
[63256.523197]  [<f82d2774>] intel_enable_pipe+0x144/0x150 [i915]
[63256.523245]  [<f82d4688>] i9xx_crtc_mode_set+0x698/0xcb0 [i915]
[63256.523281]  [<f82acc23>] ? i915_enable_vblank+0x23/0x120 [i915]
[63256.523322]  [<f82c981b>] intel_crtc_mode_set+0x5b/0x80 [i915]
[63256.523341]  [<f8040bb2>] drm_crtc_helper_set_mode+0x2e2/0x420 [drm_kms_helper]
[63256.523355]  [<c1025fc8>] ? default_spin_lock_flags+0x8/0x10
[63256.523379]  [<f8040d5d>] drm_helper_resume_force_mode+0x6d/0x140 [drm_kms_helper]
[63256.523412]  [<f82a1f15>] i915_reset+0x165/0x3d0 [i915]
[63256.523446]  [<f82a650e>] i915_error_work_func+0xae/0xf0 [i915]
[63256.523469]  [<c1060ed1>] process_one_work+0x101/0x3a0
[63256.523481]  [<c1539bb0>] ? common_interrupt+0x30/0x38
[63256.523512]  [<f82a6460>] ? notify_ring+0xc0/0xc0 [i915]
[63256.523521]  [<c1061994>] worker_thread+0x124/0x2d0
[63256.523530]  [<c1061870>] ? manage_workers.isra.28+0x110/0x110
[63256.523539]  [<c10654ad>] kthread+0x6d/0x80
[63256.523548]  [<c1065440>] ? flush_kthread_worker+0x80/0x80
[63256.523558]  [<c1539bbe>] kernel_thread_helper+0x6/0x10
[63256.523564] ---[ end trace a99b67d743f97661 ]---
[63256.632058] ------------[ cut here ]------------

The tail end of the Xorg.0.log shows:
[ 63210.364] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse1)
[ 63210.365] (II) No input driver/identifier specified (ignoring)
[ 63241.228] (II) intel(0): EDID vendor "SEC", prod id 13875
[ 63241.229] (II) intel(0): Printing DDC gathered Modelines:
[ 63241.229] (II) intel(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 1408  800 801 804 816 -hsync -vsync (49.0 kHz)
[ 63262.902] (WW) intel(0): I830DRI2GetMSC:1144 get vblank counter failed: Invalid argument
[ 63263.163] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[ 63263.163] (EE) intel(0): When reporting this, please include i915_error_state from debugfs and the full dmesg.
[ 63276.556] (II) intel(0): EDID vendor "SEC", prod id 13875
[ 63276.556] (II) intel(0): Printing DDC gathered Modelines:
[ 63276.556] (II) intel(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 1408  800 801 804 816 -hsync -vsync (49.0 kHz)


ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: xserver-xorg-video-intel 2:2.15.0-3ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
Uname: Linux 3.0.0-5-generic i686
BootLog:
 fsck fra util-linux-ng 2.17.2
 /dev/sda1: clean, 512721/9830400 files, 35616656/39321600 blocks
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
Date: Tue Jul 19 02:12:11 2011
DistUpgraded: Log time: 2011-07-17 16:25:19.008516
GraphicsCard: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c) (prog-if 00 [VGA controller])
   Subsystem: Toshiba America Info Systems Device [1179:ff00]
   Subsystem: Toshiba America Info Systems Device [1179:ff00]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: TOSHIBA Satellite A200
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-5-generic root=UUID=e36f53f1-8db3-47a9-892a-7de34f2adbc0 ro quiet splash vt.handoff=7
UpgradeStatus: Upgraded to oneiric on 2011-07-18 (0 days ago)
version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu6
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11~1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11~1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.2-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.0-3ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1
Comment 1 Bryce Harrington 2011-07-19 14:34:25 UTC
Created attachment 49315 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2011-07-19 14:34:46 UTC
Created attachment 49316 [details]
CurrentDmesg.txt
Comment 3 Bryce Harrington 2011-07-19 14:35:09 UTC
Created attachment 49317 [details]
i915_error_state.txt
Comment 4 Bryce Harrington 2011-07-19 14:35:25 UTC
Created attachment 49318 [details]
XorgLog.txt
Comment 5 Bryce Harrington 2011-07-19 14:35:52 UTC
Created attachment 49319 [details]
XorgLogOld.txt
Comment 6 Chris Wilson 2011-07-19 15:01:01 UTC
Nah, ordinary GPU hang in a 3D compositor. Refresh mesa to make sure you have the gen4 fixes, and report back.
Comment 7 Bryce Harrington 2011-07-19 15:09:47 UTC
(In reply to comment #6)
> Nah, ordinary GPU hang in a 3D compositor. Refresh mesa to make sure you have
> the gen4 fixes, and report back.

Is 80499580 sufficient?  Any others we should be pulling?  We're carrying a snapshot up to 1ad06c7a25 currently.
Comment 8 Eugeni Dodonov 2011-10-17 09:34:13 UTC
Just checking - I guess it was fixed some time ago, could you please confirm?

Thanks!
Comment 9 Chris Wilson 2012-02-08 12:23:06 UTC
Mass status change to NEEDINFO based on presence of NEEDINFO keyword. Please reopen if you can still reproduce the bug and are able to provide the information requested, thanks.
Comment 10 tommi uimonen 2012-05-23 06:25:02 UTC
(In reply to comment #6)
> Nah, ordinary GPU hang in a 3D compositor. Refresh mesa to make sure you have
> the gen4 fixes, and report back.

Hello, could you explain what are the gen4 fixes. I'm using libgl1-mesa-dri 8.1~git20120509.788fd04d-0ubuntu0sarvatt~precise and still experience the same.

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.