Have you tried with different cable? Did you use the HDMI out before? It might be a faulty cable, it might be a faulty HDMI out (soldering getting just a bit loose), both resulting in intermittent contact errors. Plus try putting it on something stable if you are holding it to prevent the cable from moving even a tiny bit.