Have you tried a different cable. If you are using DVI why not try using D-Sub to check it out or whatever fits the bill in your particular installation. Other than that it is most probably the monitor. Test signals are self generated in the monitor so can not always be used to decide if it is faulty in real life. Can you borrow a monitor from a friend and try it out as a means of eliminating it from the problem.
Xiaomi Mi Mix 2 review