Running a custom HTPC with:
Intel i5 3750 (Ivy Bridge) with HD 4000 graphics.
ASRock Z77 Pro4-M Motherboard
When the system is up and running, I'm able to connect an HDMI cable and successfully deliver audio to the HDMI device without incident. The Output tab under Sound Settings allows me to select between 5.1 an 2 channel audio modes.
When I resume from suspend, audio is gone, but everything appears to be the same under Sound Settings.
When I reboot the system, the mode options are no longer available and audio is broken. I've discovered that disconnecting the cable, rebooting the system, and connecting the HDMI cable to a running system will allow me to resume sending audio over HDMI. But as always, audio is lost with reboot or wake from suspend.
What can I do to fix it?