Optimus-switch: system freeze

Hi everyone, hope you all are doing great. I have a gaming laptop, and as you might’ve expected, it has a hybrid GPU setup. I decided go with nvidia optimus-switch. I followed the steps as per the EOS wiki for optimus-switch, however my laptop freezes after I run sudo /etc/switch/gpu_switch_check.sh. I did a reboot after installing optimus-switch and did another reboot after running sudo set-intel.sh.

pacman -Q | grep nvidia: https://0x0.st/Hzhd.txt
system info: https://0x0.st/HzhU.txt
Link to nvidia optimus-switch: https://discovery.endeavouros.com/nvidia/optimus-switch-another-solution-for-optimus-laptops/2021/04/

Did you confirm you were in intel mode, when running the command?
From the wiki instructions:

The laptop needs to be in Intel Mode . If the user is in nVidia Mode, the laptop will freeze.

If this happens in intel mode, try to redirect the command output to a persistent file, so you can check possible messages, or other useful info.

sudo touch /var/log/gpu_switch_check.log
sudo /etc/switch/gpu_switch_check.sh | sudo tee -a /var/log/gpu_switch_check.log

After/if it fails, reboot and check that file contents.

less /var/log/gpu_switch_check.log
1 Like