Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp725573imm; Wed, 6 Jun 2018 05:10:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJzZbQFfbP0BuKvnF12hbL1WWNpDk11xeJt8Zz606u9eeFsDru9/xrMD4i7s5Q9Rr25+BJJ X-Received: by 2002:a65:4348:: with SMTP id k8-v6mr2371877pgq.341.1528287003215; Wed, 06 Jun 2018 05:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528287003; cv=none; d=google.com; s=arc-20160816; b=b9POgk/k3tYJ9sern7p9pUIjlgBh01Lst8hGN4qgGdzXUSCD16fmzCUtQihN+b96md F2ctJi18BH9rR3m732vCEx+3iYeGEBZNGuzwgEOYw8omOPmr4YtLzmS2e16OEwZn4Yp8 qjKXRseNWFHdXy5ildn9UZW6BYMHJbeaIEWuSF4ccu4451yX0Y82Y6KLhkIG4qXSRK3Y u3OwfWFDGdntRi1WgHx2VBFxUT9Ktlh1CWMjdIpUnPJbLkKpsclp6UJGEnhC7fBjtDua q/JELmpVE+3Lbb4FEJfzHX4pMRkUnwDSoluFe4rAb1jnkOKezorvrL4BQFeDkWyYrb8H 8dbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=QTi4+KIlu4Wa4W0gwR2uL+Q/JJO8vIvQtZuV/t2ghOY=; b=UuiiNLr6u8zTOqgFXhnJRVjwLGWpjcX0ydGIZ4VKSgOmil6Kzaur1yiuJJfQ2z0wG1 6nFw4/aCAaOOogyHM1NVfYsjUd0G6Cyhp915hq3CV7q8OjUfpTEv7PnEBi+eAI1JRIzz 3sNLYBkjSgH66+lvLTy9aTcDRsFCI1z1kDt0LUjtuN2+EZ0tz4rURBXqrRtrexQxHCbW HGZOU5VhRx5iC4nb2rN+/c9wg35Wnm4xCTmknGwAdzA2tBRIS1IPE9TcMYVsJiaDzWf5 V7VbUd6Hd902oN48ViYxldlHG1haSlGrkW6jHIMMstRwpQrSyJILdyd3PD0Ub0wzaeW0 uNAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E3SaTulC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92-v6si49517677plw.299.2018.06.06.05.09.48; Wed, 06 Jun 2018 05:10:03 -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=@gmail.com header.s=20161025 header.b=E3SaTulC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752122AbeFFMJC (ORCPT + 99 others); Wed, 6 Jun 2018 08:09:02 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:39736 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673AbeFFMJA (ORCPT ); Wed, 6 Jun 2018 08:09:00 -0400 Received: by mail-lf0-f67.google.com with SMTP id t134-v6so8719683lff.6 for ; Wed, 06 Jun 2018 05:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QTi4+KIlu4Wa4W0gwR2uL+Q/JJO8vIvQtZuV/t2ghOY=; b=E3SaTulCacyKNHBpPAVykL0m8gG6kY1bZHT4VtOpuBiBSqJ5oEM1NjF8Olb7QEo1ZA pnU8BPTeUUfqMYOdeXVMoCl1JOPx0TIEiLYd5wZwOL6FzkuHmBzAUy8VYSuYziq5WYqQ hQLH3hv2M31WEWOegLDS4o0E/iaBJVADHYaqRtSarJzotZwh/2mPijsNKuBVl6Y1Gkf+ cg1rPTRiLj08d3GDuhR9zu62oTKMZZjDojPnIZlctNkjf3AbONOOAO9igad4gtdQvNU0 Fauzs6Uxro/yX1dj64hb/O9FGVJuVI4jOE/wsXG1AVy+CCFFpcWJ03oei4j7YB1ZKcWK wy4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QTi4+KIlu4Wa4W0gwR2uL+Q/JJO8vIvQtZuV/t2ghOY=; b=Ij7PSShen0klGHUbxQmFaiZ0dKXuO4pyt77Ma1GnQsGUEv3gKWiFX4ib28bMJhZG9v XMnKh6b1lwgAP28jFtaIR08O13PwjOQM4cGfmIUa465XQvz8620AaPulRBkBkO0WtAIO oRcqVIyz7PiePPi2ERBWa384ID8f8udrgFfDMSTfoxtNB+kYzpteryyONZ8YS5SlR5lM tHNsfrWdnAbLepX3cdrOdAvX79trlTVvA7pJ3oi8ejS9iesiihV/crrJaURGyqdIXXu0 6yCjEJHYwdVTTy/Sg1HZnX+DhgJ+QQDtAz2lbdN+GI3CI3g+FSc+4MPmKbYJcWe9tB34 KDZQ== X-Gm-Message-State: APt69E3l3p+9mPVmK855f0AlEtysQf6qACTYwW9xLGAYb6Yo9ZkIbcJE ngl1CPTS6V2SN766JNJBV6u1Kw0C0XxdGedXFg== X-Received: by 2002:a19:c90d:: with SMTP id z13-v6mr1812937lff.0.1528286938959; Wed, 06 Jun 2018 05:08:58 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:e45c:0:0:0:0:0 with HTTP; Wed, 6 Jun 2018 05:08:28 -0700 (PDT) In-Reply-To: <52eceaff-987d-4c1d-a2cb-73b28e48c01c@amd.com> References: <9ca940f1-7f21-c420-de45-13d72e783ab6@amd.com> <6cebabff-908f-5ebe-4252-760773c4cd6f@amd.com> <312ed341-7052-a61e-331f-d1e8fd5b477e@mozilla.com> <77866d66-2728-8295-d7ee-9975dbf64b99@mozilla.com> <55e1712b-6567-50c5-3789-53dd1ccddb94@gmail.com> <52eceaff-987d-4c1d-a2cb-73b28e48c01c@amd.com> From: Gabriel C Date: Wed, 6 Jun 2018 14:08:28 +0200 Message-ID: Subject: Re: AMD graphics performance regression in 4.15 and later To: =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Jean-Marc Valin , Dave Airlie , alexander.deucher@amd.com, Felix Kuehling , Laura Abbott , Andrew Morton , michel.daenzer@amd.com, dri-devel@lists.freedesktop.org, LKML , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-06-06 13:33 GMT+02:00 Christian K=C3=B6nig : > Am 06.06.2018 um 13:28 schrieb Gabriel C: >> >> 2018-04-11 7:02 GMT+02:00 Gabriel C : >>>> >>>> 2018-04-11 6:00 GMT+02:00 Gabriel C : >>>> 2018-04-09 11:42 GMT+02:00 Christian K=C3=B6nig >>>> : >>>>> >>>>> Am 07.04.2018 um 00:00 schrieb Jean-Marc Valin: >>> >>> ... >>>> >>>> I can help testing code for 4.17/++ if you wish but that is *different= * >>>> storry. >>>> >>> Quick tested an 4.16.0-11490-gb284d4d5a678 , amdgpu and radeon driver >>> are broken now in this one. >>> >>> radeon tells: >>> >>> ... >>> >>> [ 6.337838] [drm] PCIE GART of 2048M enabled (table at >>> 0x00000000001D6000). >>> [ 6.338210] radeon 0000:21:00.0: (-12) create WB bo failed >>> [ 6.338214] radeon 0000:21:00.0: disabling GPU acceleration >>> >>> ... >>> >> I have the same Issue now on final 4.17. > > > Actually Michel came up with a fix for the performance regression which i= s > now backported to older kernels as well. > > So the original issue of this mail thread should be fixed by now. Ok , will test as soon I get the GPU to work :)) > >> Also I played with BIOS options also which does not fix anything but >> changes the error message. >> >> IOMMU && SR-IOV disabled the error changes to this : >> >> [ 7.092044] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 >> test failed (scratch(0x850C)=3D0xCAFEDEAD) >> [ 7.092059] radeon 0000:21:00.0: disabling GPU acceleration >> >> >> While I could workaround SWIOTLB bugs in 4.15 and 4.16 , 4.17 seems to >> kill the GPU with no way >> for me to make it work ( at least I could not find any workaround by now= ) > > > That actually sounds like something completely different. Can you provide= a > full dmesg of radeon and/or amdgpu? Sure here from boot with IOMMU/SR-IOV ON/OFF in BIOS : http://ftp.frugalware.org/pub/other/people/crazy/radeon/dmesg-iommu-sr-iov-= off.txt http://ftp.frugalware.org/pub/other/people/crazy/radeon/dmesg-iommu-sr-iov-= on.txt Also nothing else changed in that setup just testing kernel 4.17. I can force the GPU to use amdgpu if you wish and post dmesg's too. Just let me know