Crash on waking from suspend after upgrading to 16.04

Bug #1578698 reported by hackel
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Low
Unassigned

Bug Description

Since upgrading to Ubuntu 16.04 and compiz 1:0.9.12.2+16.04.20160415-0ubuntu1 I have started to see frequent, apparently random crashes when resuming from suspend. I don't have any definitive proof that it is compiz vs e.g. the Unity plugin, as I don't even get one of the usual crash dialogues when this happens. I just see the screen freeze up, aside from the cursor, and then after 10-15 seconds it seems to reload compiz and I am able to actually enter my password to login. I'm sorry this report isn't of more help, I will continue investigating to see if I can narrow it down at all.

Edit: I'm using the Intel graphics driver, and spotted the following in dmesg:

[drm] stuck on render ring
[drm] GPU HANG: ecode 7:0:0x85dffff8, in compiz [16077], reason: Ring hung, action: reset
drm/i915: Resetting chip after gpu hang
[drm] stuck on render ring
[drm] GPU HANG: ecode 7:0:0x85dffff8, in compiz [16077], reason: Ring hung, action: reset
------------[ cut here ]------------
WARNING: CPU: 6 PID: 804 at /build/linux-Ay7j_C/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:11287 intel_mmio_flip_work_func+0x38e/0x3d0 [i915]()
WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips))
Modules linked in:
 vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) hidp cmac drbg ansi_cprng ctr ccm pci_stub rfcomm bnep zram lz4_compress arc4 intel_rapl x86_pkg_temp_thermal uvcvideo intel_powerclamp iwlmvm snd_hda_codec_conexant snd_hda_codec_hdmi videobuf2_vmalloc crct10dif_pclmul snd_hda_codec_generic videobuf2_memops crc32_pclmul videobuf2_v4l2 mac80211 snd_hda_intel videobuf2_core aesni_intel snd_hda_codec v4l2_common snd_hda_core btusb videodev aes_x86_64 snd_hwdep btrtl lrw btbcm media gf128mul snd_pcm btintel glue_helper bluetooth ablk_helper cryptd snd_seq_midi snd_seq_midi_event iwlwifi snd_rawmidi joydev snd_seq input_leds rtsx_pci_ms serio_raw cfg80211 memstick snd_seq_device snd_timer lpc_ich snd soundcore ie31200_edac mei_me toshiba_acpi mei toshiba_bluetooth toshiba_haps sparse_keymap
 edac_core shpchp mac_hid soc_button_array kvm_intel kvm irqbypass nfsd auth_rpcgss nfs_acl lockd grace sunrpc coretemp autofs4 hid_generic usbhid hid rtsx_pci_sdmmc i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt psmouse fb_sys_fops ahci drm alx libahci rtsx_pci mdio wmi video fjes [last unloaded: vboxdrv]
CPU: 6 PID: 804 Comm: kworker/6:0 Tainted: G W OE 4.4.0-21-generic #37-Ubuntu
Hardware name: TOSHIBA Satellite P75-A/Type2 - Board Product Name1, BIOS 1.50 04/18/2014
Workqueue: events intel_mmio_flip_work_func [i915]
 0000000000000286 00000000c262292d ffff88007aa2bd20 ffffffff813e93c3
 ffff88007aa2bd68 ffffffffc0270a50 ffff88007aa2bd58 ffffffff81080f62
 ffff88027609f780 ffff88045f396500 ffff88045f39ae00 0000000000000180
Call Trace:
 [<ffffffff813e93c3>] dump_stack+0x63/0x90
 [<ffffffff81080f62>] warn_slowpath_common+0x82/0xc0
 [<ffffffff81080ffc>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffff8102d8b0>] ? __switch_to+0x420/0x5a0
 [<ffffffffc0209c9e>] intel_mmio_flip_work_func+0x38e/0x3d0 [i915]
 [<ffffffff81099ff2>] process_one_work+0x162/0x480
 [<ffffffff8109a35b>] worker_thread+0x4b/0x4c0
 [<ffffffff8109a310>] ? process_one_work+0x480/0x480
 [<ffffffff8109a310>] ? process_one_work+0x480/0x480
 [<ffffffff810a0528>] kthread+0xd8/0xf0
 [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
 [<ffffffff8182488f>] ret_from_fork+0x3f/0x70
 [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
---[ end trace d6a9268873c90b8e ]---
------------[ cut here ]------------
WARNING: CPU: 6 PID: 23478 at /build/linux-Ay7j_C/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:11287 intel_mmio_flip_work_func+0x38e/0x3d0 [i915]()
WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips))
Modules linked in:
 vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) hidp cmac drbg ansi_cprng ctr ccm pci_stub rfcomm bnep zram lz4_compress arc4 intel_rapl x86_pkg_temp_thermal uvcvideo intel_powerclamp iwlmvm snd_hda_codec_conexant snd_hda_codec_hdmi videobuf2_vmalloc crct10dif_pclmul snd_hda_codec_generic videobuf2_memops crc32_pclmul videobuf2_v4l2 mac80211 snd_hda_intel videobuf2_core aesni_intel snd_hda_codec v4l2_common snd_hda_core btusb videodev aes_x86_64 snd_hwdep btrtl lrw btbcm media gf128mul snd_pcm btintel glue_helper bluetooth ablk_helper cryptd snd_seq_midi snd_seq_midi_event iwlwifi snd_rawmidi joydev snd_seq input_leds rtsx_pci_ms serio_raw cfg80211 memstick snd_seq_device snd_timer lpc_ich snd soundcore ie31200_edac mei_me toshiba_acpi mei toshiba_bluetooth toshiba_haps sparse_keymap
 edac_core shpchp mac_hid soc_button_array kvm_intel kvm irqbypass nfsd auth_rpcgss nfs_acl lockd grace sunrpc coretemp autofs4 hid_generic usbhid hid rtsx_pci_sdmmc i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt psmouse fb_sys_fops ahci drm alx libahci rtsx_pci mdio wmi video fjes [last unloaded: vboxdrv]
CPU: 6 PID: 23478 Comm: kworker/6:1 Tainted: G W OE 4.4.0-21-generic #37-Ubuntu
Hardware name: TOSHIBA Satellite P75-A/Type2 - Board Product Name1, BIOS 1.50 04/18/2014
Workqueue: events intel_mmio_flip_work_func [i915]
 0000000000000286 00000000473c6531 ffff880199327d20 ffffffff813e93c3
 ffff880199327d68 ffffffffc0270a50 ffff880199327d58 ffffffff81080f62
 ffff88027609f700 ffff88045f396500 ffff88045f39ae00 0000000000000180
Call Trace:
 [<ffffffff813e93c3>] dump_stack+0x63/0x90
 [<ffffffff81080f62>] warn_slowpath_common+0x82/0xc0
 [<ffffffff81080ffc>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffff8102d8b0>] ? __switch_to+0x420/0x5a0
 [<ffffffffc0209c9e>] intel_mmio_flip_work_func+0x38e/0x3d0 [i915]
 [<ffffffff81099ff2>] process_one_work+0x162/0x480
 [<ffffffff8109a35b>] worker_thread+0x4b/0x4c0
 [<ffffffff8109a310>] ? process_one_work+0x480/0x480
 [<ffffffff810a0528>] kthread+0xd8/0xf0
 [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
 [<ffffffff8182488f>] ret_from_fork+0x3f/0x70
 [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
---[ end trace d6a9268873c90b8f ]---
drm/i915: Resetting chip after gpu hang

hackel (hackel)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

hackel, thank you for reporting this and helping make Ubuntu better.

Could you please run the following command once from a terminal by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information:
apport-collect -p xorg 1578698

When reporting xorg related bugs in the future, please do so via the above method. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

no longer affects: compiz (Ubuntu)
affects: xserver-xorg-video-intel (Ubuntu) → xorg (Ubuntu)
Changed in xorg (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Csaba Miklos (micsuka) wrote :

The same thing is happening on my laptop too with 16.04.1 : 470 G0/1948, BIOS 68IRF Ver. F.27 02/12/2014
After resume, the GPU seems to hang and needs a reset:

[10210.040529] [drm] stuck on render ring
[10210.041074] [drm] GPU HANG: ecode 7:0:0x85ffbff8, in chromium-browse [19248], reason: Ring hung, action: reset
[10210.041076] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[10210.041076] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[10210.041077] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[10210.041078] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[10210.041078] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[10210.041087] ------------[ cut here ]------------
[10210.041140] WARNING: CPU: 1 PID: 23298 at /build/linux-R0TiM8/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:11309 intel_mmio_flip_work_func+0x38e/0x3d0 [i915]()
[10210.041142] WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips))
[10210.041143] Modules linked in:
[10210.041144] ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_tcpudp ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack ip6table_mangle ip6table_filter ip6_tables iptable_mangle pci_stub iptable_nat nf_conntrack_ipv4 vboxpci(OE) nf_defrag_ipv4 vboxnetadp(OE) nf_nat_ipv4 vboxnetflt(OE) nf_nat nf_conntrack iptable_filter vboxdrv(OE) ip_tables x_tables ctr ccm rfcomm bnep binfmt_misc arc4 snd_hda_codec_hdmi hp_wmi sparse_keymap snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core uvcvideo snd_hwdep videobuf2_vmalloc snd_pcm videobuf2_memops videobuf2_v4l2 videobuf2_core intel_rapl btusb v4l2_common btrtl x86_pkg_temp_thermal btbcm snd_seq_midi intel_powerclamp btintel iwlmvm coretemp bluetooth snd_seq_midi_event videodev media mac80211 snd_rawmidi kvm_intel
[10210.041192] iwlwifi kvm snd_seq cfg80211 irqbypass snd_seq_device snd_timer joydev input_leds snd hp_accel lpc_ich serio_raw soundcore mei_me lis3lv02d input_polldev mei shpchp 8250_fintek hp_wireless mac_hid parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq jitterentropy_rng drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic usbhid hid crct10dif_pclmul crc32_pclmul i915 aesni_intel aes_x86_64 i2c_algo_bit lrw psmouse drm_kms_helper gf128mul glue_helper syscopyarea ablk_helper sysfillrect cryptd sysimgblt fb_sys_fops ahci drm r8169 libahci mii wmi video fjes

The details of the video card:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 DeviceName: 96
 Subsystem: Hewlett-Packard Company 3rd Gen Core processor Graphics Controller
 Flags: bus master, fast devsel, latency 0, IRQ 31
 Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
 Memory at b0000000 (64-bit, prefetchable) [size=256M]
 I/O ports at 3000 [size=64]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: <access denied>
 Kernel driver in use: i915
 Kernel modules: i915

Revision history for this message
penalvch (penalvch) wrote :

Csaba Miklos, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.