Jump to content

help me to disabling nvidia card.


posyun
 Share

8 posts in this topic

Recommended Posts

foskvs beat me to it but what he's done is patch the DSDT to:

  1. add external function _SB_.PCI0.RP05.PEGP._OFF in the DSDT's definition block
  2. add an initialisation _INI method (right at the end of the DSDT) that turns the dGPU OFF:
   Scope (_SB)
   {
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            If (CondRefOf (\_SB.PCI0.RP05.PEGP._OFF))
            {
                ^PCI0.RP05.PEGP._OFF ()
            }
        }
    }

Simple, eh?

 

and gengik84 beat me a few years ago :hysterical:  :hysterical:

All credits to him, of course.

Link to comment
Share on other sites

If you look at the original DSDT (the one in origin folder) there's no such code. I wonder if somebody tried to patch it before us.

Original:

post-1506069-0-10002700-1509825391_thumb.png

Patched:

post-1506069-0-55200100-1509825404_thumb.png

Clearly, that was a very bad try to disable the dGPU (as you said, his gpu is under PCI0.RP05). I applied the patch to the DSDT located in patched folder, because i saw a PNLF device (i'm not aware of hacks that support natively brightness, so i imagine he added that), but maybe it was better to start from the original.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...