macos 切换集成显卡与独立显卡

macos 切换集成显卡与独立显卡

gfxcardstatus 在Catalina 10.15.5不能切换

参考网页: Battery Life on MacBook Pro 16


切换显卡命令

sudo pmset -c gpuswitch 2
sudo pmset -b gpuswitch 0   目前我只使用集成显卡

The -c switch tells the computer to autoswitch iGpu/dGpu when plugged in

The -b switch tells the computer to ALWAYS use integrated when on battery power (prevents the switch to dedicated)

如果不生效,先试下:

sudo pmset restoredefaults

参考:PMSet - out of control; launches, relaunches; Monterey Current - can’t figure out how to diagnose


Here are the flag options for pmset

  • -a - global (same behavior for charging and battery states)
  • -c - charging
  • -b - battery

Here are the possible options for gpuswitch

  • 0 - integrated GPU only
  • 1 - discrete GPU only
  • 2 - autoswitch GPU

If you want to revert to default, run:

sudo pmset -a gpuswitch 2

which sets the global flag to autoswitch no matter which power source you’re running on, replacing any individual power options set earlier.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值