I am working with a linux laptop. It has an integrated and dedicated gpu, but currently only uses the dedicated nvidia gpu. While I would love to have it dynamically switch between integrated and dedicated, that is a problem for another day.
Sometimes, when I shut the lid and then open it the screen is white with colored blacks scattered throughout. This happens regardless if I logout or put the laptop to sleep.
The solution is to turn the device off and then turn it back on.
Since it is only running on the dedicated gpu, the battery life isn't all that great, but this "feature" means that I have to save everything or pause everything prior to leaving the laptop, which is very inconvenient.
Settings > Details > About
Processor Intel Core i7-7700HQ CPU Graphics GeForce GTX 1070 with MaxQ Design/PCIe/SSE2 GNOME 3.28.2 OS type 64 bit
Software & Updates > Additional Drivers
NVIDIA Corporation: GP104M [GeForce GTX 1070 Mobile] (GeForce GTX 1070 Max-Q) [x] Using NVIDIA driver metapackage from nvidia-driver-415 (open-source) [ ] Using NVIDIA driver metapackage from nvidia-driver-396 (open-source) [ ] Using NVIDIA driver metapackage from nvidia-driver-410 (open-source) [ ] Using X. Org X server - Nouveau display driver from xserver-xorg-video-nouveau (open source)