Askannz / optimus-manager

A Linux program to handle GPU switching on Optimus laptops.
MIT License
2.25k stars 165 forks source link

script before switching to new mode #549

Open leuchtrakete666 opened 9 months ago

leuchtrakete666 commented 9 months ago

i want to stop nvidia-powerd.service before the graphic card is switched. nvidia cannot be unloaded with active powerd. so i want to stop it before unloading the nvidia drivers.

can this be achieved somehow?

thanks.

nwildner commented 1 week ago

Hi @leuchtrakete666 . AFAIK, there is no way to automate that and currently this needs to be done manually. Seems to be related with #477 where someone posted a workaround of manually powering down nvidia-powerd before switching graphics.