Kingdom Come: Deliverance (DXVK) - kernel performance regression [Navi] [RADV/ACO]
@aqxa1
Submitted by aqxa1 Assigned to Default DRI bug account
Link to original bug (#112124)
Description
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önig 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/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, however. 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