Bug 19676

Summary: with EXA compiz animations cause temporary freezes
Product: xorg Reporter: Khashayar Naderehvandi <khashayar.lists>
Component: Driver/intelAssignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium CC: tjaalton
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log file none

Description Khashayar Naderehvandi 2009-01-21 11:46:53 UTC
Created attachment 22136 [details]
Xorg log file

Firstly, this is the Xorg stack I use:

* xserver 1.5.99.901
* libdrm 2.4.4
* mesa 7.3-rc3
* intel driver 2.6.0
* kernel 2.6.28.1 (with intel's q4 release patch set)

The problem is that when using compiz, some animations (most, though not all) cause temporary freezes. For example, spinning the cube or switching between applications suddenly everything on the screen freezes for a couple of seconds, and then it returns to normal. The desktop behaves sort of like a narcoleptic person would. Normally, this behavior starts a couple of minutes after X has started. That is, when logging in to a GNOME session, everything is smooth and fine for a couple of minutes, and then this problem surfaces making compiz unusable. This only happens when using EXA. With UXA this particular problem does not appear.

Unfortunately, I haven't found anything of interest in the logs and don't know where else from to get additional useful information. Please let me know how I can help.

Xorg.0.log attached.
Comment 1 martin 2009-01-24 05:22:02 UTC
I can confirm this behavior with the exact same set of packages (this is what's in jaunty as of jan 24th), except that I actually have the 2.6.1 version of the intel ddx driver.

I see this on a desktop system with a Gigabyte GA-EG45M-DS2H motherboard (intel G45, GMA X4500HD).
Comment 2 Khashayar Naderehvandi 2009-01-24 06:54:33 UTC
Tried with intel git master, problem is still there.

However, as per https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/320813, the following option in ~/.drirc solves the issue:

            <option name="vblank_mode" value="1" />

So perhaps this is to be considered a compiz bug?
Comment 3 martin 2009-01-25 06:02:39 UTC
The vblank_mode "workaround" might have been a false lead. See the launchpad bug for details. Basically, after xorg has been running for some time, the freezes seem to come back even with vblank_mode=1 or vblank_mode=0 in drirc.
Comment 4 Timo Aaltonen 2009-01-26 01:46:32 UTC
The freezes are confirmed to happen only after a suspend/resume cycle.
Comment 5 Khashayar Naderehvandi 2009-01-26 16:01:21 UTC
According to what's been going on in the launchpad bug referenced above, this is likely a bug in DRM.

From the launchpad bug: http://launchpadlibrarian.net/21654001/dmesg_low_memory_corrupt.txt
Comment 6 Jesse Barnes 2009-05-11 11:21:39 UTC
Adjusting severity: crashes & hangs should be marked critical.
Comment 7 Eric Anholt 2009-06-30 18:20:10 UTC
Closing it as fixed due to not being present in UXA.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.