GPU Hang [i915 / drm] crashes whole session; triggered by LibreOffice dialog boxes (regression)

Bug #1575301 reported by Adam Colligan
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Low
Unassigned

Bug Description

This behavior began sometime in April 2016 (while using Ubuntu 16.04 Beta 2, Unity) and has continued to the present.

Dialog boxes in LibreOffice (including the automated recovery dialog on LO start) started displaying garbled text and garbled or missing button icons. Interacting with them -- or often even their appearance at all -- causes a rapid crash of the whole graphical session and a free trip back to the login screen. Syslog shows a GPU hang (stuck on render ring).

This is an Intel Core i7-4510U with Haswell-ULT Integrated Graphics Controller (HP Envy x360 convertible laptop).

Before the upgrade from 15.10 to 16.04, I had the xorg-edgers repository enabled and then had used the installation tool from 01.org to install the Intel graphics stack. As part of troubleshooting this, I have removed/purged the 01.org sources/packages/modules as best I could (16.04 not supported) and also disabled the edgers repository. This has not affected the bug.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Tue Apr 26 14:04:07 2016
DistUpgraded: 2016-03-26 18:47:13,658 DEBUG enabling apt cron job
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 fwts-efi-runtime-dkms, 16.03.00, 4.4.0-16-generic, x86_64: installed
 fwts-efi-runtime-dkms, 16.03.00, 4.4.0-18-generic, x86_64: installed
 fwts-efi-runtime-dkms, 16.03.00, 4.4.0-21-generic, x86_64: installed
 vboxhost, 5.0.18, 4.4.0-18-generic, x86_64: installed
 vboxhost, 5.0.18, 4.4.0-21-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics Controller [103c:22d6]
InstallationDate: Installed on 2014-08-10 (625 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Hewlett-Packard HP ENVY 15 x360 PC
PlymouthDebug: Error: [Errno 13] Permission denied: '/var/log/plymouth-debug.log'
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=5ad8035a-f2a4-4334-84d8-e2a8a7396bf8 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: Upgraded to xenial on 2016-03-26 (30 days ago)
dmi.bios.date: 01/19/2015
dmi.bios.vendor: Insyde
dmi.bios.version: F.26
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 22D6
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 89.23
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.26:bd01/19/2015:svnHewlett-Packard:pnHPENVY15x360PC:pvr0974100022405F00000420180:rvnHewlett-Packard:rn22D6:rvr89.23:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP ENVY 15 x360 PC
dmi.product.version: 0974100022405F00000420180
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.12.2+16.04.20160415-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Tue Apr 26 14:02:01 2016
xserver.configfile: default
xserver.errors:
 Failed to load module "intel" (module does not exist, 0)
 Failed to load module "intel" (module does not exist, 0)
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.18.3-1ubuntu2
xserver.video_driver: modeset

Revision history for this message
Adam Colligan (adam-p) wrote :
Adam Colligan (adam-p)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
Titus (titus-deleeuw) wrote :

I am having the same problem if I open a protected Libreoffice Writer document. The system goes back to the login screen as soon as I enter a password.

Revision history for this message
Adam Colligan (adam-p) wrote :

I have now installed kubuntu-desktop and am running LibreOffice (and everything else) in KDE/Plasma. There is still some garbling in some dialog window text, but the GPU hang has not recurred in this Desktop Environment.

Revision history for this message
Cameron Graham (cam-graham) wrote :

Encountering this problem after upgrading from 15.04 to 16.04, via 15.10. Have installed the oibaf nvidia driver with opengl 4.1 support previously after initial upgrade to 16.04, but have since removed it.

Revision history for this message
Bill Eaton (wpeaton4) wrote :

I can confirm this on a fresh install of Lubuntu 16.04 on a relatively new laptop. This bug effectively renders the laptop useless.

Libreoffice crashes X regularly (!) and hence is not usable. When I look at /var/log/syslog the culprit is always something like:

May 9 20:55:54 kermit kernel: [ 46.807723] [drm] GPU HANG: ecode 7:0:0x85fffdfc, in Xorg [812], reason: Ring hung, action: reset
May 9 20:55:54 kermit kernel: [ 46.809807] drm/i915: Resetting chip after gpu hang

This seems to be a well known problem with the i915 driver. I've tried some of the fixes that people suggest (adding various i915 options to grub like i915.enable_rc6=0 i915.semaphores=0 i915.modeset=1 i915.use_mmio_flip=1 i915.enable_ppgtt=1). But so fare nothing works.

Changed in xorg (Ubuntu):
importance: Undecided → Critical
Revision history for this message
penalvch (penalvch) wrote :

Adam Colligan, thank you for reporting this and helping make Ubuntu better.

Could you please provide the full computer model as noted on the sticker of the computer itself (not from the Bug Description)?

Changed in xorg (Ubuntu):
importance: Critical → Low
status: Confirmed → Incomplete
Revision history for this message
Adam Colligan (adam-p) wrote :

This is an HP Envy x360 15-u011dx .

Revision history for this message
Adam Colligan (adam-p) wrote :

Please let me know if there is any further information that can be supplied to re-establish the bug as "confirmed".

Revision history for this message
Adam Colligan (adam-p) wrote :

I am re-marking this "confirmed" as I don't believe there is any requested information outstanding.

Changed in xorg (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Adam Colligan, to clarify, did this issue not occur in a release prior to 16.04 without installing any PPAs or 3rd party packages (i.e. default install)?

tags: added: bios-outdated-f.33
Changed in xorg (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Viril Calimlim (virilc) wrote :

Team,

Installing xserver-xorg-video-intel fixed the issue:

sudo apt-get install xserver-xorg-video-intel

If you have it installed already, try reinstalling it after an upgrade:

sudo apt-get install --reinstall xserver-xorg-video-intel

System Info:

Lenovo T430
Lubuntu 16.04

Error which helped me find out the solution (in /var/log/syslog):

[drm] GPU HANG: ecode 7:0:0x85ffbcfc, in Xorg [872], reason: Ring hung, action: reset

Hope this helps. Cheers!

Revision history for this message
Aki Vehtari (aki-vehtari) wrote :

Installing xserver-xorg-video-intel fixes the crashes, but then the display is not always refreshed properly. This happens most often when changing tabs in Chrome, so that when I change the tab the display is not updated or only partially updated. Thus installing xserver-xorg-video-intel is not a working solution for me.

Revision history for this message
penalvch (penalvch) wrote :

Aki Vehtari, it will help immensely if you filed a new report with Ubuntu by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information running the following from a terminal:
ubuntu-bug xorg

Also, please feel free to subscribe me to it.

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

Revision history for this message
Aki Vehtari (aki-vehtari) wrote :

Christopher: I tried to follow your instructions, but could not figure how to attach the information here. Now the additional information is in https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1620013
Or was this what you wanted?

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

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
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.