Linux command
envycontrol 命令
安全
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Switch
sudo envycontrol [-s|--switch] [nvidia|integrated|hybrid]
Example
envycontrol --dm [gdm|gdm3|sddm|lightdm]
Check
sudo envycontrol [-q|--query]
Reset
sudo envycontrol --reset
Example
envycontrol [-h|--help]
Example
envycontrol [-v|--version]
说明
envycontrol is a GPU switching utility specifically designed for Nvidia Optimus laptops running Linux. It provides a streamlined interface for switching between integrated Intel/AMD graphics, hybrid mode (both GPUs active), and dedicated Nvidia GPU mode without requiring manual configuration file editing. The tool simplifies power management and performance tuning on dual-GPU systems by handling the complex configuration changes needed for GPU mode switching, including display manager setup and driver configuration. Changes require a system reboot to take effect as the underlying graphics stack must be reinitialized.
参数
- -s, --switch _mode_
- Switch to nvidia, integrated, or hybrid
- --dm _manager_
- Specify display manager
- -q, --query
- Show current GPU mode
- --reset
- Reset to default settings
- -h, --help
- Display help message
- -v, --version
- Display version
FAQ
What is the envycontrol command used for?
envycontrol is a GPU switching utility specifically designed for Nvidia Optimus laptops running Linux. It provides a streamlined interface for switching between integrated Intel/AMD graphics, hybrid mode (both GPUs active), and dedicated Nvidia GPU mode without requiring manual configuration file editing. The tool simplifies power management and performance tuning on dual-GPU systems by handling the complex configuration changes needed for GPU mode switching, including display manager setup and driver configuration. Changes require a system reboot to take effect as the underlying graphics stack must be reinitialized.
How do I run a basic envycontrol example?
Run `sudo envycontrol [-s|--switch] [nvidia|integrated|hybrid]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s, --switch _mode_ do in envycontrol?
Switch to nvidia, integrated, or hybrid