Peace be upon you 
I bought a new desktop. My monitor is S22C350H. My Graphics card is R9 270x Hawk.
Problem is:
First I tried VGA cable and it works fine, the problem happens with HDMI cable.
The monitor is turned off and on again (Blinking) for 1 or 2 sec. when I turn the room light on or off or even turn my Speakers on or off.
It's a weird problem. I tried to google it but I got nothing!
So, anyone had this problem?
Or maybe suggest something?

I bought a new desktop. My monitor is S22C350H. My Graphics card is R9 270x Hawk.
Problem is:
First I tried VGA cable and it works fine, the problem happens with HDMI cable.
The monitor is turned off and on again (Blinking) for 1 or 2 sec. when I turn the room light on or off or even turn my Speakers on or off.
It's a weird problem. I tried to google it but I got nothing!
So, anyone had this problem?
Or maybe suggest something?