Jump to content
8755 posts in this topic

Recommended Posts

6 hours ago, SavageAUS said:

Try setting

 

RebuildAppleMemoryMap to False

 

SetupVirtualMap to True

 

This is what worked for me.

 

 

Sent from my iPhone using Tapatalk

 

Unfortunately, both of those are already set. Do you have any other suggestions?

 

Thanks!

- Alex

Screenshot from 2020-05-25 13-19-28.png

i want to patch my Sandy Bridge Framebuffers and i get this in the log:

00:000 00:000 OC: Kernel patcher AppleIntelSNBGraphicsFB () init failure - Not Found

 

the SNB kexts (dosdude1 method to old HW in Catalina) are in /Library/Extensions and are in the cache. 

what does that message indicate is wrong? 

 

			<dict>
				<key>Base</key>
				<string></string>
				<key>Comment</key>
				<string></string>
				<key>Count</key>
				<integer>0</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>
				AQIEABAHAAAQBwAABQMAAAIAAAAwAAAAAgUAAAAEAAAH
				AAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA
				</data>
				<key>Identifier</key>
				<string>AppleIntelSNBGraphicsFB</string>
				<key>Limit</key>
				<integer>0</integer>
				<key>Mask</key>
				<data>
				</data>
				<key>MaxKernel</key>
				<string></string>
				<key>MinKernel</key>
				<string></string>
				<key>Replace</key>
				<data>
				AQIEABITAAASEwAABQMAAAIAAAAwAAAAAgUAAAAEAAAH
				AAAAAwQAAAAEAAAJAAAABgIAABAAAAAJAAAA
				</data>
				<key>ReplaceMask</key>
				<data>
				</data>
				<key>Skip</key>
				<integer>0</integer>
			</dict>

 

16 minutes ago, tluck said:

i want to patch my Sandy Bridge Framebuffers and i get this in the log:

00:000 00:000 OC: Kernel patcher AppleIntelSNBGraphicsFB () init failure - Not Found

 

the SNB kexts (dosdude1 method to old HW in Catalina) are in /Library/Extensions and are in the cache. 

what does that message indicate is wrong? 

 

Are you sure that patch is still valid? Can you find the data to replace in the binary itself?

 

EDIT: Wait don't you need the full identifier?

Edited by apianti
10 hours ago, hardcorehenry said:

For those who might be interested. SSDT-SATA.aml, renames SAT0 to SATA only for OSX and leaves original names for other OSes(tested in OSX, Windows and Linux(have only couple live USB) .  You might need to edit the address, mine SAT0 is under 0x001F0002.

 


DefinitionBlock ("", "SSDT", 2, "HACK", "SATA", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)
    External (_SB_.PCI0.SAT0, DeviceObj)

    Scope (_SB.PCI0)
    {
        Scope (SAT0)
        {
            If (_OSI ("Darwin"))
            {
                Name (_STA, Zero)  // _STA: Status
            }
        }

        Device (SATA)
        {
            Name (_ADR, 0x001F0002)  // _ADR: Address
        }
    }
}

 

 

Mind to explain when do I need this? I remember on my Clover days I have this rename patch but since I moved to OpenCore I think I don't have it already.

Thanks.

55 minutes ago, insanefrancis said:

 

Mind to explain when do I need this? I remember on my Clover days I have this rename patch but since I moved to OpenCore I think I don't have it already.

Thanks.

 

Simple answer, you don’t need this. This is better equivalent of ACPI renames (like SAT0 to SATA) via config.plist.

2 hours ago, hardcorehenry said:

 

Simple answer, you don’t need this. This is better equivalent of ACPI renames (like SAT0 to SATA) via config.plist.

 

I believe it's not necessary to rename SAT0 to SATA. macOS is not really checking it and does not affect functionality.

  • Like 2
4 hours ago, apianti said:

 

Are you sure that patch is still valid? Can you find the data to replace in the binary itself?

 

EDIT: Wait don't you need the full identifier?

yup. thanks. full indentifier for the kext name made it work. 

1 hour ago, MacNB said:

How did you do it at the moment ?

 

Not very well with EC and Clover. It looses LCD output on login. I can VNC to it and it is accelerated, but I cannot output to the LCD with acceleration. I think the biggest issue is that I cannot get the EDID out of it for injection

Edited by startergo
8 hours ago, apianti said:

 

Think he meant to disable RebuildAppleMemoryMap.

 

Ah, thanks for the catch!

 

With that change, I get quite a bit further, to the point shown in the included image. I believe that mpo_policy_init is from Lilu. I'm re-attaching my config.plist, as well.

 

If I move the thumb drive to a USB2.0 port, remove the R5-340X Dell GPU, and add the config for the iGPU (Skylake 530), I get to apfs_module_start. I don't have an AWAC clock, as this is Skylake, so that's not the issue. I'm assuming that these are iGPU problems. I've tried the onboard HDMI and DisplayPort ports (DisplayPort with an HDMI adapter), and the HDMI gets me the furthest:

 

IMG_0135.thumb.jpg.3143bfa2bf3722a1221765a56be5c574.jpg

 

Thanks!
- Alex

 

 

config.plist

Edited by ajacocks
More progress
1 hour ago, ajacocks said:

 

Ah, thanks for the catch!

 

With that change, I get quite a bit further, to the point shown in the included image. I believe that mpo_policy_init is from Lilu. I'm re-attaching my config.plist, as well.

 

If I move the thumb drive to a USB2.0 port, remove the R5-340X Dell GPU, and add the config for the iGPU (Skylake 530), I get to apfs_module_start. I don't have an AWAC clock, as this is Skylake, so that's not the issue. I'm assuming that these are iGPU problems. I've tried the onboard HDMI and DisplayPort ports (DisplayPort with an HDMI adapter), and the HDMI gets me the furthest:

 

Thanks!
- Alex

 

Probably EC patch but maybe one of these others (yeah - not AWAC on skylake unless you somehow frankensteined something like a very mad man), check here, https://github.com/dortania/OpenCore-Desktop-Guide/blob/master/troubleshooting/troubleshooting.md#stuck-on-rtc-pci-configuration-begins-previous-shutdown-hpet-hid-legacy.

4 hours ago, tluck said:

yup. thanks. full indentifier for the kext name made it work. 

 

Cool.

 

3 hours ago, startergo said:

Not very well with EC and Clover. It looses LCD output on login. I can VNC to it and it is accelerated, but I cannot output to the LCD with acceleration. I think the biggest issue is that I cannot get the EDID out of it for injection

 

After login at the desktop or login for unlocking filevault? Or before the desktop login even appears? Maybe you need to adjust something in the configuration for the graphics specific to your machine like the graphics connectors.

 

EDIT: The site is soooo slow....

Edited by apianti
14 minutes ago, apianti said:

 

Probably EC patch but maybe one of these others (yeah - not AWAC on skylake unless you somehow frankensteined something like a very mad man), check here, https://github.com/dortania/OpenCore-Desktop-Guide/blob/master/troubleshooting/troubleshooting.md#stuck-on-rtc-pci-configuration-begins-previous-shutdown-hpet-hid-legacy.

 

Unfortunately, I already have the EC patch enabled (as added by TopLevel):

1821931472_Screenshotfrom2020-05-2600-07-16.thumb.png.ce4b21b45d7f10abcfbce03513ce676e.png

 

I'm going through the other fixes. Already tried the "Above 4G" boot arg, which made things worse. Trying the HPET stuff next.

 

Thanks!
- Alex

Edited by ajacocks
6 minutes ago, ajacocks said:

 

Unfortunately, I already have the EC patch enabled (as added by TopLevel):

 

Not sure that is the correct patch. https://dortania.github.io/Getting-Started-With-ACPI/ssdt-platform.html#laptop

 

EDIT: Probably more helpful, https://dortania.github.io/Getting-Started-With-ACPI/Universal/ec-fix.html

Edited by apianti
45 minutes ago, ajacocks said:

 

Unfortunately, I already have the EC patch enabled (as added by TopLevel):

1821931472_Screenshotfrom2020-05-2600-07-16.thumb.png.ce4b21b45d7f10abcfbce03513ce676e.png

 

I'm going through the other fixes. Already tried the "Above 4G" boot arg, which made things worse. Trying the HPET stuff next.

 

Thanks!
- Alex

Alex you actually have to edit a DSDT.dsl file after it is dissembled and abridged from its size of 483 kb to about 34kbthe rest is going to become sssdt1 ssd 2 ssdt3 and so on

9 minutes ago, markl18 said:

Alex you actually have to edit a DSDT.dsl file after it is dissembled and abridged from its size of 483 kb to about 34kbthe rest is going to become sssdt1 ssd 2 ssdt3 and so on 

 

I think I must be failing to understand something obvious, here. I followed the guide, and it just told me (I think) to add the SSDT-PLUG.aml and the SSDT-EC-USBX.aml, to the ACPI directory. I then did a clean snapshot, in TopLevel, to make sure that my config.plist was correct.

 

I did attempt to do my own editing, and create my own SSDT-EC-USBX.aml (rather than to use the generic Skylake one) but I got a duplicate entry on the ED device. Here's the results of my edit (attached .dsl file). I also attached the error I get (AE_ALREADY_EXISTS):

 

IMG_0136.thumb.jpg.ca9840f84b7cd3d1e5b727ec4ea65148.jpg

 

I assume that's because the existing ACPI Tables already have an entry for the H_EC?

 

Thanks!

- Alex

SSDT-EC-USBX.dsl

34 minutes ago, ajacocks said:

 

I think I must be failing to understand something obvious, here. I followed the guide, and it just told me (I think) to add the SSDT-PLUG.aml and the SSDT-EC-USBX.aml, to the ACPI directory. I then did a clean snapshot, in TopLevel, to make sure that my config.plist was correct.

 

I did attempt to do my own editing, and create my own SSDT-EC-USBX.aml (rather than to use the generic Skylake one) but I got a duplicate entry on the ED device. Here's the results of my edit (attached .dsl file). I also attached the error I get (AE_ALREADY_EXISTS):

 

I assume that's because the existing ACPI Tables already have an entry for the H_EC?

 

Thanks!

- Alex

 

Did you read those guides? You don't always need that for a laptop, it may already exist correctly. You just have to apply only some of the patch in that case, you have to determine this from your original table dump though.

Edited by apianti
1 hour ago, apianti said:

 

Did you read those guides? You don't always need that for a laptop, it may already exist correctly. You just have to apply only some of the patch in that case, you have to determine this from your original table dump though.

I get about 12 of those for all kinds of reasons anyway in order to the gpu device to work correctly you have to have those changes to coincide with ssdt-gpu.aml file that has to be present in order for things to happen 

Edited by markl18
6 hours ago, apianti said:

 

Cool.

 

 

After login at the desktop or login for unlocking filevault? Or before the desktop login even appears? Maybe you need to adjust something in the configuration for the graphics specific to your machine like the graphics connectors.

 

EDIT: The site is soooo slow....

Just before login. I can't see the login screen on the LCD only through VNC. How can I adjust the connectors? If I spoof graphics the screen is connected but then acceleration does not work.

4 hours ago, markl18 said:

I get about 12 of those for all kinds of reasons anyway in order to the gpu device to work correctly you have to have those changes to coincide with ssdt-gpu.aml file that has to be present in order for things to happen 

Thanks, I did indeed follow the procedures to the best of my knowledge.

 

1) This is a desktop, a Dell Optiplex 7050

2) There is no “EC” device, in the DSDT.dsl, it’s called “H_EC”

3) I did the editing to rename it, but I’m not sure that I did it correctly, as I get that duplication error that I mentioned

 

Would someone be willing to check over my edits, if I post my DSDT.dsl and my SSDT-EC-USBX.dsl, that I already linked?

 

Here’s the definition of “H_EC” from the DSDT.dsl:

 

Scope (_SB.PCI0.LPCB)
    {
        Device (H_EC)
        {
            Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */)  // _HID: Hardware ID
            Name (_UID, One)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                ^^^GFX0.CLID = 0x03
                Return (Zero)
            }

 

I uncommented and modified this section, in SSDT-EC-USBX.dsl:

    External (_SB_.PCI0.LPCB.H_EC, DeviceObj)
    Scope (\_SB.PCI0.LPCB.H_EC)
    {
        Method (_STA, 0, NotSerialized)  // _STA: Status
        {
            If (_OSI ("Darwin"))
            {
                Return (0)
            }
            Else
            {
                Return (0x0F)
            }
        }
    }

Does that look right?

 

Thanks!

- Alex

DSDT.dsl

×
×
  • Create New...