Then, ensure your AppleALC.kext is updated. You may also need to add alcdelay=1000 to your boot-args to force macOS to wait for the HDMI audio chip to initialize.
(Pci path varies by card – use Hackintool to locate GPU audio device)
(String) to both your Graphics card and its associated Audio device. AppleALC Layout IDs
Sometimes, a simple flag in your NVRAM settings can bypass complex patching. Try adding these to your boot-args :