Ah I feel a bit stupid, turns out all I had to do was copy the example config file to ~/.config/compton/compton.conf and change the backend to xrender before changing the line in my .xinitrc to:
compton --config ~/.config/compton/compton.conf -b