Gnome-shell composition problem.

I’m using GTX 660 with proprietary driver 387.34, openSUSE Tumbleweed with Linux 4.14.8, Gnome 3.26.2.
The problem is that screen animations and text scrolling are not smooth, has low frame rate, but browser profiling shows normal frame rate.
Restarting gnome-shell (alt-f2, ‘r’) temporary fixes the problem.
Full screen apps are not affected.