Solution 1:

I managed to solve my issue by using workaround described here:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1510970

to disable SNA.

I created /usr/share/X11/xorg.conf.d/20-intel.conf file with the following content:

Section "Device"
 Identifier "Card0"
 Driver "Intel"
 Option "AccelMethod" "uxa"
EndSection