It's me again. :-/ My NUC is still giving me grief—now it's refusing to sleep reliably.
So, I'm still at the stage after having gotten rid of FakePCIID.kext and FakePCIID_Intel_HDMI_Audio.kext and having installed a modified AppleALC.kext.
At first there was no digital audio to be found, but after having used the NUC for a while (with my Soundblaster sound card still in use) and a couple of reboots, there is suddenly a digital DisplayPort option in the sound output preferences and… it even works.
I do not have the slightest clue as to why this took so long to appear. I don't remember changing anything else system-wise which might have triggered this change. It's bizarre.
Unfortunately a new problem did arise (seemingly alongside this change): My NUC's sleep doesn't work reliably anymore.
Sometimes the NUC ignores sleep commands completely and nothing happens at all, sometimes it goes to sleep for a second, only to wake up again immediately.
I looked at the system.log file, but can't see much there that would give me a clue. My energy saver settings do also look a bit weird: There is only a time slider for the display, not for the Mac itself (see attached screenshot). Though it looked like that from the beginning, sleep used to work before regardless. Unfortunately, not anymore and I have no idea why.
Here is an excerpt of the system.log from two failed sleep attempts (in quick succession) prior today:
Dec 8 11:21:12 --- last message repeated 1 time ---
Dec 8 11:21:12 Viz0r Shimo[277]: No write key
Dec 8 11:21:14 Viz0r com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Dec 8 11:21:33 Viz0r Spotlight[272]: assertion failed: 18G1012: libxpc.dylib + 90677 [7DEE2300-6D8E-3C00-9C63-E3E80D56B0C4]: 0x89
Dec 8 11:21:42 Viz0r Shimo[277]: No write key
Dec 8 11:22:00 Viz0r Shimo[277]: System is going into sleep mode -> disconnecting accounts, if any
Dec 8 11:22:02 Viz0r com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.user.501): Service "com.apple.xpc.launchd.unmanaged.loginwindow.88" tried to register for endpoint "com.apple.tsm.uiserver" already registered by owner: com.apple.SystemUIServer.agent
Dec 8 11:22:12 --- last message repeated 1 time ---
Dec 8 11:22:12 Viz0r Shimo[277]: No write key
Dec 8 11:22:27 Viz0r com.apple.xpc.launchd[1] (com.apple.sandboxd[449]): Service exited due to SIGALRM | sent by kernel_task[0]
Dec 8 11:22:28 Viz0r Shimo[277]: Shimo detected a change of network configurations.
Dec 8 11:22:30 Viz0r Shimo[277]: System is waking from sleep -> reconnecting sleeping accounts in 2.000000 seconds
Dec 8 11:22:31 Viz0r timed[77]: settimeofday({0x5deccee7,0xd26b3}) == 0
Dec 8 11:22:31 Viz0r Gamma Control[297]: *** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray
Dec 8 11:22:32 Viz0r com.apple.xpc.launchd[1] (com.apple.preference.displays.MirrorDisplays): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
Dec 8 11:22:35 Viz0r xpcproxy[638]: libcoreservices: _dirhelper_userdir: 529: bootstrap_look_up returned (ipc/send) invalid destination port
Dec 8 11:22:46 Viz0r Shimo[277]: No write key
Dec 8 11:22:47 Viz0r diagnosticd[644]: Posting empty stream filter
Dec 8 11:22:47 Viz0r diagnosticd[644]: no EOS device present
Dec 8 11:22:47 Viz0r diagnosticd[644]: allowing Console (642) access to stream due to admin status
Dec 8 11:22:47 Viz0r diagnosticd[644]: Posting stream filter: "{
global = 30064771083;
}"
Dec 8 11:22:47 Viz0r diagnosticd[644]: System mode client started - Console (642) - mode: 0xb, filter: "<empty>"
Dec 8 11:22:50 Viz0r com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit