Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2466636ybe; Tue, 3 Sep 2019 13:20:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDylIXJNYqUxO3xgKy+InI33ChpV35SLyKQqXEWkPumcY9nCgmIUsQRLalLr+mySB9GcSF X-Received: by 2002:a63:cb4b:: with SMTP id m11mr32709773pgi.49.1567542016362; Tue, 03 Sep 2019 13:20:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567542016; cv=none; d=google.com; s=arc-20160816; b=Jo+EG3leE1wloJ9ciD9nFC7tfDjhaurVrpjtnHg4rvYTfPBChnl1wzlMiarCaSn37q 3QfYGT/v3XkKauGq7wofAHzmiQ1a7AUGO9LHMACqY/EUUny7orZfLsa0kLid1B2bgyHn ClEtUE8kmKrRCZlYO0xFKk09dMPXFnDZFsgkBPZkBsui9HI0lRkvXsBQ9VFWiQgDOTAV 7QxNOG89L3sMBmTWADUnDTqboLNyFRZTts7E/BNTvlMcIvwnf1vXFt1yqTzY/d0MD9q4 M4uqwigtEDYPx7pekr6d8pnh8xAVUOjX56vtiwLSr51zeALkaTws6wh+j9H/jNbiyFfP 4I8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pQDe8GS2DK5QAF5G4mPztvXfIYARywD4cCZcsg+EDeg=; b=SJSpAIUZGvMuYKaKlA4B8ShQQtPjxCSgqgwNXJVUq3fVuQtILDdJsicidTKfI0DbYK 8Dx72u0PIvx3fWZsNpTkuef5zsBHF5DTq+SK86TkgHTo+myMxTiwZW6sf3esr/iSH1Yi rDok1FJeoF0iKnn8MnuFSbbGDvUpHrVn5VXZlwuL2DEwj0FqBqdpkuBimpXhWzYJCHnh l56J233xRUYnTwcMZzmvHny9kKhs7WDh/6bK4wUziomqN4VGHwUECUu9OyXVb5VjBEC+ ZQeMu3f4wfOWAO+/FVsvNvUxdp3oio0y1oicgDRYBVSawwD3oQiZed0MYkP3MXR4eoq+ xOmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=SQfrkEOL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a27si15365609pfg.105.2019.09.03.13.19.59; Tue, 03 Sep 2019 13:20:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=SQfrkEOL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726649AbfICUTI (ORCPT + 99 others); Tue, 3 Sep 2019 16:19:08 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:43736 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbfICUTH (ORCPT ); Tue, 3 Sep 2019 16:19:07 -0400 Received: by mail-ot1-f67.google.com with SMTP id 90so14317511otg.10 for ; Tue, 03 Sep 2019 13:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pQDe8GS2DK5QAF5G4mPztvXfIYARywD4cCZcsg+EDeg=; b=SQfrkEOLJ2NtiynlPnRv5C/m4DqjwHs6SF78jB00qsHzfW34cQ/rqafSCO2w6xEpEH +btn5MG5Cfm7e6Wagu0HtR+CZ8fstG7p3HnqvoFT/g0d+H919b+MOw5HOHFIiIb27l5L D5s6hnSGvzxqC5LgqfJFcNx5KvHy675fn8xnI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pQDe8GS2DK5QAF5G4mPztvXfIYARywD4cCZcsg+EDeg=; b=Pc1FwGQvZSZX8NkfCf4S58dmPgqTGdbc4XOHyVPMkGHuHav5PbzqLT5zfrmEZ5Kjpc hjeJZDiQMh351PKF5MVwZtWRAPY73z7t8iIadXzvkGonKCP3qF/MlT5QePlXVWEVZ1nS 155BvTMtZWIiJAK4y6NT7SiOr6MEMJTTYFHVc9Ju2VT0nwOCCybyG3IKUYqGZ4XTya5G yD8547Snf7lHYkjlgkUHRhbnQAR1AhNmKOm5R1id0uClUtFwaTmTRvsYsKACTr5jGpeS 3UtPPtyNsANyP2nX+kdZqe902kDQSWiG9y0il+5jyW+9ILjiG2xdMkXzBnteN3EbkSKp dTWg== X-Gm-Message-State: APjAAAVzN/8dj2hmc9X2mL+eHjgqYq9UQU7lMKskEcHoz+b4VGjnBpas bAoEFYpFXh/9LYgGadM/uzzoehKOfBwDwfw72stXbA== X-Received: by 2002:a9d:7006:: with SMTP id k6mr26989061otj.303.1567541946232; Tue, 03 Sep 2019 13:19:06 -0700 (PDT) MIME-Version: 1.0 References: <20190830032948.13516-1-hdanton@sina.com> <5d6e2298.1c69fb81.b5532.8395SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: From: Daniel Vetter Date: Tue, 3 Sep 2019 22:18:55 +0200 Message-ID: Subject: Re: gnome-shell stuck because of amdgpu driver [5.3 RC5] To: Mikhail Gavrilov Cc: Hillf Danton , dri-devel , amd-gfx list , Linux kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 3, 2019 at 8:07 PM Mikhail Gavrilov wrote: > > On Tue, 3 Sep 2019 at 13:21, Hillf Danton wrote: > > > > Describe the problems you are experiencing please. > > Say is the screen locked up? Machine lockedup? > > Anything unnormal after you see the warning? > > > > According to my observations, all "gnome shell stuck warning" happened > when me not sitting on the computer and the computer was locked. > > I did not notice any problems at the morning (I did not even look at > the kernel logs), I found that the problem happened when I remotely > connected to my computer via ssh from work and accidently look dmesg > output. > > At the evening after work, I even played in the "Division", and still > not noted any problems. > > 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? All the debuggin on the dma_fence_wait side is just looking at the messenger, this isn't the source of the problem. -Daniel > > $ dmesg -T | grep gnome > > ---> I am goto sleep > [Tue Sep 3 01:00:10 2019] gnome shell stuck warning > [Tue Sep 3 01:00:55 2019] gnome shell stuck warning > [Tue Sep 3 06:54:50 2019] gnome shell stuck warning > <--- I am wake up at 8:00 am and sitting again on the computer > ---> I am went to work at 9:30 > [Tue Sep 3 10:00:05 2019] gnome shell stuck warning > [Tue Sep 3 10:10:01 2019] gnome shell stuck warning > [Tue Sep 3 10:13:43 2019] gnome shell stuck warning > [Tue Sep 3 10:23:37 2019] gnome shell stuck warning > [Tue Sep 3 10:42:07 2019] gnome shell stuck warning > [Tue Sep 3 10:42:57 2019] gnome shell stuck warning > [Tue Sep 3 10:59:25 2019] gnome shell stuck warning > [Tue Sep 3 11:08:35 2019] gnome shell stuck warning > [Tue Sep 3 11:13:19 2019] gnome shell stuck warning > [Tue Sep 3 11:15:20 2019] gnome shell stuck warning > [Tue Sep 3 11:26:20 2019] gnome shell stuck warning > [Tue Sep 3 11:26:20 2019] gnome shell stuck warning > [Tue Sep 3 11:36:30 2019] gnome shell stuck warning > [Tue Sep 3 11:46:08 2019] gnome shell stuck warning > [Tue Sep 3 11:53:52 2019] gnome shell stuck warning > [Tue Sep 3 11:56:36 2019] gnome shell stuck warning > [Tue Sep 3 12:17:10 2019] gnome shell stuck warning > [Tue Sep 3 12:20:20 2019] gnome shell stuck warning > [Tue Sep 3 12:20:20 2019] gnome shell stuck warning > [Tue Sep 3 12:30:46 2019] gnome shell stuck warning > [Tue Sep 3 12:40:52 2019] gnome shell stuck warning > [Tue Sep 3 12:55:30 2019] gnome shell stuck warning > [Tue Sep 3 12:57:52 2019] gnome shell stuck warning > [Tue Sep 3 13:04:00 2019] gnome shell stuck warning > [Tue Sep 3 13:12:38 2019] gnome shell stuck warning > [Tue Sep 3 13:14:32 2019] gnome shell stuck warning > [Tue Sep 3 13:53:12 2019] gnome shell stuck warning > [Tue Sep 3 14:12:52 2019] gnome shell stuck warning > [Tue Sep 3 14:15:54 2019] gnome shell stuck warning > [Tue Sep 3 14:17:04 2019] gnome shell stuck warning > [Tue Sep 3 14:21:57 2019] gnome shell stuck warning > [Tue Sep 3 14:22:10 2019] gnome shell stuck warning > [Tue Sep 3 14:37:42 2019] gnome shell stuck warning > [Tue Sep 3 14:41:51 2019] gnome shell stuck warning > [Tue Sep 3 14:42:52 2019] gnome shell stuck warning > [Tue Sep 3 14:46:35 2019] gnome shell stuck warning > [Tue Sep 3 15:03:18 2019] gnome shell stuck warning > [Tue Sep 3 15:16:50 2019] gnome shell stuck warning > [Tue Sep 3 15:27:30 2019] gnome shell stuck warning > [Tue Sep 3 15:27:41 2019] gnome shell stuck warning > [Tue Sep 3 16:08:06 2019] gnome shell stuck warning > [Tue Sep 3 16:24:16 2019] gnome shell stuck warning > [Tue Sep 3 16:33:04 2019] gnome shell stuck warning > [Tue Sep 3 16:52:10 2019] gnome shell stuck warning > [Tue Sep 3 17:18:27 2019] gnome shell stuck warning > [Tue Sep 3 17:25:30 2019] gnome shell stuck warning > [Tue Sep 3 17:41:16 2019] gnome shell stuck warning > [Tue Sep 3 17:43:32 2019] gnome shell stuck warning > [Tue Sep 3 17:51:10 2019] gnome shell stuck warning > [Tue Sep 3 18:41:44 2019] gnome shell stuck warning > [Tue Sep 3 18:44:18 2019] gnome shell stuck warning > [Tue Sep 3 19:03:07 2019] gnome shell stuck warning > [Tue Sep 3 19:17:58 2019] gnome shell stuck warning > <--- Returned to home and sitting again on the computer > > -- > Best Regards, > Mike Gavrilov. -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch