I am using Nvidia GT1030 with OBS Studio running Ubuntu 16.04. When trying to record with OBS Studio, the screen is flickering. The same using other recording software - Kazam.
It turned out the Nvidia 384 driver has a bug. To disable OBS Studio flickering go to Nvidia settings - OpenGL settings - uncheck Allow Flipping. Close Nvidia settings.