Comment 40 for bug 156824

Revision history for this message
In , Justyn Butler (justyn) wrote :

"If you VT switch to a console before lid close, then back to X after open, does
the problem go away?"

The answer seems to be yes, it goes away.

I have attempted to test this on Ubuntu 8.04 with desktop effects off and used a stopwatch to keep an eye on timings.

What I did:

I logged into a virtual terminal and ran top.
I also ran top in gnome-terminal on X.
In each case I started timing as I opened the lid.

Results:

When I open the lid in X and stay in X, Xorg is using excessively high CPU for 12 seconds.

When I open the lid in X and immediately switch to the virtual terminal Xorg CPU usage has returned to normal idle levels by the time the stopwatch shows 8 seconds.

When I open in X, switch to virtual terminal and the instant it is visible switch back to X the problem has gone, X shows normal idle levels and only 6 seconds have passed since opening the lid.

When I switch to VT mode before closing the lid, then after I have opened switch to X, the problem has gone and 5 seconds have passed.

(On a side note - if I close and open my lid in a VT the screen is blank and the only way to get it to show anything is to switch to another VT, or X, and back again. I assume this is unrelated).

ps. I forgot to add that in the three distros I have tested this bug, I have always been running Gnome.