I have at least 30 laptops at my firm which all presenting this problem. we are using Ubuntu 16.04.1, Kernel 4.13.0-38-generic Part of the process installation I'm making for all the laptops includes compiz which I saw in several other questions may cause this, I don't have any laptop without compiz to check this theory.
In addition i have some laptop with GPU but they are also running on the Intel Graphics and use the Invidia only for specific purposes.
The screen can flicker with no action made, it can also happen on the lock screen, usually it happens when connecting the laptop to a docking station.
is there anything you can suggest me to check?