Ubuntu – Text missing / garbled after laptop resumes from sleep mode

hibernatesuspend

I am on the Thinkpad T450s. I'm on Ubuntu version 15.10 and kernel version 3.19.0-15-generic.

Everything works great except the following issue. Each time I re-open the lid of the laptop after it has been shut (i.e. after it resumes from sleep mode), Ubuntu is completely unusable. Text rarely renders, most UI elements are missing the text, and even if any text is present, it's usually garbled with strange characters. I'm not even able to type in the terminal. The only solution has been to restart which fixes everything, only for me to shut the lid again. This happens reliably, every time the lid is shut. I use two different window managers, the default Unity (Desktop Environment) and also Awesome-WM. The error happens with both these WMs. See the two screenshots below which show gmail.com and google.com in firefox after this issue.

Any ideas how I should go about debugging this issue?

Here is the output from lshw -c video

  description: VGA compatible controller
   product: Broadwell-U Integrated Graphics
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 09
   width: 64 bits
   clock: 33MHz
   capabilities: vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:47 memory:e0000000-e0ffffff memory:d0000000-dfffffff ioport:3000(size=64)


Best Answer

You are probably experiencing a bug related to framebuffer memory corruption due to improperly marking particular portions for saving/restoring.

See this discussion. Sadly the best resolution is to try a different kernel.

I have not experienced it on 4.2, but it's a serious bug on 4.4.

Maybe try a stable kernel. (Such as the 3.2 for Debian, which is the base for precise: http://kernel.ubuntu.com/~kernel-ppa/mainline/)

Related Question