From: Hillf Danton Subject: Re: gnome-shell stuck because of amdgpu driver [5.3 RC5] Date: Wed, 4 Sep 2019 09:17:16 +0800 Message-ID: <20190904071704.F315489B4D@gabe.freedesktop.org> References: <20190830032948.13516-1-hdanton@sina.com> <5d6e2298.1c69fb81.b5532.8395SMTPIN_ADDED_MISSING@mx.google.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0602678665==" Return-path: In-Reply-To: List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "amd-gfx" To: Daniel Vetter , Mikhail Gavrilov Cc: amd-gfx list , dri-devel , Linux kernel --===============0602678665== Content-Type: multipart/alternative; boundary="_FEA7D873-6F97-49AA-B05D-696E54FDDE7C_" --_FEA7D873-6F97-49AA-B05D-696E54FDDE7C_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Daniel Vetter >> >> Now 11:01pm and "gnome shell stuck warning" not appear since 19:17. So >> looks like issue happens only when computer blocked and monitor in >> power save mode. > > I'd bet on runtime pm or some other power saving feature in amdgpu > shutting the interrupt handling down before we've handled all the > interrupts. That would then result in a stuck fence. > > Do we already know which fence is stuck? It is welcomed to shed a thread of light on how to collect/print that info. Say line:xxx-yyy in path/to/amdgpu/zzz.c Thanks Hillf --_FEA7D873-6F97-49AA-B05D-696E54FDDE7C_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Daniel Vetter <daniel-/w4YWyX8dFk@public.gmane.org>=

>> 

>> Now 11:01pm an= d "gnome shell stuck warning" not appear since 19:17. So

>> looks like issue happens= only when computer blocked and monitor in

<= span lang=3DEN-US>>> power save mode.

= > 

> I'd bet on runtime pm or some other power saving featu= re in amdgpu

> shuttin= g the interrupt handling down before we've handled all the

> interrupts. That would then result i= n a stuck fence.

> 

> Do we = already know which fence is stuck?

 

It is welcomed to shed a thread of light on how to collect/print that in= fo.

Say line:xxx-yyy in p= ath/to/amdgpu/zzz.c

=  

Thanks

Hillf

 <= /o:p>

= --_FEA7D873-6F97-49AA-B05D-696E54FDDE7C_-- --===============0602678665== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYW1kLWdmeCBt YWlsaW5nIGxpc3QKYW1kLWdmeEBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9hbWQtZ2Z4 --===============0602678665==--