[Intel/drm] stuck on render ring

Bug #1662566 reported by Øyvind Stegard
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
High
Unassigned
Xenial
Expired
High
Unassigned

Bug Description

GPU hangs and Compiz crashes after resume from suspend.

This has happened rather frequently lately and was not a problem before. But I cannot identify if there is a recent package update which is to blame. I am on an updated Ubuntu 16.04 (without -proposed enabled).

GPU crash dump is attached.

[21649.490673] [drm] stuck on render ring
[21649.491690] [drm] GPU HANG: ecode 7:0:0x85dfbff8, in compiz [3583], reason: Ring hung, action: reset
[21649.491692] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[21649.491692] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[21649.491693] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[21649.491694] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[21649.491695] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[21649.491723] ------------[ cut here ]------------
[21649.491754] WARNING: CPU: 1 PID: 21430 at /build/linux-7x12eW/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:11311 intel_mmio_flip_work_func+0x38e/0x3d0 [i915]()
[21649.491756] WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips))
[21649.491757] Modules linked in:
[21649.491759] hid_logitech_hidpp hid_logitech_dj usbhid uas usb_storage drbg ansi_cprng ctr ccm bnep nls_iso8859_1 pn544_mei mei_phy pn544 hci nfc arc4 dell_wmi sparse_keymap dell_laptop dcdbas dell_smm_hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel btusb kvm irqbypass crct10dif_pclmul btrtl crc32_pclmul ghash_clmulni_intel snd_soc_rt5640 snd_soc_rl6231 iwlmvm uvcvideo snd_soc_core btbcm videobuf2_vmalloc mac80211 aesni_intel snd_compress videobuf2_memops videobuf2_v4l2 ac97_bus videobuf2_core snd_pcm_dmaengine btintel joydev snd_hda_codec_hdmi v4l2_common aes_x86_64 lrw videodev gf128mul glue_helper bluetooth ablk_helper cryptd iwlwifi snd_hda_codec_realtek snd_hda_codec_generic input_leds media serio_raw cfg80211 snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep mei_me
[21649.491799] lpc_ich mei snd_pcm shpchp snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer 8250_fintek dell_smo8800 snd elan_i2c soundcore mac_hid dw_dmac snd_soc_sst_acpi dw_dmac_core spi_pxa2xx_platform dell_rbtn 8250_dw i2c_designware_platform i2c_designware_core parport_pc ppdev lp parport autofs4 i915 psmouse i2c_algo_bit e1000e ahci drm_kms_helper libahci syscopyarea sysfillrect sysimgblt sdhci_pci fb_sys_fops ptp drm pps_core wmi sdhci_acpi video sdhci i2c_hid hid fjes
[21649.491831] CPU: 1 PID: 21430 Comm: kworker/1:1 Not tainted 4.4.0-57-generic #78-Ubuntu
[21649.491832] Hardware name: Dell Inc. Latitude E7440/07F3F4, BIOS A20 12/22/2016
[21649.491850] Workqueue: events intel_mmio_flip_work_func [i915]
[21649.491851] 0000000000000286 0000000097fa5dc1 ffff88040646fd20 ffffffff813f6f33
[21649.491853] ffff88040646fd68 ffffffffc02c0ab8 ffff88040646fd58 ffffffff810812d2
[21649.491855] ffff8803e88a4600 ffff88041ea965c0 ffff88041ea9af00 0000000000000040
[21649.491857] Call Trace:
[21649.491861] [<ffffffff813f6f33>] dump_stack+0x63/0x90
[21649.491864] [<ffffffff810812d2>] warn_slowpath_common+0x82/0xc0
[21649.491865] [<ffffffff8108136c>] warn_slowpath_fmt+0x5c/0x80
[21649.491868] [<ffffffff8102d66c>] ? __switch_to+0x1dc/0x5c0
[21649.491883] [<ffffffffc0259f3e>] intel_mmio_flip_work_func+0x38e/0x3d0 [i915]
[21649.491886] [<ffffffff8109a575>] process_one_work+0x165/0x480
[21649.491887] [<ffffffff8109a8db>] worker_thread+0x4b/0x4c0
[21649.491889] [<ffffffff8109a890>] ? process_one_work+0x480/0x480
[21649.491891] [<ffffffff8109a890>] ? process_one_work+0x480/0x480
[21649.491892] [<ffffffff810a0c08>] kthread+0xd8/0xf0
[21649.491894] [<ffffffff810a0b30>] ? kthread_create_on_node+0x1e0/0x1e0
[21649.491897] [<ffffffff8183788f>] ret_from_fork+0x3f/0x70
[21649.491898] [<ffffffff810a0b30>] ? kthread_create_on_node+0x1e0/0x1e0
[21649.491899] ---[ end trace 051e5be39aa982ac ]---
[21649.493882] drm/i915: Resetting chip after gpu hang
[21655.502550] [drm] stuck on render ring
[21655.503514] [drm] GPU HANG: ecode 7:0:0x85dfbff8, in compiz [3583], reason: Ring hung, action: reset
[21655.505675] drm/i915: Resetting chip after gpu hang

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-57-generic 4.4.0-57.78
ProcVersionSignature: Ubuntu 4.4.0-57.78-generic 4.4.35
Uname: Linux 4.4.0-57-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: oyvind 1759 F.... pulseaudio
 /dev/snd/controlC1: oyvind 1759 F.... pulseaudio
CurrentDesktop: Unity
Date: Tue Feb 7 16:41:01 2017
HibernationDevice: RESUME=UUID=c5ad1c0f-6fec-4642-96bf-eec06044191c
InstallationDate: Installed on 2016-07-09 (213 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Latitude E7440
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-57-generic.efi.signed root=UUID=5aa4e399-b0e7-4799-b098-76a6a5c5785b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-57-generic N/A
 linux-backports-modules-4.4.0-57-generic N/A
 linux-firmware 1.157.6
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/22/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A20
dmi.board.name: 07F3F4
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA20:bd12/22/2016:svnDellInc.:pnLatitudeE7440:pvr00:rvnDellInc.:rn07F3F4:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E7440
dmi.product.version: 00
dmi.sys.vendor: Dell Inc.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Does this issue go away if you boot into a prior kernel version?

Changed in linux (Ubuntu):
importance: Undecided → Medium
importance: Medium → High
Changed in linux (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → High
tags: added: kernel-da-key
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.10 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10-rc7

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux (Ubuntu Xenial):
status: Confirmed → Incomplete
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

I will test with the mainline kernel for a while and report back if I still experience this issue.

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

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux (Ubuntu Xenial):
status: Incomplete → Expired
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

I've not seen this problem with mainline kernels 4.10.X or 4.11-rcX.

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.