Bug 22492

Summary: compiz draws screen once every 5 secs after resume
Product: Mesa Reporter: Tomas M. <tmezzadra>
Component: Mesa coreAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: dmesg when the problem appeared
xorg log for the session

Description Tomas M. 2009-06-26 06:04:46 UTC
Created attachment 27158 [details]
dmesg when the problem appeared

OS: Arch-linux
Kernel: 2.6.30
Mesa: 7.4.2
GPU: intel gma945

when running with UXA, and direct-rendering enabled in compiz, after resuming from suspend. if i switch screens (from a 1680x1024 to a 1280x800) compiz starts refreshing the screen once every 5 secs aproximately.

the system runs correctly on the background. sometimes, switching to VT and back fixes it, sometimes it does not.

what fixes it is running metacity --replace and compiz ccp --replace to go back. this fixes it 100% of the time until next iteration (suspend, and back)

im not quite sure whats needed to debug this. im not too proficent at picking up debug data. gonna post what i feel is relevant.
Comment 1 Tomas M. 2009-06-26 06:06:57 UTC
Created attachment 27159 [details]
xorg log for the session
Comment 2 Tomas M. 2009-06-26 07:28:43 UTC
update. suspend is not required to trigger this bug

simply switching from a bigger screen to a smaller one (1680x1050 VGA1 to 1280x800 LVDS1) or (1280x800 LVDS1 to 1024x533 VGA1) triggers it.

switching back to the bigger screen fixes it...

im switching with: xrandr --output VGA1 --off --output LVDS1 --auto

or with: xrandr --output LVDS1 --off --output VGA1 --auto
Comment 3 Tomas M. 2009-06-26 08:19:11 UTC
upgraded to mesa 7.4.4

issue still there
Comment 4 Jesse Barnes 2009-06-26 09:38:58 UTC
Ok sounds like one of the CRTCs is getting disabled, and that happens to be the one compiz is using for vblank waits...  So I think this is a dupe of #22166.

*** This bug has been marked as a duplicate of bug 22166 ***

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.