You are not logged in.
Pages: 1
Hello,
I have small problems with one kernel module.
What I want: load the nvidia_acpi_call module to deactivate my discrete graphics card
from https://aur.archlinux.org/packages.php?ID=34499
1st alternative: load the module in rc.conf
Works, but I get dozens of error messages and long delays during boot
see: https://bbs.archlinux.org/viewtopic.php … 66#p787566
2nd alternative: modprobe it in rc.local
Works, but upowerd goes up to 100% cpu usage afterwards.
see: https://bbs.archlinux.org/viewtopic.php … 33#p994833
They say that the module should be loaded after xorg to avoid this.
3rd alternative: Load the module manually after system start
I am doing that at the moment, but it is quite annoying.
So do you have any other ideas?
Thx!
Last edited by Jankosevic (2012-01-21 13:59:36)
Offline
I'd be glad about any idea
Offline
module should be loaded after xorg
In e.g. rc.local, start a process that waits, e.g.: (untried crappy bash code ahead)
(while [[ -z $(pidof -s /usr/bin/X) ]] ; do sleep 1 ; done && sleep 10 && modprobe whatever) &
I added a "sleep 10" to give it time to settle - maybe needed, maybe not, but in case of doubt, I'd do it.
Last edited by brebs (2012-01-17 17:26:46)
Offline
Thx that worked!
Offline
Pages: 1