bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
https://bayas.dev/envycontrol
MIT License
1.18k stars 60 forks source link

FileNotFoundError when trying to switch mode #84

Closed Strigifowl closed 1 year ago

Strigifowl commented 1 year ago

I just updated to the latest version of Envycontrol (2.3.1-1) and now when I try to switch mode I get this error Screenshot_20230224_155429 Any idea why or how I can try to fix this? Edit: Should note that I am using EndeavourOS and have been since before updating

bayasdev commented 1 year ago

My bad, this is related to 9c24c74dbf9acdc9fd3619d46328493db1a34698

Will add another check if the system is using dracut before running the command, please downgrade to 2.3 in the meanwhile ;)

Strigifowl commented 1 year ago

Alright, thank you for the quick response