There are known issues with Open GL in After Effects, particularly in recent versions. You can check that you have the latest drivers for Nvidia and CUDA drivers but TBH it may not fix the issue.
If you can't get it working, try changing your project settings to "Render Software only". This removes the hardware acceleration temporarily while you file it as a bug and chat to Adobe to see if they have any fix on the cards.
A
Anonymous
July 12, 2019
All the latest drivers are installed, but as soon as the moment comes with the s_blurmocurves (Shift Y) effect, it is a black screen and an error. And how to enable Render Software only. "