I upgraded from Ubuntu 16.04 to 18.04 on a Macbook Air.

I am experiencing strange problems with the screen after upgrade.
It's going black randomly under use. Sometimes it's rare and seem to be working fine and sometimes it's so frequent I can't even use the laptop.
Seem to be occurring mostly when I open pictures from what I have been seeing.