Here’s what worked for me.
I owe a lot of it to pwjamro’s recommendations.
1.
Enable Digital Audio (S/PDIF) in your volume control options.
2.
Connect your HDMI
from your computer to your TV’s HDMI/DVI input port.
3.
Set your TV input to HDMI/DVI input.
You won’t have sound yet.
4.
Turn off your TV, and turn off your computer.
5.
Turn on your computer first and your TV second. Wait for your computer to boot before turning on your TV.
If you get sound out of your computer when it boots, something is still not right.
If you got it working, your computer sound should be dead audiowise.
Even your headphones shouldn’t be working. All audio should be going to the HDMI port.
If it’s not working yet, try setting Digital Audio as your default, although this shouldn’t be necessary.
Unplug headphones and all other non-HDMI output from your computer.
Reboot your computer. If sound comes out of your computer on reboot, it’s still not working.
Keep playing around with sound options.
6.
Boot sequence is critical.
Computer first. TV second.
7.
When you get to the point where computer sound is disabled.
Turn on your TV. It will be working.
I just kept playing around with my computer sound options.
The all of a sudden, presto! It was working. I was ready to throw the TV and the computer out of the window.
Once you get the TV sound working, you can use the TV audio output and connect it to your PC gaming speakers for awesome sound.