Bug 89417 - [hsw] Frequent gpu render hang
Summary: [hsw] Frequent gpu render hang
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 21:48 UTC by Colinas Maoling
Modified: 2017-07-24 22:48 UTC (History)
2 users (show)

See Also:
i915 platform: HSW
i915 features: GPU hang


Attachments
dmesg output (63.22 KB, text/plain)
2015-03-03 21:48 UTC, Colinas Maoling
no flags Details
GPU crash dump saved to /sys/class/drm/card0/error (2.66 MB, text/plain)
2015-03-03 21:52 UTC, Colinas Maoling
no flags Details
Xorg.0.log (29.39 KB, text/plain)
2015-03-04 19:33 UTC, Colinas Maoling
no flags Details
dmesg as of 20150306 (60.29 KB, text/plain)
2015-03-07 13:14 UTC, Colinas Maoling
no flags Details
Xorg0 as of 20150304 (5.17 KB, text/plain)
2015-03-07 13:17 UTC, Colinas Maoling
no flags Details
nothing odd here (1.43 KB, text/plain)
2015-03-07 13:28 UTC, Colinas Maoling
no flags Details
log of apt-get xserver-xorg (4.46 KB, text/plain)
2015-03-07 14:01 UTC, Colinas Maoling
no flags Details
dmesg as of 20150307 (60.04 KB, text/plain)
2015-03-07 14:17 UTC, Colinas Maoling
no flags Details
Xorg.log as of 20150307 (27.90 KB, text/plain)
2015-03-07 14:19 UTC, Colinas Maoling
no flags Details
syslog of system boot w/ kernel 3.19 (648.11 KB, text/plain)
2015-03-08 13:02 UTC, Colinas Maoling
no flags Details
dmesg of system boot w/ kernel 3.19 (57.48 KB, text/plain)
2015-03-08 13:03 UTC, Colinas Maoling
no flags Details
updated /sys/class/drm/card0/error w/ kernel 3.19 (397.87 KB, text/plain)
2015-03-14 09:45 UTC, Colinas Maoling
no flags Details

Description Colinas Maoling 2015-03-03 21:48:53 UTC
Created attachment 113964 [details]
dmesg output

Shuttle DS81 barebone died all of a sudden and was replaced by DS81L.
System came up well, but Firefox created intensive CPU usage.
Since reinstall of Firefox I can not get the window manager to run.
System boots, has some glitches on the login screen (user names not displayed).
After Login, Desktop incl. panels appear, but disappear prior the mouse becomes responsive. Desktop files remain.
During my investigations I discovered these erros and were unable to resolve them. I actually downgraded the kernel w/o any change.

I appretiate any hint or solution, this is very strange in my opinion.
Thanks
Comment 1 Colinas Maoling 2015-03-03 21:52:03 UTC
Created attachment 113965 [details]
GPU crash dump saved to /sys/class/drm/card0/error

copy of /sys/class/drm/card0/error
Comment 2 Chris Wilson 2015-03-04 08:29:38 UTC
Please attach your Xorg.0.log.
Comment 3 Colinas Maoling 2015-03-04 19:33:45 UTC
Created attachment 114005 [details]
Xorg.0.log
Comment 4 Chris Wilson 2015-03-04 19:40:19 UTC
I can't remember fixing a hang exactly like this, but it is worth updating xf86-video-intel (the package is called xserver-xorg-video-intel on Ubuntu) to 2.99.917.
Comment 5 Colinas Maoling 2015-03-04 21:29:00 UTC
Hmm. This was a kind of step back.
I only got to 2.99.910 per default under 14.04.
So I resolved the depency and also updated also xserver-xorg-core 2:1.16.1.901 and xserver-common 2:1.16.2.901-1ubuntu4 and got the .917 also from launchpad .
no concerns during the install. I rebootet and do not get login screen any longer. :(
Textconsole works ....
Comment 6 Chris Wilson 2015-03-04 21:48:19 UTC
Hmm. Very bad news. New dmesg and Xorg.0.log?
Comment 7 Colinas Maoling 2015-03-04 22:21:12 UTC
I have recent versions of both on the disk, but have trouble to get them on my smartphone nor do I have a textbased mail tool installed on the barebone. Will need to get another notebook.
FYI. Will be out for two days, so it will be Saturday before I will be able to provide the data....
Any other suggestions in the meanwhile?
Comment 8 Chris Wilson 2015-03-04 22:36:59 UTC
I'd press on figured out what is missing preventing Xorg to load. Or downgrade to the working versions and build xf86-video-intel.git for your system.
Comment 9 Colinas Maoling 2015-03-07 13:14:35 UTC
Created attachment 114108 [details]
dmesg as of 20150306
Comment 10 Colinas Maoling 2015-03-07 13:17:05 UTC
Created attachment 114109 [details]
Xorg0 as of 20150304
Comment 11 Colinas Maoling 2015-03-07 13:28:19 UTC
Created attachment 114110 [details]
nothing odd here
Comment 12 Colinas Maoling 2015-03-07 13:30:15 UTC
Very basic reason identified, why I do not get a login screen:
(lightdm.log)
[+0.03s] DEBUG: Using VT 7
[+0.03s] DEBUG: Seat: Starting local X display on VT 7
[+0.03s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.03s] DEBUG: DisplayServer x-0: Can't launch X server X -core, not found in path
[+0.03s] DEBUG: DisplayServer x-0: X server stopped
[+0.03s] DEBUG: Releasing VT 7
[+0.03s] DEBUG: Seat: Display server stopped
[+0.03s] DEBUG: Seat: Can't create display server for greeter
Comment 13 Colinas Maoling 2015-03-07 13:40:42 UTC
user@ubuntu:/var/log$ X
Die Anwendung »X« ist momentan nicht installiert. Sie können sie durch folgende Eingabe installieren:
sudo apt-get install xserver-xorg
user@ubuntu:/var/log$ sudo apt-get install xserver-xorg
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 xserver-xorg : Hängt ab von: xserver-xorg-input-all (>= 0~) oder
                               xorg-driver-input
                Hängt ab von: xserver-xorg-input-evdev (>= 0~)
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
user@ubuntu:/var/log$
Comment 14 Colinas Maoling 2015-03-07 14:00:30 UTC
Previously I upgraded the packages manually. I now though, I might want to do it differently. So I replaced trusty by vivid in /etc/apt/sources.list 
deb http://extras.ubuntu.com/ubuntu vivid main
I then executed "apt-get install update" followed by sudo apt-get install xserver-xorg
(output attached)

This brings the login screen back. Unfortunally w/ the grafic erros.
I will now continue to reapply the updates towards xserver-xorg-video-intel.
Comment 15 Colinas Maoling 2015-03-07 14:01:11 UTC
Created attachment 114111 [details]
log of apt-get xserver-xorg
Comment 16 Colinas Maoling 2015-03-07 14:17:54 UTC
Created attachment 114112 [details]
dmesg as of 20150307

Holen: 1 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-common all 2:1.16.2.901-1ubuntu4 [28,2 kB]
Holen: 2 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-core i386 2:1.16.2.901-1ubuntu4 [1.402 kB]
Holen: 3 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-r128 i386 6.9.2-1build2 [49,8 kB]
Holen: 4 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-mach64 i386 6.9.4-2 [73,1 kB]
Holen: 5 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-radeon i386 1:7.4.0-2ubuntu2 [127 kB]
Holen: 6 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-ati i386 1:7.4.0-2ubuntu2 [6.932 B]
Holen: 7 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-cirrus i386 1:1.5.2-2build1 [30,5 kB]
Holen: 8 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-fbdev i386 1:0.4.4-1build2 [12,4 kB]
Holen: 9 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-intel i386 2:2.99.917-1~exp1ubuntu2 [732 kB]
Holen: 10 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-mga i386 1:1.6.3-2build1 [67,1 kB]
Holen: 11 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-modesetting i386 0.9.0-1build1 [21,9 kB]
Holen: 12 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-neomagic i386 1:1.2.8-1build2 [30,9 kB]
Holen: 13 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-nouveau i386 1:1.0.11-1ubuntu2 [91,6 kB]
Holen: 14 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-openchrome i386 1:0.3.3-1build2 [147 kB]
Holen: 15 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-savage i386 1:2.3.7-2ubuntu3 [63,8 kB]
Holen: 16 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-siliconmotion i386 1:1.7.7-2build2 [50,4 kB]
Holen: 17 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-sisusb i386 1:0.9.6-2build2 [39,6 kB]
Holen: 18 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-tdfx i386 1:1.4.5-1build2 [31,6 kB]
Holen: 19 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-trident i386 1:1.3.6-0ubuntu6 [53,8 kB]
Holen: 20 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-vesa i386 1:2.3.3-1build2 [15,4 kB]
Holen: 21 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-vmware i386 1:13.1.0-0ubuntu1 [73,0 kB]
Holen: 22 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-all i386 1:7.7+7ubuntu2 [4.338 B]
Holen: 23 http://de.archive.ubuntu.com/ubuntu/ vivid/main xserver-xorg-video-qxl i386 0.1.1-0ubuntu4 [81,7 kB]
Comment 17 Colinas Maoling 2015-03-07 14:19:32 UTC
Created attachment 114113 [details]
Xorg.log as of 20150307
Comment 18 Colinas Maoling 2015-03-07 14:21:19 UTC
Summary:
xserver-xorg-video-intel  : vivid/main xserver-xorg-video-intel i386 2:2.99.917-1~exp1ubuntu2

Login Screen: YES
Graphic errors: YES

:(
Please advise. Thx
Comment 19 Chris Wilson 2015-03-07 15:58:21 UTC
But no gpu hang this time?

Could you please cat /sys/kernel/debug/dri/0/i915_fbc_status
Comment 20 Colinas Maoling 2015-03-07 18:29:15 UTC
Several ring hungs in the syslog

syslog:Mar  7 14:54:20 DS81-4K kernel: [   60.842656] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x5f8d000 ctx 0) at 0x5f8d230
syslog:Mar  7 14:54:27 DS81-4K kernel: [   67.833179] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x5f8d000 ctx 0) at 0x5f8d6c4
syslog:Mar  7 14:54:27 DS81-4K kernel: [   67.833183] [drm:i915_context_is_banned] *ERROR* context hanging too fast, declaring banned!
syslog:Mar  7 15:11:52 DS81-4K kernel: [   58.818536] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x3fe9000 ctx 0) at 0x3fe9230
syslog:Mar  7 15:12:14 DS81-4K kernel: [   80.835964] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x85000 ctx 0) at 0x854a4
syslog:Mar  7 15:12:47 DS81-4K kernel: [  113.855926] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x3fe9000 ctx 0) at 0x3fe9264
syslog:Mar  7 15:12:53 DS81-4K kernel: [  119.848242] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x3fe9000 ctx 0) at 0x3fe9394
syslog:Mar  7 15:12:53 DS81-4K kernel: [  119.856761] [drm:i915_context_is_banned] *ERROR* context hanging too fast, declaring banned!
sy
Comment 21 Colinas Maoling 2015-03-07 18:30:04 UTC
sudo  cat /sys/kernel/debug/dri/0/i915_fbc_status:
FBC unsupported on this chipset
Comment 22 Chris Wilson 2015-03-07 21:03:20 UTC
Hmm, next shot in the dark would be a new kernel. What's the most recent kernel you have available? Hopefully a 3.19. Also at this point I would double check in case there is a BIOS update.
Comment 23 Colinas Maoling 2015-03-08 13:01:39 UTC
kernel update applied: 
Linux DS81-4K 3.19.1-031901-generic #201503080052 SMP Sun Mar 8 01:11:28 UTC 2015 i686 i686 i686 GNU/Linux

So Login Screen w/o Graphic issues.
Login not successfull. The screen/desktop gets scrambled, the syslogs reports hang.
The fan runs high-speed quite often
FYI: There is no new BIOS available for the DS81L. :(

The GPU remains to hung. I will append the syslog next. It is more gabby then before:

Mar  8 13:09:16 DS81-4K kernel: [  217.790004] [drm] stuck on render ring
Mar  8 13:09:16 DS81-4K kernel: [  217.790815] [drm] GPU HANG: ecode 7:0:0x85dfbffa, in compiz [9936], reason: Ring hung, action: reset
[...]
Mar  8 13:09:22 DS81-4K kernel: [  223.760335] drm/i915: Resetting chip after gpu hang
Mar  8 13:09:22 DS81-4K gnome-session[9764]: WARNING: App 'compiz.desktop' exited with code 1
Mar  8 13:09:22 DS81-4K gnome-session[9764]: WARNING: App 'compiz.desktop' respawning too quickly
Mar  8 13:09:22 DS81-4K gnome-session[9764]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Comment 24 Colinas Maoling 2015-03-08 13:02:29 UTC
Created attachment 114133 [details]
syslog of system boot w/ kernel 3.19
Comment 25 Colinas Maoling 2015-03-08 13:03:18 UTC
Created attachment 114134 [details]
dmesg of system boot w/ kernel 3.19
Comment 26 Mika Kuoppala 2015-03-10 15:15:12 UTC
0x03ff5204:      0x7b000005: 3DPRIMITIVE: 
0x03ff5208:      0x0000000f:    rect list sequential
0x03ff520c:      0x00000003:    vertex count
0x03ff5210:      0x00000000:    start vertex
0x03ff5214:      0x00000001:    instance count
0x03ff5218:      0x00000000:    start instance
0x03ff521c:      0x00000000:    index bias
0x03ff5220:      0x7a000002: PIPE_CONTROL
0x03ff5224:      0x00100002:    no write, cs stall, stall at scoreboard, 
0x03ff5228:      0x00000000:    
0x03ff522c:      0x00000000:    
0x03ff5230:      0x782a0000: 3DSTATE_BINDING_TABLE_POINTERS_PS
^^ ACTHD

0x03ff5234:      0x0000ff80:    dword 1
0x03ff5238:      0x7b000005: 3DPRIMITIVE: 
0x03ff523c:      0x0000000f:    rect list sequential
0x03ff5240:      0x00000003:    vertex count
0x03ff5244:      0x00000003:    start vertex
0x03ff5248:      0x00000001:    instance count
0x03ff524c:      0x00000000:    start instance
0x03ff5250:      0x00000000:    index bias
0x03ff5254:      0x05000000: MI_BATCH_BUFFER_END

Chris any ideas?
Comment 27 Chris Wilson 2015-03-10 15:29:38 UTC
(In reply to Mika Kuoppala from comment #26)
> Chris any ideas?

He was using a very old Xorg, hence the request to get an updated version before chasing down that avenue.
Comment 28 Colinas Maoling 2015-03-12 15:09:51 UTC
Anything I can provide to support a further debug? As is my system is currently mostly useless for me to work with.
Thanks for your insights and suppport.
Comment 29 Chris Wilson 2015-03-12 20:52:50 UTC
I notice that we don't have the last error state with uptodate drivers. Could you please attach the current hang?
Comment 30 Colinas Maoling 2015-03-14 09:45:09 UTC
Created attachment 114309 [details]
updated /sys/class/drm/card0/error w/ kernel 3.19

commpressed, because it larger than >3MB as plain text
Comment 31 Colinas Maoling 2015-03-31 20:20:01 UTC
I replaced the i5 CPU and the issue was resolved for now. Sorry, but this seems to be a hardware issue in the end?
Comment 32 Jani Nikula 2016-04-21 12:27:14 UTC
(In reply to Colinas Maoling from comment #31)
> I replaced the i5 CPU and the issue was resolved for now. Sorry, but this
> seems to be a hardware issue in the end?

That's not really conclusive I don't think, but closing anyway. Thanks for the report.


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.