Comment 10 for bug 1079440

Revision history for this message
Keith McClelland (zismylaptop) wrote : Re: Random complete freeze using dual monitors

I've made a breakthrough in understanding this problem. It seems to give me a 100% workaround but of course I can't be sure.

The solution is to use "taskset" to force the "Xorg" and "compiz" processes to always be run on the same CPU. The simple terminal commands are:

taskset -pa 1 $(pgrep -x compiz)
sudo taskset -pa 1 $(pgrep -x Xorg)

You might need to do this before the second monitor is connected.

I have run for several hours both in a quiet state and with as much complexity and CPU bashing as the computer can reasonably handle. The high CPU loading makes the system sluggish, but it does not fail.

Good luck turning this workaround into a real fix!