Jump to content

3,294 posts in this topic

Recommended Posts

Ugh, of course I meant RequestBootVarFallback. RequestBootVarRouting is needed on all hacks with OpenCore for default boot volume selection to work. Anyway, I guess, we will try to explore this issue and let you know if we find anything.

Share this post


Link to post
Share on other sites
Advertisement
7 hours ago, vit9696 said:

@floodlitworld, try with 0. 60000 only applies to ASUS Z87 boards.

 

The documentation makes it sound as though the 60000 value applies to all ASUS boards:

 

Quote

The recommended value is 50000 (5 milliseconds) or slightly higher. ASUS boards use 60000 for the interface. Apple boards use 100000. 

 

Should that be updated? Want a PR?

Share this post


Link to post
Share on other sites
"MacBookPro15,1", "MBP151.88Z.F000.B00.1912090131", "1037.80.21.0.0", "Mac-937A206F2EE63C01",


"MacBookPro15,2", "MBP152.88Z.F000.B00.1912090107", "1037.80.21.0.0", "Mac-827FB448E656EC26",

"MacBookPro15,3", "MBP153.88Z.F000.B00.1912082358", "1037.80.21.0.0", "Mac-1E7E29AD0135F9BC", 

"MacBookPro15,4", "MBP154.88Z.F000.B00.1912090124", "1037.80.21.0.0", "Mac-53FDB3D8DB8CA971",

 "MacBookPro16,1", "MBP161.88Z.F000.B00.1912090148", "1037.80.21.0.0", "Mac-E1008331FDC96864", 

 "MacBookAir8,1", "MBA81.88Z.F000.B00.1912090041", "1037.80.21.0.0", "Mac-827FAC58A8FDFA22", 

"MacBookAir8,2", "MBA82.88Z.F000.B00.1912090131", "1037.80.21.0.0", "Mac-226CB3C6A851A671", 

"Macmini8,1", "MM81.88Z.F000.B00.1912082323", "1037.80.21.0.0", "Mac-7BA5B2DFE22DDD8C",

 "iMacPro1,1", "IMP11.88Z.F000.B00.1912082323", "1037.80.21.0.0", "Mac-7BA5B2D9E42DDD94", 

 "MacPro7,1", "MP71.88Z.F000.B00.1912090148", "1037.80.21.0.0", "Mac-27AD2F918AE68F61",

 

Share this post


Link to post
Share on other sites

Quick question.... what to do about in the compile errors for the serialized tool?

Anybody can help with the compile?

This error is driving me nuts.

Thanks, Mike

Quote

 Ranger, this means that some of the <data> fields in your configuration do not seem to be right. One can use OcSupportPkg/TestsUser/Serialized tool to debug configuration issues. Serialized.c contains the compilation command in the beginning of the file (clang -g -fsanitize=undefined,address …). Just compile it in Serialized directory and then pass your config.plist as an argument to see a verbose validation log.

 

Share this post


Link to post
Share on other sites
5 hours ago, Tony Arnold said:

 

The documentation makes it sound as though the 60000 value applies to all ASUS boards:

 

 

Should that be updated? Want a PR?

We have already updated the docs.

 

2 hours ago, Mike Ranger said:

Quick question.... what to do about in the compile errors for the serialized tool?

Anybody can help with the compile?

This error is driving me nuts.

Thanks, Mike

 

Find the error manually for the time being. We will add some build scripts for user tools later.

Share this post


Link to post
Share on other sites
2 hours ago, Mike Ranger said:

Quick question.... what to do about in the compile errors for the serialized tool?

Anybody can help with the compile?

This error is driving me nuts.

Thanks, Mike

 

Serialized.png.fcb05decd1ff475d679ccd30b620f9b6.png

Share this post


Link to post
Share on other sites

tried the same thing with the provided clang command..... full off errors... mostly missing headfiles.

Probably need to download more stuff and put it in the right structure.

I just downloaded the OCSupportPkg Folder and tried to compile from there.

Edited by Mike Ranger

Share this post


Link to post
Share on other sites
On 1/11/2020 at 9:43 PM, nmano said:

Skylake X->Skylake U 0x0406E3
Cpuid1Data   <->  E3060400 00000000 00000000 00000000 
Cpuid1Mask  <->   FFFFFFFF 00000000 00000000 00000000 

 

 

What does this do? Is this worth applying on an X299 board with an i9 7900X?

Share this post


Link to post
Share on other sites
17 hours ago, vit9696 said:

generally we use WhateverGreen to disable discrete GPU. As for battery, I am afraid somebody else knows better

Thanks @vit9696 if im correct i think it is documented as it disables external/Dedicated GPU, thanks for the clarification

 

So by that now i know that includes discrete graphics on laptops as well. Nice.

 

I wanted to discuss about Dual Battery support on VirtualSMC/smcbatterymanager.kext

Laptops with Dual Batteries are very common.

MacOS itself has buggy/no dual battery support.

 

As a current solution we use SSDT-BATC.dsl from RehabMan which does work but is not a Acidanthera guidelines friendly solution.

 

What we do with it is that we combine both batteries into a single one and for that to work we also have modify battery notifiers of BAT0 and BAT1 into BATC in order to have correct battery percentage reporting.

For now im modifying battery notifiers with ACPI renames like:

_SB.PCI0.LPCB.EC.BAT0, 0x80 to .....BATC, 0x81.

Usually the notifiers are located into Methods like Method (_Q69,...) etc.

 

I believe with a slight modification for the SSDT to work only with Darwin and if it is possible on virtualsmc side to include a boot-arg or something similar to rename these notifiers in i/o registry level we can have a decent solution.

Or maybe even better solution that those.

 

Its is not a high priority thing but it would be nice to add this if and when it is possible.

 

So what do you think of raising this matter on bugtracker, the number of affected people is decent but the number of them with technical knowledge regarding this is very small, they basically use the guides that we/us with a bit more knowledge make and use them as they are.

I have guides for most of the Haswell Generation Lenovo ThinkPads and pretty much 80% of them have dual batteries, 1 internal and 1 external (removable).

 

Thanks !

Edited by Sniki

Share this post


Link to post
Share on other sites

Updated to OC 0.5.4 with all updated resources, kexts, etc without issue. Seem to have gained about 7% performance as well!

(Though on this update I went from manual platform info to automatic so that might be a factor)

Fantastic work devs!

Share this post


Link to post
Share on other sites
10 hours ago, jinbingmao said:

"MacBookPro15,1", "MBP151.88Z.F000.B00.1912090131", "1037.80.21.0.0", "Mac-937A206F2EE63C01",


"MacBookPro15,2", "MBP152.88Z.F000.B00.1912090107", "1037.80.21.0.0", "Mac-827FB448E656EC26",

"MacBookPro15,3", "MBP153.88Z.F000.B00.1912082358", "1037.80.21.0.0", "Mac-1E7E29AD0135F9BC", 

"MacBookPro15,4", "MBP154.88Z.F000.B00.1912090124", "1037.80.21.0.0", "Mac-53FDB3D8DB8CA971",

 "MacBookPro16,1", "MBP161.88Z.F000.B00.1912090148", "1037.80.21.0.0", "Mac-E1008331FDC96864", 

 "MacBookAir8,1", "MBA81.88Z.F000.B00.1912090041", "1037.80.21.0.0", "Mac-827FAC58A8FDFA22", 

"MacBookAir8,2", "MBA82.88Z.F000.B00.1912090131", "1037.80.21.0.0", "Mac-226CB3C6A851A671", 

"Macmini8,1", "MM81.88Z.F000.B00.1912082323", "1037.80.21.0.0", "Mac-7BA5B2DFE22DDD8C",

 "iMacPro1,1", "IMP11.88Z.F000.B00.1912082323", "1037.80.21.0.0", "Mac-7BA5B2D9E42DDD94", 

 "MacPro7,1", "MP71.88Z.F000.B00.1912090148", "1037.80.21.0.0", "Mac-27AD2F918AE68F61",

 

 

It 10.15.3 beta

Share this post


Link to post
Share on other sites

Sorted out my config.plis, got Serialize compiled..... was a wrong Data written in ROM Generic Section of Platform Data.

So not critical, and now clean.

Thanks again Vit9696 and Download-Fritz

Share this post


Link to post
Share on other sites
3 hours ago, canyondust said:

Updated to OC 0.5.4 with all updated resources, kexts, etc without issue. Seem to have gained about 7% performance as well!

(Though on this update I went from manual platform info to automatic so that might be a factor)

Fantastic work devs!

 

what do you mean 7% performance boost? what kind of performance?

Share this post


Link to post
Share on other sites
1 hour ago, justin said:

 

what do you mean 7% performance boost? what kind of performance?

 

GB5 scores went from an average of 1080sc/4650mc to 1250sc/4950mc. The only difference has been upgrading from OC 0.5.3 to OC 0.5.4 and all related support files and kexts. Possible that I had something incorrectly configured in the old version that got corrected in the new version? potentially, but all I did was add the new config parameters to my old config.plist, as well as the aforementioned switch from manual platform info to automatic platform info.

Share this post


Link to post
Share on other sites

@Andrey1970 Correct me if im wrong but is FwRuntimeServices.efi supposed to be removed from sample.plist like VirtualSmc.efi ?

It doesn't seem to be included in any of the supposed packages and description said it was moved to OpenCore which is fine but the sample.plist confused me so I just wanted to know if it should be removed from sample.plist or is the efi needed and forgot to include it ?

Share this post


Link to post
Share on other sites
9 minutes ago, Sniki said:

@Andrey1970 Correct me if im wrong but is FwRuntimeServices.efi supposed to be removed from sample.plist like VirtualSmc.efi ?

It doesn't seem to be included in any of the supposed packages and description said it was moved to OpenCore which is fine but the sample.plist confused me so I just wanted to know if it should be removed from sample.plist or is the efi needed and forgot to include it ?

 

it is included in OpenCore-0.5.4-RELEASE.zip/EFI/OC/Drivers/FwRuntimeServices.efi, check check again.

40 minutes ago, enlaid said:

Is it possible to run native NVRAM on Z390 with OC 0.5.4?

 

No.

Share this post


Link to post
Share on other sites
1 hour ago, canyondust said:

 

GB5 scores went from an average of 1080sc/4650mc to 1250sc/4950mc. The only difference has been upgrading from OC 0.5.3 to OC 0.5.4 and all related support files and kexts. Possible that I had something incorrectly configured in the old version that got corrected in the new version? potentially, but all I did was add the new config parameters to my old config.plist, as well as the aforementioned switch from manual platform info to automatic platform info.

 

illusion, geek bench can't fully utilize CPU during benchmark. Cinebench is more accurate 

Share this post


Link to post
Share on other sites
25 minutes ago, justin said:

 

1 hour ago, enlaid said:

Is it possible to run native NVRAM on Z390 with OC 0.5.4?

 

No.

 

aha .. really ?

 

Share this post


Link to post
Share on other sites

Is is possible to get good performance from OC when booting from a on-board Marvell 88SE9172 SATA Controller on Z77X-UD5H board? When boot drive is connected to this controller, loading to the OC picker menu takes 20+ minutes. Using Intel 7 series port takes seconds. Clover doesn't have this problem so it seems it must be related to some differences in .efi drivers. I currently have only ApfsDriverLoader, FWRuntimeServices, & HFSPlus drivers on OC 0.5.4. Do I need other drivers?

Share this post


Link to post
Share on other sites

Planning to update to OpenCore 0.5.4 from 0.5.3. I've checked the docs and there are a couple of new entries in the config.plist. Is it mandatory to add these entries to my existing config.plist? They are set to False so I think it doesn't matter but still better to be safe.

Also, do I have to compile and use the SSDT***.dsl included in the release package or they're just the same. I cannot seem to find any info that those were changed/updated as well.

 

Thanks.

Share this post


Link to post
Share on other sites
1 hour ago, insanefrancis said:

Also, do I have to compile and use the SSDT***.dsl included in the release package or they're just the same. I cannot seem to find any info that those were changed/updated as well.

 

you have to compile dsl to aml in order to use them, MaciASL can do the job. You'd better add those items to your config.plist in order to keep update with it. 

Share this post


Link to post
Share on other sites

Hello All!

Getting into OC and feeling a little intimidated. I've always struggled with modifying DSDT or SSDT protocol. Everywhere I look I still am having a hard time figuring out "what is what" in my ACPI tables. I'm using a different motherboard than a lot of the motherboards here (ASrock X299 OC Formula).

I saw that KGP had a basic guide on How to create or modify a simple System SSDT.aml by means of DSDT and IOREG ACPI information. However, his website is down (permanently it looks like). I was able to find a version of it using web archives and thought I'd post it here. It was helpful for me to understand it a little better.

So here is my setup

I am a motion graphics artist and use the GPUs for 3D rendering. MacOS>Windows haha

Clover Bootloader
High Sierra 17G10021 Newest as of 1/10/20
ASrock X299 OC Formula
Intel 9900X
64GB Corsair RGB Vengence Pro
GTX 1080ti in PCIe SLOT-1
GTX 1080ti in PCIe SLOT-3
GTX 1080ti in PCIe SLOT-5
Fenvi T919 in PCIe SLOT-7
Samsung EVO 970 500GB NVME in SLOT M2_1


MACIASL is only showing 5 PCIe slots I think (screenshot attached)
CPUs are mapped weird it think (screenshot attached)
2 of the GRFX cards are thinking they are connected to the same PCIe slot maybe (screenshot attached)

I'm looking for help in the right direction. I know I can do the work, it just hasn't clicked in my head yet. 

If anyone is wanting to take a crack at it, I can provide a RAW DSDT.aml or anything else you might need. Thank you and I love this community.

Also, I have a CUDA issue that causes random reboots on my machine. Only CUDA, the web drivers are fine. The only way to stop it temporarily is to unload CUDA (per a script) when working day to day and then loading CUDA when I need to use it. Once it's loaded, my computer is unstable and will crash sometimes. Hoping OpenCore might help with everything in order.

X299 OC Formula.jpg

PCIe Slots.png

CPUS.png

GRX Same Slot.png

How to create or modify a simple System SSDT.aml by means of DSDT and IOREG ACPI information – KGP's Hackintosh Corner.zip

Edited by cbutters

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

  • Similar Content

    • By DI2edd
      Hi,
       
      I'm writing from a Catalina QEMU/KVM VM which, I must say, works pretty damn well besides the fact that rebooting just doesn't work. But first, a bit of background:
      I'm using OpenCore 0.5.5 through DuetPkg because I'm forced on SeaBIOS (legacy boot) because of legacy IGD passthrough (OVMF doesn't support the semi-hack that's needed for it to function), and that works well enough; I switched from Clover because it didn't allow me to use the "host" cpu model on QEMU, which OpenCore did, and so far so good.
       
      The problem is that, whenever i attempt a reboot, the screen would just turn black and thats's it. I can even see that every 30 seconds it polls the battery's status through ACPI (I modified QEMU for that and left some debugging printfs).
      On the other hand, shutting down works as expected. One thing I noticed is that, on shutdown, I can see the last line of verbose output on the screen is "CPU_HALTED", whereas on reboot I don't get that (don't even know if that's to be expected).
       
      The point is that I'm not even sure this is a bootloader issue, because I booted a Fedora live ISO through OpenCore, and that rebooted with no problems, but at the same time I remember that with Clover I didn't have such an issue. Perhaps it was one of Clover's "Fixes" that is not automatic with OpenCore?
       
      Anyway, I attached my config.plist.
       
      Thank you.
      config.plist
    • By SniperBuddy
      Hello guys,
      I'm relatively new to the world of hackintosh.
      I'm trying to install the latest Mac OS - Catalina with the help of Opencore, however, this is the error that's displayed while booting from the USB:
       
      https://drive.google.com/open?id=1Xd4V2wZ2fEsgRyfVcXlJHXMPGa85g2s3
       
      You can take a look at my config.plist file from here - https://drive.google.com/file/d/17FZpTcVp4RFSaxdm6yW4uELkt7MaLdmt/view?usp=sharing
       
      I'm using the Acer E575 G laptop with Kabylake (i5 7200u)
       
      Any help would be gladly appreciated!
       
      Edit: I've fixed this problem by following this guide completely - https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/intel-config.plist/kaby-lake
       
      This is due to OpenCore being unable to find any drives with the current ScanPolicy, setting to 0 will allow all boot options to be shown
       
       
       
       
       
       
       
    • By DanZiRuleZ
      Dear All, 
       
      trying to install Catalina on my ASUS Z87 Plus, I followed the Haswell guide to the letter, all set up now, USB stick boots ok, Catalina installs on SSD, but then when trying to boot it I am receiving Kernel Panic and no idea how to move forward. 
       
      Have the debug options, but opencore will only dump boot messages where I don't see much sticking out.
       
      My last resort would be just installing clover on the already installed SSD's EFI partition, it at all possible. High Sierra is working fine and I did get Clover with Mojave once but stuck with High Sierra with my GTX960 video card...
       
      Attached is the kernel panic and my EFI setup if anyone can help me troubleshoot.
      Many thanks
      D.
       

      EFI.zip
    • By n.d.k
      After several weeks of testing OC bootloader,  disecting its source code and also Clover's source code as well, I finally switch from Clover to OC as my main bootloader. Wait! don't get the wrong idea that OpenCore is better than Clover. They both work equally well, producing a bootable macOS as an end result with simliar boot time. OC design direction is different with Clover, I believe it's not intended as a Clover replacement, but more narrowing down to macOS specifically. However, macOS is not the only OS that i am using, so, i decided to add some minimal necessary source code modification to the OC to get some of the features I need. I like to share my customized OC forked https://github.com/n-d-k/OpenCorePkg , you have to compile it yourself if you want, i will not provide pre build binary.    
       
      Additional features/changes:
      ============
       
      [ Multi-Boot ]
        - ACPI patches are optional for non macOS with setting ACPI->Quirks->EnableForAll to yes (default is no).
        - Booter Quirtks, SMBIOS and Device Properties patches will only applied to macOS.
          
      [ Hotkeys ]
        - Full functional Hotkeys [1-9] corresponding to Boot Entry's Index number and dedicated W (Windows) / X (macOS) keys can be used without seeing Boot Picker.
        - While in boot picker, F10 can use to take a snapshot of the screen.
                
      [ Ui Boot Picker ]
        - Bios Date/time, auto boot to the same OS or manual set to always boot one OS mode, and OC version are displayed in boot picker.
        - Auto boot to previous booted OS (if Misc->Security->AllowSetDefault is NO/false).
        - macOS Recovery/Tools Entries are hidden by default, use Spacebar in Boot Menu as a toggle on/off to show/hide hidden entries.
                
      [ Custom Entries ]
         - Custom entries are now listed first in picker menu and by the orders they are appeared in Misc->Boot->Entries, before all other entries.
         - Ability to change entry name found by auto scanner by adding custom entry with the exact same device path,
           this will give users the option to complete change how all boot entries listed in Boot Picker.
          
      [ Others ]
         - No verbose apfs.efi driver loading (if using apfs.efi instead of ApfsDriverLoader.efi).
          - ndk-macbuild.tool script are set to compile with latest edk2 (One can easily set to stable edk2 if prefer).
          - NvmExpressDxe driver build script are also available for system without native nvme support. (Compatible with OC and Clover).
       
      Usage:
       - To build OpenCore, run "./ndk-macbuild.tool" at Terminal (require Xcode and Xcode Command Line Tool installed, and open xcode to accept license agreement before compiling).
       - To build NvmExpressDxe driver, run "./buildnvme.sh".
       
      4k screen resolutions

       
       

       
      Customized by @btwise

       
       
       
    • By Krani93
      Hi guys,
       
      I'm trying to install Catalina on a Lenovo m720q (i5-8600T with B360).
      After some other issues I'm know stuck at attached screen.
      Im using latest opencore version and have my EFI folder attached.
       
      Can someone help me I've got no clue what to try next :/ 
       
       
      Cheers!

      EFI.7z
×