If you will get on, you can enable it by running this command
echo auto | sudo tee /sys/bus/pci/devices/0000:01:00.0/power/control
It will works only until reboot.
For permanent you need create udev rule or systemd service.
P.S. You can try to disable nvidia through open source driver. Also, I think, you can do it with acpi_call, but you need to figure out acpi method for \_SB_.PCI0.GPP0.PEGP (for example, try it: echo '\_SB_.PCI0.GPP0.PEGP._OFF' | sudo tee /proc/acpi/call)
bbswitch won't work for you without patch. The problem is that the integrated graphic detected as discrete.
Try:
echo '\_SB_.PCI0.GPP0.PEGP.DOFF' > /proc/acpi/callIf doesn't work:
echo '\_SB_.PCI0.GPP0.PEGP.DOFF' | sudo tee /proc/acpi/callI use bbswitch, but for me work and acpi_call and nouveau. My laptop has Intel+Nvidia
BTW, you can enable runtime power management for nvidia. To check it run:
cat /sys/bus/pci/devices/0000:01:00.0/power/controlIf you will get
on, you can enable it by running this commandecho auto | sudo tee /sys/bus/pci/devices/0000:01:00.0/power/controlIt will works only until reboot.
For permanent you need create udev rule or systemd service.
P.S. You can try to disable nvidia through open source driver. Also, I think, you can do it with acpi_call, but you need to figure out acpi method for
\_SB_.PCI0.GPP0.PEGP(for example, try it:echo '\_SB_.PCI0.GPP0.PEGP._OFF' | sudo tee /proc/acpi/call)Do you have any success with disabling nvidia?
/etc/modules-load.d/bbswitch.confwithbbswitch/etc/modprobe.d/bbswitch.confwith:options bbswitch load_state=0 unload_state=1Reboot
Attach output of
sudo dmesg | grep bbswitchDo you have a Windows?
You can find name of acpi method. See it.