Jump to content
8755 posts in this topic

Recommended Posts

16 hours ago, Download-Fritz said:

No, you just guard your changes with conditional statements querying OSI

I’m sorry but I don’t understand. Would you mind expanding that in some detail as i would prefer to boot Windows from OC rather than having to use UEFI boot menu (not wife friendly).

Edited by SavageAUS

Hi,

 

First time OC’er. Taking baby steps. Problem is Mac OS X afps partitions missing in boot menu that is until OC loads Clover on other partition’s EFI folder and returns back to OC menu. So Clover must have loaded a necessary efi driver?
 

Thanks

 

 

23 hours ago, ghost8282 said:

Hi, latest modifications (14th April, from 20fa82d to e6acc72) seems to have broken (for me) the external boot picker: mac os boot fine but boot picker has a black screen; was working fine without the modifications.

Not sure how I could help tracking the issue.

with commit c85b332 (OpenCanopy: Improve mouse pointer performance) I now have the mouse pointer at the upper left corner, but frozen, and still a black screen with no icons. Pressing enter from the keyboard does nothing. All is updated, including OcBinaryData.

Edited by ghost8282

Does anyone have a guide/instructions as to what needs to be done in detail to make Windows 10 boot from OC? I get a acpi bios error when trying to boot windows from OC but boots fine for UEFI boot menu but i would prefer to use bootloader (wife friendly) I know i can use a fork of this project to get what i need but i would rather use the origin for better support...

  • Like 1

Hi, I'm trying to get Atheros AR9285 working at Catalina but I can't with OpenCore.

 

I have installed using Hackintool and put AtherosWifiInjector.kext and still no way to work but prior to migrating to OC I was abble use that wifi just fine with Clover.

 

There's any option that I can try to make installer and kext load to work property at OC?

 

Thanks!

6 hours ago, SavageAUS said:

Does anyone have a guide/instructions as to what needs to be done in detail to make Windows 10 boot from OC? I get a acpi bios error when trying to boot windows from OC but boots fine for UEFI boot menu but i would prefer to use bootloader (wife friendly) I know i can use a fork of this project to get what i need but i would rather use the origin for better support...

In your custom SSDT's you have to include the statement: If (_OSI ("Darwin")) 

and at the end of the patch you need: Return (_OSI (Arg0))

This prevents windows from try to load the custom SSDT patches made for OSX. Windows wouldn't boot for me until I corrected most of my patches with that statement. OC loads Windows 10 just fine now. Not all of the SSDT patches need this, some do. It's hard to figure out which ones, doesn't hurt to add it to all of them though. 

Edited by vettz500

Hi,

 

Was wondering if anyone would kindly take a look at my OC Efi folder? So far I have just the keyboard working. Baby steps. Nothing else works. Only sees EFI, Windows, and shell. Selecting Windows results in BS. No AFPS Catalina install shows. Copied over SSDT-PLUG and SSDT-EC-USB compiled. Have my DSDT in there too. Debug version of OC. No verbose mesages tough on screen. 

 

Thanks

EFI.OC.zip

I'd like also to report that from v.0.5.7 I cannot boot with Target=83, I'm stuck at tianocore logo (nothing wrong printed on the display); all is ok with Target=0.

 

PS: I don't know if you virtual machines are supported by opencore, just to report my findings, if virtual machines are not supported by opencore please tell me so I will not post anymore OT.

Thanks

49 minutes ago, Download-Fritz said:

@telepati Because you apparently have severe issues with parsing the English language or basic respect, I have taken care of the issue on my end, no worries.

 

ignore.png.d60fc2d1be53f142afee794828cf0705.png

 

Man, I have respect for all of you. I am the first time using OC on Real Mac and I really didn't know it was a known bug. I assumed that this error is special for mac. I asked you this question because I think you are the developer of OpenCanopy. You are free to take a stand against me, but know that this is not a movement that has been done by counting what we have spoken before. And I'm sorry for the misunderstanding.

  • Like 1

Heya, I switched from Clover to OpenCore recently (fresh install, new ssd) and everything "works" lovely except a few things...

 

I am randomly getting hard lockups that require a power off (reset button doesn't even work). I can't seem to figure out why...

 

One thing that might be causing it is strange USB behavior i am having. My non USB 3.0 ports work for about 3 or so minutes after booting up, then completely shut down. No power coming out of them or anything. Like they crash completely. Initially i thought maybe it was the port limit patch / usbinjectall but after creating a USB map kext and removing the limit patch / usbinjectall kext it still does this.

 

I have another SSD that i use to boot windows for gaming, and i can game for days without freezes / USB issues, so i don't believe its hardware failure.

 

--

 

Random bits of info that might help:

 

Mobo is asrock Z77 Extreme4, running OpenCore 0.5.7, used the Ivy Bridge section of the vanilla guide to build my config.plist

 

Mobo has onboard Intel graphics, but I am running a Geforce GTX 780 with 'build in' apple drivers. Not sure if my integrated card needs to be configured or just ignored? I read that it helps with encoding/decoding media, etc. Not sure if this would cause my issues though

 

I am using FakePCIID and the BCM57XXX as BCM57765 kext to get ethernet to work. "Sanity checker" says FakePCIID is no good, but couldn't find a way to get ethernet working... Not sure if that would cause freezing / usb crashing though?

 

I have not yet implemented CPU-PM (could that cause this? seems unlikely?)

 

CSM is enabled in bios, guides usually always say to disable, but never could get it to boot with this mobo. This worked lovely in clover for 4 years enabled, so who knows

 

 

 

Screen Shot 2020-04-15 at 12.28.32 PM.png

config.plist

2 hours ago, telepati said:

 

Man, I have respect for all of you. I am the first time using OC on Real Mac and I really didn't know it was a known bug. I assumed that this error is special for mac. I asked you this question because I think you are the developer of OpenCanopy. You are free to take a stand against me, but know that this is not a movement that has been done by counting what we have spoken before. And I'm sorry for the misunderstanding.

I don't frequent too much the forum, but one thing I read and it was asked to you was to not directly tag Download fritz for things related to opencanopy. Just report things without directly tagging him...simple to understand.

On 11/11/2019 at 10:15 AM, Ellybz said:

Not Sure I understood. Similarly to Clover, You can use OC to boot any OS you'd like. Have you tried the following boot entry ?
PciRoot(0x0)/Pci( 0xXX, 0x0 )/XXXX.(0x0xXXXX.0x0)/HD ((1,XXX,,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,0xXX,0xXXXXX) /\EFI\Archlinux\vmlinuz-itz

You can find the hidden path thru the Clover Bootlog. ( Shell method for linux is incomplete ). 

Is this correct?

XXXXXXXXXXX,0xXX,0xXXXXX) /\EFI\Archlinux\vmlinuz-itz
Im trying to boot Arch via OC as well but im confused with the space and the slashes go different ways?

Hello,

Well I am quite sure that this isn't the right place to ask this but I'm thinking it has a higher chance of being noticed and answered. Please do delete it if it's totally irrelevant.

 

I'm on the process of making my SSDT-PLUG.aml for my Z390 system. According to the sample SSDT-PLUG.dsl included with the OpenCore package, it advices to delete all irrelevant CPU paths.

I have done my research and found my CPU scope and device name, PR00 under _PR scope.

Now using the sample SSDT-PLUG.dsl, should I just delete all the "blocks" not relevant to my CPU and just leave the code below?

 

/*
 * XCPM power management compatibility table.
 *
 * Please note that this table is only a sample and may need to be
 * adapted to fit your board's ACPI stack. For instance, both scope
 * and device name may vary (e.g. _SB_.PR00 instead of _PR_.CPU0).
 *
 * While the table contains several examples of CPU paths, you should
 * remove all the ones irrelevant for your board.
 */
DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
    External (_PR_.PR00, DeviceObj)
  
    If (CondRefOf (\_PR.PR00)) {
        Scope (\_PR.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
}

I believe I can make the code cleaner by removing it from the If statement because it is now directly targeting the correct CPU. I don't know how to do that though. Technically, it will still work regardless but with a web development background, I do think we can make the code a bit cleaner. Just not sure how to do with this language.

 

 

For a quick reference of the full SSDT-PLUG.dsl sample

/*
 * XCPM power management compatibility table.
 *
 * Please note that this table is only a sample and may need to be
 * adapted to fit your board's ACPI stack. For instance, both scope
 * and device name may vary (e.g. _SB_.PR00 instead of _PR_.CPU0).
 *
 * While the table contains several examples of CPU paths, you should
 * remove all the ones irrelevant for your board.
 */
DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
    External (_SB_.CPU0, DeviceObj)
    External (_PR_.CPU0, DeviceObj)
    External (_PR_.C000, DeviceObj)
    External (_PR_.P000, DeviceObj)
    External (_SB_.PR00, DeviceObj)
    External (_PR_.PR00, DeviceObj)
    External (_SB_.SCK0.CP00, DeviceObj)
    External (_SB_.SCK0.PR00, DeviceObj)

    If (CondRefOf (\_SB.CPU0)) {
        Scope (\_SB.CPU0) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_PR.CPU0)) {
        Scope (\_PR.CPU0) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_SB.PR00)) {
        Scope (\_SB.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
    
    If (CondRefOf (\_PR.C000)) {
        Scope (\_PR.C000) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
    
    If (CondRefOf (\_PR.P000)) {
        Scope (\_PR.P000) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_PR.PR00)) {
        Scope (\_PR.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_SB.SCK0.CP00)) {
        Scope (\_SB.SCK0.CP00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_SB.SCK0.PR00)) {
        Scope (\_SB.SCK0.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
}

 

56 minutes ago, insanefrancis said:

Hello,

Well I am quite sure that this isn't the right place to ask this but I'm thinking it has a higher chance of being noticed and answered. Please do delete it if it's totally irrelevant.

 

I'm on the process of making my SSDT-PLUG.aml for my Z390 system. According to the sample SSDT-PLUG.dsl included with the OpenCore package, it advices to delete all irrelevant CPU paths.

I have done my research and found my CPU scope and device name, PR00 under _PR scope.

Now using the sample SSDT-PLUG.dsl, should I just delete all the "blocks" not relevant to my CPU and just leave the code below?

 


/*
 * XCPM power management compatibility table.
 *
 * Please note that this table is only a sample and may need to be
 * adapted to fit your board's ACPI stack. For instance, both scope
 * and device name may vary (e.g. _SB_.PR00 instead of _PR_.CPU0).
 *
 * While the table contains several examples of CPU paths, you should
 * remove all the ones irrelevant for your board.
 */
DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
    External (_PR_.PR00, DeviceObj)
  
    If (CondRefOf (\_PR.PR00)) {
        Scope (\_PR.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
}

I believe I can make the code cleaner by removing it from the If statement because it is now directly targeting the correct CPU. I don't know how to do that though. Technically, it will still work regardless but with a web development background, I do think we can make the code a bit cleaner. Just not sure how to do with this language.

 

 

For a quick reference of the full SSDT-PLUG.dsl sample


/*
 * XCPM power management compatibility table.
 *
 * Please note that this table is only a sample and may need to be
 * adapted to fit your board's ACPI stack. For instance, both scope
 * and device name may vary (e.g. _SB_.PR00 instead of _PR_.CPU0).
 *
 * While the table contains several examples of CPU paths, you should
 * remove all the ones irrelevant for your board.
 */
DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
    External (_SB_.CPU0, DeviceObj)
    External (_PR_.CPU0, DeviceObj)
    External (_PR_.C000, DeviceObj)
    External (_PR_.P000, DeviceObj)
    External (_SB_.PR00, DeviceObj)
    External (_PR_.PR00, DeviceObj)
    External (_SB_.SCK0.CP00, DeviceObj)
    External (_SB_.SCK0.PR00, DeviceObj)

    If (CondRefOf (\_SB.CPU0)) {
        Scope (\_SB.CPU0) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_PR.CPU0)) {
        Scope (\_PR.CPU0) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_SB.PR00)) {
        Scope (\_SB.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
    
    If (CondRefOf (\_PR.C000)) {
        Scope (\_PR.C000) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
    
    If (CondRefOf (\_PR.P000)) {
        Scope (\_PR.P000) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_PR.PR00)) {
        Scope (\_PR.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_SB.SCK0.CP00)) {
        Scope (\_SB.SCK0.CP00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }

    If (CondRefOf (\_SB.SCK0.PR00)) {
        Scope (\_SB.SCK0.PR00) {
            Method (_DSM, 4, NotSerialized) {
                If (LEqual (Arg2, Zero)) {
                    Return (Buffer (One) { 0x03 })
                }

                Return (Package (0x02) {
                    "plugin-type",
                    One
                })
            }
        }
    }
}

 

I think you are right, i have simplified SSDT-PLUG.dsl sample, removed all the if statements and references irrelevant to my cpu (PR.CPU0). It’s working as intended and it looks like this:


 

DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
    External (_PR_.CPU0, ProcessorObj)

    Scope (\_PR.CPU0)
    {
        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If ((Arg2 == Zero))
            {
                Return (Buffer (One)
                {
                     0x03                                             // .
                })
            }

            Return (Package (0x02)
            {
                "plugin-type", 
                One
            })
        }
    }
}

  • Like 1
3 minutes ago, Paksman said:

I think you are right, i have simplified SSDT-PLUG.dsl sample, removed all the if statements and references irrelevant to my cpu (PR.CPU0). It’s working as intended and it looks like this:


 

DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
    External (_PR_.CPU0, ProcessorObj)

    Scope (\_PR.CPU0)
    {
        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If ((Arg2 == Zero))
            {
                Return (Buffer (One)
                {
                     0x03                                             // .
                })
            }

            Return (Package (0x02)
            {
                "plugin-type", 
                One
            })
        }
    }
}

 

Cool. Will do this as well. Thanks.

I tried upgrading to OpenCore 0.5.7 today from 0.5.6 but when I rebooted everything boots, but I'm unable to get past the login screen with FileVault.

 

I entered the password and hit enter, the password prompt disappears and nothing else happens, it's just stuck. If I revert back to 0.5.6, everything works just fine.

config-0.56.plist

config-0.57.plist

On 4/15/2020 at 1:41 PM, noreason said:

Heya, I switched from Clover to OpenCore recently (fresh install, new ssd) and everything "works" lovely except a few things...

 

I am randomly getting hard lockups that require a power off (reset button doesn't even work). I can't seem to figure out why...

 

One thing that might be causing it is strange USB behavior i am having. My non USB 3.0 ports work for about 3 or so minutes after booting up, then completely shut down. No power coming out of them or anything. Like they crash completely. Initially i thought maybe it was the port limit patch / usbinjectall but after creating a USB map kext and removing the limit patch / usbinjectall kext it still does this.

 

I have another SSD that i use to boot windows for gaming, and i can game for days without freezes / USB issues, so i don't believe its hardware failure.

 

--

 

Random bits of info that might help:

 

Mobo is asrock Z77 Extreme4, running OpenCore 0.5.7, used the Ivy Bridge section of the vanilla guide to build my config.plist

 

Mobo has onboard Intel graphics, but I am running a Geforce GTX 780 with 'build in' apple drivers. Not sure if my integrated card needs to be configured or just ignored? I read that it helps with encoding/decoding media, etc. Not sure if this would cause my issues though

 

I am using FakePCIID and the BCM57XXX as BCM57765 kext to get ethernet to work. "Sanity checker" says FakePCIID is no good, but couldn't find a way to get ethernet working... Not sure if that would cause freezing / usb crashing though?

 

I have not yet implemented CPU-PM (could that cause this? seems unlikely?)

 

CSM is enabled in bios, guides usually always say to disable, but never could get it to boot with this mobo. This worked lovely in clover for 4 years enabled, so who knows

 

 

 

Screen Shot 2020-04-15 at 12.28.32 PM.png

config.plist

 

Are you on 15.4? If so was wondering if you would do me a favor and run the  'CONSOLE' app and check its crash reports and see if you see any mention of your video card at being at fault? I'm having a similar issue and narrowed it down to the drivers for my 5700 XT.

 

Thanks

×
×
  • Create New...