Comment 20 for bug 145112

Revision history for this message
OlivierP (unineurone) wrote : Re: Random NVidia Proprietary Driver Lynches / Lock-Ups

For those (like me %-)) who experience hard lockups with the 100.14.11/14 drivers, here is a horrible hack to get 100.14.09 installed AND to get l-r-m to "recognize" it, while keeping other restricted modules you may require available. This has only been tested on an up-to-date Gutsy

DO NOT report any bugs or whatsoever if this does not work, burns your CPU or whatnot.

Install the binary drivers from source,
follow the instructions in the NvidiaManual howto here: https://help.ubuntu.com/community/NvidiaManual
and on the NVidia support forum sticky post here: http://www.nvnews.net/vbulletin/showthread.php?t=72490

This will get you with correctly installed drivers. However, when you now enable compiz/Desktop Effects, l-r-m will find that the driver is loaded but NOT enabled, and will happily reinstall the repository drivers if you let it.

To work around this, proceed as follows:
- Edit /usr/lib/python2.5/site-packages/RestrictedManager/handlers/xorg_driver.py

- insert a line here (lines 38-39):
[code]
    def is_enabled(self):
        """Returns True if the module is enabled."""[/code]so that it reads:
[code]
    def is_enabled(self):
        """Returns True if the module is enabled."""
        return True
[/code]

- Save & close.

You can now enable Desktop Effects to your heart's content.

Important: the editing of /usr/lib/python2.5/site-packages/RestrictedManager/handlers/xorg_driver.py will need to be redone each time Restricted Manager is updated.