Skip to content

Immutable distro fork of EnvyControl-Easy GPU switching for Nvidia Optimus laptops under Linux

License

Notifications You must be signed in to change notification settings

alongwhile/envycontrol-immutable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnvyControl Logo
Optimus made easy

👁‍🗨 EnvyControl

EnvyControl is a CLI tool that provides an easy way to switch between GPU modes on Nvidia Optimus systems (i.e laptops with hybrid Intel + Nvidia or AMD + Nvidia graphics configurations) under Linux.

Immutable Fork

This fork is intended to resolve the problem of envycontrol not working properly on immutable distros. EnvyControl dev has indicated he does not plan to support immutable distros, so now this fork exists. It is a work in progress and is mostly untested, however it has some confirmed limited functionality on Silverblue 38 running Gnome Wayland. Hopefully this fork can be helpful for others.

Limitations

Mostly untested. Cannot be installed globally (yet?) so only operational via CLI running the python script commands.

How to run

  1. Clone the repo: git clone https://github.com/alongwhile/envycontrol-immutable.git
  2. Run the script from the python root: python ./envycontrol.py -s <MODE> Replace <MODE> with integrated, hybrid, or nvidia as needed
  3. You may see some errors. Reboot anyway and hope for the best

See EnvyControl github page for full CLI options, FAQ's, etc.

Please report any problems so they can be documented here. Commit any suggested improvements as needed! Maybe we can get global install working?

About

Immutable distro fork of EnvyControl-Easy GPU switching for Nvidia Optimus laptops under Linux

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%