Lines on late 2012 Mac mini. Vertical and horizontal comes and goes. Have a Dell 2713HM connected through a display port from the thunderbolt. Is it the gpu of the monitor?
Have you by any chance replaced the RAM DIMMs in the Mini?
If so, do you still have the originals?
If you swap back to the original RAM, does this problem still occur?