SavageAUS Posted April 18, 2017 Share Posted April 18, 2017 Remove any custom DSDT.aml/SSDTs.amls from the patched folder (Pike's SSDT.aml can remain in patched). Then, you'll need add nv_disable=1 to your config.plist boot arguments and add "Inject Nvidia" to the "Graphics" tab of your config.plist. Lastly, uncheck "NvidiaWeb" from "System Parameters". Save your config.plist. Reboot, then, run the script (reset these settings back to where they were after you've successfully built a SSDT-GFX1.aml). Building the SSDT-XHC.aml (USB power options) will only work if your XHCI device is renamed XHC. I recommend you follow one of these guides and not use the X99_Injector_USB 3.kext since it requires the USB port limit config.plist patch (folllowing the guides below will allow you to build a SSDT-UIAC.aml to reduce the injected USB ports to those are in use): Rehabman's Guide for Creating a Custom SSDT for USBInjectAll.kext My Guide for using UsbInjectAll.kext with a Custom SSDT-UIAC.aml So, in regards to the device-id you're using in the SSDT-480.aml, is it fake? Or is it the actual manufacturer's device-id from the graphics card?Do we create the USB ssdt before or after running your script?Remove all clover patches except rename xhc? Sent from my SM-G930F using Tapatalk Link to comment Share on other sites More sharing options...
mfc88 Posted April 18, 2017 Author Share Posted April 18, 2017 In order for the script to work best... should I remove all my existing SSDTs? I have 2 existing ones.... one for the NVME and one to take care of HDMI audio. Furthermore.... If I get error messages... how to determine if they are critical? I have tried the tool with buildall.... get a couple of errors. Any things I should configure in CLOVER to get best results? Regards ,Mike Must be vanilla (no other SSDTs/DSDTs loaded) if you're attempting to build SSDTs. Otherwise, expect errors and/or invalid SSDT injection because the devices are either renamed or already have injected _DSMs. See error reporting in first post. Do we create the USB ssdt before or after running your script? Remove all clover patches except rename xhc? Sent from my SM-G930F using Tapatalk Either way. As long as the XHCI/XHC1 device is named XHC, then the SSDT-XHC.aml will be built. The main reason I recommend the USB SSDT (SSDT-UIAC.aml) is to eliminate the "15 to xx" port limit config.plist patch. Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Here is my debug output. debug_output.txt And ioreg (just incase) Shane's iMac.zip Vanilla DSDT + SSDT origin.zip Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Here is my debug output. debug_output.txt And ioreg (just incase) Shane's iMac.zip Vanilla DSDT + SSDT origin.zip I see the problem. 1. You don't have an EVSS device, which seems to be common for z170 boards. This has now been removed. 2. Found a spelling error where z170's "LPCB" device was referenced in an if statement as "LCPB". That's why it always fails to compile. Now fixed. Updated ssdtGen script to 0.1.5b! Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 I'll rerun and post results. This is debug from clean run. nv_disable inject nvidia nvidiaweb = false will reboot with ssdts and post ioreg. debug_output.txt 1 Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 I'll rerun and post results. This is debug from clean run. nv_disable inject nvidia nvidiaweb = false will reboot with ssdts and post ioreg. debug_output.txt Everything seemed to compile correctly. No reported errors via debug_output. Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Glad i could help find bugs :-) Now do i need to use my DSDT? will it conflict with any of the SSDTs? Do i need to Rename _DSM to XDSM? Should GFX1 have enabled hdmi audio? Because it isnt. This is the DSDT i use from MaLdOn DSDT.aml.zip Shane's iMac.zip Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Glad i could help find bugs :-) Now do i need to use my DSDT? will it conflict with any of the SSDTs? Do i need to Rename _DSM to XDSM? Should GFX1 have enabled hdmi audio? Because it isnt. This is the DSDT i use from MaLdOn DSDT.aml.zip Shane's iMac.zip Send me SSDT-GFX1.aml. Seems to be missing some properties. Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Here you go. SSDT-GFX1.aml.zip Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Here you go. Remove the custom DSDT.aml!!!!! Otherwise, SSDTs will not work!!!! Do me a favor and temporarily remove any sensor kexts you may installed. And reboot. Then send me another IOREG. As is, this is incorrect (PEGP should have been removed and replaced with GFX1 -- PEGP/HDAU missing important properties -- hda-gfx (both), and Pinconfigurations (HDAU)): And missing SBUS (SMBS) -- make sure to include SSDT-SBUS.aml. Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Just waiting for my USB of centOS to finish creating. Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Just waiting for my USB of centOS to finish creating. See above for updated details. Screen Shot 2017-04-19 at 4.38.11 pm.png Remove DSDT.aml from "DSDT name". And add _DSM to XDSM in Acpi->DSDT patch. Comment: Rename _DSM to XDSM Find: 5F44534D Replace: 5844534D Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Ok all done. Shane's iMac.zip Link to comment Share on other sites More sharing options...
Mike Ranger Posted April 19, 2017 Share Posted April 19, 2017 So thanks again mfc for the amazing work you are doing here. I started to work according to your guide. I removed all SSDT except for the NVME one. As far as I understand.... USB should be sorted out as well before starting the script? That means following Rehabmans/your guide to sort out USB with USBInjectall.kext and a special SSDT to specify the USB ports needed. I was not so sure about the SSDT regarding powermanagement.....that one can also stay for the script? So basically 3 SSDT can remain for the script to work: - USB in conjunction with USBInjectall.kext - NVME when using the spoofed method of Pike - Powermanagement SSDT Right? Thanks, Michael Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Ok all done. Shane's iMac.zip GPU injection is still wrong and SBUS still missing. Did you add _DSM patch and remove "DSDT.aml" from DSDT name? Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Yes i did both of those. config.plist.zip Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 So thanks again mfc for the amazing work you are doing here. I started to work according to your guide. I removed all SSDT except for the NVME one. As far as I understand.... USB should be sorted out as well before starting the script? That means following Rehabmans/your guide to sort out USB with USBInjectall.kext and a special SSDT to specify the USB ports needed. I was not so sure about the SSDT regarding powermanagement.....that one can also stay for the script? So basically 3 SSDT can remain for the script to work: - USB in conjunction with USBInjectall.kext - NVME when using the spoofed method of Pike - Powermanagement SSDT Right? Thanks, Michael Yes. Yes i did both of those. Updated ssdtGen script to remove a fix. Re-download script and compile SBUS (build SBUS) again. Also, try this attached SSDT-GFX1.aml. SSDT-GFX1.aml.zip Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Re-compiled SBUS, remove old GFX1, added your GFX1. Shane's iMac.zip Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Re-compiled SBUS, remove old GFX1, added your GFX1. Shane's iMac.zip Do me a favor... add this to your Drop Tables list (then save config.plist and reboot): SSDT TableId PegSsdt Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Updated and rebooted. Shane's iMac.zip Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Updated and rebooted. Shane's iMac.zip GPU still wrong... Let's try this... (if still not, I'll take a look at it tomorrow morning -- it's 1am now) SSDT-GFX0.aml.zip Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 i removed GFX0 and replaced with GFX1. Shane's iMac.zip Wait Need to update sorted order. Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 i removed GFX0 and replaced with GFX1. Shane's iMac.zip Wait Need to update sorted order. Is this with the latest SSDT (GFX0 instead of GFX1)? Link to comment Share on other sites More sharing options...
SavageAUS Posted April 19, 2017 Share Posted April 19, 2017 Yes it was but didnt update sorted order to reflect the 1 - 0 change but thats done now. Shane's iMac.zip Link to comment Share on other sites More sharing options...
mfc88 Posted April 19, 2017 Author Share Posted April 19, 2017 Yes it was but didnt update sorted order to reflect the 1 - 0 change but thats done now. Shane's iMac.zip Still wrong. Do me a favor. Switch back to your custom DSDT.aml (remove all of the ssdtGen's SSDTs), reset config.plist to use DSDT, then send me an IOREG with the custom DSDT loaded. I'll take a look at it tomorrow and see if I can see what the heck is going on. Link to comment Share on other sites More sharing options...
Recommended Posts