On 28-10-15 06:31:17, Martin Pitt wrote: > So, let's try this again: What is this grepping of syslogs trying to do? > Can we replace this with checking for presence/absence of > /sys/module/<name>? >
The module can be loaded on boot and then it can (automatically) be unloaded (at some point) if the GPU is disabled in a hybrid system. When that happens, we have no way of telling a system where the discrete GPU was disabled from one where the GPU is not there (e.g. disabled from the BIOS, dead, or simply not there). Both fglrx and nvidia print a line with the BusID of the device when they are loaded. Gpu-manager collects the BusID from the log and adds it to the list of available devices. You can see an example of their output in set_unloaded_module_in_dmesg() in tests/gpu-manager.py. Please keep in mind that, at least for nvidia, gpu-manager needs to run on log out too, not only on boot. What do you recommend that we use? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1307069 Title: gpu-manager causing long startup delays To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1307069/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs