Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 728 Bytes

File metadata and controls

26 lines (19 loc) · 728 Bytes

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.