I am using the 'bbswitch' module to disable the nvidia card and save power on a laptop with optimus.
I removed nouveau permanently by blacklisting and then running dracut.
I compiled bbswitch with 'dkms' and then added the following:
#!/bin/sh
if [ ! -c /proc/acpi/bbswitch ] ; then exec /sbin/modprobe bbswitch load_state=0 >/dev/null 2>&1 fi
to /etc/sysconfig/modules.
This works perfectly if the laptop is started up after powering off ('power off' from the menu or 'shutdown -h now')
However when I 'restart' (from the menu or 'shutdown -r now') this does not work: 'bbswitch' can't find the discrete VGA device! And consequently it is not loaded.
Can somebody explain what is happening. For 'bbswitch' info see: https://github.com/Bumblebee-Project/bbswitch
AV
On Wed, 2012-10-24 at 15:57 +0200, Alexander Volovics wrote:
However when I 'restart' (from the menu or 'shutdown -r now') this does not work: 'bbswitch' can't find the discrete VGA device! And consequently it is not loaded.
Any BIOS options regarding resetting video hardware upon resume, or similar?
On Thu, Oct 25, 2012 at 01:41:22AM +1030, Tim wrote:
On Wed, 2012-10-24 at 15:57 +0200, Alexander Volovics wrote:
However when I 'restart' (from the menu or 'shutdown -r now') this does not work: 'bbswitch' can't find the discrete VGA device! And consequently it is not loaded.
Any BIOS options regarding resetting video hardware upon resume, or similar?
No, nothing.
AV