Bug 65433

Summary: Font corruption after suspend or hibernate
Product: xorg Reporter: João M. S. Silva <joao.m.santos.silva>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Font corruption example.
none
Xorg log file.
none
Libreoffice writer corruption. none

Description João M. S. Silva 2013-06-05 21:52:04 UTC
Created attachment 80370 [details]
Font corruption example.

After resuming from suspend or hibernate, some characters in some font instances do not display correctly. They seem to have some pixels missing.

This bug seems to have been greatly mitigated by the update I made today with intel-linux-graphics-installer (excerpt from yum.log):

Jun 05 20:19:35 Installed: libva-utils-1.1.1-2.fc18.i686
Jun 05 20:19:38 Installed: mesa-libOSMesa-9.2-0.7.20130528.fc18.i686
Jun 05 20:19:39 Installed: mesa-libGLES-9.2-0.7.20130528.fc18.i686

but the corrupted characters are still there in some cases (see "S" from "COMPOSE" in the attached picture).

Graphics card:

[    23.797] (--) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
Comment 1 Chris Wilson 2013-06-05 22:03:44 UTC
Can you attach you Xorg.0.log so that I have a better picture of your hardware and software configuration? Do you have any larger scale examples of corruption? In which applications do you see the corruption?
Comment 2 João M. S. Silva 2013-06-05 22:06:32 UTC
Created attachment 80371 [details]
Xorg log file.
Comment 3 João M. S. Silva 2013-06-05 22:29:14 UTC
I also had this problem with Linux distros other than Fedora. I once saw a bug for this in freedesktop, but I can't seem to find it. I also saw it reported in the distros' bug tracker systems (at least Ubuntu and Fedora), in which they were handling it upstream (to freedesktop?).

I see the problem in firefox and MATE terminal (in MATE terminal it seems to be the 0's). For instance, in Firefox window viewing http://www.freedesktop.org/wiki/, the corruption is only in the S's of Software and Standards, so it seems to show in some characters of some font sizes.

I also saw it when launching thunderbird and he asked me about what plugins to update (it was a K which rendered improperly). But in the normal view of thunderbird there seems to be no corruption.

I now tried several other applications without noticing any corruption.

Before the update I referred to, the corruption was much more frequent. I installed intel-linux-graphics-installer a few weeks ago hoping to get an update which would correct this (this bug has more than 2 years), but only today I was able to run the tool, since I found out googling that I had to manually install the repo before running the tool otherwise it would fail to setup the repo).
Comment 4 Chris Wilson 2013-06-05 22:45:28 UTC
Thanks, I now know which bug it is.I was wary in case we had a swizzling corruption bug, which is easy to hit across resume (as all GPU memory needs to relinquished and reloaded again after the resume).

*** This bug has been marked as a duplicate of bug 36326 ***
Comment 5 João M. S. Silva 2013-06-05 22:51:39 UTC
Thanks. So it is expected that this libva/mesa updates mitigates the problem?

I just experimented pasting the text from the front page of http://www.freedesktop.org/wiki/ into libreoffice writer. In libreoffice the S's are OK, but not the G's and g's (as shown in the attachment I will upload).
Comment 6 João M. S. Silva 2013-06-05 22:52:15 UTC
Created attachment 80373 [details]
Libreoffice writer corruption.
Comment 7 João M. S. Silva 2013-06-06 11:50:16 UTC
I just resumed from hibernation and the corrupted characters changed again.
Comment 8 João M. S. Silva 2013-07-22 13:48:19 UTC
I have removed xorg-x11-drv-intel thinking it would fall back to xorg-x11-drv-vesa but it seems to have fallen back to i915 from the kernel. Is this correct?

Anyway, the font corruption issue disappeared.

What is the difference between using the driver from xorg-x11-drv-intel and the one from the kernel?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.