System got froze after resume from screen off
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OEM Priority Project |
Fix Released
|
Critical
|
Ara Pulido | ||
| Precise |
Fix Released
|
Critical
|
Unassigned | ||
| compiz (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
| Precise |
Fix Released
|
Undecided
|
Timo Jyrinki | ||
Bug Description
[Impact]
System gets frozen occassionally.
[Test Case]
See below.
[Regression Potential]
The update reverts the patch to the state it was before previous upload. The regression is that performance regresses back to the 5-10% lower level it was before, for Intel / Nouveau using Mesa <= 9.0.x.
---
STEPS:
1. Login system
2. Navigate to 'System Setting' → 'Brightness and Lock'
3. Set 'Turn screen off when inactive for:' as '1 minute'
4. Set 'Lock' as 'ON' and set 'lock screen after : '3 minutes'
5. Check 'Require my password when waking from suspend'
6. Close 'Brightness and Lock' window.
7. Wait system go to screen off.
8. Waiting about 5 minute then active system.
Expect result:
Unlock interface display.
Actual result:
System got froze after resume from screen off. Cursor can move but right click and left click do not work.
Reproduce rate: 40%
Image: Ubuntu 12.04.2 LTS
Related branches
- Stephen M. Webb (community): Approve
- Daniel van Vugt: Approve
- Ubuntu Desktop: Pending requested
-
Diff: 47 lines (+13/-2) 2 files modifiedapidebian/changelog (+7/-0)
debian/patches/blacklist_precise_mesa80_intel_nouveau.patch (+6/-2)
Bin Li (binli) found the root cause, it's related to compiz, after upgrade compzi to 1:0.9.7.
And it's one potential issue when made the better performance for compiz.
+ * Performance note: unredirectable.
+ * involves regex matching. Too slow to do on every window for
+ * every frame. So we only call it if a window is redirected AND
+ * potentially needs unredirecting. This means changes to
+ * unredirect_match while a window is unredirected already may not
+ * take effect until it is un-fullscreened again. But that's better
+ * than the high price of regex matching on every frame.
And for more information please view below related bugs.
blacklist_
fix_1095001.patch (bug#1095001)
This bug is requesting to change the patch mentioned above to fix the issue in bug description.
After we dig more, found the root cause isn't the fix_1095001.patch which in #1. It's another patch in the same commit.
The blacklist_
Sorry for wrong bug number in #2.
we can set the blacklist with gconf: /apps/compiz-
After work with Ning and Shuoduo, I found the root cause is that blacklist_
Not the fix_1095001.patch (bug#1095001) which in comment#15.
blacklist_
=======
This patch sets the correct 12.04 LTS (precise) specific blacklist
string for not enabling unredirection speedup on older Mesa versions
when using Intel or Nouveau. It has evolved a bit.
.
Firstly it was just a cherry-pick to remove double backslashes which
turned out not to work well from XML -> regexp engine.
.
Secondly "9.0" was added because an user reported that Mesa 9.0 from
x-updates PPA wasn't enough on Intel. The full 12.04.2 stack however is
good.
.
Thirdly as continuation from above, the string was modified so that
9.0 (sharp) is still blacklisted, but 9.0.x (now in 12.04.2 LTS stack)
is not anymore. This takes care of the remaining PPA users while allowing
proper new stack users to have full gaming speed on Intel and Nouveau.
--- a/plugins/
+++ b/plugins/
@@ -46,7 +46,7 @@
<option name="unredirec
<_long>If non-empty, specifies a POSIX (extended) regular expression to match against the OpenGL driver strings (newline separated): "GL_VENDOR\
- <default>
+ <default>
</option>
</options>
</plugin>
=======
The previous version is (nouveau|
When we edit the /usr/share/
Timo confirmed that he is going to prepare a branch
The merge request is now at https:/
A test build is built at ppa:unity-team/sru (https:/
I'm not a Compiz developer as such, so I cannot evaluate whether it would be possible to fix the issue without disabling the unredirection feature again for Intel/Nouveau users running Mesa 9.0.x. Daniel van Vugt is the developer behind the blacklisting feature and the backports of the fullscreen unredirection to precise.
Currently in the queue for SRU approval: https:/
Hello Sean, or anyone else affected,
Accepted compiz into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
removed: verification-needed
verification-failed
Reasons -
Does not actually fix the bug
Introduces a performance regression that will affect far more users that the so called 'fix'
(- 1 user listed as affected, no dupes. Even the reporter stated only occurs 40% of the time.
I tried 6 times, bug never occurred.
The few affected users can edit a .xml to workaround the issue themselves if they wish
Marking again as verification-needed as the verification needs to be done by someone actually affected by the bug.
Thanks
removed: verification-failed
removed: verification-done
I just upgrade the package from precise-propose, and verified it, it works fine for use. And I also compared the used memory and cpu, it looks same.
@Doug - can you provide some more information regarding this performance regression which you mention in comment #10?
On 10/8/2013 10:49 AM, Brian Murray wrote:
> @Doug - can you provide some more information regarding this performance
> regression which you mention in comment #10?
>
Brian - I'd point you to the review comments for this commit but can't
locate them anymore, maybe they're removed after approval?
This bug description does state the performance regression, for a more
relevant opinion you should ask vanvugt , who made an interesting
comment even though he did approve.
The other interesting comment, to paraphrase was - 'Well we don't have
the resources to actually fix the bug, so we'll just revert..'
Now if the current trend, when there is no one or time to fix, is to
revert a commit to 'fix', then I guess that's fine though this bug
doesn't seem to qualify there..
(In the same vein I could point you to 2 current compiz bugs in 13.10
that will affect a fair number of users *all* the time, will likely not
not be fixed due to no resources available & also could be 'fixed' with
a commit revert (to gtk3
Should I be pushing for a revert there?
removed: verification-needed
Sorry for not update the tag after #12.
This bug was fixed in the package compiz - 1:0.9.7.12-0ubuntu3
---------------
compiz (1:0.9.
* debian/
- Revert to blacklisting also 9.0.x (LP: #1216781)
-- Timo Jyrinki <email address hidden> 2013年8月27日 13:50:36 +0300
The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.