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.pswp.cn/news/280496.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/280496.shtml
英文地址,請注明出處:http://en.pswp.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…