← Back to team overview

kernel-packages team mailing list archive

[Bug 1384342] Re: kernel messages intel_crtc_wait_for_pending_flips correlate to compiz hang

 

Launchpad has imported 9 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=87759.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-12-27T02:20:35+00:00 Scott Tsai wrote:

GPU hang during video playback.
GPU PCI ID: 8084:0412
Using dual screen configuration of DP plus HDMI at the time.

Software Versions:
kernel-3.18.1-2.fc22.x86_64
xorg-x11-drv-intel-2.99.916-3.20141117.fc21.x86_64
mesa-dri-drivers-10.4.0-1.20141214.fc21.x86_64
libdrm-2.4.58-3.fc21.x86_64


Hardware:
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)

Dual Screen Configuration:
creen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767
DP1 connected primary 2560x1440+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1200     59.88  
   1920x1080     60.00    60.00    50.00    59.94    24.00    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    59.94  
   1920x1080i    60.00    59.94  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    59.94  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/43

------------------------------------------------------------------------
On 2014-12-27T02:24:38+00:00 Scott Tsai wrote:

Created attachment 111382
XZ compressed GPU crash dump

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/44

------------------------------------------------------------------------
On 2014-12-27T09:43:25+00:00 Chris Wilson wrote:

Sigh.

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index d01db1b82869..ed2102e62271 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -9703,7 +9703,7 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
                if (obj->tiling_mode != work->old_fb_obj->tiling_mode)
                        /* vlv: DISPLAY_FLIP fails to change tiling */
                        ring = NULL;
-       } else if (IS_IVYBRIDGE(dev)) {
+       } else if (IS_IVYBRIDGE(dev) || IS_HASWELL(dev)) {
                ring = &dev_priv->ring[BCS];
        } else if (INTEL_INFO(dev)->gen >= 7) {
                ring = i915_gem_request_get_ring(obj->last_read_req);

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/45

------------------------------------------------------------------------
On 2014-12-27T09:53:06+00:00 Chris Wilson wrote:

http://patchwork.freedesktop.org/patch/39627/

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/46

------------------------------------------------------------------------
On 2014-12-29T14:02:27+00:00 Scott Tsai wrote:

Been testing the patch for the last two days and it does indeed fix my
problem.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/47

------------------------------------------------------------------------
On 2015-01-01T20:50:03+00:00 Chris Wilson wrote:

*** Bug 87940 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/49

------------------------------------------------------------------------
On 2015-01-05T13:34:48+00:00 Jani-nikula wrote:

Fixed by

commit 26acf418e61321193584fc1ad1b30698ab4495ea
Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Date:   Sat Dec 27 09:48:28 2014 +0000

    drm/i915: Ban Haswell from using RCS flips

in drm-intel-fixes, thanks for the report and testing.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/50

------------------------------------------------------------------------
On 2015-01-31T10:29:15+00:00 Chris Wilson wrote:

*** Bug 88884 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/62

------------------------------------------------------------------------
On 2015-02-18T15:29:58+00:00 Chris Wilson wrote:

*** Bug 88872 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1384342/comments/70


** Changed in: xserver-xorg-video-intel
       Status: Unknown => Fix Released

** Changed in: xserver-xorg-video-intel
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1384342

Title:
  kernel messages intel_crtc_wait_for_pending_flips correlate to compiz
  hang

Status in The Linux Kernel:
  Unknown
Status in System76:
  New
Status in X.org xf86-video-intel:
  Fix Released
Status in linux package in Ubuntu:
  Triaged
Status in linux package in openSUSE:
  Unknown

Bug description:
  I am fairly frequently (maybe once every 2 days) seeing screen
  lockups.  The system is fine, and then screen locks up. mouse is still
  movable and even changes icon based on content under it (ie mouse over
  link changes to pointing hand).  Programs are still running (often
  this occurs during a google hangout, and the hangout, audio and mic
  seem to work fine).

  Today when this happened I had more patience and hit ctrl-alt-f1, and then subsequently saw that dmesg had:
  [82218.556025] ------------[ cut here ]------------
  [82218.556074] WARNING: CPU: 0 PID: 8799 at /build/buildd/linux-3.16.0/drivers/gpu/drm/i915/intel_display.c:3324 intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]()
  [82218.556095] Modules linked in: xt_conntrack ipt_REJECT overlayfs pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables rfcomm bnep binfmt_misc dm_crypt uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media dm_multipath scsi_dh coretemp kvm_intel kvm arc4 joydev iwldvm mac80211 serio_raw btusb bluetooth pcmcia 6lowpan_iphc thinkpad_acpi snd_seq_midi snd_seq_midi_event nvram snd_hda_codec_conexant snd_hda_codec_generic r852 sm_common lpc_ich nand snd_rawmidi nand_ecc nand_bch snd_hda_intel bch nand_ids snd_hda_controller snd_hda_codec snd_hwdep mtd snd_seq iwlwifi r592 memstick snd_pcm
  [82218.556112]  yenta_socket pcmcia_rsrc pcmcia_core cfg80211 snd_seq_device shpchp snd_timer mei_me mei snd soundcore mac_hid parport_pc ppdev tp_smapi(OE) thinkpad_ec(OE) lp parport btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid1 raid0 multipath linear hid_generic usbhid hid psmouse firewire_ohci ahci libahci firewire_core sdhci_pci sdhci crc_itu_t i915 wmi e1000e i2c_algo_bit drm_kms_helper video drm ptp pps_core pata_acpi [last unloaded: ipmi_msghandler]
  [82218.556114] CPU: 0 PID: 8799 Comm: kworker/0:1 Tainted: G        W  OE 3.16.0-23-generic #30-Ubuntu
  [82218.556115] Hardware name: LENOVO 7417CTO/7417CTO, BIOS 7UET94WW (3.24 ) 10/17/2012
  [82218.556119] Workqueue: events console_callback
  [82218.556122]  0000000000000009 ffff880016a3faf8 ffffffff8177fcbc 0000000000000000
  [82218.556123]  ffff880016a3fb30 ffffffff8106fd8d 0000000000000000 ffff880035a5a000
  [82218.556124]  ffff880035948210 ffff880035826800 ffff880035826800 ffff880016a3fb40
  [82218.556125] Call Trace:
  [82218.556130]  [<ffffffff8177fcbc>] dump_stack+0x45/0x56
  [82218.556133]  [<ffffffff8106fd8d>] warn_slowpath_common+0x7d/0xa0
  [82218.556135]  [<ffffffff8106fe6a>] warn_slowpath_null+0x1a/0x20
  [82218.556153]  [<ffffffffc015dffc>] intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]
  [82218.556156]  [<ffffffff810b9590>] ? prepare_to_wait_event+0x100/0x100
  [82218.556175]  [<ffffffffc0160ac3>] intel_crtc_disable_planes+0x33/0x1c0 [i915]
  [82218.556177]  [<ffffffff81784e5b>] ? __ww_mutex_lock+0x1b/0xb0
  [82218.556196]  [<ffffffffc0160ca1>] i9xx_crtc_disable+0x51/0x3f0 [i915]
  [82218.556220]  [<ffffffffc0162457>] intel_crtc_update_dpms+0x67/0xa0 [i915]
  [82218.556237]  [<ffffffffc0166ac9>] intel_connector_dpms+0x59/0x70 [i915]
  [82218.556245]  [<ffffffffc00c4901>] drm_fb_helper_dpms.isra.5+0xc1/0x100 [drm_kms_helper]
  [82218.556251]  [<ffffffffc00c4971>] drm_fb_helper_blank+0x31/0x90 [drm_kms_helper]
  [82218.556254]  [<ffffffff81415d47>] fb_blank+0x57/0xc0
  [82218.556256]  [<ffffffff8140c87b>] fbcon_blank+0xfb/0x300
  [82218.556258]  [<ffffffff8108b4a2>] ? __queue_delayed_work+0x182/0x1c0
  [82218.556259]  [<ffffffff8108b7b9>] ? try_to_grab_pending+0xa9/0x160
  [82218.556262]  [<ffffffff8107cbdb>] ? lock_timer_base.isra.34+0x2b/0x50
  [82218.556264]  [<ffffffff8107dd1f>] ? try_to_del_timer_sync+0x4f/0x70
  [82218.556266]  [<ffffffff81497ba3>] do_blank_screen+0x1d3/0x280
  [82218.556267]  [<ffffffff8149a348>] console_callback+0x68/0x160
  [82218.556269]  [<ffffffff8108d8e2>] process_one_work+0x182/0x4e0
  [82218.556270]  [<ffffffff8108dcab>] worker_thread+0x6b/0x6a0
  [82218.556272]  [<ffffffff8178294d>] ? __schedule+0x39d/0x890
  [82218.556273]  [<ffffffff8108dc40>] ? process_one_work+0x4e0/0x4e0
  [82218.556275]  [<ffffffff81094aeb>] kthread+0xdb/0x100
  [82218.556277]  [<ffffffff81094a10>] ? kthread_create_on_node+0x1c0/0x1c0
  [82218.556278]  [<ffffffff81787c3c>] ret_from_fork+0x7c/0xb0
  [82218.556280]  [<ffffffff81094a10>] ? kthread_create_on_node+0x1c0/0x1c0
  [82218.556281] ---[ end trace b9c751133032cf61 ]---

  /var/log/Xorg.0.log had:
  [ 83252.384] (EE) Backtrace:
  [ 83253.063] (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x7f80649a0666]
  [ 83253.063] (EE) 1: /usr/bin/X (0x7f80647ea000+0x1ba869) [0x7f80649a4869]
  [ 83253.063] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f806251f000+0x36da0) [0x7f8062555da0]
  [ 83253.063] (EE) 3: /usr/bin/X (0x7f80647ea000+0x1378ec) [0x7f80649218ec]
  [ 83253.063] (EE) 4: /usr/bin/X (0x7f80647ea000+0x137d0c) [0x7f8064921d0c]
  [ 83253.063] (EE) 5: /usr/bin/X (0x7f80647ea000+0x137243) [0x7f8064921243]
  [ 83253.064] (EE) 6: /usr/bin/X (0x7f80647ea000+0xe9fa8) [0x7f80648d3fa8]
  [ 83253.064] (EE) 7: /usr/bin/X (0x7f80647ea000+0x1358fc) [0x7f806491f8fc]
  [ 83253.064] (EE) 8: /usr/bin/X (0x7f80647ea000+0x5b3b7) [0x7f80648453b7]
  [ 83253.064] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f8062540ec5]
  [ 83253.064] (EE) 10: /usr/bin/X (0x7f80647ea000+0x456ae) [0x7f806482f6ae]
  [ 83253.064] (EE)
  [ 83253.115] (EE) Segmentation fault at address 0x10


  Normally, I'm generally able to switch consoles in and out of X
  without problem. I do not know if the above trace is related to X
  being locked or not.

  I'll also attach the /var/log/Xorg.0.log.old that had some information
  in it also andapparent segfault.  That said, I think all log
  information is tens of seconds after the lock up and might be a result
  of me ctrl-alt-1 <-> ctrl-alt-f7 while system was in a borked state.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-23-generic 3.16.0-23.30
  ProcVersionSignature: Ubuntu 3.16.0-23.30-generic 3.16.4
  Uname: Linux 3.16.0-23-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0c:   smoser     4134 F...m pulseaudio
   /dev/snd/pcmC0D0p:   smoser     4134 F...m pulseaudio
   /dev/snd/controlC0:  smoser     4134 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Wed Oct 22 10:29:16 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-10-19 (1099 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MachineType: LENOVO 7417CTO
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-23-generic root=UUID=f9832678-e9fb-41c5-8edb-5edd5200ed0a ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-23-generic N/A
   linux-backports-modules-3.16.0-23-generic  N/A
   linux-firmware                             1.136
  SourcePackage: linux
  UpgradeStatus: Upgraded to utopic on 2013-05-20 (520 days ago)
  dmi.bios.date: 10/17/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7UET94WW (3.24 )
  dmi.board.name: 7417CTO
  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:bvr7UET94WW(3.24):bd10/17/2012:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7417CTO
  dmi.product.version: ThinkPad T400
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1384342/+subscriptions


References