Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

@vit9696

i have been trying from many days not no luck with no-controller-inject tried either DSDT or clover properties , 

Clover result

device properties : PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0) as per gfxutil and darwin dumper lead me to crash : 

device-properties.plist 

Deepak’s iMac.ioreg

 

 Kernel Extensions in backtrace:
         com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7faeca4000->0xffffff7faececfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7fae134000
         com.apple.nvidia.classic.NVDAResmanTesla(10.0.4)[F8258F0F-61AD-30F4-BDD5-B18CCAAE535A]@0xffffff7faed0a000->0xffffff7faef72fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7fae134000
            dependency: com.apple.iokit.IONDRVSupport(519.20)[64AB0898-0DF1-32DF-850A-8840C3478439]@0xffffff7faecfa000
            dependency: com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7faeca4000
         com.apple.nvidia.classic.NVDANV50HalTesla(10.0.4)[5DCF031B-F81F-32A3-ADCD-18E16EAC7CF0]@0xffffff7faef7e000->0xffffff7faf226fff
            dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.4)[F8258F0F-61AD-30F4-BDD5-B18CCAAE535A]@0xffffff7faed0a000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7fae134000

 

 

so i change it here and it works but i need permanent solution 

 

910077458_ScreenShot2018-11-26at11_35_43PM.thumb.png.0f0b0d426b256fa8b0789f7d0213c37d.png

 

im a noob here never used clover device properties 

 

Edited by insanelyDeepak
Link to comment
Share on other sites

9 minutes ago, insanelyDeepak said:

@vit9696

i have been trying from many days not no luck with no-controller-patch tried either DSDT or clover properties 

no-controller-patch properties for what devices??? maybe use no-alc-controller instead no-controller-patch.


I check this commit https://github.com/acidanthera/AppleALC/commit/3619a4cd201d922322d2cd69d62c788022448bdf

image.thumb.png.a356b2b127a0cdab42b20f319e80e2bf.png

Edited by Andres ZeroCross
Link to comment
Share on other sites

6 minutes ago, Andres ZeroCross said:

no-controller-patch properties for what devices??? maybe use no-alc-controller instead no-controller-patch.


I check this commit https://github.com/acidanthera/AppleALC/commit/3619a4cd201d922322d2cd69d62c788022448bdf

image.thumb.png.a356b2b127a0cdab42b20f319e80e2bf.png

no it actually merge and named as no-controller-inject (i misspelled) 

 

Quote

what devices??

GPU 

Link to comment
Share on other sites

3 minutes ago, Andres ZeroCross said:


Can you upload your IOREG and your patched folder,, maybe i can give some help.

here you go https://drive.google.com/file/d/1F0L46NrbhqKx4HJGe7IprBO56eLEIJIb/view?usp=sharing

7 minutes ago, Andres ZeroCross said:

 i wonder about Hot patch ACPI Renaming

it's petty old system these terms are not in used 

Link to comment
Share on other sites

4 minutes ago, insanelyDeepak said:

 

It should PEG0 instead PEGP. We can see in your DSDT address of 0x00010000 is PEG0 not PEGP,, but in IOREG your PEG0 is PEGP. It's strange. Can you upload your Config.plist., it's look about ACPI Rename. I need your config.list

 

image.thumb.png.0364b3711459b5f38e316eb974f1df1c.png
 

Edited by Andres ZeroCross
Link to comment
Share on other sites

2 minutes ago, Andres ZeroCross said:

 

It should PEG0 instead PEGP. We can see in your DSDT address of 0x000010000 is PEG0 not PEGP,, but in IOREG your PEG0 is PEGP. It's strange. Can you upload your Config.plist., it's look about ACPI Rename. I need your config.list

https://drive.google.com/file/d/1sgZP0_Mpo9hg1dwM80lOkLXDu9lKraRN/view?usp=sharing

 

do you need IORegistery without AppleALC ? bcoz apple ALC inject graphics properties ?

Link to comment
Share on other sites

6 minutes ago, insanelyDeepak said:

https://drive.google.com/file/d/1sgZP0_Mpo9hg1dwM80lOkLXDu9lKraRN/view?usp=sharing

 

do you need IORegistery without AppleALC ? bcoz apple ALC inject graphics properties ?


it's strange,, your config.plist doesn't use patch ACPI about rename of PEG0 to PEGP,, and AppleALC or Whatevergreen only change PEGP to GFX0 not PEG0 to PEGP. I use eGPU too

Edited by Andres ZeroCross
Link to comment
Share on other sites

Just now, insanelyDeepak said:

i dont use any patch it works OOB , SSDT and DSDT are same above 

 

No, it's look you add new device inside PEG0. Like this
======
Device (PEGP)
                {
                    Name (_ADR, One)  // _ADR: Address
                }
======

We can see there is new device with name PEGP but with addres One.
image.thumb.png.63ac27a6a9049d809a55b197af2773d5.png

Link to comment
Share on other sites

3 minutes ago, Andres ZeroCross said:

 

No, it's look you add new device inside PEG0. Like this
======
Device (PEGP)
                {
                    Name (_ADR, One)  // _ADR: Address
                }
======

We can see there is new device with name PEGP but with addres One.
 

see this raw and patched both are there 

https://drive.google.com/file/d/1-REKykyMFAa8C8Ai82LaXCSCvzjDnCXn/view?usp=sharing

Link to comment
Share on other sites

Just now, insanelyDeepak said:

Thanks it helps to understand why i failed for so long 

 

 

I think the problem is this,,,
===
Device (PEGP)
                {
                    Name (_ADR, 0xFFFF)  // _ADR: Address
                }
=====

0xFFFF is reserved addres,, i changed it manual to ZERO, and make new device HDAU with address one :D

Reserved Address of EGPU can make problem,, 

Link to comment
Share on other sites

×
×
  • Create New...