• Become a Premium Member for $25/year with no ads to improve your community experience.

Catalina issues Post Install: NVRAM (B360M) and HDMI Sound (5500XT) not working

carloscode

New member
Joined
May 23, 2020
Messages
14
Motherboard
Gigabyte B360M AORUS Gaming 3
CPU
I5-9600kf
Graphics
RX5500XT
OS X/macOS
10.13.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Hey community,

I have Catalina 10.15.4 up and running on the Hackintosh described on my profile.

However, I can't make NVRAM work.

Previously I was also having trouble to make shutdown, reboot and sleep work. However, after adding a patched ACPI SSDT-PMC.aml to my clover patch folder then shutdown, restart and sleep work just fine.

I'm doing this to test NVRAM:

Code:
sudo nvram test=carlos
sudo nvram -p | grep carlos

It works just fine before rebooting / shutdown, I can see the variable set.
After rebooting (or turning on the Mac again), if I look for the variable:

Code:
sudo nvram -p | grep carlos

Then it is not there.
Any suggestions to make NVRAM work on B360M chipset?

Besides that, Catalina detects the HDMI sound output of my Radeon 5500 XT (Navi 10 HDMI Audio) and lists my monitor as one possible Sound output device, as you can see on the images below:

1591550631166.png
1591550652640.png

However, no audio output is really played via HDMI. Just for information, on the same machine, everything works fine on Windows 10.

These are the my Clover boot args:

-v -cdfon slide=0 agdpmod=pikera alcid=1

Any idea what else I could try to make the HDMI Output Audio work?

Here's my EFI folder: https://drive.google.com/file/d/1zRZp7adMLHvkh4EV3RWiB6GMhFA7KRr3/view?usp=sharing
And here's my IOREG log: https://drive.google.com/file/d/1Oky8Fypy8vQEUgLDRgkEml18gLFMHpo_/view?usp=sharing

And I'm also attaching my kextcache output.

Thank you!
 

Attachments

  • kextcache-output.txt
    208.6 KB · Views: 236
Last edited:
-v -cdfon slide=0 agdpmod=pikera alcid=1
Hey community,

I have Catalina 10.15.4 up and running on the Hackintosh described on my profile.

However, I can't make NVRAM work.

Previously I was also having trouble to make shutdown, reboot and sleep work. However, after adding a patched ACPI SSDT-PMC.aml to my clover patch folder then shutdown, restart and sleep work just fine.

I'm doing this to test NVRAM:

Code:
sudo nvram test=carlos
sudo nvram -p | grep carlos

It works just fine before rebooting / shutdown, I can see the variable set.
After rebooting (or turning on the Mac again), if I look for the variable:

Code:
sudo nvram -p | grep carlos

Then it is not there.
Any suggestions to make NVRAM work on B360M chipset?

Besides that, Catalina detects the HDMI sound output of my Radeon 5500 XT (Navi 10 HDMI Audio) and lists my monitor as one possible Sound output device, as you can see on the images below:

View attachment 2517
View attachment 2518

However, no audio output is really played via HDMI. Just for information, on the same machine, everything works fine on Windows 10.

These are the my Clover boot args:

-v -cdfon slide=0 agdpmod=pikera alcid=1

Any idea what else I could try to make the HDMI Output Audio work?

Here's my EFI folder: https://drive.google.com/file/d/1zRZp7adMLHvkh4EV3RWiB6GMhFA7KRr3/view?usp=sharing
And here's my IOREG log: https://drive.google.com/file/d/1Oky8Fypy8vQEUgLDRgkEml18gLFMHpo_/view?usp=sharing

And I'm also attaching my kextcache output.

Thank you!
To obtain a kextcache output, run the following command in the terminal.
Code:
sudo kextcache -i/
Here are few issues.
  • Remove change EC0 to EC rename.
  • Remove change AZAL to HDEF rename.
  • Add HECI and IMEI renames.
  • Uncheck the FixShutDown and FixAirport option.
  • Remove alcid=1 bootarg
  • Add layout ID=99.
  • Uncheck AFGLowPowerState option.
  • The WiFi doesn't needs any ID. It works OOTB.
  • KernelPm is not checked. Check this option.
  • AirportBrcmFixup.kext is not needed.

Hint: To fix NVRAM or sleep/wake issues, add slide=0 in boot arg and also add EmuVariableUefi.efi.
 
To obtain a kextcache output, run the following command in the terminal.
Code:
sudo kextcache -i/

I had added my kextcache output to my initial post, but I'm attaching an updated one here.

I'll add it here again after the updates

  • Remove change EC0 to EC rename.
  • Remove change AZAL to HDEF rename.
  • Uncheck the FixShutDown

Done

  • Add HECI and IMEI renames.

I've added "change HECI to IMEI", now I have the following patches:
1591912169489.png

  • Remove alcid=1 bootarg
  • Uncheck AFGLowPowerState option.

Done

  • KernelPm is not checked. Check this option.

Thins one is interesting. I can't check this box on clover, its not enabled, as you can see here:

1591912780588.png
So what I did was to add it manually to the config.plist fine, the section becomes this:

Code:
  ...
  <key>KernelAndKextPatches</key>
    <dict>
        <key>AppleIntelCPUPM</key>
        <false/>
        <key>AppleRTC</key>
        <true/>
        <key>KernelLapic</key>
        <true/>
        <key>KernelPm</key>
        <true/>
        <key>KextsToPatch</key>
        <array>
        ...

However, every time after booting the OS, the "KernelPm" option gets removed from the config.plist, so it becomes like this after booting:

Code:
  ...
  <key>KernelAndKextPatches</key>
    <dict>
        <key>AppleIntelCPUPM</key>
        <false/>
        <key>AppleRTC</key>
        <true/>
        <key>KernelLapic</key>
        <true/>
        <key>KextsToPatch</key>
        <array>
        ...


Any idea why @EliteMacx86? My clover version is 5118.

  • Uncheck FixAirport option.
  • The WiFi doesn't needs any ID. It works OOTB.
  • AirportBrcmFixup.kext is not needed.

Unfortunately my Broadcom BCM94331 card was not working without the three steps above (neither wifi nor bluetooth). Thats why I had to add them, I explained that on my initial topic (this post: https://www.elitemacx86.com/threads/catalina-installer-wont-boot.549/post-3164)


  • Add layout ID=99.

Similar with this one, layout ID = 99 didn't work, but layout ID = 1 works with my onboard Realtek card.

Hint: To fix NVRAM or sleep/wake issues, add slide=0 in boot arg and also add EmuVariableUefi.efi.

I already had slide=0 on the boot args so I've also added "EmuVariableUefi.efi" but, unfortunately, NVRAM is still not working.

Regarding the NAVI Audio, it works fine when I plug in the monitor using a Display port adapter, but not when I use the HDMI port. If I can't get that working I'll just by a proper DP -> HDMI adapter that supports 4k@60hz, because mine doesn't.


So, TL;DR:

- NVRAM is still not working (even after adding EmuVariableUefi.efi to the folder EFI/CLOVER/DRIVERS/UEFI)
- NAVI HDMI Audio output is not working.

Here's a link to my up-to-date EFI folder: https://drive.google.com/file/d/1lZrTomqOD3HPQWatuq8XRgt4yr74iDcp/view?usp=sharing

I'm attaching the updated kextcache output too.
 

Attachments

  • 2020-06-11-kextcache.txt
    417.1 KB · Views: 352
I had added my kextcache output to my initial post, but I'm attaching an updated one here.

I'll add it here again after the updates
The command is "sudo kextcache -i/". Not "sudo kextcache -verbose 6 -i /".

Access is denied for the files on Google Drive. Check it.
 

Attachments

  • 2020-06-14-kextcache.txt
    208.6 KB · Views: 304

Trending Threads

Latest posts

Forum statistics

Threads
1,453
Messages
13,790
Members
20,613
Latest member
wayne910094