bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
MIT License
1.33k stars 62 forks source link

[BUG]Can't shutdown and can't close nvidia #190

Open Satthimar opened 1 month ago

Satthimar commented 1 month ago

I try to switch mod(both happen to integrated and nvidia mod,even can be seen after --reset),when I reboot as it shows,I can't close my cumputer due to some udev process.

Steps to reproduce the behavior:

  1. Run sudo envycontrol -s nvidia
  2. reboot
  3. stuck on this page when closing: IMG_20241028_010532

At this point, I can no longer do anything except use the power button to force the shutdown. If try ctrl+alt+f4 to use other tty,there is nothing,but a small bar in the upper left corner is blinking If waiting for it close,after minutes,the screen totally closed but cumputer still work,I have never seen it closed.

  1. shutdown down by power button,reboot and nothing happend envycontrol -s and shows integrated nvidia still work
  2. do nothing else,just reboot,I stuck to the page again.

Sometimes I can switch it successfully with no accident happened. But this is only a rare

NVIDIA GeForce RTX 3060 Mobile Max-Qa2 
 Intel Iris Xe Graphics @1.40 GHZ GHZ