Comment 0 for bug 199776

Revision history for this message
billythegates (mfittko) wrote : Computer freezes when running compiz after restarting or resuming an X session when running compiz

System: ThinkPad T42, Ubuntu 8.04 (Hardy Heron) Alpha 6 / ATI Mobility Radeon 9600 chip, FGLRX driver 8.47.3

With the latest version of the fglrx driver, compiz runs perfectly well and the machine is also able to suspend properly. But however, when I try to resume - with compiz previously enabled - I a get a grey and somewhat speckled slim bar on the lower right of the screen - sometimes with some artifacts around the mouse cursor (see screenshot). The mouse can be moved but nothing else will work - compiz desktop will just not awake a second time!

When I previously disable compiz and then set my machine in suspend mode, this grey bar shows up as well, but only for a couple of milliseconds and then the desktop appears to start normally. It's the same when I log-off and try to log back on (with compiz enabled) X freezes totally and the only thing I can do is a hard reboot! This happens every time I try to start X for a second time. The freeze occurs while the log-on sound is playing so I also hear a frozen sound (just like "zzzzzzz").

I just found out that it also occurs when I switch from X (with compiz) to a console by pressing CTRL+ALT+F1! If I try to switch back to X (CTRL+ALT+F7), there is the same grey bar and nothing else works.

In the release notes of the fglrx driver there is a line which seems to be related to my issue...
"A black screen may be observed on some hardware when switching to the console or leaving the X window system when a Vesa framebuffer console driver is used. Further details can be found in topic number 737-30687"

Unfortunately I did not find a solution to this problem. I tried to disable vesafb in the kernel options ("vga=normal nofb"), but this did not solve anything.

I can provide you with more information - configuration files and logs - just say what you need and where I can find it!

I just tried to follow the step in https://wiki.ubuntu.com/DebuggingXorg, but when I try to restart X it freezes, and when I pgrep Xorg, I get two process numbers. If I try to attach process No 1, I get the following error message:

This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) attach 5488
Attaching to program: /usr/bin/Xorg, process 5488
warning: process 5488 is a cloned process
/build/buildd/gdb-6.7.1/gdb/linux-nat.c:979: internal-error: linux_nat_attach: Assertion `pid == GET_PID (inferior_ptid) && WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

If I try to attach the second process ID, the computer freezes again!

Is there anyone who has the same problems when trying to resume X? I'm just curious if it actually has something to do with the proprietary fglrx drivers or with compiz of with the vesa framebuffer. Did this issue also occur with other video-hardware than ATI's (e.g. NVIDIA)?