WaldMeister Posted February 13, 2013 Share Posted February 13, 2013 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.projectosx.com/forum/index.php?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 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. DSDT.aml.zip Link to comment Share on other sites More sharing options...
SRSR333 Posted February 18, 2013 Share Posted February 18, 2013 I've found loads of links (Google is ur friend): http://www.insanelymac.com/forum/topic/271292-dev-disabling-the-nvidia-card-for-battery-life-optimus/ http://www.osx86.net/view/2586-save_your_battery:_disable_nvidia_optimu_...html http://www.insanelymac.com/forum/topic/276037-powering-down-the-nvidia-gpu-in-an-optimus-setup/page__fromsearch__1 I'd also like to get rid of the Nvidia card being powered up and thus reducing battery duration... L 1 Link to comment Share on other sites More sharing options...
WaldMeister Posted February 18, 2013 Author Share Posted February 18, 2013 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 Link to comment Share on other sites More sharing options...
SRSR333 Posted February 18, 2013 Share Posted February 18, 2013 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? 1 Link to comment Share on other sites More sharing options...
WaldMeister Posted February 18, 2013 Author Share Posted February 18, 2013 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. temp.aml.zip Link to comment Share on other sites More sharing options...
SRSR333 Posted February 18, 2013 Share Posted February 18, 2013 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? Link to comment Share on other sites More sharing options...
WaldMeister Posted February 18, 2013 Author Share Posted February 18, 2013 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. Link to comment Share on other sites More sharing options...
SRSR333 Posted February 19, 2013 Share Posted February 19, 2013 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. Link to comment Share on other sites More sharing options...
WaldMeister Posted February 19, 2013 Author Share Posted February 19, 2013 Then the fun starts 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. Link to comment Share on other sites More sharing options...
SRSR333 Posted February 19, 2013 Share Posted February 19, 2013 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) Link to comment Share on other sites More sharing options...
WaldMeister Posted February 19, 2013 Author Share Posted February 19, 2013 Fixed: http://www.insanelym...80#entry1890506 DSDT.aml.zip Link to comment Share on other sites More sharing options...
SRSR333 Posted February 20, 2013 Share Posted February 20, 2013 Coool... Have to try that out. I'll download the DSDT and see..thanks! Link to comment Share on other sites More sharing options...
SRSR333 Posted February 20, 2013 Share Posted February 20, 2013 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... DSDT_SRSR333.zip Link to comment Share on other sites More sharing options...
Recommended Posts