I built a MiSTer Multisystem recently and after a few initial problems everything seemed to be working ok. I had the MMS and my PC connected to the same monitor, PC via DVI and MMS through VGA. So no problems, I just switched between the 2 inputs direct from my monitor and had a really, really cheap 2 device KVM switch managing the keyboard and mouse and everything was fine. I just had the mild annoyance of having to unplug / plug my headphones between the PC and MMS when switching systems.
As I'm going to add a 3rd system to my setup shortly I decided to upgrade the KVM switch to a 4 input device version with audio and get rid of the headphone hassle. And that's when I hit my problem. I get no audio from the MMS through the KVM switch. Everything PC side works as it should, but if I have dvi_mode=1 set I get a HDMI picture but no sound, which of course you wouldn't as dvi mode doesn't deliver sound via the HDMI. The confusing part is when I set dvi_mode=0 I get no HDMI picture at all. Not only that, but as I still have the VGA cable connected and switch to VGA on my monitor, I do have a picture, but I still have no sound. So it seems like if I set dvi_mode=0 I get nothing at all down the HDMI cable...no picture and no sound.
It has occurred to me that it could be a hardware fault with my Multisystem but before I start messing with the HDMI connector I thought I'd better check if there was perhaps a simpler problem to do with ini settings that I'm missing? And if it is a hardware fault, why would it output an image when dvi_mode is set to 1, but not zero?