mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-02 11:59:48 -08:00
589 lines
18 KiB
HTML
589 lines
18 KiB
HTML
|
|
<!DOCTYPE HTML>
|
|
<html lang="" >
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
|
<title>Disabling desktop dGPUs · GitBook</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="description" content="">
|
|
<meta name="generator" content="GitBook 3.2.3">
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/style.css">
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-medium-zoom/plugin.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../styles/website.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<meta name="HandheldFriendly" content="true"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
|
|
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
|
|
|
|
|
<link rel="next" href="../Laptops/laptop-ec.html" />
|
|
|
|
|
|
<link rel="prev" href="desktop-ec.html" />
|
|
|
|
|
|
<style>
|
|
@media only screen and (max-width: 640px) {
|
|
.book-header .hidden-mobile {
|
|
display: none;
|
|
}
|
|
}
|
|
</style>
|
|
<script>
|
|
window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"dortania","repo":"Getting-Started-With-ACPI","type":"star","size":"large"}]};
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div class="book">
|
|
<div class="book-summary">
|
|
|
|
|
|
<div id="book-search-input" role="search">
|
|
<input type="text" placeholder="Type to search" />
|
|
</div>
|
|
|
|
|
|
<nav role="navigation">
|
|
|
|
|
|
|
|
<ul class="summary">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="chapter " data-level="1.1" data-path="../">
|
|
|
|
<a href="../">
|
|
|
|
|
|
Getting Started With ACPI
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.2" data-path="../ssdt-easy.html">
|
|
|
|
<a href="../ssdt-easy.html">
|
|
|
|
|
|
SSDTs: Easy Way
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="1.3" data-path="../ssdt-long.html">
|
|
|
|
<a href="../ssdt-long.html">
|
|
|
|
|
|
SSDTs: Long Way
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="header">Manual</li>
|
|
|
|
|
|
|
|
<li class="chapter " data-level="2.1" data-path="../Manual/dump.html">
|
|
|
|
<a href="../Manual/dump.html">
|
|
|
|
|
|
Dumping the DSDT
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="2.2" data-path="../Manual/compile.html">
|
|
|
|
<a href="../Manual/compile.html">
|
|
|
|
|
|
Decompiling and Compiling
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="header">Desktop</li>
|
|
|
|
|
|
|
|
<li class="chapter " data-level="3.1" data-path="desktop-ec.html">
|
|
|
|
<a href="desktop-ec.html">
|
|
|
|
|
|
Embedded Controllers
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter active" data-level="3.2" data-path="desktop-disable.html">
|
|
|
|
<a href="desktop-disable.html">
|
|
|
|
|
|
Disabling desktop dGPUs
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="header">Laptop</li>
|
|
|
|
|
|
|
|
<li class="chapter " data-level="4.1" data-path="../Laptops/laptop-ec.html">
|
|
|
|
<a href="../Laptops/laptop-ec.html">
|
|
|
|
|
|
Embedded Controllers
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="4.2" data-path="../Laptops/backlight.html">
|
|
|
|
<a href="../Laptops/backlight.html">
|
|
|
|
|
|
Backlight PNLF
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="4.3" data-path="../Laptops/trackpad.html">
|
|
|
|
<a href="../Laptops/trackpad.html">
|
|
|
|
|
|
Trackpad GPI0
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="4.4" data-path="../Laptops/laptop-disable.html">
|
|
|
|
<a href="../Laptops/laptop-disable.html">
|
|
|
|
|
|
Disabling laptop dGPUs
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="header">Universal</li>
|
|
|
|
|
|
|
|
<li class="chapter " data-level="5.1" data-path="../Universal/plug.html">
|
|
|
|
<a href="../Universal/plug.html">
|
|
|
|
|
|
Plugin type
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="5.2" data-path="../Universal/awac.html">
|
|
|
|
<a href="../Universal/awac.html">
|
|
|
|
|
|
AWAC vs RTC
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="5.3" data-path="../Universal/nvram.html">
|
|
|
|
<a href="../Universal/nvram.html">
|
|
|
|
|
|
NVRAM PMC
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="5.4" data-path="../Universal/irq.html">
|
|
|
|
<a href="../Universal/irq.html">
|
|
|
|
|
|
IRQ Fix
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="5.5" data-path="../Universal/spoof.html">
|
|
|
|
<a href="../Universal/spoof.html">
|
|
|
|
|
|
GPU Spoof
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="5.6" data-path="../Universal/smbus.html">
|
|
|
|
<a href="../Universal/smbus.html">
|
|
|
|
|
|
Fixing SMBus Support
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="header">Cleanup</li>
|
|
|
|
|
|
|
|
<li class="chapter " data-level="6.1" data-path="../cleanup.html">
|
|
|
|
<a href="../cleanup.html">
|
|
|
|
|
|
Cleanup
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="header">Misc</li>
|
|
|
|
|
|
|
|
<li class="chapter " data-level="7.1" data-path="../troubleshooting.html">
|
|
|
|
<a href="../troubleshooting.html">
|
|
|
|
|
|
Troubleshooting
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li class="chapter " data-level="7.2" data-path="../CONTRIBUTING.html">
|
|
|
|
<a href="../CONTRIBUTING.html">
|
|
|
|
|
|
Contributing
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li>
|
|
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
|
|
Published with GitBook
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="book-body">
|
|
|
|
<div class="body-inner">
|
|
|
|
|
|
|
|
<div class="book-header" role="navigation">
|
|
|
|
|
|
<!-- Title -->
|
|
<h1>
|
|
<i class="fa fa-circle-o-notch fa-spin"></i>
|
|
<a href=".." >Disabling desktop dGPUs</a>
|
|
</h1>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="page-wrapper" tabindex="-1" role="main">
|
|
<div class="page-inner">
|
|
|
|
<div class="search-plus" id="book-search-results">
|
|
<div class="search-noresults">
|
|
|
|
<section class="normal markdown-section">
|
|
|
|
<blockquote>
|
|
<p><em>Last modified: Fri Apr 24 2020 04:51:54 GMT+0000 (Coordinated Universal Time)</em></p>
|
|
</blockquote>
|
|
<h1 id="disabling-unsupported-gpusdesktops"><a name="disabling-unsupported-gpusdesktops" class="plugin-anchor" href="#disabling-unsupported-gpusdesktops"><i class="fa fa-link" aria-hidden="true"></i></a>Disabling unsupported GPUs(Desktops)</h1>
|
|
<p>So this is mainly needed for GPUs that are not supported in macOS, mainly this will be Nvidia users who wish to pair an AMD GPU for macOS use. While WhateverGreen does support the boot-arg <code>-wegnoegpu</code>, this only works when running on iGPU so for the rest of us we'll need to make an SSDT.</p>
|
|
<p>So to disable a specific GPU, we need to find a couple things:</p>
|
|
<ul>
|
|
<li>ACPI Path of the GPU</li>
|
|
<li><a href="https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-GPU-DISABLE.dsl.zip" target="_blank">SSDT-GPU-DISABLE</a></li>
|
|
</ul>
|
|
<h2 id="finding-the-acpi-path-of-the-gpu"><a name="finding-the-acpi-path-of-the-gpu" class="plugin-anchor" href="#finding-the-acpi-path-of-the-gpu"><i class="fa fa-link" aria-hidden="true"></i></a>Finding the ACPI Path of the GPU</h2>
|
|
<p>To find the PCI path of a GPU is fairly simple, best way to find it is running Windows:</p>
|
|
<ul>
|
|
<li>Open Device Manager</li>
|
|
<li>Select Display Adapters, then right click your GPU and select Properties</li>
|
|
<li>Under the Details Tab, search for "Location Paths"<ul>
|
|
<li>Note some GPUs may be hiding under "BIOS device name"</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p><img src="../images/Desktops/amd.png" alt=""></p>
|
|
<p><img src="../images/Desktops/nvidia.png" alt="Credit to 1Revenger1 for the image"></p>
|
|
<p>The second "ACPI" is what we care about:</p>
|
|
<pre><code>ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000)
|
|
</code></pre><p>Now converting this to an ACPI path is quite simple, remove the <code>#ACPI</code> and <code>#PCI(0000)</code>:</p>
|
|
<pre><code>`_SB_.PC02.BR2A.PEGP
|
|
</code></pre><p>And voila! We've found our ACPI path, now that we have everything we're ready to get cooking</p>
|
|
<h2 id="making-the-ssdt"><a name="making-the-ssdt" class="plugin-anchor" href="#making-the-ssdt"><i class="fa fa-link" aria-hidden="true"></i></a>Making the SSDT</h2>
|
|
<p>To start grab our <a href="https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-GPU-DISABLE.dsl.zip" target="_blank">SSDT-GPU-DISABLE</a> and open it up. Here there's a couple things to change:</p>
|
|
<pre><code>External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
|
|
Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized)
|
|
</code></pre><p>For our example, we'll change all mentions of :</p>
|
|
<ul>
|
|
<li><code>PCI0</code> with <code>PC02</code></li>
|
|
<li><code>PEG0</code> with <code>BR2A</code></li>
|
|
</ul>
|
|
<p>Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device, some users may also need to adapt <code>_SB_</code> to their path</p>
|
|
<h2 id="now-youre-ready-to-compile-the-ssdt"><a name="now-youre-ready-to-compile-the-ssdt" class="plugin-anchor" href="#now-youre-ready-to-compile-the-ssdt"><i class="fa fa-link" aria-hidden="true"></i></a><a href="../Manual/compile.html">Now you're ready to compile the SSDT!</a></h2>
|
|
|
|
|
|
</section>
|
|
|
|
</div>
|
|
<div class="search-results">
|
|
<div class="has-results">
|
|
|
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
<ul class="search-results-list"></ul>
|
|
|
|
</div>
|
|
<div class="no-results">
|
|
|
|
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a href="desktop-ec.html" class="navigation navigation-prev " aria-label="Previous page: Embedded Controllers">
|
|
<i class="fa fa-angle-left"></i>
|
|
</a>
|
|
|
|
|
|
<a href="../Laptops/laptop-ec.html" class="navigation navigation-next " aria-label="Next page: Embedded Controllers">
|
|
<i class="fa fa-angle-right"></i>
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<script>
|
|
var gitbook = gitbook || [];
|
|
gitbook.push(function() {
|
|
gitbook.page.hasChanged({"page":{"title":"Disabling desktop dGPUs","level":"3.2","depth":1,"next":{"title":"Embedded Controllers","level":"4.1","depth":1,"path":"Laptops/laptop-ec.md","ref":"Laptops/laptop-ec.md","articles":[]},"previous":{"title":"Embedded Controllers","level":"3.1","depth":1,"path":"Desktops/desktop-ec.md","ref":"Desktops/desktop-ec.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search","search-plus","addcssjs","favicon-plus","anchors","github-buttons","last-modified","medium-zoom"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"last-modified":{},"output":"_book","intopic-toc":{"label":"Navigation"},"addcssjs":{"css":[],"js":[]},"medium-zoom":{},"fontsettings":{"theme":"night","family":"sans","size":2},"favicon-plus":{"appleTouchIconPrecomposed152":"","favicon":"","output":"_book"},"highlight":{},"github-edit":{"repo":"dortania/Getting-Started-With-ACPI","branch":"master"},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","github-buttons":{"buttons":[{"user":"dortania","repo":"Getting-Started-With-ACPI","type":"star","size":"large"}]},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":[]},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"anchors":{},"search-plus":{}},"theme":"default","medium-zoom":{"margin":24,"background":"#363b40","scrollOffset":0},"pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"links":{"sharing":{"google":false,"facebook":false,"twitter":false,"weibo":false,"all":false}},"gitbook":"*"},"file":{"path":"Desktops/desktop-disable.md","mtime":"2020-04-24T04:51:54.644Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-24T04:52:48.434Z"},"basePath":"..","book":{"language":""}});
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook.js"></script>
|
|
<script src="../gitbook/theme.js"></script>
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-medium-zoom/medium-zoom.min.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-medium-zoom/plugin.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
|
|
|
|
|
|
|
|
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|