bayasdev / envycontrol

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

[REQUEST] Switch from integrated -> nvidia instead of integrated -> hybrid -> nvidia #149

Closed dreamsyntax closed 6 months ago

dreamsyntax commented 6 months ago

Is your feature request related to a problem? Please describe.

With envycontrol, it is only possible to switch to nvidia while in hybrid. Attempting to switch from integrated results in:

$ sudo envycontrol -s nvidia
Switching to nvidia mode
Enable ForceCompositionPipeline: False
Enable Coolbits: False
Successfully enabled nvidia-persistenced.service
ERROR: Could not find Nvidia GPU
Try switching to hybrid mode first!

Describe the solution you'd like Being able to switch from integrated -> nvidia and back without switching to hybrid, rebooting, then switching to nvidia.

Describe alternatives you've considered It's not a deal breaker so I can live with it if there is a technical blocker preventing this feature.

bayasdev commented 6 months ago

Duplicate of #79