My dotfiles. Here.
Mine is just a tweaked version of this 2013 compton config; adaped for use with picom in 2020, with all deprecated options replaced with their successors. Config is oriented toward tear free experience.
There is X11 option for Intel cards to use in adition to the compositor:
# /etc/X11/xorg.conf.d/20-intel.conf Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TearFree" "true" EndSection
Currently, picom is incompatible with xsetroot’s -solid option, a workaround is to use hsetroot to set the background color:
$ hsetroot -solid '#000000'