Text not rendering correctly after resume from suspend

Bug #1582823 reported by hackel
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Since upgrading to 16.04, I've been experiencing frequent difficulties resuming from suspend, causing text not to be displayed at all, or wrong characters to be displayed. Please see the attached screenshots.

I don't know what part of the system this lies in. It seems to affect all gtk apps at least. Chromium renders just fine when this happens, other than the titlebar. Similarly, Cool Retro Term renders correctly, which obviously doesn't use gtk, while Gnome Terminal and Guake do not.

This suggests it could be related to framebuffer corruption, but this report was made with a much earlier kernel, and I had no such problems under 15.10. http://askubuntu.com/questions/688306/text-missing-garbled-after-laptop-resumes-from-sleep-mode

libgtk-3-0 3.18.9-1ubuntu3
linux-image-4.4.0-22-generic 4.4.0-22.40
xserver-xorg-core 2:1.18.3-1ubuntu2
xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1

lshw -c video
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:30 memory:b2000000-b23fffff memory:a0000000-afffffff ioport:5000(size=64)

dmesg | grep i915
[ 1.383957] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0
[ 1.534467] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 2.718041] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
[ 2.718060] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun
[ 2.733438] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* uncleared fifo underrun on pipe B
[ 2.733460] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
[ 4.137698] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 66.585338] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=4267 end=4268) time 282 us, min 1073, max 1079, scanline start 1059, end 1090
[ 277.577183] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=16480 end=16481) time 363 us, min 894, max 899, scanline start 875, end 900
[ 284.581315] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=16900 end=16901) time 358 us, min 894, max 899, scanline start 891, end 905
[ 300.589410] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=18424 end=18425) time 210 us, min 1073, max 1079, scanline start 1070, end 1084
[ 302.574085] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=18544 end=18545) time 338 us, min 1073, max 1079, scanline start 1061, end 1078
[ 470.560521] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=28707 end=28708) time 301 us, min 1073, max 1079, scanline start 1071, end 1091
[ 595.553386] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=36269 end=36270) time 107 us, min 1073, max 1079, scanline start 1056, end 1083
[ 1043.512803] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=63370 end=63371) time 402 us, min 1073, max 1079, scanline start 1058, end 1084
[ 1106.508551] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe B (start=66184 end=66185) time 424 us, min 894, max 899, scanline start 876, end 895
---
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: hackel 4767 F.... pulseaudio
 /dev/snd/controlC0: hackel 4767 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=74970338-0a72-4e51-8fbf-71e3a0831acb
InstallationDate: Installed on 2014-08-03 (653 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: TOSHIBA Satellite P75-A
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed root=UUID=9b00c4ca-5dfe-4d81-89db-3404d87c8820 ro quiet splash zswap.enabled=1 vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-22-generic N/A
 linux-backports-modules-4.4.0-22-generic N/A
 linux-firmware 1.157
Tags: xenial
Uname: Linux 4.4.0-22-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-04-02 (46 days ago)
UserGroups: adm cdrom dip kvm libvirtd lpadmin plugdev sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 04/18/2014
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.50
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Type2 - Board Product Name1
dmi.board.vendor: Type2 - Board Vendor Name1
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: OEM Chassis Manufacturer
dmi.chassis.version: OEM Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.50:bd04/18/2014:svnTOSHIBA:pnSatelliteP75-A:pvrPSPLNU-04702KB:rvnType2-BoardVendorName1:rnType2-BoardProductName1:rvrType2-BoardVersion:cvnOEMChassisManufacturer:ct10:cvrOEMChassisVersion:
dmi.product.name: Satellite P75-A
dmi.product.version: PSPLNU-04702KB
dmi.sys.vendor: TOSHIBA

Revision history for this message
hackel (hackel) wrote :
Revision history for this message
hackel (hackel) wrote :
Revision history for this message
hackel (hackel) wrote :
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1582823

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
hackel (hackel) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
hackel (hackel) wrote : CRDA.txt

apport information

Revision history for this message
hackel (hackel) wrote : CurrentDmesg.txt

apport information

Revision history for this message
hackel (hackel) wrote : IwConfig.txt

apport information

Revision history for this message
hackel (hackel) wrote : JournalErrors.txt

apport information

Revision history for this message
hackel (hackel) wrote : Lspci.txt

apport information

Revision history for this message
hackel (hackel) wrote : Lsusb.txt

apport information

Revision history for this message
hackel (hackel) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
hackel (hackel) wrote : ProcEnviron.txt

apport information

Revision history for this message
hackel (hackel) wrote : ProcInterrupts.txt

apport information

Revision history for this message
hackel (hackel) wrote : ProcModules.txt

apport information

Revision history for this message
hackel (hackel) wrote : PulseList.txt

apport information

Revision history for this message
hackel (hackel) wrote : RfKill.txt

apport information

Revision history for this message
hackel (hackel) wrote : UdevDb.txt

apport information

Revision history for this message
hackel (hackel) wrote : WifiSyslog.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Bastian (bastiang) wrote :

Changed status to "Confirmed" since hackel seems to have executed the requested "apport-collect".

This bug affects me too. I'm also running the i915 driver:

$ sudo lshw -c video
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:28 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:5000(size=64)

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → High
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → High
Revision history for this message
penalvch (penalvch) wrote :

hackel, as per http://support.toshiba.com/support/modelHome?freeText=1200007479 an update to your computer's buggy, insecure, and outdated BIOS is available (1.60). If you update to this following https://help.ubuntu.com/community/BIOSUpdate does it change anything?

For more on BIOS updates and linux, please see https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette .

Please note your current BIOS is already in the Bug Description, so posting this on the old BIOS would not be helpful.

Also, you don't have to create a new bug report.

Once the BIOS is updated, if the problem is still reproducible:
1) Please provide the output of the following terminal command (not perform an apport-collect):
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
2) Please make a comment specifically advising on if there was an improvement or not.
3) Please mark this report Status Confirmed.

If it's not reproducible, please mark this as Invalid.

Thank you for your understanding.

no longer affects: gtk+3.0 (Ubuntu)
tags: added: bios-outdated-1.60
Changed in linux (Ubuntu):
importance: High → Medium
status: Confirmed → Incomplete
Revision history for this message
Petteri Aimonen (jpa-lp) wrote :

I have the same symptoms on a different laptop (Asus Zenbook UX32VD), and only since 16.04 upgrade.

Some observations:
1) Only seems to affect GTK+ applications. Xterm, Chromium and KDE applications work while e.g. gnome-terminal and gedit are missing characters.

2) I tried "fc-cache -f -r -v" to rebuild font-configs cache, but that didn't help.

3) I found a workaround without reboot: Go to gnome-tweak-tool, open the font change dialog and then select different fonts and adjust the font size slider. The goal is to get a lot of different characters rendering. After you then close the window with "Cancel" the old fonts should reappear.

Seems like some kind of in-RAM glyph cache is getting corrupted by suspend.

Revision history for this message
Petteri Aimonen (jpa-lp) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Petteri Aimonen, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.