Bug 11033

Summary: Display errors after returning from fullscreen
Product: xorg Reporter: Michael Monreal <michael.monreal+bugs>
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Michael Monreal 2007-05-22 02:19:50 UTC
I noticed this when I tried to run a game (Starcraft) fullscreen using Wine.
The game runs nice, but after quitting I don't get back to the Desktop, but
instead get a black screen with some garbage graphics (white dots/lines).
I can move the mouse here, but do nothing else (no killing X11 using
<strg>-<alt>-<backspace> for example)

I think this affects return-from-fullscreen in more than the Wine case. While
I have seen fulslcreen apps where it worked fine (Zsnes for example), I also
found this very easy to reproduce example:

From GDM:
- <strg>-<alt>-<f1> drops to textmode
- <alt>-<f7> correctly gets back to X11/GDM => ok!

From an Xsession using _Metacity_:
- <strg>-<alt>-<f1> drops to textmode
- <alt>-<f7> correctly gets back to X11/GDM => ok!

From an Xsession using Compiz:
- <strg>-<alt>-<f1> drops to textmode
- <alt>-<f7> goes to the same black screen (with a few white pixels) as seen after Wine quits

The same thing can also be seen after starting/killing another Xserver (Xorg :1 for example)

All of this works fine without Compiz (see the GDM and Metacity examples). From within Metacity I also started a windowed OpenGL app and textmode<->X11 switching still worked, so I think this is not a driver bug... Any idea what I could try, or can this be fixed in a later version of Compiz? I will now fle another bug about a possible workaround (and the problems with that).

I am using the latest NVidia binary driver on a GF7950 and Ubuntu 7.04 (Xorg 7.2), latest Compiz from GIT.
Comment 1 Kristian Lyngstøl 2009-02-06 15:01:19 UTC
Sounds like unredirect fullscreen issues at first glance. This should be fixed. If not, please re-open at bugs.opencompositing.org. Sorry for the incovenience. 

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.