Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

5,075 posts in this topic

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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 ?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
1 minute ago, Andres ZeroCross said:


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

may be thats why it's not working for me

Share this post


Link to post
Share on other sites
1 minute ago, insanelyDeepak said:

may be thats why it's not working for me


There is something here,, it's not accidental rename i think. 

Take a look at my IOREG,, PEG0 is still PEG0. I use AppleALC too and WhateverGreen,, did you miss something maybe..


image.thumb.png.19971fde5c9445e9d03d825a04d2bde9.png

Share this post


Link to post
Share on other sites
Just now, Andres ZeroCross said:

now send me your SSDT or DSDT that contain patch of "PEGP with address One" inside PEG0 that you used now.

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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,, 

Share this post


Link to post
Share on other sites
2 minutes ago, insanelyDeepak said:

@vit9696 can you make "no-controller-inject" as boot argument instead properties ?? 

 

I read in AppleALC github,, it must be used in properties,, not boot-argument. Maybe @vit9696 can make it


image.png.c1bcfa8b6b0de40498afa85b134e89a4.png

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites
1 minute ago, Andres ZeroCross said:

 

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,, 

no actually my issue is HDMI , you did what i tried so far but when i was doing it not able to look in details , 

 

here is issue  AppleALC causing slow boot to me due to HDAU patches , so either AppleALC do or DSDT HDAU do both result in same slow boot

Share this post


Link to post
Share on other sites
1 minute ago, insanelyDeepak said:

no actually my issue is HDMI , you did what i tried so far but when i was doing it not able to look in details , 

 

here is issue  AppleALC causing slow boot to me due to HDAU patches , so either AppleALC do or DSDT HDAU do both result in same slow boot


Yes, but if address of PEGP still 0xffff then it make problem..

Check your first properties of HDAU in first IOREG that you upload,, there is properties of nvidia in HDAU device.

With Reserved Address of PEGP then we can't make new device with new properties,, it will kernel panic

Share this post


Link to post
Share on other sites
4 minutes ago, Andres ZeroCross said:


Yes, but if address of PEGP still 0xffff then it make problem..

i don't need any patches so i couldn't affect me 

 

Quote

Check your first properties of HDAU in first IOREG that you upload,, there is properties of nvidia in HDAU device.
With Reserved Address of PEGP then we can't make new device with new properties,, it will kernel panic

exactly i was having crash but not understand why , when you pointed me out i got more details 

Edited by insanelyDeepak

Share this post


Link to post
Share on other sites
7 minutes ago, insanelyDeepak said:

i don't need any patches so i couldn't affect me 

 

exactly i was having crash but not understand why , when you pointed me out i was able to get more details 

 

:guitar::guitar::guitar::guitar:

 

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member

Announcements

×