*** This bug is a duplicate of bug 94626 ***
Ok, I see it now. So the is_enabled() is checking if the driver in the
xorg.conf file (from "device" section) is the same as the xorg_driver,
which should be true ("nvidia" for both).
So is_loaded() must be returning false, but...
Striped out the load_module_list() to just run seperately and just had
it print out. "nvidia" was in the list. So checking the is_loaded()
call, it checks:
return self.name in self._modules
Which should return true. So if both return true (or should), then it
shouldn't ask for a restart. So one must be returning false?!?!
Well I saw your other post about checking the running X driver instead
of the kernel module. I'm not sure how to do that either. There's not an
X command to get the driver (far as I know), but maybe xlib (been awhile
since I've been in there)? I just always use glxinfo, but that checks
OpenGL (which I think should be everywhere, but...).
--
Keeps asking for a computer restart
https://launchpad.net/bugs/96819
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs