Works well when running a compositor: sudo apt install compton compton --backend glx --paint-on-overlay