Landy0451 Posted August 3, 2015 Share Posted August 3, 2015 Hello everyone, I'm trying to solve the Code12 error generated by my eGPU configuration by modifying the DSDT. I have a few errors during this process : Maybe you can explain me how to solve these issues. I've struggled to find informations but most of the time people have a solution but no explanation. Can you help me ? dsdt_EGPU.zip Link to comment Share on other sites More sharing options...
TheRacerMaster Posted August 3, 2015 Share Posted August 3, 2015 Is this your original DSDT? If not, post it. 1 Link to comment Share on other sites More sharing options...
Landy0451 Posted August 3, 2015 Author Share Posted August 3, 2015 Yes this is the original one. I've just saved it under a different name to test modifications. EDIT : I've followed this tutoriel to get it http://brightbulb.co.nz/?p=197 Link to comment Share on other sites More sharing options...
TheRacerMaster Posted August 3, 2015 Share Posted August 3, 2015 Can you post the original DAT/AML file? This one seems like it was disassembled incorrectly. Link to comment Share on other sites More sharing options...
jl4c Posted August 3, 2015 Share Posted August 3, 2015 Hello everyone, I'm trying to solve the Code12 error generated by my eGPU configuration by modifying the DSDT. Hi, extract the ACPI tables using clover (F4 key) and attach them here. Link to comment Share on other sites More sharing options...
Landy0451 Posted August 3, 2015 Author Share Posted August 3, 2015 Can you post the original DAT/AML file? This one seems like it was disassembled incorrectly. I can give you the original DAT but I don't know how to get the AML file. Here is what I get by using the "acpidump -b" command. Hi, extract the ACPI tables using clover (F4 key) and attach them here. Hello jl4c. I'm sorry but I don't understand exactly what you want. I don't have any clover software. I'm using the iasl-win-20150717 for all these operations : acpidump -b results.zip iasl-win-20150717.zip Link to comment Share on other sites More sharing options...
jl4c Posted August 3, 2015 Share Posted August 3, 2015 Clover is an boot loader. What boot loader are you using to boot os x? Link to comment Share on other sites More sharing options...
WaldMeister Posted August 3, 2015 Share Posted August 3, 2015 Hi, Attached the DSDT without errors. dsdt.aml.zip Link to comment Share on other sites More sharing options...
Landy0451 Posted August 3, 2015 Author Share Posted August 3, 2015 Hi, Attached the DSDT without errors. Thank you sir. I'll try that and give you feedback as soon as I can. Link to comment Share on other sites More sharing options...
Landy0451 Posted August 3, 2015 Author Share Posted August 3, 2015 Hi, Attached the DSDT without errors. Ok I've test the file and everything seems to be working but this doesn't solve my eGPU problem. command ? So I was wondering if you gave me the DSDT corrected from my first post or from the "acpidump -b" command ? Because I need to add : "QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000C20000000, // Range Minimum, set it to 48.5GB 0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB 0x0000000000000000, // Translation Offset 0x00000001F0000000, // Length calculated by Range Max - Range Min. ,, , AddressRangeMemory, TypeStatic)" In some part of the code, and maybe this was not here if you make the .aml file from the attached file of my last post. @jl4c I'm under Windows but I've seen problem like mine being solved here because many people here use eGPU configurations and the knowledge I need is more about DSDT Link to comment Share on other sites More sharing options...
WaldMeister Posted August 3, 2015 Share Posted August 3, 2015 Hi, I used the acpidump -b file. Only the errors where removed, no patches have been applied. The .dat files can be renamed to .aml, from there they can be editted with MacIASL or a similar tool. Why do you need to add that code? And under what section of the DSDT? Provide some hardware details about your system please, it wil be hard to determine which patches are needed without them. Link to comment Share on other sites More sharing options...
Landy0451 Posted August 3, 2015 Author Share Posted August 3, 2015 Hi, I used the acpidump -b file. Only the errors where removed, no patches have been applied. The .dat files can be renamed to .aml, from there they can be editted with MacIASL or a similar tool. Why do you need to add that code? And under what section of the DSDT? Provide some hardware details about your system please, it wil be hard to determine which patches are needed without them. The problem this process aims to solve is that when attaching an external GPU (eGPU) on the PCI bus, there is insufficient addressing space, and not all devices can be function simultaneously. This is because Windows only has 32-bits of space in which it needs to fit devices. By manually adding a memory range outside of this 32-bit space, we can force Windows to operate in 36-bit space instead. This gives us 4 times as much room for devices. (Cf this guide http://brightbulb.co.nz/?p=197I need to do the same kind of operation) My system : (in French but I can translate if there is something you don't understand° I just needed to do this before compiling into an .aml file : " Open dsdt.dsl in any text editor Find “Device (PCI0)“ Scroll down to a list of DWordMemory entries Add the following as the last entry, and save. QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000C20000000, // Range Minimum, set it to 48.5GB 0x0000000E0FFFFFFF, // Range Maximum, set it to 56.25GB 0x0000000000000000, // Translation Offset 0x00000001F0000000, // Length calculated by Range Max - Range Min. ,, , AddressRangeMemory, TypeStatic)" Can you either try to add this at the right place or just solve the problems from the modified one. Here is the version with the addition above but the same errors which were presented in my first message : dsdt_CUSTOM.zip Link to comment Share on other sites More sharing options...
WaldMeister Posted August 3, 2015 Share Posted August 3, 2015 (edited) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x000000000, // Granularity 0xC20000000, // Range Minimum, set it to 48.5GB 0xE0FFFFFFF, // Range Maximum, set it to 56.25GB 0x000000000, // Translation Offset 0x1F0000000, // Length calculated by Range Max - Range Min. ,, , AddressRangeMemory, TypeStatic) Would be correct. Added it under BUF0 of PCI0, which could also be translated to _CRS. Might be that you'll get a kernel panic because of this addition. Edit: Off to bed now, good night. dsdt.aml 2.zip Edited August 3, 2015 by LexHimself Link to comment Share on other sites More sharing options...
Landy0451 Posted August 4, 2015 Author Share Posted August 4, 2015 QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x000000000, // Granularity 0xC20000000, // Range Minimum, set it to 48.5GB 0xE0FFFFFFF, // Range Maximum, set it to 56.25GB 0x000000000, // Translation Offset 0x1F0000000, // Length calculated by Range Max - Range Min. ,, , AddressRangeMemory, TypeStatic) Would be correct. Added it under BUF0 of PCI0, which could also be translated to _CRS. Might be that you'll get a kernel panic because of this addition. Edit: Off to bed now, good night. I've prepared a restauration point just in case Thanks for helping me on this, I'll try this as soon as I will be back home. Have a nice day. Link to comment Share on other sites More sharing options...
Landy0451 Posted August 4, 2015 Author Share Posted August 4, 2015 Ok, I was able to load the .aml file without any error and it seems that the manipulation have worked but I still have my error code 12 :'( I'll try another way if possible. But anyays thanks a lot for your help Lex. Link to comment Share on other sites More sharing options...
Recommended Posts