Bug 34461 - [i965gm] GPU lockups (3) playing DVD with VLC
Summary: [i965gm] GPU lockups (3) playing DVD with VLC
Status: RESOLVED DUPLICATE of bug 34017
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-18 13:17 UTC by Bryce Harrington
Modified: 2011-02-19 03:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
BootDmesg.txt (64.45 KB, text/plain)
2011-02-18 13:19 UTC, Bryce Harrington
no flags Details
CurrentDmesg.txt (21.68 KB, text/plain)
2011-02-18 13:19 UTC, Bryce Harrington
no flags Details
XorgLog.txt (43.41 KB, text/plain)
2011-02-18 13:20 UTC, Bryce Harrington
no flags Details
i915_error_state.txt (765.48 KB, text/plain)
2011-02-18 13:20 UTC, Bryce Harrington
no flags Details

Description Bryce Harrington 2011-02-18 13:17:46 UTC
Forwarding this bug from Ubuntu reporter Matt Zimmerman:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/716739

[Problem]
Attempting to use VLC for DVD playback caused three GPU lockups in a row.

Does not happen all the time when playing DVD, but user was able to reproduce the same behavior with triple-lockups using the same steps.

[Original Description]
This happened on a system I recently upgraded to Natty, the first time I tried to play a DVD movie with VLC. I never even saw VLC open. My monitor went into power save mode, but I was able to login via ssh from another computer and reboot it. After rebooting, I was able to play the same movie without a problem (so far).

There were three crash reports left behind.  This is one of the three.

> Also, in the days since your report have you seen any other freezes?

Yes. Two days later, I experienced a very similar crash, which also happened
when I tried to start playing a video. It exhibited the same pattern of three
crash reports very close together:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/719935
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/719936
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/719938


[ 5486.400071] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[ 5486.401495] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -11 (awaiting 128793 at 128792, next 128861)
[ 5486.401830] [drm:init_ring_common] *ERROR* render ring initialization failed ctl 00000000 head 00000000 tail 00000000 start 00000000
[ 5487.193354] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.212738] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.232419] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.252428] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.272420] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.292421] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.312426] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.332475] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.352475] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling
[ 5487.372460] [drm:i915_do_wait_request] *ERROR* something (likely vbetool) disabled interrupts, re-enabling

ACTHD: 0xffffffff
EIR: 0x00000000
EMR: 0x00000000
ESR: 0x00000000
PGTBL_ER: 0x00000000
IPEHR: 0x00000000
IPEIR: 0x00000000
INSTDONE: 0x00000000
INSTDONE1: 0x00000000

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: xserver-xorg-video-intel
ProcVersionSignature: Ubuntu 2.6.38-2.29-generic 2.6.38-rc3
Uname: Linux 2.6.38-2-generic x86_64
Architecture: amd64
Chipset: i965gm
CompositorRunning: compiz
DRM.card0.DVI.D.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: Off
 modes: 1680x1050 1680x1050
 edid-base64: AP///////wAkTYcoAAAAAAAPAQOAIRV4CrylmFhViygkUFQAAAABAQEBAQEBAQEBAQEBAQEBHC+Q0GAaD0AgMBMAS88QAAAZRSeQ0GAaD0AgMBMAS88QAAAZAAAADwCzCjKzCigUAQAyDAAAAAAA/gBMUDE1NFcwMi1UTDA2AL8=
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1200 1600x1200 1680x1050 1280x1024 1440x900 1280x960 1280x800 1024x768 800x600 800x600 640x480
 edid-base64: AP///////wBMLeYDNjJXVCMSAQMONyJ4Kv4hqFM3riQRUFQjCACpQIGAgUCBAJUAswABAQEBKDyAoHCwI0AwIDYAJlQhAAAaAAAA/QA4PB5REQAKICAgICAgAAAA/ABTeW5jTWFzdGVyCiAgAAAA/wBIVkRRODAwNDkwCiAgANc=
Date: Thu Feb 10 22:11:53 2011
DistUpgraded: Yes, recently upgraded Log time: 2011-02-10 14:40:29.358434
DistroCodename: natty
DistroVariant: ubuntu
DumpSignature: cd4b7311
ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py
GraphicsCard:
 Subsystem: Lenovo T61 [17aa:20b5]
   Subsystem: Lenovo T61 [17aa:20b5]
InterpreterPath: /usr/bin/python2.7
MachineType: LENOVO 6465CTO
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gpu-error-intel.py
ProcCwd: /
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-generic root=UUID=305dde78-d20a-4248-aaf4-09447b7c5791 ro quiet splash vt.handoff=7
ProcKernelCmdLine_: BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-generic root=UUID=305dde78-d20a-4248-aaf4-09447b7c5791 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 xserver-xorg 1:7.6~3ubuntu3
 libdrm2 2.4.23-1ubuntu3
 xserver-xorg-video-intel 2:2.14.0-1ubuntu6
SourcePackage: xserver-xorg-video-intel
Title: [i965gm] GPU lockup cd4b7311
UdevDb: Error: [Errno 2] No such file or directory
UserGroups:

dmi.bios.date: 01/21/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETB0WW (2.10 )
dmi.board.name: 6465CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7LETB0WW(2.10):bd01/21/2008:svnLENOVO:pn6465CTO:pvrThinkPadT61:rvnLENOVO:rn6465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 6465CTO
dmi.product.version: ThinkPad T61
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.2.1+glibmainloop4-0ubuntu10
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10-1ubuntu1
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.13.2+git20110124.fadee040-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu4
Comment 1 Bryce Harrington 2011-02-18 13:19:04 UTC
Created attachment 43536 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2011-02-18 13:19:34 UTC
Created attachment 43537 [details]
CurrentDmesg.txt
Comment 3 Bryce Harrington 2011-02-18 13:20:16 UTC
Created attachment 43538 [details]
XorgLog.txt
Comment 4 Bryce Harrington 2011-02-18 13:20:59 UTC
Created attachment 43539 [details]
i915_error_state.txt
Comment 5 Bryce Harrington 2011-02-18 13:22:31 UTC
 For the
most part all the error messages in dmesg are generic "the gpu locked
up" type stuff; the one bit that stands out as unusual is:

[ 5486.401830] [drm:init_ring_common] *ERROR* render ring initialization
  failed ctl 00000000 head 00000000 tail 00000000 start 00000000

however even that looks a bit generic.
Comment 6 Bryce Harrington 2011-02-18 13:26:40 UTC
For the most part, the gpu dumps all look pretty much the same, something like this:

ACTHD: 0xffffffff
EIR: 0x00000000
EMR: 0x00000000
ESR: 0x00000000
PGTBL_ER: 0x00000000
IPEHR: 0x00000000
IPEIR: 0x00000000
INSTDONE: 0x00000000
INSTDONE1: 0x00000000
    busy: Row 0, EU 0
    busy: Row 0, EU 1
    busy: Row 0, EU 2
    busy: Row 0, EU 3
    busy: Row 1, EU 0
    busy: Row 1, EU 1
    busy: Row 1, EU 2
    busy: Row 1, EU 3
    busy: Strips and Fans
    busy: Setup Engine
    busy: Windowizer
    busy: Dispatcher
    busy: Projection and LOD
    busy: Dependent address generator
    ...

All of them show 0's for all the gpu dump error registers, which seems odd.

We've had other reports where these were all zero's but no other instances where three crash reports got generated simultaneously like this.
Comment 7 Bryce Harrington 2011-02-18 13:32:58 UTC
Fwiw, this user had a similar bug on the previous release, which was believed fixed by commit 85345517 (drm/i915: Retire any pending operations on the old scanout when switching), but the lockup just mysteriously went away for the user so we could never verify the fix at the time.

  https://bugs.freedesktop.org/show_bug.cgi?id=28964
  https://bugs.launchpad.net/ubuntu/maverick/+source/linux/+bug/603064

Since the user, hardware, use case, and gpu error codes are all basically the same between this report and that one, it suggests that either the earlier bug was fixed and has regressed with the newer kernel, or else that the bug has been there all along and just was masked by something.  Not sure.
Comment 8 Chris Wilson 2011-02-19 03:07:29 UTC

*** This bug has been marked as a duplicate of bug 34017 ***


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.