gpu stuck on render ring

Bug #1547800 reported by Robert Jordens
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Happens with or without chromium hardware acceleration. This currently occurs pretty much every time I resume from suspend but only if the machine was suspended for a longer time. Independent of whether chromium is shown or maximized.

[32524.241779] [drm] stuck on render ring
[32524.243134] [drm] GPU HANG: ecode 7:0:0xf3cffffe, in chromium-browse [3698], reason: Ring hung, action: reset
[32524.243138] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[32524.243140] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[32524.243143] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[32524.243145] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[32524.243148] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[32524.243198] ------------[ cut here ]------------
[32524.243277] WARNING: CPU: 3 PID: 6676 at /build/linux-KZRqSQ/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:11289 intel_mmio_flip_work_func+0x38e/0x3d0 [i915]()
[32524.243283] WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips))
[32524.243288] Modules linked in:
[32524.243293] cmac drbg ansi_cprng ctr ccm nfnetlink_queue nfnetlink_log nfnetlink cpuid nls_utf8 ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c rfcomm nvram msr acpi_call(OE) bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev btusb media btrtl btbcm btintel bluetooth hid_multitouch binfmt_misc arc4 hid_rmi dell_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal intel_powerclamp dell_laptop coretemp dcdbas crct10dif_pclmul crc32_pclmul dell_smm_hwmon snd_soc_rt5640 aesni_intel iwlmvm snd_soc_rl6231 aes_x86_64 lrw snd_soc_core mac80211 snd_compress ac97_bus snd_pcm_dmaengine snd_hda_codec_hdmi gf128mul glue_helper snd_hda_codec_realtek ablk_helper snd_hda_codec_generic cryptd snd_seq_midi joydev snd_seq_midi_event input_leds snd_hda_intel serio_raw
[32524.243419] snd_rawmidi iwlwifi snd_hda_codec snd_hda_core snd_hwdep snd_seq cfg80211 lpc_ich snd_pcm shpchp snd_seq_device snd_timer snd elan_i2c soundcore acpi_als kfifo_buf dw_dmac industrialio snd_soc_sst_acpi i2c_designware_platform dw_dmac_core i2c_designware_core 8250_dw spi_pxa2xx_platform dell_rbtn mac_hid kvm_intel kvm irqbypass ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 xt_comment nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq usbhid i915 i2c_algo_bit
[32524.243541] drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci psmouse drm libahci wmi sdhci_acpi video sdhci i2c_hid hid fjes
[32524.243577] CPU: 3 PID: 6676 Comm: kworker/3:2 Tainted: G U W OE 4.4.0-6-generic #21-Ubuntu
[32524.243583] Hardware name: Dell Inc. XPS13 9333/0D13CR, BIOS A08 08/31/2015
[32524.243644] Workqueue: events intel_mmio_flip_work_func [i915]
[32524.243650] 0000000000000000 000000003eeab83e ffff880183607d20 ffffffff813dafe4
[32524.243660] ffff880183607d68 ffff880183607d58 ffffffff8107ec12 ffff880195e1dc40
[32524.243669] ffff88021f2d6300 ffff88021f2dac00 00000000000000c0 ffff880195e1dc40
[32524.243679] Call Trace:
[32524.243692] [<ffffffff813dafe4>] dump_stack+0x44/0x60
[32524.243703] [<ffffffff8107ec12>] warn_slowpath_common+0x82/0xc0
[32524.243712] [<ffffffff8107ecac>] warn_slowpath_fmt+0x5c/0x80
[32524.243721] [<ffffffff810158b0>] ? __switch_to+0x420/0x5a0
[32524.243777] [<ffffffffc01e3e6e>] intel_mmio_flip_work_func+0x38e/0x3d0 [i915]
[32524.243788] [<ffffffff810979aa>] process_one_work+0x1aa/0x440
[32524.243796] [<ffffffff81097c8b>] worker_thread+0x4b/0x4c0
[32524.243803] [<ffffffff81097c40>] ? process_one_work+0x440/0x440
[32524.243811] [<ffffffff81097c40>] ? process_one_work+0x440/0x440
[32524.243818] [<ffffffff8109de48>] kthread+0xd8/0xf0
[32524.243826] [<ffffffff8109dd70>] ? kthread_create_on_node+0x1e0/0x1e0
[32524.243837] [<ffffffff818134cf>] ret_from_fork+0x3f/0x70
[32524.243844] [<ffffffff8109dd70>] ? kthread_create_on_node+0x1e0/0x1e0
[32524.243851] ---[ end trace da9abc2b93fe8184 ]---
[32524.245389] drm/i915: Resetting chip after gpu hang
---
.tmp.unity.support.test.0:

ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
DistUpgraded: 2016-01-25 22:49:32,967 DEBUG enabling apt cron job
DistroCodename: xenial
DistroRelease: Ubuntu 16.04
DistroVariant: ubuntu
DkmsStatus:
 acpi-call, 1.1.0, 4.4.0-6-generic, x86_64: installed
 virtualbox, 5.0.14, 4.4.0-6-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
   Subsystem: Dell Haswell-ULT Integrated Graphics Controller [1028:060a]
InstallationDate: Installed on 2014-08-08 (561 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Dell Inc. XPS13 9333
Package: xserver-xorg-video-intel 2:2.99.917+git20160218-1ubuntu1
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-6-generic root=UUID=8a50e235-2691-4a4a-b587-3bb79f18c59c ro splash quiet i915.enable_psr=1 vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-6.21-generic 4.4.1
Tags: xenial ubuntu compiz-0.9
Uname: Linux 4.4.0-6-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-01-26 (25 days ago)
UserGroups: adm audio cdrom dialout dip fuse kismet libvirtd lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 08/31/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: 0D13CR
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA08:bd08/31/2015:svnDellInc.:pnXPS139333:pvr:rvnDellInc.:rn0D13CR:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: XPS13 9333
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.12.2+16.04.20160209-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.1.2-1ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.1.2-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.17.3-2ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.6.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160218-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1

Revision history for this message
Robert Jordens (jordens) wrote :
tags: added: apport-collected compiz-0.9 ubuntu xenial
description: updated
Revision history for this message
Robert Jordens (jordens) wrote : BootLog.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : Dependencies.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : DpkgLog.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : GconfCompiz.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : JournalErrors.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : LightdmGreeterLogOld.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : Lspci.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : Lsusb.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : ProcEnviron.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : ProcModules.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : UdevDb.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : XorgLog.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : XorgLogOld.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : Xrandr.txt

apport information

Revision history for this message
Robert Jordens (jordens) wrote : xdpyinfo.txt

apport information

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

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

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

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

1) Could you please advise how often this occurs?
2) Does toggling "Use hardware acceleration when available" change anything to this issue?
3) Did this problem not occur in a release prior to Xenial?

tags: added: latest-bios-a08
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Critical → Medium
status: Confirmed → Incomplete
Revision history for this message
Robert Jordens (jordens) wrote :

This currently occurs pretty much every time I resume from suspend but only if the machine was suspended for a longer time. Independent of whether chromium is shown or maximized.

I'll have to wait a while to be able to say whether it occurs with chromium hw acceleration off but I bet it doesn't

This exact issue did not appear until a few weeks ago.

Revision history for this message
Robert Jordens (jordens) wrote :

Happens also without chromium hardware acceleration. And also happens with current xorg/kernel

Revision history for this message
penalvch (penalvch) wrote :

Robert Jordens:
>"This currently occurs pretty much every time I resume from suspend but only if the machine was suspended for a longer time. Independent of whether chromium is shown or maximized."

To clarify, does it happen if you don't suspend at all (i.e. boot up from Shutdown (not Hibernate) , or restart)?

tags: added: regression-potential
description: updated
Revision history for this message
Robert Jordens (jordens) wrote :

I have not seen it on startup or restart. I don't hibernate.

Revision history for this message
penalvch (penalvch) wrote :

Robert Jordens, when you say it didn't appear a few weeks ago, are you referring to while still using Xenial?

Would you be able to narrow which package precisely caused the regression based on the date when it started to occur?

Revision history for this message
Robert Jordens (jordens) wrote :

Intel graphics has never been pain-free for me.
The "stuck on render ring" appears at least since Feb 8th in my logs. There have been other hangs before that are reported. I would have a hard time narrowing down when this one appeared first.

Revision history for this message
penalvch (penalvch) wrote :

Robert Jordens, for now, why don't we try to see if the issue is resolved already, and we may circle back on pinning down a regression if necessary.

With this in mind, in order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

Once testing of the latest upstream kernel is complete, please mark this report Status Confirmed. Please let us know your results.

Thank you for your understanding.

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

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

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Gunnar Koppel (wanradt) wrote :

I have same bug, which affects occasionally. I have desktop computer, so I don't use suspend. I documented my problem here:

http://askubuntu.com/questions/795970/lubuntu-14-04-mouse-cursor-stucks-occasionally

System is Lubuntu 14.04 (32bit), kernel 3.13.0-91-generic, xserver-xorg-video-intel 2:2.99.910-0ubuntu1.6

Attaching the dump also

Revision history for this message
penalvch (penalvch) wrote :

Gunnar Koppel, it will help immensely if you filed a new report with Ubuntu by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information running the following from a terminal:
ubuntu-bug xorg

Also, 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.