[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
Upstream bug was solved with the following commit. I'm going to re- target this to the kernel team, so they can verify the fix is included for natty and sru it to maverick if appropriate. I am not seeing the git commit id in the ubuntu-maverick git tree, but maybe its commit id changed when it was backported. commit 85345517fe6d4de27b0d6ca19fef9d28ac947c4a Author: Chris Wilson ch...@chris-wilson.co.uk Date: Sat Nov 13 09:49:11 2010 + drm/i915: Retire any pending operations on the old scanout when switching An old and oft reported bug, is that of the GPU hanging on a MI_WAIT_FOR_EVENT following a mode switch. The cause is that the GPU is waiting on a scanline counter on an inactive pipe, and so waits for a very long time until eventually the user reboots his machine. We can prevent this either by moving the WAIT into the kernel and thereby incurring considerable cost on every swapbuffers, or by waiting for the GPU to retire the last batch that accesses the framebuffer before installing a new one. As mode switches are much rarer than swap buffers, this looks like an easy choice. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28964 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29252 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk Cc: sta...@kernel.org ** Description changed: Binary package hint: xserver-xorg-video-intel This happened while watching a video in Totem. + + ACTHD: 0x + EIR: 0x + EMR: 0xffcd + ESR: 0x + PGTBL_ER: 0x + IPEHR: 0x + IPEIR: 0x + INSTDONE: 0xffe5fafe + INSTDONE1: 0x000f + busy: Projection and LOD + busy: Bypass FIFO + busy: Color calculator + ProblemType: Crash DistroRelease: Ubuntu 10.10 Package: xserver-xorg-video-intel 2:2.11.0-1ubuntu2 ProcVersionSignature: Ubuntu 2.6.35-6.9-generic 2.6.35-rc3 Uname: Linux 2.6.35-6-generic x86_64 Architecture: amd64 Chipset: i965gm DRM.card0.DVI.D.1: - status: disconnected - enabled: disabled - dpms: Off - modes: - edid-base64: + status: disconnected + enabled: disabled + dpms: Off + modes: + edid-base64: DRM.card0.LVDS.1: - status: connected - enabled: enabled - dpms: Off - modes: 1680x1050 - edid-base64: AP///wAkTYcoAAAPAQOAIRV4CrylmFhViygkUFQBAQEBAQEBAQEBAQEBAQEBHC+Q0GAaD0AgMBMAS88QAAAZRSeQ0GAaD0AgMBMAS88QAAAZDwCzCjKzCigUAQAyDAAA/gBMUDE1NFcwMi1UTDA2AL8= + status: connected + enabled: enabled + dpms: Off + modes: 1680x1050 + edid-base64: AP///wAkTYcoAAAPAQOAIRV4CrylmFhViygkUFQBAQEBAQEBAQEBAQEBAQEBHC+Q0GAaD0AgMBMAS88QAAAZRSeQ0GAaD0AgMBMAS88QAAAZDwCzCjKzCigUAQAyDAAA/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///wBMLeYDNjJXVCMSAQMONyJ4Kv4hqFM3riQRUFQjCACpQIGAgUCBAJUAswABAQEBKDyAoHCwI0AwIDYAJlQhAAAa/QA4PB5REQAKICAgICAg/ABTeW5jTWFzdGVyCiAg/wBIVkRRODAwNDkwCiAgANc= + status: connected + enabled: enabled + dpms: On + modes: 1920x1200 1600x1200 1680x1050 1280x1024 1440x900 1280x960 1280x800 1024x768 800x600 800x600 640x480 + edid-base64: AP///wBMLeYDNjJXVCMSAQMONyJ4Kv4hqFM3riQRUFQjCACpQIGAgUCBAJUAswABAQEBKDyAoHCwI0AwIDYAJlQhAAAa/QA4PB5REQAKICAgICAg/ABTeW5jTWFzdGVyCiAg/wBIVkRRODAwNDkwCiAgANc= Date: Tue Jul 6 23:41:42 2010 DkmsStatus: Error: [Errno 2] No such file or directory DumpSignature: 77c6dfe5 ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py InterpreterPath: /usr/bin/python2.6 MachineType: LENOVO 6465CTO PccardctlIdent: - Socket 0: -no product info available + Socket 0: + no product info available PccardctlStatus: - Socket 0: -no card + Socket 0: + no card ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-6-generic root=UUID=305dde78-d20a-4248-aaf4-09447b7c5791 ro quiet splash ProcCmdline: /usr/bin/python /usr/share/apport/apport-gpu-error-intel.py ProcEnviron: - + SourcePackage: xserver-xorg-video-intel Title: [i965gm] GPU lockup 77c6dfe5 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 system: - distro: Ubuntu - codename: maverick - architecture: x86_64 - kernel: 2.6.35-6-generic + distro: Ubuntu + codename: maverick +
Re: [Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
On Wed, Dec 22, 2010 at 04:53:00AM -, madbiologist wrote: @Matt Zimmerman - is this still happening with Ubuntu 11.04 Natty Narwhal alpha 1? It has never happened consistently, but I haven't seen it recently. The system in question is also still running 10.10, so I don't have any new data to add. I would be happy to test boot 11.04 A1 on this system, but since I have no reproducer, and it's not recurring on 10.10 at the moment, I don't think it would help. -- - mdz -- You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. https://bugs.launchpad.net/bugs/603064 Title: [i965gm] GPU lockup 77c6dfe5 ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
@Matt Zimmerman - is this still happening with Ubuntu 11.04 Natty Narwhal alpha 1? -- You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. https://bugs.launchpad.net/bugs/603064 Title: [i965gm] GPU lockup 77c6dfe5 ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
I found this in the upstream kernel 2.6.37-rc1 changelog: commit 4b60e5cb707aa1d44fd01680296a2caf45dd6fae Author: Chris Wilson Date: Sun Aug 8 11:53:53 2010 +0100 drm/i915: Clear scanline waits after disabling the pipe. If we disable the pipe and the GPU is currently waiting on a scanline WAIT_FOR_EVENT, the GPU will hang. Fortunately, there is a magic bit which we can write on i915+ to break this wait after disabling the pipe. References: Bug 29252 - [Arrandale] Hung WAIT_FOR_EVENT when running rss-glx-skyrocket https://bugs.freedesktop.org/show_bug.cgi?id=29252 Bug 28964 - [i965gm] GPU infinite MI_WAIT_FOR_EVENT while watching video in Totem https://bugs.freedesktop.org/show_bug.cgi?id=28964 and many others. Signed-off-by: Chris Wilson Cc: Jesse Barnes ** Bug watch added: freedesktop.org Bugzilla #29252 http://bugs.freedesktop.org/show_bug.cgi?id=29252 -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
This might be fixed by http://cgit.freedesktop.org/xorg/driver/xf86 -video-intel/commit/?id=272d1c14a39c32ade39b5a8b080a891f2b3d6e8e -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
Robert Hooker wrote in comment #3: It looks like our friend bug #535640 is back as the patch fixing that is not upstream yet. I suppose we talk about: SAUCE: drm/i915: don't change DRM configuration when releasing load detect pipe It looks like that patch is not going to end up upstream. See [1] and [2]. The patch was removed from Maverick's git after Chase Douglas got someone to verify that it was no longer required [3]. [1]: http://lists.freedesktop.org/archives/intel-gfx/2010-July/007383.html [2]: https://bugs.freedesktop.org/show_bug.cgi?id=27146#c19 [3]: https://lists.ubuntu.com/archives/kernel-team/2010-May/010602.html ** Bug watch added: freedesktop.org Bugzilla #27146 http://bugs.freedesktop.org/show_bug.cgi?id=27146 -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
On Fri, Jul 09, 2010 at 03:37:27PM -, Robert Hooker wrote: It looks like our friend bug #535640 is back as the patch fixing that is not upstream yet. Did the screen blank when this happened? Can you reproduce this if you change the Put display to sleep when inactive for: option in gnome-power-manager to never? At the time this happened, I was watching a film, so screen blanking should have been suppressed at the time. -- - mdz -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
It looks like our friend bug #535640 is back as the patch fixing that is not upstream yet. Did the screen blank when this happened? Can you reproduce this if you change the Put display to sleep when inactive for: option in gnome-power-manager to never? -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
Or try setting it to put to sleep after 1 min and see if you can reproduce it more quickly? -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is the registrant for xf86-video-intel. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/51566034/BootDmesg.txt ** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/51566035/CurrentDmesg.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/51566036/Dependencies.txt ** Attachment added: GdmLog.txt http://launchpadlibrarian.net/51566037/GdmLog.txt ** Attachment added: GdmLog1.txt http://launchpadlibrarian.net/51566038/GdmLog1.txt ** Attachment added: GdmLog2.txt http://launchpadlibrarian.net/51566039/GdmLog2.txt ** Attachment added: IntelGpuDump.txt http://launchpadlibrarian.net/51566040/IntelGpuDump.txt ** Attachment added: Lspci.txt http://launchpadlibrarian.net/51566041/Lspci.txt ** Attachment added: Lsusb.txt http://launchpadlibrarian.net/51566042/Lsusb.txt ** Attachment added: PciDisplay.txt http://launchpadlibrarian.net/51566043/PciDisplay.txt ** Attachment added: ProcCpuinfo.txt http://launchpadlibrarian.net/51566044/ProcCpuinfo.txt ** Attachment added: ProcInterrupts.txt http://launchpadlibrarian.net/51566045/ProcInterrupts.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/51566046/ProcMaps.txt ** Attachment added: ProcModules.txt http://launchpadlibrarian.net/51566047/ProcModules.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/51566048/ProcStatus.txt ** Attachment added: RelatedPackageVersions.txt http://launchpadlibrarian.net/51566049/RelatedPackageVersions.txt ** Attachment added: UdevDb.txt http://launchpadlibrarian.net/51566050/UdevDb.txt ** Attachment added: UdevLog.txt http://launchpadlibrarian.net/51566051/UdevLog.txt ** Attachment added: XorgConf.txt http://launchpadlibrarian.net/51566052/XorgConf.txt ** Attachment added: XorgLog.txt http://launchpadlibrarian.net/51566053/XorgLog.txt ** Attachment added: XorgLogOld.txt http://launchpadlibrarian.net/51566054/XorgLogOld.txt ** Attachment added: Xrandr.txt http://launchpadlibrarian.net/51566055/Xrandr.txt ** Attachment added: glxinfo.txt http://launchpadlibrarian.net/51566056/glxinfo.txt ** Attachment added: i915_error_state.txt http://launchpadlibrarian.net/51566057/i915_error_state.txt ** Attachment added: setxkbmap.txt http://launchpadlibrarian.net/51566058/setxkbmap.txt ** Attachment added: xdpyinfo.txt http://launchpadlibrarian.net/51566059/xdpyinfo.txt ** Attachment added: xkbcomp.txt http://launchpadlibrarian.net/51566060/xkbcomp.txt -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 603064] Re: [i965gm] GPU lockup 77c6dfe5
** Tags added: crash ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: New = Confirmed -- [i965gm] GPU lockup 77c6dfe5 https://bugs.launchpad.net/bugs/603064 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp