mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig@amd.com>
To: Gabriel C <nix.or.die@gmail.com>
Cc: Jean-Marc Valin <jmvalin@mozilla.com>,
	Dave Airlie <airlied@linux.ie>,
	alexander.deucher@amd.com,
	Felix Kuehling <Felix.Kuehling@amd.com>,
	Laura Abbott <labbott@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	michel.daenzer@amd.com, dri-devel@lists.freedesktop.org,
	LKML <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: AMD graphics performance regression in 4.15 and later
Date: Wed, 6 Jun 2018 14:19:33 +0200	[thread overview]
Message-ID: <89d91028-c800-b6db-38de-4ece84e5effd@amd.com> (raw)
In-Reply-To: <CAEJqkgiBZ6G+tXWULYoGKqq3BsgvH7TrqkFbhtRL4JnGM+dLuA@mail.gmail.com>

Am 06.06.2018 um 14:08 schrieb Gabriel C:
> 2018-06-06 13:33 GMT+02:00 Christian König <christian.koenig@amd.com>:
>> Am 06.06.2018 um 13:28 schrieb Gabriel C:
>>> 2018-04-11 7:02 GMT+02:00 Gabriel C <nix.or.die@gmail.com>:
>>>>> 2018-04-11 6:00 GMT+02:00 Gabriel C <nix.or.die@gmail.com>:
>>>>> 2018-04-09 11:42 GMT+02:00 Christian König
>>>>> <ckoenig.leichtzumerken@gmail.com>:
>>>>>> 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 is
>> 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)=0xCAFEDEAD)
>>> [    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.

That has nothing TODO with the driver nor the original bug you reported. 
The problem is that SME is active and that is currently not supported at 
all with a that hardware.

Try to disable SME either in the BIOS or on the kernel command line.

Regards,
Christian.

>
> I can force the GPU to use amdgpu if you wish and post dmesg's too.
> Just let me know

  reply	other threads:[~2018-06-06 12:19 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-06  0:30 Jean-Marc Valin
2018-04-06  8:03 ` Christian König
2018-04-06  8:10   ` Christian König
2018-04-06 15:30   ` Jean-Marc Valin
2018-04-09 11:48     ` Christian König
2018-04-06 16:42       ` Jean-Marc Valin
2018-04-06 17:20         ` Christian König
2018-04-06 22:00           ` Jean-Marc Valin
2018-04-09  9:42             ` Christian König
2018-04-09 15:17               ` Jean-Marc Valin
2018-04-10  6:48                 ` Christian König
2018-04-11  4:00               ` Gabriel C
2018-04-11  5:02                 ` Gabriel C
2018-06-06 11:28                   ` Gabriel C
2018-06-06 11:33                     ` Christian König
2018-06-06 12:08                       ` Gabriel C
2018-06-06 12:19                         ` Christian König [this message]
2018-04-11  9:37                 ` Christian König
2018-04-11 14:26                   ` Gabriel C
2018-04-11 17:21                     ` Gabriel C
2018-04-11 18:35                   ` Jean-Marc Valin
2018-04-11 22:20                     ` Gabriel C
2018-04-12  1:47                       ` Gabriel C
2018-04-20 14:47                   ` Michel Dänzer
2018-04-20 19:40                     ` Felix Kuehling
2018-04-23 10:23                       ` Michel Dänzer
2018-07-13  2:23       ` Jean-Marc Valin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89d91028-c800-b6db-38de-4ece84e5effd@amd.com \
    --to=christian.koenig@amd.com \
    --cc=Felix.Kuehling@amd.com \
    --cc=airlied@linux.ie \
    --cc=akpm@linux-foundation.org \
    --cc=alexander.deucher@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jmvalin@mozilla.com \
    --cc=labbott@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michel.daenzer@amd.com \
    --cc=nix.or.die@gmail.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome