Bug 91495

Summary: Periodically video will freeze for no specific reason. Sometimes putting '[drm:i915_hangcheck_elapsed [i915]] *ERROR* Hangcheck timer elapsed... render ring idle' in syslog
Product: DRI Reporter: Chris <cpollock>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: cpollock, intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: G45 i915 features:
Attachments:
Description Flags
Xorg GDB backtrace output
none
Gnome-Shell GDB backtrace output
none
Output of xrandr --verbose (not sure if necessary)
none
Xorg.0.log after reboot to show drivers versions.
none
kern.log from 24 Aug 2015 freeze
none
syslog from 24 Aug 2015 freeze
none
Xorg.0.log from 24 Aug freeze
none
dmesg from video freeze on 1 June 2016
none
Entries in syslog after adding GRUB_CMDLINE_LINUX_DEFAULT="drm.debug=14 plymouth:debug" none

Description Chris 2015-07-28 21:46:30 UTC
Created attachment 117428 [details]
Xorg GDB backtrace output

Video will freeze for no specific reason and an no particular time interval. Although it does seem to happen most often when using Facebook or Twitter with Firefox the freeze today was when I was going to print a webpage from within Firefox. When the freeze happens all other background processes such as Fetchmail, Procmail, Postfix and others operate as normal. The freeze today took place at 15:36:03 CDT and I've noticed in my Syslog that at 16:02:28 there was this entry:

Jul 28 16:02:28 localhost kernel: [793861.820048] [drm:i915_hangcheck_elapsed [i915]] *ERROR* Hangcheck timer elapsed... render ring idle

I was able to SSH into the desktop via my tablet and did a reboot from there at 16:10. Running 'cat /sys/class/drm/card0/error showed an output of "no error state collected".

System Info:

Ubuntu 14.04.2 LTS
Dell Optiplex 780
Kernel 4.0.0-997-generic

I'm also attaching the GDB output of 'backtrace full' for Xorg and Gnome-Shell
Comment 1 Chris 2015-07-28 21:47:45 UTC
Created attachment 117429 [details]
Gnome-Shell GDB backtrace output
Comment 2 Chris 2015-07-28 21:51:33 UTC
Created attachment 117430 [details]
Output of xrandr --verbose (not sure if necessary)

Not sure if this is a necessary attachment but I ran it anyway. Anything to help diagnose this issue.
Comment 3 Chris 2015-07-28 22:20:50 UTC
Created attachment 117431 [details]
Xorg.0.log after reboot to show drivers versions.
Comment 4 Chris 2015-08-25 01:06:14 UTC
This is getting frustrating to say the least. I don't seem to be getting any assistance from anyone on what to do to try and solve this. I had another freeze this afternoon 08/24/2015 after being up for 5d 12h 3m. The system froze while I was using Firefox this time in Twitter. The freeze happened at 17:45:23. I've noted this time since I've attached the syslog up until my reboot this evening. I SSH'd into the desktop via my tablet. I ran cat /sys/class/drm/card0/error and it returned 'No error state collected'. I then ran cat /sys/kernel/debug/dri/0/i915_swizzle_info and it returned:

bit6 swizzle for X-tiling = none
bit6 swizzle for Y-tiling = none
DDC = 0x00200010
DDC2 = 0x00300030
C0DRB3 = 0x0030
C1DRB3 = 0x0010

I've attached the kern.log and syslog. Again I'd really appreciate some kind of help on solving this issue whether it's going to a newer kernel than 4.0.0-997-generic #201503310205 SMP Tue Mar 31 02:07:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Comment 5 Chris 2015-08-25 01:09:19 UTC
Created attachment 117900 [details]
kern.log from 24 Aug 2015 freeze
Comment 6 Chris 2015-08-25 01:10:17 UTC
Created attachment 117901 [details]
syslog from 24 Aug 2015 freeze
Comment 7 Chris 2015-08-25 01:11:13 UTC
Created attachment 117902 [details]
Xorg.0.log from 24 Aug freeze
Comment 8 Yichao Zhou 2015-10-29 22:15:49 UTC
Maybe this is related:
https://bugs.freedesktop.org/show_bug.cgi?id=90155
Comment 9 Chris 2016-06-03 14:03:50 UTC
Video froze on 1 June, no errors in syslog, such as 'hangcheck...', that I could see. Mouse cursor would move normally however no applications could be opened. Clock is frozen at the time of the freeze. Applications such as Fetchmail, Procmail and Postfix continue to run as normal. I'm currently running kernel 4.6.0-997-generic #201605222202 SMP Mon May 23 02:03:57 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux which I installed prior to this freeze. I'm attaching two files. 1. The dmesg output after the freeze, before the reboot.
2. Entries in my syslog possibly dealing with this, I don't know for sure. The file name is SRWatermark.txt

This line was added to my /etc/default/grub on 23 May - GRUB_CMDLINE_LINUX_DEFAULT="drm.debug=14 plymouth:debug"
Comment 10 Chris 2016-06-03 14:06:19 UTC
Created attachment 124302 [details]
dmesg from video freeze on 1 June 2016
Comment 11 Chris 2016-06-03 14:08:27 UTC
Created attachment 124303 [details]
Entries in syslog after adding GRUB_CMDLINE_LINUX_DEFAULT="drm.debug=14 plymouth:debug"
Comment 12 Elizabeth 2017-07-28 22:10:20 UTC
Hello Chris,
Sorry for all the time this have been unattended, is really hard to work on this kind of bugs without error states logs. I can see that the latest kernel reported was 4.6 and lots of changes have been made since then. Is this problem still reproducible with the latest kernel versions?
https://www.kernel.org/
Thank you.
Comment 13 Chris 2017-07-28 22:25:54 UTC
Hi Elizabeth, no, I haven't seen this issue in ages. I should have probably have added a comment to this bug to that effect but I totally forgot. Currently I'm running - 4.4.0-87-generic #110-Ubuntu SMP. I'd consider it closed if you wish.
Comment 14 Elizabeth 2017-07-31 22:53:48 UTC
(In reply to Chris from comment #13)
> Hi Elizabeth, no, I haven't seen this issue in ages. I should have probably
> have added a comment to this bug to that effect but I totally forgot.
> Currently I'm running - 4.4.0-87-generic #110-Ubuntu SMP. I'd consider it
> closed if you wish.
Thank you for the feedback Chris.
Then I'll proceed to close this bug.
Good day :)

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.