Bug 1319002

Summary: System hang on intel HD4000 on plasma 5 desktop
Product: [Fedora] Fedora Reporter: The Source <thesource>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: ajax, andrew, georgmueller, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 19:30:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
DMESG for OOM killer none

Description The Source 2016-03-18 11:46:24 UTC
Description of problem:
Recently I started to have problem with Intel HD4000 graphics (asus n56vb laptop) on plasma 5 desktop (fedora 23). Quite often system completely freezes (cursor does not move, not reaction on any key combinations) and something starts to load hdd a lot. I downgraded xorg-x11-drv-intel from 2.99.917-19.20151206 to 2.99.917-16.20150729 and the problem seem to be gone. I'm not sure how to collect crash information when system is not responding.

Version-Release number of selected component (if applicable):
2.99.917-19.20151206.fc23.x86_64

How reproducible:
often

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Georg Müller 2016-03-24 15:19:20 UTC
I have similar issue with plasma 5, but in my setup, the mouse can still move (but nothing happens if I click something).

This hang is usually for about 30 seconds. After that period, everything is usable again. I don't see a log message in journalctl or dmesg.
"mpstat -P ALL 1" shows that one core, during the hangs, is at 100%, most of the time 95% usr and 5% sys, in one second in the period sys goes up to 55% (with usr having the rest)

I can trigger the issue with various things:
* lock screen (this almost always triggers the bug)
* hover over the previews in the taskbar, especially with konsole and thunderbird
* change volume using hardware keys (the OSD showing the volume control appears, but gets stuck on fade in)

I will try to reset to 2.99.917-16.20150729 and see if the problems disappear.

I am using a dual-display setup with laptop as primary display and an external monitor connected via displayport in dockingstation (Dell Latitude E7440).

Comment 2 Georg Müller 2016-03-24 15:59:32 UTC
Switching back to 2.99.917-16.20150729 solves the issue for me.

Any suggestions on how to further debug this?
I tried to run a perf record while forcing a hang (start record, lock screen, unlock screen, stop record), but the symbols found are not very meaningful.

On the first page of perf report, only Xort and swapper lines are visible.
The top lines are:

* 45% of all samples at symbol 0x0000000000000001 (which sounds like a bug somewhere?)
* 36% at symbol 0x00007f0cdfdf2000 (which is within a map of 1032MB in /proc/PID/maps)
entry from /proc/PID/maps:
7f0cdfdd0000-7f0cdfed8000 rw-p 00000000 00:00 0 

* 30% at symbol 0x0000000001d09e70 (which is an address within the heap of Xorg)
entry from /proc/PID/maps:
01ce2000-02242000 rw-p 00000000 00:00 0                                  [heap]
* 10% at symbol 0xffff80f327c2ec79 (shared object intel_drv.so)

Comment 3 Andrew Hutchings 2016-04-29 06:28:19 UTC
Want to add a 'me too' here. Typically happens for me when the external monitor for my laptop (x220) is asleep.

I accidentally left it doing its thing whilst I was AFK for a few hours and the OOM killer triggered for xorg. The laptop was back at the GDM login screen. I'll attach that shortly.

Comment 4 Andrew Hutchings 2016-04-29 06:29:00 UTC
Created attachment 1152140 [details]
DMESG for OOM killer

Comment 5 Andrew Hutchings 2016-04-29 15:33:40 UTC
confirmed that downgrading to 2.99.917-16.20150729 solved it for me, as did switching to Intel's own xorg-x11-drv-intel-2.99.917-23.intel20154

Comment 6 Fedora End Of Life 2016-11-24 16:07:55 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2016-12-20 19:30:32 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.