[Intel-gfx] [Fwd: Re: Intel + GEM + suspend -> fail]

Eric Anholt eric at anholt.net
Mon Jan 5 22:52:57 CET 2009


On Mon, 2009-01-05 at 21:51 +0100, Adam Lantos wrote:
> hello,
> 
> I've investigated my issue a little more:
> 
> kernel: vanilla 2.6.28 + tuxonice + linux-phc + thinkpad-acpi
> mesa, libdrm, xorg-server, xf86-video-intel git master (last built a
> few days ago)
> 
> -EXA behaves fine
> -UXA w/ twm is fine
> -UXA w/ enlightenment wm crashes on vt switch, acpi resume and
> hibernation resume
> 
> xorg.conf is the default one, but with Option "AccelMethod" "UXA".

Thanks for the dmesg info.  That bug is fixed in the kernel patch series
I should be pushing out today.

> here are the last kernel messages after vt switching
> 
> [drm] Initialized i915 1.6.0 20080730 on minor 0
> ------------[ cut here ]------------
> kernel BUG at drivers/gpu/drm/i915/i915_gem.c:2714!
> invalid opcode: 0000 [#1] PREEMPT
> last sysfs file: /sys/class/power_supply/BAT0/energy_full
> Modules linked in: i915 drm ieee80211_crypt_ccmp snd_pcm_oss
> snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
> hdaps input_polldev snd_intel8x0 pcmcia snd_ac97_codec ac97_bus
> snd_pcm ipw2200 8250_pci yenta_socket ehci_hcd tg3 snd_timer uhci_hcd
> 8250_pnp rsrc_nonstatic snd ieee80211 8250 pcmcia_core usbcore
> ieee80211_crypt serial_core libphy snd_page_alloc intel_agp agpgart
> thinkpad_acpi rfkill backlight led_class
> 
> Pid: 6477, comm: X Not tainted (2.6.28-nibbler #1) 1867W6T
> EIP: 0060:[<f833d252>] EFLAGS: 00013297 CPU: 0
> EIP is at i915_gem_entervt_ioctl+0x4b2/0x4d0 [i915]
> EAX: f65ace24 EBX: f6a91c14 ECX: f65ac000 EDX: f65ac000
> ESI: f66494c0 EDI: f6521de0 EBP: f65ac000 ESP: f65bbea4
>  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
> Process X (pid: 6477, ti=f65ba000 task=f70711c0 task.ti=f65ba000)
> Stack:
>  00000059 00006459 f83441a0 f6a91c00 f6521de0 00006459 f6a91c00 f65ac000
>  00000000 f833cda0 f6a91c00 f6521de0 00000001 f83126fa 00000002 762f0001
>  00000000 00000001 ffffffff f65bc200 00000000 00006459 00000000 f6a91c24
> Call Trace:
>  [<f833cda0>] i915_gem_entervt_ioctl+0x0/0x4d0 [i915]
>  [<f83126fa>] drm_ioctl+0x1ba/0x2f0 [drm]
>  [<c01a0ac8>] vfs_ioctl+0x78/0x90
>  [<c01a0c5c>] do_vfs_ioctl+0x5c/0x4a0
>  [<c0194bd6>] vfs_write+0x106/0x140
>  [<c01e6100>] reiserfs_file_write+0x0/0xc0
>  [<c01a10dd>] sys_ioctl+0x3d/0x70
>  [<c010324d>] sysenter_do_call+0x12/0x21
> Code: 44 24 20 e9 c2 fd ff ff b8 3a 00 34 f8 89 44 24 04 8d 7d 14 c7
> 04 24 38 10 34 f8 e8 29 77 de c7 b9 0d 00 00 00 eb c1 0f 0b eb fe <0f>
> 0b eb fe 0f 0b eb fe 8d b6 00 00 00 00 0f 0b eb fe 8d b6 00
> EIP: [<f833d252>] i915_gem_entervt_ioctl+0x4b2/0x4d0 [i915] SS:ESP 0068:f65bbea4
> ---[ end trace 89afc48929c53d42 ]---
> Intel ICH 0000:00:1e.2: PCI INT A disabled
> 
> 
> I've attached lspci -vv output, stdout/stderr, xorg.0.log and full dmesg output.
> 
> 
> thanks,
>  Adam
> 
> 
> 
> On Mon, Jan 5, 2009 at 2:22 PM, Adam Lantos <hege at playma.org> wrote:
> > I have the same resume problem with UXA (GM915), GEM + Tuxonice. Mesa,
> > xorg-server and xf86-video-intel from git master. EXA resumes
> > correctly.
> >
> >
> > cheers,
> >  adam
> >
> >
> > On Mon, Jan 5, 2009 at 2:15 PM, Thomas Ilnseher <illth at gmx.de> wrote:
> >>
> >>
> >>
> >> ---------- Forwarded message ----------
> >> From: Thomas Ilnseher <ilnseher at eit.uni-kl.de>
> >> To: Xorg <xorg at lists.freedesktop.org>
> >> Date: Mon, 05 Jan 2009 14:03:11 +0100
> >> Subject: Re: Intel + GEM + suspend -> fail
> >> Am Freitag, den 26.12.2008, 15:42 +0200 schrieb Vasily Khoruzhick:
> >>> I have the same issue. Vanilla 2.6.28 kernel, Xorg stack from gentoo
> >>> x11
> >>> overlay, gma950.
> >> Same here, GEM + GL960 (= GM965) + TuxOnIce.
> >>
> >> Note suspend/resume DOES work when I use metacity, but does not when
> >> Compiz is enabled.
> >>
> >> I also got a Problem when the Screensaver enters some low power mode
> >> (ie. screen off), then I can do a hard reset of the box.
> >>
> >> mesa is from Git (from the Gentoo overlay), the rest is stock Gentoo
> >> unstable.
> >>>
> >>> Sometimes it occurs even without suspend - few switches X->console->X
> >>> are
> >>> enought.
> >>>
> >>> Regards
> >>> Vasily
> >> --
> >> Thomas Ilnseher <ilnseher at eit.uni-kl.de>
> >>
> >> _______________________________________________
> >> xorg mailing list
> >> xorg at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/xorg
> >>
> >
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090105/f285ca97/attachment.sig>


More information about the Intel-gfx mailing list