Skip to content

dev-dingyi/switch-gpu-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

EnvyControl GPU Mode Switcher

Minimal interactive Bash script to switch GPU modes with envycontrol.

Quick Start

chmod +x gpu-mode-switcher.sh
./gpu-mode-switcher.sh

What it can do

  • Switch mode to hybrid (envycontrol -s hybrid --rtd3 3)
  • Switch mode to integrated (envycontrol -s integrated)
  • Switch mode to nvidia (envycontrol -s nvidia)
  • Optional actions menu for:
    • update-initramfs -u
    • reboot with confirmation
    • post-reboot checks (runtime_status, NVIDIA power info, tlp-stat -b)
    • renderer checks (prime-run glxinfo and default glxinfo)

Notes

  • Most actions use sudo and will prompt for your password.
  • A reboot is required after every GPU mode change.

About

Minimal interactive Bash script to switch between hybrid, integrated, and NVIDIA GPU modes using envycontrol.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages