After experiencing the flicker problem on my surface pro 4 for about 5 months and trying all the posted solutions to no avail I moved my surface from one room to another requiring me to plug the power pack into a different power source which had no other devices plugged into the same power board  (potential interference problem)  and to my surprise  the problem was gone