Jump to content

Disable NVidia GPU Dell 7720

650m nvidia dell 7720 dsdt gpu

  • Please log in to reply
12 replies to this topic

#1
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Hi,

I've been working on disabling the Nvidia GPU by DSDT edit.
There is no actual guide for this, i used information from this topic to make the edits myself: http://www.projectos...?showtopic=2315

Everything is in place, well, i think, but the GPU still shows up in the System Profiler.

The DSDT is a mess at the moment, sorry for that, but it works :P

Can someone have a look at it, and possibly correct the error, also provide the information on what went wrong, for future reference?

Thanks in advance.

Attached Files



#2
SRSR333

SRSR333

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Singapore
I've found loads of links (Google is ur friend):

http://www.insanelym...y-life-optimus/

http://www.osx86.net..._optimu_...html

http://www.insanelym...__fromsearch__1

I'd also like to get rid of the Nvidia card being powered up and thus reducing battery duration... L

#3
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
I know google as a friend, thank you.
First of all, please remove the link to tony...

The links you posted, thanks for looking them up, they are missing information. I provided the link to the topic i used to make the edits.
Somehow i screwed up, i just don't know where.

Also, i wish to skip kext injection :)

#4
SRSR333

SRSR333

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Singapore
Edited post.

Yeah, I'd also rather use DSDT than kexts. There are just two more issues other than this I need fixed: Audio (Realtek ALC269, using HDAEnabler.kext, would rather use DSDT), and battery detection(currently using modified AppleACPIPlatform.kext and VoodooBattery.kext, would rather use gsly's kext).

I'm currently attempting to read the ACPI specification to learn the ASL language, but I'm having a difficult time. Do you have any pointers on that, as a side note?

#5
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
For the audio, besides the DSDT edit, you will also need to patch the AppleHDA. For battery, i use the SmartBattery or something like that, don't know how to do this by DSDT.

I do not really have any pointers, i just look in the DSDT section(Forum), if someone needs a fix, i download the DSDT and try to fix it. Most of the time google is my friend, sometimes i have to figure it out myself, just trying random stuff i remembered from fixing other DSDT's, if i find the solution, i keep it in mind for the next one.
To better understand the DSDT, i extracted all my SSDT tables, and combined them into my DSDT, i moved everything to give it a nicer look, not without error, learned a lot from that, so that is something i can recommend to do.

Attached the DSDT which i am working on, not bootable, because the Scope_PR is not correct. I fixed this, but my wireless did not work anymore somehow, i had overwritten the changes i made, so i have to start over from the non working PR, ah well.

Attached Files



#6
SRSR333

SRSR333

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Singapore
Thanks for the tips. I'll work on it. I didn't understand when you said you extracted all your SSDTs and combined them into your DSDT. How do you go about doing that?

#7
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
I just add the info from the SSDT's to the right sections in my DSDT. I have 7 SSDT files when i extract them using Aida64 (Windows) or from Linux.

#8
SRSR333

SRSR333

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Singapore
Hmmmm. So if you see methods and devices in something like \_SB_PCI0_PEG0_PEGP, you just copy what is there to the scope in DSDT? But what if you get scope errors, like 'XXXX is not accessible/does not exist from Scope_YY'? Because that's what I tried to do when copying the _OFF method from the NVOptTbl SSDT to DSDT, and then I got this error.

#9
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Then the fun starts :P Most of the time it's just an extra or missing bracket. If i see something like

\_SB_PCI0_PEG0_PEGP, i copy that to

\_SB_PCI0_PEG0_PEGP in the DSDT, provided an example, non working DSDT, but it should give you an idea. Also, in the SSDT, look at the top, you will see lines like:


External (\_PR_.CPU0._PSS, IntObj)
    External (\_SB_.PCI0.GFX0, DeviceObj)
    External (\_SB_.PCI0.PEG0.PEGP, DeviceObj)

Copy them also to the top of the DSDT, and remove them if when you add the objects.

#10
SRSR333

SRSR333

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Singapore
Aaahhh... I see. I'll start working on it, as soon as I finish my homework (I'm in 10th grade... Doing 'O' Levels in November)

#11
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Fixed: http://www.insanelym...80#entry1890506

Attached Files



#12
SRSR333

SRSR333

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Singapore
Coool... Have to try that out. I'll download the DSDT and see..thanks!

#13
SRSR333

SRSR333

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Singapore
Dang. I can't get it to work.. I copied the code at the top of the SSDT to my DSDT, but nothing doing... I'm getting the same errors. I tried to copy the entire scope as you did, but something obviously went wrong...

Attached are my SSDT and DSDT with errors...

Attached Files







Also tagged with one or more of these keywords: 650m, nvidia, dell, 7720, dsdt, gpu


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy