From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92544] Tonga fails second resume from mem sleep. Date: Mon, 19 Oct 2015 18:55:39 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0362047959==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A983C6EAA8 for ; Mon, 19 Oct 2015 11:55:39 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0362047959== Content-Type: multipart/alternative; boundary="1445280939.E07F20.10573"; charset="UTF-8" --1445280939.E07F20.10573 Date: Mon, 19 Oct 2015 18:55:39 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92544 Bug ID: 92544 Summary: Tonga fails second resume from mem sleep. Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: adf.lists@gmail.com R9285 resumes OK after doing echo mem >/sys/power/state, but will not sleep/resume a second time. Tested with a few kernels 4.4 wip 4.3 and 4.2. Nothing is logged in dmesg for 4.4 and 4.3 X bails after some time with - [ 29371.315] (EE) Backtrace: [ 29371.326] (EE) 0: /usr/bin/X (xorg_backtrace+0x49) [0x584559] [ 29371.326] (EE) 1: /usr/bin/X (0x400000+0x188459) [0x588459] [ 29371.326] (EE) 2: /lib/libpthread.so.0 (0x7f74cfb8a000+0xf2a0) [0x7f74cfb992a0] [ 29371.326] (EE) 3: /lib/libc.so.6 (0x7f74ce1cb000+0x8a7e7) [0x7f74ce2557e7] [ 29371.327] (EE) 4: /usr/lib/xorg/modules/libglamoregl.so (0x7f74cdd80000+0x196ab) [0x7f74cdd996ab] [ 29371.327] (EE) 5: /usr/bin/X (0x400000+0x111a9f) [0x511a9f] [ 29371.327] (EE) 6: /usr/bin/X (miPaintWindow+0x20c) [0x56802c] [ 29371.327] (EE) 7: /usr/bin/X (miHandleValidateExposures+0x47) [0x57c767] [ 29371.327] (EE) 8: /usr/bin/X (SetRootClip+0x2b5) [0x465905] [ 29371.327] (EE) 9: /usr/bin/X (0x400000+0xb81d2) [0x4b81d2] [ 29371.327] (EE) 10: /usr/bin/X (xf86VTEnter+0x12b) [0x47420b] [ 29371.327] (EE) 11: /usr/bin/X (WakeupHandler+0x6b) [0x43b59b] [ 29371.327] (EE) 12: /usr/bin/X (WaitForSomething+0x1ba) [0x58173a] [ 29371.327] (EE) 13: /usr/bin/X (0x400000+0x3699e) [0x43699e] [ 29371.328] (EE) 14: /usr/bin/X (0x400000+0x3aacb) [0x43aacb] [ 29371.328] (EE) 15: /lib/libc.so.6 (__libc_start_main+0xed) [0x7f74ce1ec36d] [ 29371.328] (EE) 16: /usr/bin/X (0x400000+0x262a1) [0x4262a1] [ 29371.328] (EE) [ 29371.328] (EE) Bus error at address 0x7f74c7003320 [ 29371.328] (EE) Fatal server error: [ 29371.328] (EE) Caught signal 7 (Bus error). Server aborting fbcon is still functional at this point but trying again to startx will hang, last lines of xorg log = [ 10618.330] (II) Loading sub module "dri2" [ 10618.330] (II) LoadModule: "dri2" [ 10618.330] (II) Module "dri2" already built-in On 4.2 I see logged at this point lots of - GPU lockup (current fence id 0x0000000000000147 last fence id 0x0000000000000148 on ring 0) ring 0 stalled for more than 61125msec Waiting with 4.3 or 4.4 does not produce a hung task backtrace. -- You are receiving this mail because: You are the assignee for the bug. --1445280939.E07F20.10573 Date: Mon, 19 Oct 2015 18:55:39 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 92544
Summary Tonga fails second resume from mem sleep.
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter adf.lists@gmail.com

R9285 resumes OK after doing echo mem >/sys/power/state, but will not
sleep/resume  a second time.

Tested with a few kernels 4.4 wip 4.3 and 4.2.

Nothing is logged in dmesg for 4.4 and 4.3 X bails after some time with -

[ 29371.315] (EE) Backtrace:
[ 29371.326] (EE) 0: /usr/bin/X (xorg_backtrace+0x49) [0x584559]
[ 29371.326] (EE) 1: /usr/bin/X (0x400000+0x188459) [0x588459]
[ 29371.326] (EE) 2: /lib/libpthread.so.0 (0x7f74cfb8a000+0xf2a0)
[0x7f74cfb992a0]
[ 29371.326] (EE) 3: /lib/libc.so.6 (0x7f74ce1cb000+0x8a7e7) [0x7f74ce2557e7]
[ 29371.327] (EE) 4: /usr/lib/xorg/modules/libglamoregl.so
(0x7f74cdd80000+0x196ab) [0x7f74cdd996ab]
[ 29371.327] (EE) 5: /usr/bin/X (0x400000+0x111a9f) [0x511a9f]
[ 29371.327] (EE) 6: /usr/bin/X (miPaintWindow+0x20c) [0x56802c]
[ 29371.327] (EE) 7: /usr/bin/X (miHandleValidateExposures+0x47) [0x57c767]
[ 29371.327] (EE) 8: /usr/bin/X (SetRootClip+0x2b5) [0x465905]
[ 29371.327] (EE) 9: /usr/bin/X (0x400000+0xb81d2) [0x4b81d2]
[ 29371.327] (EE) 10: /usr/bin/X (xf86VTEnter+0x12b) [0x47420b]
[ 29371.327] (EE) 11: /usr/bin/X (WakeupHandler+0x6b) [0x43b59b]
[ 29371.327] (EE) 12: /usr/bin/X (WaitForSomething+0x1ba) [0x58173a]
[ 29371.327] (EE) 13: /usr/bin/X (0x400000+0x3699e) [0x43699e]
[ 29371.328] (EE) 14: /usr/bin/X (0x400000+0x3aacb) [0x43aacb]
[ 29371.328] (EE) 15: /lib/libc.so.6 (__libc_start_main+0xed) [0x7f74ce1ec36d]
[ 29371.328] (EE) 16: /usr/bin/X (0x400000+0x262a1) [0x4262a1]
[ 29371.328] (EE) 
[ 29371.328] (EE) Bus error at address 0x7f74c7003320
[ 29371.328] (EE) 
Fatal server error:
[ 29371.328] (EE) Caught signal 7 (Bus error). Server aborting


fbcon is still functional at this point but trying again to startx will hang,
last lines of xorg log =

[ 10618.330] (II) Loading sub module "dri2"
[ 10618.330] (II) LoadModule: "dri2"
[ 10618.330] (II) Module "dri2" already built-in

On 4.2 I see logged at this point lots of -

GPU lockup (current fence id 0x0000000000000147 last fence id
0x0000000000000148 on ring 0)
ring 0 stalled for more than 61125msec

Waiting with 4.3 or 4.4 does not produce a hung task backtrace.


You are receiving this mail because:
  • You are the assignee for the bug.
--1445280939.E07F20.10573-- --===============0362047959== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0362047959==--