I got it to finally work I had the wrong adapter (dvi-d to vga instead of dvi-I) and that was causing the problem. With the dvi-I it works perfectly I’m not sure why the other one doesn’t work as the tv has its own power input obviously
my tv doesn’t actually have a dvi port, only hdmi and vga...