macbook图形化编程_如何判断MacBook使用的是哪种图形芯片(并进行切换)

macbook图形化编程

macbook图形化编程

preview

Apple’s top end MacBook Pros come with two graphics chips: an integrated Intel Iris Pro chip and a discrete graphics card with more power. That way, you can use the integrated chip when you need better battery life, and the more powerful graphics card when you’re editing video or playing games.

苹果高端MacBook Pro配备了两个图形芯片:一个集成的Intel Iris Pro芯片和一个具有更大功率的独立图形卡。 这样,您可以在需要更长的电池寿命时使用集成芯片,而在编辑视频或玩游戏时可以使用功能更强大的图形卡。

Apple has obviously thought of this, and which graphics card you’re computer is using is determined by a dynamic switching algorithm. If you don’t need the performance of the discrete GPU, macOS keeps it turned off. Unfortunately, some apps hijack the discrete GPU.

苹果显然已经想到了这一点,并且您使用的是哪种计算机显卡是由动态切换算法确定的。 如果您不需要离散GPU的性能,macOS会将其关闭。 不幸的是,某些应用劫持了离散GPU。

For example, I’ve found that for some completely ridiculous reason, RescueTime’s background tracking deamon forces the discrete GPU to run. You can see in the screenshot below that it’s one of the “Apps Using Significant Energy”.

例如,我发现出于某些完全荒谬的原因, RescueTime的后台跟踪守护进程迫使离散GPU运行。 您可以在下面的屏幕截图中看到它是“使用大量能量的应用程序”之一。

1resuetime

Now Photoshop using the GPU is understandable, but RescueTime? It’s a small background process that records what app I’m using. There is literally no graphical component. All it’s doing is draining my Mac’s battery life. That’s quite ironic for a productivity app.

现在使用GPU的Photoshop是可以理解的,但是RescueTime吗? 这是一个很小的后台过程,记录了我正在使用的应用程序。 实际上没有图形组件。 它所要做的就是耗尽Mac的电池寿命。 对于生产力应用程序而言,这颇具讽刺意味。

The solution I’ve found to this is to use a small menu bar app called gfxCardStatus. It serves two purposes:

我发现的解决方案是使用一个名为gfxCardStatus的小菜单栏应用程序。 它有两个作用:

  • It lets you know which graphics card your Mac is currently using.

    它可以让您知道Mac当前正在使用哪个图形卡。
  • It can force your Mac to use integrated or discrete graphics.

    它可以强制Mac使用集成或独立的图形。

To get started, download gfxCardStatus, drag the app to your Applications folder, and run it.

首先,下载gfxCardStatus ,将应用程序拖到您的“应用程序”文件夹中,然后运行它。

It will start running in your menu bar. When the integrated graphics is running, the icon is a little “i”. In the screenshot below, it’s the second app in from the left.

它将开始在菜单栏中运行。 当集成图形运行时,图标有点“ i”。 在下面的屏幕截图中,它是左侧的第二个应用程序。

2inote

When the discrete graphics is running, the icon is a “d”. Whenever your Mac switches between them, gfxCardStatus will notify you.

当离散图形运行时,图标为“ d”。 只要您的Mac在它们之间切换,gfxCardStatus都会通知您。

When the discrete graphics are in use, gfxCardStatus’s menubar app will tell you what apps are currently requiring it under Dependencies. Right now, for me, no apps need it.

使用离散图形时,gfxCardStatus的菜单栏应用程序将在“依赖关系”下告诉您当前需要哪些应用程序。 现在,对我来说,没有应用程序需要它。

3dnote

By default, gfxCardStatus leaves macOS’s dynamic switching algorithm running. If you want to force it to use one or other of the graphics cards, click on the menu bar icon and select either Integrated Only or Discrete Only.

默认情况下,gfxCardStatus使macOS的动态切换算法保持运行状态。 如果要强制它使用一个或多个图形卡,请单击菜单栏图标,然后选择“仅集成”或“仅离散”。

5discrete

To switch back to dynamic switching, select Dynamic Switching.

要切换回动态切换,请选择“动态切换”。

4options

If you try to switch to integrated graphics when an app that requires the discrete GPU is running, gfxCardStatus will throw up a warning.

如果在运行需要独立GPU的应用程序时尝试切换到集成显卡,则gfxCardStatus将引发警告。

6warning

There isn’t much to configure with gfxCardStatus. It just sits in the background doing its own thing. To make sure it runs at startup, select Preferences and then check Load gfxCardStatus at startup.

使用gfxCardStatus进行配置的内容并不多。 它只是在后台做自己的事情。 为了确保它在启动时运行,请选择“首选项”,然后选中“在启动时加载gfxCardStatus”。

7preferences

Smart menu bar icons change the letters to represent the actual graphics card that is running. For example, my Mac has an AMD card, so with smart icons on, the icon is an “a” when it’s using discrete graphics.

智能菜单栏图标更改字母以代表正在运行的实际图形卡。 例如,我的Mac有一张AMD卡,因此,在启用智能图标的情况下,使用离散图形时,该图标为“ a”。



gfxCardStatus is a really handy way to keep tabs on what your Mac is doing automatically. I prefer to keep it set to the Dynamic Switching algorithm and only when I’m trying to conserve battery life, force my Mac to use integrated graphics.

gfxCardStatus是一种非常方便的方法,可让您自动掌握Mac正在进行的操作。 我更喜欢将其设置为“动态切换”算法,并且仅当我尝试节省电池寿命时,才强制Mac使用集成显卡。

If you’re experiencing bad battery life on your Mac, check out gfxCardStatus. Even if it can’t fix the problem, it will give you a good idea of what’s causing it.

如果您的Mac电池续航能力很差,请查看gfxCardStatus。 即使它不能解决问题,也可以让您很好地了解导致问题的原因。

翻译自: https://www.howtogeek.com/288346/how-to-tell-which-graphics-chip-your-macbook-is-using-and-switch-it/

macbook图形化编程

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/280496.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

跨集群流量调度实现 Kubernetes 集群金丝雀升级

有了多集群服务和跨集群的流量调度之后,使用 Kubernetes 的方式会发生很大的变化。流量的管理不再限制单一集群内,而是横向跨越了多个集群。最重要的是这一切“静悄悄地”发生,对应用来说毫无感知。就拿 Kubernetes 版本升级来说吧。记得曾经…

usr/bin/expect方式免密码登录和发送文件脚本

2019独角兽企业重金招聘Python工程师标准>>> ssh 登录 #!/usr/bin/expect set timeout 20 if { [llength $argv] < 3} { puts "Usage:" puts "remote_host password cmd" exit 1 } set remote_host [lindex $argv 0] set passwor…

8-[多线程] 进程池线程池

1、为甚需要进程池&#xff0c;线程池 介绍官网&#xff1a;https://docs.python.org/dev/library/concurrent.futures.htmlconcurrent.futures模块提供了高度封装的异步调用接口 ThreadPoolExecutor&#xff1a;线程池&#xff0c;提供异步调用 ProcessPoolExecutor: 进程池&a…

python 图像识别pytesseract快速设置

一、安装Tesseract 以window安装为例&#xff0c;参考&#xff1a;https://segmentfault.com/a/1190000014086067 note&#xff1a; 使用虚拟环境需要&#xff1a; 在 python 环境&#xff08;或虚拟环境&#xff09; \Lib\site-packages\pytesseract 目录下找到 pytessera…

香港连续25年被评为全球最自由经济体

中新社香港1月25日电 美国智库传统基金会25日在华盛顿发表2019年《经济自由度指数》报告&#xff0c;香港今年再次成为唯一一个总分超过90分的经济体&#xff0c;已连续25年被评价为全球最自由经济体。 报告显示&#xff0c;香港今年的总分为90.2分&#xff08;100分为满分&…

mac 下安装jenkins

2019独角兽企业重金招聘Python工程师标准>>> 平台搭建 Jenkins安装和启动 官网&#xff1a;https://jenkins.io/index.html 下载&#xff1a;http://mirrors.jenkins-ci.org/war/latest/jenkins.war 安装&#xff1a; 依赖于Java环境&#xff0c;首先安装和配置Java…

safari 获取视频流_如何在Safari中将RSS feed和社交媒体合并为一个流

safari 获取视频流Safari allows you to subscribe to RSS feeds and add your social media accounts so you can view them right in the browser, in one universal feed, without the need of any add-on applications or extensions. Safari允许您订阅RSS feed并添加您的社…

pytesseract:opencv预处理图片

一、目的 原始图片用pytesseract识别文字&#xff0c;精准度往往没达到预期。使用opencv处理后&#xff0c;提高识别精准度。处理方法有 a.图片转成白底黑字。 b.截取图片某固定区域。这个很重要&#xff0c;因为图片包含图标或其他形状图形&#xff0c;辨识导致错乱的。 二…

编译安装Centos7.2+Apache2.4.25+PHP7.2.10+Mysql5.6.16

一、编译部署Apache2.4.251、环境准备#设置或停止防火墙&#xff1a; [rootlocalhost ~]# systemctl stop firewalld.service [rootlocalhost ~]# systemctl disable firewalld.service#关闭selinux&#xff1a; 临时关闭&#xff1a; [rootlocalhost ~]# setenforce 0永久关闭…

SDNU 1217 CD收藏——并查集

Description lmh平常爱听歌&#xff0c;所以买了很多的CD来收藏&#xff0c;但是因为平常整理不当&#xff0c;所以忘记了这些CD的歌手是谁。现在他想知道他到底收藏了多少位歌手的专辑&#xff0c;于是他想了一个办法&#xff0c;同时拿出两个CD来听&#xff0c;可以分辨出来是…

国际知名计算机视觉和机器学习软件开源平台OpenCV正式支持龙架构

前言介绍近期&#xff0c;OpenCV开源社区正式合入了对龙架构&#xff08;LoongArch™&#xff09;支持的代码&#xff0c;基于龙架构自主指令系统&#xff0c;优化后的OpenCV性能显著提升。OpenCV是一款跨平台的计算机视觉和机器学习软件平台&#xff0c;在计算机视觉领域广泛使…

优化器--牛顿法总结

---这里记录下一些关于牛顿法来作为优化器的个人笔记 &#xff1a;&#xff09; 关于牛顿法&#xff0c;先不说其中的概念&#xff0c;来简单看一个例子&#xff1f; 不用计算器&#xff0c;如何手动开一个值的平方根&#xff0c;比如计算{sqrt(a) | a4 } &#xff1f; 不用程序…

在命令提示符输出c语言代码_您可以在Windows命令提示符中更改输出缓冲区的大小吗?...

在命令提示符输出c语言代码If you are someone who loves using the Windows Command Prompt, you may have found yourself curious as to why the screen output buffer has such a ‘large’ default size. Can you change it to a smaller (or even larger) size? Today’…

django23:BS4/kindeditor上传图片

BS4 Beautiful Soup&#xff0c;Beautiful Soup 是一个可以从HTML或XML文件中提取数据的Python库.它能够通过你喜欢的转换器实现惯用的文档导航,查找,修改文档的方式。 安装 pip3 install beautifulsoup4 使用 from bs4 import BeautifulSoup#html_doc为网页内容 soup Be…

设计模式——————观察者模式

工厂模式分为简单工厂&#xff0c;工厂和抽象工厂&#xff0c;三种工厂的实现是越来越复杂的。 观察者模式 本质上就是一种订阅/发布的模型&#xff0c;从逻辑上来说就是一对多的依赖关系。 什么意思呢&#xff1f;好比是一群守卫盯着一个囚犯&#xff0c;只要囚犯一有异动&…

SNMP简介

SNMP简介介绍SNMP的定义、目的、版本演进以及受益。 定义简单网络管理协议SNMP&#xff08;Simple Network Management Protocol&#xff09;是广泛应用于TCP/IP网络的网络管理标准协议。SNMP提供了一种通过运行网络管理软件的中心计算机&#xff08;即网络管理工作站&#xff…

详解vue生命周期及每个阶段适合进行的操作

VUE生命周期的四个阶段 create 创建 -------- 创建vue实例并初始化mount 挂载 -------- 把vue实例和视图进行关联update 更新 ------- 监听数据与视图的变化destroy销毁 ------- 销毁实例生命周期 --- 钩子函数 vue为上面的4个大的阶段提供了一个可编程的接口&#xff0c;我们可…

.Net 7 新编译器 ILC 简析

楔子&#xff1a;这个新编译器的全称是ILCompiler。是之前CoreRT项目合并过来的&#xff0c;在.Net 7成熟&#xff0c;并且可以产业化应用。本质&#xff1a;ILC编译器的本质除了构建CLR的所拥有的主要功能&#xff0c;还包含了对LLVM这种意图取代GCC编译器的操作&#xff0c;对…

mac 防止 下载 睡眠_如何暂时防止Mac进入睡眠状态

mac 防止 下载 睡眠Let’s say you start a big download, then go to bed. When you wake up, you realize your Mac went to sleep before finishing its job. Isn’t there some way to stop this? 假设您开始进行大量下载&#xff0c;然后上床睡觉。 当您醒来时&#xff0…