Screen goes black when I play animation

Found a solution!

Go to: Setings => Configure Krita => Display=> Canvas Acceleration
And change Scaling Mode from Bilinear Filtering to High Quality Filtering or Trilinear Filtering.

Worked for me!