From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 112124] Kingdom Come: Deliverance (DXVK) - kernel performance regression [Navi] [RADV/ACO] Date: Fri, 25 Oct 2019 01:39:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1704574329==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F2CB6E87D for ; Fri, 25 Oct 2019 01:39:38 +0000 (UTC) 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 --===============1704574329== Content-Type: multipart/alternative; boundary="15719675780.0CfF9A7c.30544" Content-Transfer-Encoding: 7bit --15719675780.0CfF9A7c.30544 Date: Fri, 25 Oct 2019 01:39:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D112124 Bug ID: 112124 Summary: Kingdom Come: Deliverance (DXVK) - kernel performance regression [Navi] [RADV/ACO] Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: not set Priority: not set Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: asheldon55@gmail.com Kingdom Come: Deliverance (DXVK) has regressed in performance due to the following kernel commit, with aco-navi: commit 828d6fde7f574d74b0a6a591345d3c42b62d5e21 Author: Tianci.Yin Date: Mon Aug 19 15:30:22 2019 +0800 drm/amdgpu/psp: move TMR to cpu invisible vram region so that more visible vram can be available for umd. Reviewed-by: Christian K=C3=B6nig . Signed-off-by: Tianci.Yin Signed-off-by: Alex Deucher With 828d6fde7f57 (62 fps/79% GPU usage): https://camo.githubusercontent.com/4608d45738a5174f64daee0604d9f5d7146aee68= /68747470733a2f2f692e696d6775722e636f6d2f757356306d33412e6a7067 With 828d6fde7f57 reverted (79 fps, 100% GPU usage): https://camo.githubusercontent.com/77a505f85b75db0d2062aa4d8319b6007ba524fe= /68747470733a2f2f692e696d6775722e636f6d2f394366695270452e6a7067 Tests were with aco-navi branch: https://gitlab.freedesktop.org/Venemo/mesa/tree/aco-navi Performance with LLVM is comparable with the commit reverted or not, howeve= r. Slightly better with the commit since GPU usage is lower for the same performance: With 828d6fde7f57 (61.4 fps/88% GPU usage): https://i.imgur.com/kJgvRbq.jpg Without 8d6fde7f57 (61.2 fps/100% GPU usage): https://i.imgur.com/AemAss1.jpg System: linux-5.4-rc4 (also tested amd-staging-drm-next) Mesa aco-navi (e641024) and Mesa git (8dadef2ec54) MSI Evoke 5700 XT --=20 You are receiving this mail because: You are the assignee for the bug.= --15719675780.0CfF9A7c.30544 Date: Fri, 25 Oct 2019 01:39:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 112124
Summary Kingdom Come: Deliverance (DXVK) - kernel performance regress= ion [Navi] [RADV/ACO]
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity not set
Priority not set
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter asheldon55@gmail.com

Kingdom Come: Deliverance (DXVK) has regressed in performance =
due to the
following kernel commit, with aco-navi:

commit 828d6fde7f574d74b0a6a591345d3c42b62d5e21
Author: Tianci.Yin <tianci.yin=
@amd.com>
Date:   Mon Aug 19 15:30:22 2019 +0800

    drm/amdgpu/psp: move TMR to cpu invisible vram region

    so that more visible vram can be available for umd.

    Reviewed-by: Christian K=C3=B6nig <christian.koenig@amd.com>.
    Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

With 828d6fde7f57 (62 fps/79% GPU usage):

https://camo.githubusercontent.com/4608d45738a5174f64daee0604d9f5d7146aee6=
8/68747470733a2f2f692e696d6775722e636f6d2f757356306d33412e6a7067

With 828d6fde7f57 reverted (79 fps, 100% GPU usage):
https://camo.githubusercontent.com/77a505f85b75db0d2062aa4d8319b6007ba524f=
e/68747470733a2f2f692e696d6775722e636f6d2f394366695270452e6a7067

Tests were with aco-navi branch:
https:=
//gitlab.freedesktop.org/Venemo/mesa/tree/aco-navi

Performance with LLVM is comparable with the commit reverted or not, howeve=
r.
Slightly better with the commit since GPU usage is lower for the same
performance:

With 828d6fde7f57 (61.4 fps/88% GPU usage):
https://i.imgur.com/kJgvRbq.jpg=


Without 8d6fde7f57 (61.2 fps/100% GPU usage):
https://i.imgur.com/AemAss1.jpg=


System:

linux-5.4-rc4 (also tested amd-staging-drm-next)
Mesa aco-navi (e641024) and Mesa git (8dadef2ec54)
MSI Evoke 5700 XT


You are receiving this mail because:
  • You are the assignee for the bug.
= --15719675780.0CfF9A7c.30544-- --===============1704574329== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1704574329==--