Jump to content

OpenCore General Discussion


dgsga
8,888 posts in this topic

Recommended Posts

Switched from Clover to OC, things work smooth for normal boot.

The one thing that does not work at all is booting into recovery. The image refuses to load and I get an memory allocation error.

I never ran into this with Clover, Clover always booting fine into recovery, using the AptioMem efi.

Tried all different variations with the quirks and followed this guide as well:

https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/extras/kalsr-fix

With that I came up with a slide value of Slide=128 in the boot menu. While that helps, it still does not create enough memory for the recovery image to boot.

It seems there are no more options I can try. I would be happy about any further feedback where to look for a solution.

 

One note: to even to attempt loading the image, i have to enable 

 

AvoidHighAlloc = true (seems needed to even to attempt the load the recovery image, if false i get an error that not supported, and loading the image is not even started.

 

The other quirks if have set

  • AvoidRuntimeDefrag = true

  • DevirtualiseMmio = false (early boot failure if true)

  • DisableVariableWrite = false

  • EnableSafeModeSlide = true

  • EnableWriteUnprotector = true

  • ProvideCustomSlide = true

  • SetupVirtualMap = true

  • ShrinkMemoryMap = false (early boot failure if true)

     

Link to comment
Share on other sites

On 12/11/2019 at 9:55 PM, Adomorns said:

Hi, I wrote earlier this year to have some support for moving to OpenCore but I managed to make it work by myself. Now I'm having a strange problem.

 

When I SHUTDOWN my pc(Lifebook e744 i5-4300m) and turn on again my trackpad needs 1 more finger to work (2 fingers for moving cursor,3 for scrolling, 4 for the swipe pages on macOS). 

The only way to fix this is to RESTART my pc and then the trackpad works perfectly.

I'm currently using VoodooPS2Controller + VoodooInput from acidanthera. Did someone else get any problem like this?

 

I've attached my OC folder.

 

Thanks in advance.

 

OC.zip

 

Hi, no one seems to have answered my problem, and I wanted to add some information:

- I still got problems with the trackpad recognizing one finger more in a fresh boot
- When my pc returns from sleep sometimes the trackpad would not work.

- Without complete DSDT patching, my pc won't boot.

 

I don't know what to do, probably it's smth related to DSDT patching, but I don't know what to look after.

 

I've attached the OC folder I'm using right now.

 

UPDATE:

When cold booted the verbose output spams: "AppleMultitouchHIDEventDriverV2: checkNTDeviceAvailable() Building NT without Z2init", and the trackpad doesn't work. When rebooted it no longer spits out the error like hell and the trackpad works perfectly

 

 

Hope to get some help :)

OC.zip

Edited by Adomorns
Link to comment
Share on other sites

1 hour ago, DarkAlex97 said:

I can't make the audio work. I think i have to find the appropriate layout from here https://github.com/acidanthera/applealc/wiki/supported-codecs

Is there a way to try different layouts without reinstalling the os from scratch with opencore?

 

This is the only thing i have to edit right?

Post image

 

That SHOULD be it. For layout-id say...7...put <07> and hit enter.

Link to comment
Share on other sites

On 12/27/2019 at 4:11 PM, Andrey1970 said:

No.

I will post on this thread because you all seem much informed than the average .. What does it take to implement power management for non native NVME disks ? Do you think is "just" a patch to some kexts or something more complex ?

I'm asking around for this feature since when i noticed NVME disk is really more "expensive" for my battery than a normal sata ssd in MacOS but not on Linux or Windows ..

 

Thanks

Mattia

 

Link to comment
Share on other sites

1 hour ago, tmbt said:

I will post on this thread because you all seem much informed than the average .. What does it take to implement power management for non native NVME disks ? Do you think is "just" a patch to some kexts or something more complex ?

I'm asking around for this feature since when i noticed NVME disk is really more "expensive" for my battery than a normal sata ssd in MacOS but not on Linux or Windows ..

 

Thanks

Mattia

 

 

ThirdPartyDrives quirk only for sata.

Link to comment
Share on other sites

It seems that these Memory Allocation problems are quite tricky.

What really surprises me here is the fact that DevirtualiseMmio = true causes early reboot.

What information would help the experts here to give some further advise?

It seems related to OpenCore, since I never ran into similar obstacles in Clover.

Thanks, Mike

Link to comment
Share on other sites

Hello, I have a z87 board with and have add NVMe with pci-e adapter. 
The nvme-drive did show up initially, but later I added NvmExpressDxe.efi and it showed up. Is NvmExpressDxe.efi the preferred way to enable NVMe in oc? (For unsupported boards..)

Link to comment
Share on other sites

2 hours ago, Ritte said:

Hello, I have a z87 board with and have add NVMe with pci-e adapter. 
The nvme-drive did show up initially, but later I added NvmExpressDxe.efi and it showed up. Is NvmExpressDxe.efi the preferred way to enable NVMe in oc? (For unsupported boards..)

 

It is the only way, there's no prefer/not prefer.

Link to comment
Share on other sites

2 hours ago, Ritte said:

Hello, I have a z87 board with and have add NVMe with pci-e adapter. 
The nvme-drive did show up initially, but later I added NvmExpressDxe.efi and it showed up. Is NvmExpressDxe.efi the preferred way to enable NVMe in oc? (For unsupported boards..)

https://www.win-raid.com/t871f50-Guide-How-to-get-full-NVMe-support-for-all-Systems-with-an-AMI-UEFI-BIOS.html

Link to comment
Share on other sites

6 hours ago, n.d.k said:

 

It is the only way, there's no prefer/not prefer.

 

Thanks! Do you know where I can find the source of the driver? So I don't need to get it from clover.

 

5 hours ago, jinbingmao said:

 

I did know about this, but I'm avoding it since this board will be swapped out sooner or later and will be reused as PLEX-server. Don't want to brick my BIOS otherwise I need a board for the PLEX-server too :)

Link to comment
Share on other sites

34 minutes ago, Ritte said:

 

Thanks! Do you know where I can find the source of the driver? So I don't need to get it from clover.

git clone https://github.com/acidanthera/audk UDK
cd UDK
source edksetup.sh
make -C BaseTools

build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1

# or Debug

build -a X64 -b DEBUG -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1

  • Like 2
Link to comment
Share on other sites

7 hours ago, meaganmargaret said:

 

Care to share what AHCIPortInjector kext you used (I have the same motherboard)?  Was it the one you posted earlier?

 

Sure!

 

For starters here's what I looked for. In IOReg under SATA (or SAT0 if no name change) you see "name" and mine was "pci8086,a282" so I dug through whatever SATA Unsupported I could find until I found one with IOname matches.

SATA-unsupported.kext.zip

 

Link to comment
Share on other sites

22 hours ago, LAbyOne said:

git clone https://github.com/acidanthera/audk UDK
cd UDK
source edksetup.sh
make -C BaseTools

build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1

# or Debug

build -a X64 -b DEBUG -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1


 

Perfect, thanks! 

22 hours ago, LAbyOne said:

git clone https://github.com/acidanthera/audk UDK
cd UDK
source edksetup.sh
make -C BaseTools

build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1

# or Debug

build -a X64 -b DEBUG -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf || exit 1


 

Perfect, thanks! 

Link to comment
Share on other sites

Hi - I've been trying to boot macOS Catalina on a new Lenovo X1 Carbon 7 which has a new Comet Lake i7-10710u. I see in ProcessorInfo.h that we don't have this processor defined yet. I wonder if this could contribute to the boot issue. Hoping this can help the devs add Comet Lake support.

 

After I select to boot the macOS installer, it performs kext injection but hangs here and does not proceed:

78:816 00:112 Prelinked status - Success

 

Attached is my debug log file (with full verbose logging) and here is the CPU info:

Signature A0660 Stepping 0 Model A6 Family 6 Type 0 ExtModel A ExtFamily 0

So i7-10710u Comet Lake is model 0xA6.

opencore-2020-01-04-014053.txt

  • Like 1
Link to comment
Share on other sites

Can anyone help me? New to OpenCore.

 

Specs:

Dell 7567

i7 7700HQ

16GB RAM

Intel HD 630 + GTX 1050Ti

 

Followed the OpenCore vanilla guide and tried to boot with minimal setup. I can't see any options to select in OpenCore menu.

EFI.zip

82304809_2700475370032002_1083988331773034496_n.jpg

Edited by Nihhaar
Added specs
Link to comment
Share on other sites

13 hours ago, Nihhaar said:

Can anyone help me? New to OpenCore.

 

Specs:

Dell 7567

i7 7700HQ

16GB RAM

Intel HD 630 + GTX 1050Ti

 

Followed the OpenCore vanilla guide and tried to boot with minimal setup. I can't see any options to select in OpenCore menu.

EFI.zip

82304809_2700475370032002_1083988331773034496_n.jpg

try to put on your config scanpolicy=0

 

Edited by Guest
Link to comment
Share on other sites

Hi

So i also can now boot into recovery, after a lot of trial and error.

The following problem I have still with booting into recovery.

When I remove the -v boot flag, I get a black screen once boot is completed.

When I boot with -v into recovery, display is fine once boot is completed.

 

The only thing that seems to help is adding "agpmod=pikera"

But then booting into to OSX produces a funny login-screen resolution.

What could be the reason for black screen in recovery?

It happens as soon as a remove verbose mode flag from boot arguments.

 

Edit:

I am not sure if this is OC related or Whatevergreen related, or a combination of the settings I use in OC and using WG.

 

Thanks, Mike

 

Edited by Mike Ranger
Link to comment
Share on other sites

24 minutes ago, fabiosun said:

try to put on your config scanpolicy=0

 

Thank you, it worked!

 

It seems like opencore team deliberately put wrong defaults so that users will read the configuration?

Edited by Nihhaar
Link to comment
Share on other sites

24 minutes ago, Nihhaar said:

Thank you, it worked!

 

It seems like opencore team deliberately put wrong defaults so that users will read the configuration?

Default config are not wrong as are not working for all

Their goal I think is help people to learn and thinking :)

 

Edited by Guest
typo
Link to comment
Share on other sites

32 minutes ago, Nihhaar said:

It seems like opencore team deliberately put wrong defaults so that users will read the configuration?

If you would *actually* read the PDF instead of just talking about being made, you would know why this is the default.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...