(Needs 2.21.12) Xorg with Intel video freezes when rendering some png files

Bug #1200766 reported by Andrew Woodward
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In raring I've found that when directly opening some png files, or somtimes when an application loads png's the Xorg freezes either completely, or sometime allows the mouse to move.

In a specific case, opening the attached png with the intel driver will cause Xorg to freeze but the the cursor will still move, but interaction is futile. System remains accessable over SSH.

The following log is found in Xorg.0.log

(EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x7faf70e8550d]
(EE) 1: /usr/bin/X (mieqEnqueue+0x22b) [0x7faf70e6744b]
(EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x7faf70d4f322]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7faf6ae0e000+0x566f) [0x7faf6ae1366f]
(EE) 4: /usr/bin/X (0x7faf70ce4000+0x913a8) [0x7faf70d753a8]
(EE) 5: /usr/bin/X (0x7faf70ce4000+0xb9a60) [0x7faf70d9da60]
(EE) 6: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7faf6fde4000+0xfbd0) [0x7faf6fdf3bd0]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7faf6eb00747]
(EE) 8: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x34) [0x7faf6fbdb344]
(EE) 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7faf6d339000+0x3f178) [0x7faf6d378178]
(EE) 10: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7faf6d339000+0xd0e18) [0x7faf6d409e18]
(EE) 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7faf6d339000+0xd14e9) [0x7faf6d40a4e9]
(EE) 12: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7faf6d339000+0xd47f8) [0x7faf6d40d7f8]
(EE) 13: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7faf6d339000+0x97604) [0x7faf6d3d0604]
(EE) 14: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7faf6d339000+0xd4b31) [0x7faf6d40db31]
(EE) 15: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7faf6d339000+0x68a5b) [0x7faf6d3a1a5b]
(EE) 16: /usr/bin/X (0x7faf70ce4000+0x126ee1) [0x7faf70e0aee1]
(EE) 17: /usr/bin/X (0x7faf70ce4000+0x54cde) [0x7faf70d38cde]
(EE) 18: /usr/bin/X (0x7faf70ce4000+0x4431a) [0x7faf70d2831a]
(EE) 19: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7faf6ea30ea5]
(EE) 20: /usr/bin/X (0x7faf70ce4000+0x44661) [0x7faf70d28661]
(EE)
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
(EE) [mi] mieq is *NOT* the cause. It is a victim.
(EE) [mi] EQ overflow continuing. 100 events have been dropped.
(EE)

There is no usefull data in dmesg and
$ cat i915_error_state
no error state collected

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

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

Changed in linux (Ubuntu):
status: New → Confirmed
affects: linux (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Chris Wilson (ickle) wrote :

What application(s) are you using to view the png file?

Revision history for this message
Andrew Woodward (xarses) wrote :

opening the attached png with the default "Image viewer" causes the Xorg freeze with cursor moving.

I think also, but haven't verified for certain yet (because its inconsistant, and hasn't reoccured since i setup sshd) that virtual machine manager's (virt-manager) cpu usage graphs also cause this problem but result in a complete gpu freeze (no mouse)

Revision history for this message
Andrew Woodward (xarses) wrote :

ii libdrm-intel1:amd64 2.4.45-2ubuntu1 amd64 Userspace interface to intel-specific kernel DRM services -- runtime
ii libdrm-intel1:i386 2.4.45-2ubuntu1 i386 Userspace interface to intel-specific kernel DRM services -- runtime
ii whois 5.0.25 amd64 intelligent WHOIS client
ii xserver-xorg-video-intel 2:2.21.9-0ubuntu3 amd64 X.Org X server -- Intel i8xx, i9xx display driver

Also, my co-worker has the same laptop running 13.04 with libdrm-intel 2.4.43-0 and xserver-xorg-video-intel 2.29.6-0 and dosn't have this issue.

Revision history for this message
Chris Wilson (ickle) wrote :

commit 2b16eaefb38b4a6efe50a397e68793ab9a1cb2ef
Author: Chris Wilson <email address hidden>
Date: Fri Jul 12 23:22:59 2013 +0100

    sna: Avoid integer overflow when computing the tiled extents

    When stepping over the tiles, beware that the step may overflow the
    int16_t region extents, so use an int for the calculation.

    Reported-by: Andrew Woodward
    Bugzilla: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1200766
    Signed-off-by: Chris Wilson <email address hidden>

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Chris Wilson (ickle) wrote :

I would doubt the cpu graphs are the same bug, unless it uses similarly large pixmaps (> ~30k) for the graphs.

Robert Hooker (sarvatt)
summary: - [Saucy] Xorg with Intel video freezes when rendering some png files
+ (Needs 2.21.12) Xorg with Intel video freezes when rendering some png
+ files
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-intel - 2:2.21.12-1ubuntu1

---------------
xserver-xorg-video-intel (2:2.21.12-1ubuntu1) saucy; urgency=low

  [ Maarten Lankhorst ]
  * Merge from unreleased debian git (LP: #1198409, #1173557, #1199746, #1200766)
    Remaining changes:
    - Use SNA by default.

  [ Robert Hooker ]
  * Cherry-pick 3 commits from upstream git to fix SNA regressions in 2.21.12
    (34c9b759f, 7f76a2bf3, a764a6e69b)

  [ Christopher James Halse Rogers ]
  * Add initial XMir support patch
 -- Christopher James Halse Rogers <email address hidden> Thu, 01 Aug 2013 16:06:42 +1000

Changed in xserver-xorg-video-intel (Ubuntu):
status: Fix Committed → Fix Released
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.