Gigabyte Aorus Pro WiFi: Couldn't allocate runtime area

I had some success booting with Clover, but whenever I added EmuVariableUefi.efi (to get NVRAM working) I would get the Error allocating 0x[...] pages at 0x[...] alloc type 2\n Couldn't allocate runtime area error.

Since AptioMemoryFix.efi has now moved to OpenCore and I would like to move away from Clover eventually I decided to move to OpenCore. I compiled the latest commit of OpenCore (7d6cbb) and followed the OpenCore Vanilla Desktop Guide, but I am still getting the same error.

When booting with Clover (without EmuVariableUefi.efi) I must set DVMT Total Gfx Mem to 256M and DVMT Pre-Allocated to 64M, otherwise I get the Couldn't allocate runtime area error. But with the EmuVariableUefi.efi or using OpenCore I still get the error.

I have tried numerous different DVMT Total Gfx Mem and DVMT Pre-Allocated settings, the only one that seems to make a difference 256M/192M respectively, which causes an ERROR!!! Load prelinked kernel with status [...]\n Error loading kernel cache (0x9). after the Error allocating error.

I have setup my BIOS as-per the guide, but was unable to find a CFG Lock(MSR 0xE2 write protection) setting to disable, or Execute Disable Bit to enable.

OpenCore EFI

Clover EFI

My motherboard is a Gigabyte Aorus Pro WiFi with an i9-9900k CPU. I can post picture of the error if that'll help, but the numbers in the Error allocating 0x[...] pages at 0x[...] change with my BIOS settings so I don't think they provide anything more useful.

Can anyone suggest any next steps I can try?

submitted by /u/Psyvire
[link] [comments]