enable nvidia power management:
set startup_mode=hybrid in /etc/optimus-manager/optimus-manager.conf
switch to hybrid
optimus-manager --switch hybrid optimus-manager --print-mode