Jump to content

OpenCore General Discussion


dgsga
8,888 posts in this topic

Recommended Posts

Still running OC 0.6.6 and I started experiencing this again (OC text boot picker not visible and Apple Logo not visible during startup).  I'm not experiencing this any more after a couple of changes and I think that the solution ended up being to set Booter > Quirks > ProtectUefiServices = 1 (true) (was zero/false).  Does it make sense that changing this setting would resolve the strange startup behavior that I was observing with OC 0.6.6 (again, system would boot, but during startup, OC text boot picker was not displayed and Apple Logo was not visible during startup).

 

My rig (documented here) is CoffeeLake i7 / UHD630 Graphics.

Edited by tonyx86
Added true/false if that's easier for people to understand
Link to comment
Share on other sites

26 minutes ago, tonyx86 said:

Still running OC 0.6.6 and I started experiencing this again (OC text boot picker not visible and Apple Logo not visible during startup).  I'm not experiencing this any more after a couple of changes and I think that the solution ended up being to set Booter > Quirks > ProtectUefiServices = 1 (was zero).  Does it make sense that changing this setting would resolve the strange startup behavior that I was observing with OC 0.6.6 (again, system would boot, but during startup, OC text boot picker was not displayed and Apple Logo was not visible during startup).

 

My rig (documented here) is CoffeeLake i7 / UHD630 Graphics.

 

The correct setting for ProtectUefiServices is false or true (not 0 or 1). I use it for my Z390 config. 

Link to comment
Share on other sites

11 minutes ago, Matgen84 said:

 

The correct setting for ProtectUefiServices is false or true (not 0 or 1). I use it for my Z390 config. 

 

Thanks.  When using XCode to edit config.plist, bit values of 0 and 1 correspond to false and true respectively.  I've edited my original post if it makes it easier to understand.  Question remains the same.

 

EDIT: According to OC Sanity Checker, correct values are Yes and No :)

 

Spoiler

873420832_ScreenShot2021-03-01at11_27_52AM.png.45a5a6e9660ff91dc721bfc6878ac316.png

 

Edited by tonyx86
Added OC Sanity Checker screen shot
Link to comment
Share on other sites

15 hours ago, tonyx86 said:

 

Thanks.  When using XCode to edit config.plist, bit values of 0 and 1 correspond to false and true respectively.  I've edited my original post if it makes it easier to understand.  Question remains the same.

 

EDIT: According to OC Sanity Checker, correct values are Yes and No :)

 

  Reveal hidden contents

873420832_ScreenShot2021-03-01at11_27_52AM.png.45a5a6e9660ff91dc721bfc6878ac316.png

 

 

For PlistEdit Pro, Yes for Boolean corresponding to True in sample-config.plist. I use PlistEDPlus (by @ic005k): there are no confusion with this app: directly True or False for Boolean. :)

 

Spoiler

1252122669_Capturedcran2021-03-0209_30_52.thumb.png.646566102a49e80ad8c6bb4823e4dcb4.png

 

As PlisEdit Pro, Xcode show YES/NO for Boolean

 

Spoiler

2063948119_Capturedcran2021-03-0209_32_35.png.348f35b2177ce2effb7da7230dec2d5a.png

 

  • Like 5
Link to comment
Share on other sites

@Matgen84 All good info.  Thank you.  For those who are confused about the meaning of 0/1, False/True, No/Yes, this is very helpful.

 

@Matgen84 Here's my XCode 12.4 configuration for ProtectUefiServices.  Hopefully we've thoroughly addressed the confusion over Yes/No, True/False and 1/0 so that someone knows the answer to my ProtectUefiServices question.

 

Spoiler

890116202_ScreenShot2021-03-02at11_31_48AM.png.6957a3731c57d0962db4a4f6932460d1.png

Edited by tonyx86
Added XCode Screenshot
  • Like 1
Link to comment
Share on other sites

@hardcorehenry Thank you for your post.  Looks like I will need to enable OC logging and look for the OCABC: Recovering trashed GetMemoryMap pointer message in the log to determine that setting's relevance to my build.  Thank you!

  • Like 1
Link to comment
Share on other sites

I know I asked this already but my post was clouded with a lot of text.  Is there a way to inject an EFI string in the OC config and if so how and where?  Thanks!

Link to comment
Share on other sites

it took me a awhile to track downt where OC stopped working for me. but it is this commit: 

OpenCoreNvram: Never store 'opencore-version' as NV
  •  
    Marvin Häuser
  • 40cdc48c

     gRT->SetVariable (
      OC_VERSION_VARIABLE_NAME,
      &gOcVendorVariableGuid,

was
     Config->Nvram.WriteFlash ? OPEN_CORE_NVRAM_NV_ATTR : OPEN_CORE_NVRAM_ATTR,

proposed
      OPEN_CORE_NVRAM_ATTR,


      AsciiStrLen (Version),
      (VOID *) Version
      );

 

problem is that it seems I need to set WriteFlash = true, otherwise it doesnt work.

Link to comment
Share on other sites

16 hours ago, Download-Fritz said:

@tluck Try resetting NVRAM and then booting into a "broken" version *without* booting the old version (prior to the commit)

hmm i built the latest version and reset nvram. but unless i add this Config->Nvram.WriteFlash ? OPEN_CORE_NVRAM_NV_ATTR : OPEN_CORE_NVRAM_ATTR back into the code - boot just stops after loading kexts.

 

Edited by tluck
Link to comment
Share on other sites

Guys I got an old Gigabyte motherboard H55M that I cant make to shutdown or restart properly or make all the USB ports work with non HUB, it is running Big Sur, Originay I installed Catalina with Clover and shutdown/restart and USB ports were good but GUI was very sluggish, if I boot with Opencore sluggishness disappears but I cannot make it shutdown/restart or USB work properly

Then I upgraded to Big Sur so clover now doesn't boot properly
 

I researched several forums but sinces this is an old motherboard I cant find anything to make proper SSDTs to modify the behaviour

I found an old modified DSDT that makes the USB works fine but cannot boot windows with it because it shows an ACPI error but again Shutdown and Restart does not work properly


BTW, hello again.

Link to comment
Share on other sites

Not sure if I did something wrong, I updated Open Core from 0.6.5 to 0.6.7 but it looks like I'm still on 0.6.5 version.
Hackintool also says the Current Booted Version is 0.6.5
Is there any bug with 0.67 ?!

Open Core 0.6.7 ocvalidade has the following output:

Completed validating /Volumes/EFI/EFI/OC/config.plist in 1 ms. No issues found.
nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version

4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version REL-065-2021-01-04

 

Link to comment
Share on other sites

3 minutes ago, Taruga said:

Not sure if I did something wrong, I updated Open Core from 0.6.5 to 0.6.7 but it looks like I'm still on 0.6.5 version.
Hackintool also says the Current Booted Version is 0.6.5
Is there any bug with 0.67 ?!

Open Core 0.6.7 ocvalidade has the following output:


Completed validating /Volumes/EFI/EFI/OC/config.plist in 1 ms. No issues found.

nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version

4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version REL-065-2021-01-04

 

Reboot and clean NvRAM, see what the result is.

  • Like 1
Link to comment
Share on other sites

Cleared NVRAM, rebooted and I have the same result. This is weird ... 

Just tested updating open core on another PC to 0.6.7 and I have the same result.

I don't understand what's happening....
 

 

1181348195_Screenshot2021-03-07at19_48_58.png.fd4ef553185f8280abee47214f626ca2.png439985330_Screenshot2021-03-07at19_45_11.png.05c06f78313fc8e9d39719086ff6957a.png

MD5 is a match

828149940_Screenshot2021-03-07at19_39_10.png.01bec7b8b462e9f46e8000b9cac0453b.png1957063738_Screenshot2021-03-07at19_36_18.png.72715bfd13d96354b6b83215b758dc3f.png

Link to comment
Share on other sites

On 3/7/2021 at 3:23 AM, macgirl said:

 

Guys I got an old Gigabyte motherboard H55M that I cant make to shutdown or restart properly or make all the USB ports work with non HUB, it is running Big Sur, Originay I installed Catalina with Clover and shutdown/restart and USB ports were good but GUI was very sluggish, if I boot with Opencore sluggishness disappears but I cannot make it shutdown/restart or USB work properly

Then I upgraded to Big Sur so clover now doesn't boot properly
 

I researched several forums but sinces this is an old motherboard I cant find anything to make proper SSDTs to modify the behaviour

I found an old modified DSDT that makes the USB works fine but cannot boot windows with it because it shows an ACPI error but again Shutdown and Restart does not work properly


BTW, hello again.

Can't tell much without your EFI (at least config.plist).  Have you enabled ACPI > Quirks > FadtEnableReset?

Link to comment
Share on other sites

20 hours ago, Taruga said:

Cleared NVRAM, rebooted and I have the same result. This is weird ... 

Just tested updating open core on another PC to 0.6.7 and I have the same result.

I don't understand what's happening....

Hackintool 3.5.3 reports correct 0.6.7 version for me...

Spoiler

1579545584_ScreenShot2021-03-08at11_32_59AM.png.15d4a4c2223514fef478db5c463e0579.png

 

When I "upgrade" from one version of OC to the next, I completely clear my EFI, copy the new (in this case 0.6.7) EFI from github (both BOOT and OC) to my clean EFI and then replace config.plist, Kexts, ACPI.  Then I reboot, clear NVRAM and boot with my new OC.

 

Without seeing your EFI, I'd guess that you've accidentally mixed OC file versions in your EFI or you're not booting from the EFI that you think you are.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Is anyone having a problem chainloading OpenCore.efi  0.6.5 or later from Grub2?

 

Up until 0.6.4 chainloading worked fine from the Grub.cfg but no boot list appears when updating to 0.6.5 or later.

 

using:

 

menuentry "Open Core"{
    insmod part_gpt
    # insmod chain
    search --no-floppy --set=root --fs-uuid xxxx-xxxx
    chainloader /EFI/OC/OpenCore.efi
}

 

Any specific pointers to resolve this?

Edited by HenryV
add info
  • Sad 1
Link to comment
Share on other sites

3 hours ago, tonyx86 said:

Without seeing your EFI, I'd guess that you've accidentally mixed OC file versions in your EFI or you're not booting from the EFI that you think you are.

I've just solved my issue and I figured out what I was doing wrong.

It was because I was clearing nvram with: sudo nvram -c
As soon as I used the OC ClearNvram.efi from the Tools, the problem went away

Now I see the correct version (also on Hackintool):
 

nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version

4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version REL-067-2021-03-01


Thank you for your comment, It gave me the push I needed to try one more time.
All the EFI files were correct, I didn't change anything. 

  • Like 2
Link to comment
Share on other sites

8 hours ago, Taruga said:

I've just solved my issue and I figured out what I was doing wrong.

It was because I was clearing nvram with: sudo nvram -c
As soon as I used the OC ClearNvram.efi from the Tools, the problem went away

Now I see the correct version (also on Hackintool):
 

nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version

4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version REL-067-2021-03-01


Thank you for your comment, It gave me the push I needed to try one more time.
All the EFI files were correct, I didn't change anything. 

 

You deserve all the credit for finding your error and correcting it - not me.  The best we can say about my post is that I guessed incorrectly and you found the solution anyway.  Way to persist without giving up!

  • Thanks 1
Link to comment
Share on other sites

Hi guys,

 

Long time since last post. Have issue with black screen after switching from HDMI to DP on a Sapphire 5700 XT Nitro card. HDMI works beautifully.

 

On Catalina 10.15.4. Feel no urgency in upgrading to anything else as works great except for DP support.

 

Any help be appreciated.

 

PS: Running natively. No Whatevergreen or anything like that being loaded I don't think.

 

They exist in my efi kext folder but not referenced in config.plist so I don't suppose they are being loaded.

 

Thanks

Link to comment
Share on other sites

Thanks to 5T33Z0

 

This post solved the missing Big Sur updates issue:

 

EDIT: *According to Dortania's OpenCore install Guide, the csr-value for Big Sur is FF0F0000. But in my and a lot of other people's experiences in the german hackintosh-forum, this value doesn't work correctly, because you won't get any system updates if you use it. According to this discussion, 67080000 is the correct value for Big Sur:

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...