Flickering issue with GeForce 840M gpu

Hello Nvidia team,
I am working at opengl (vbo based) application with cuda. I am getting flickering issue when initializing the cuda instance into that application, the header (title bar) is flickering.
graphics details:

when I am am trying the same application at Quadro gpu, its working fine without any flickering.
Please guide me about this issue