I am using ubuntu 18.04. Everything, including animations was working fine on my ubuntu. Then, I had to blacklist the nouveau driver and install nvidia graphics driver. Ever since then, animations don't work. I tried doing the same thing on a few other systems also, and on all the systems, animations stop working after blacklisting nouveau driver and installing nvidia driver.