← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 118605] Re: [fglrx] freezes upon Logout or Switch user [patch]

 

My compiz.real locks up with a black screen any time I switch virtual
terminals or try to suspend.  Nothing mentioned worked for me.  I've
created a workaround which is working very well.

1.  I've created a modified fusion-icon.  Download it here:
http://www.jacobstoner.com/fusion-hacked.tar.gz
2.  Add this like to your /etc/sudoers (your user account should be able to run sudo fgconsole without a password)
ALL     ALL=NOPASSWD: ALL fgconsole
3.  Add this line to the top of /usr/sbin/pm-suspend (under the comments):
killall -9 compiz.real

install the modified fusion-icon by extracting, opening the directory and running:
sudo make install

The modifications will only work with the GTK interface.  So if you're
using KDE you'll probably need to force GTK by altering the code.

The modifications will monitor your active virtual terminal, kill it as needed, and relaunch as needed.
It will also relaunch compiz after 5 seconds if it dies, this helps with the restore after a suspend.

I am using gnome and debian.  I'd be happy to modify it if someone needs
any help for their particular setup.  As far as I'm concerned these
modifications will make a fine permanent solution.

-- 
[fglrx] freezes upon Logout or Switch user [patch]
https://bugs.launchpad.net/bugs/118605
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to linux-restricted-modules-2.6.24 in ubuntu.