That could be a few things. Could be a cable, could be the port itself, or it could be the TV's hardware/age.
First, look into the specifications that the TV has. Figure out what version of HDMI port it is and see if your settings on your PC are pushing the limits of that HDMI port's capability. If not that, then check not only the quality of the cable, but that the cable's version is high enough as well. You could be knocking on the resolution, the expected FPS for that resolution or any combination of which.
HDMI STANDARD | Bandwidth (up to) | AV Capabilities |
---|
Standard HDMI | 4.95Gbps | 1080p |
High Speed HDMI | 10.2Gbps | 4K24 (4K 24 fps), HDR, wide colour gamuts |
High Speed HDMI with Ethernet | 10.2Gbps | 4K24 (4K 24 fps), HDR, wide colour gamuts, additional Ethernet channel |
Premium High Speed HDMI | 18Gbps | 4K60 (4K at 60 fps), 4:4:4 chroma sampling, 8K at lower frame rates |
Ultra High Speed HDMI | 48Gbps | Uncompressed 8K video - 8K60, 4K120 |
If all that is within parameters, then you could just have a cable too long, a bad hdmi port, or a bad cable. Im just essentially saying that its not the PC's fault.