Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257496 - x11-wm/compiz-0.7.8 fails to reinitialize screen when turned off using DPMS
Summary: x11-wm/compiz-0.7.8 fails to reinitialize screen when turned off using DPMS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 15:08 UTC by Christopher Smith
Modified: 2009-04-04 17:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Smith 2009-02-03 15:08:21 UTC
I have gnome-power-manager set to turn the screen off when the lid is closed on battery.  After upgrading from compiz-0.7.4 from the compiz-overlay to 0.7.8 in portage my screen no longer reinitializes when I open the lid again.  It does reinitialize when I resume from suspend though.

Reproducible: Always

Steps to Reproduce:
1.  Install compiz 0.7.8
2.  Set gnome-power-manager to turn screen off when lid is closed
3.  Close lid and open it again

Actual Results:  
Screen stays off

Expected Results:  
Screen should turn back on again

xorg-server-1.5.3-r1
xf86-video-intel-2.6.1

GMA 950 graphics card
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-03-07 19:29:34 UTC
Does this only affect compiz? Can you resume if you're using metacity or some other wm?
I suspect it might be related to the intel drivers, but it may only be exposed under compiz.
Comment 2 Christopher Smith 2009-03-08 20:47:34 UTC
It worked in Metacity.  I used fusion-icon to switch to metacity to prevent it from happening.  After I downgraded compiz it worked fine and has ever since, with the same Intel drivers.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-03-09 00:52:51 UTC
@x11-drivers:

Could this be an issue with the intel drivers? Anything we can do to identify the cause of this issue?
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-03 11:31:23 UTC
I've just commited compiz-0.8.2 to the tree. Does this also affect 0.8.2?
Comment 5 Christopher Smith 2009-04-03 14:09:06 UTC
I'm trying to compile it now but compiz-plugins-main is missing required patches.  They don't seem so be included after the sync.  There isn't even a files directory.  I'm commenting the patch line out for now to test.
Comment 6 Christopher Smith 2009-04-03 14:21:56 UTC
It seems that the emerald ebuild requires a patch that is not included either.
Comment 7 Christopher Smith 2009-04-03 14:54:41 UTC
0.8.2 seems to work for me.  The screen is coming back on without issue.  I had to copy over some patches from 0.7.8 to get it work but there is no xdamage-race patch in 0.7.8 or 0.8.2 for compiz-plugins-main although the 0.8.2 ebuild requires this patch.  Commenting it out worked but the patch should be synced.
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-03 18:01:23 UTC
Sorry about the missing patches. I've added them now.
About this bug, could this be bug 251693 ?
Comment 9 Christopher Smith 2009-04-03 21:54:48 UTC
It sounds very similar but switching to metacity or a previous version of compiz solved the issue for me.  Now that 0.8.2 is in the tree it works without a hitch.  It was only compiz-0.7.8 (and possibly some combination of drivers/xorg-server/kernel) that triggered the issue for me.  The bug you are referencing seems to imply that even without compiz the bug was still triggered.
Comment 10 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-04 17:53:19 UTC
In that case I'm closing this bug.
If you or someone else hits this bug with 0.8.2, please reopen the bug.