Persona 5 Royal
Недостатньо оцінок
More FPS with DXVK
Автор: hevyhammr
As amazing of a game Persona 5 Royal is, the optimisation on PC is rather lacklustre. This is by no means a graphically intensive game, yet due to the rendering techniques used by the developers there are massive FPS drops in areas with large crowds. In this guide I will show you how to fix this.

   
Нагородити
До улюбленого
В улюблених
Прибрати
Problems with DirectX 11
The issues stem from the fact that the game uses DirectX 11 [en.wikipedia.org] as the rendering API, which is pretty old and does not take full advantage of the computing power of modern systems. However, we can remediate this by forcing the game to use the more modern Vulkan (DXVK) [en.wikipedia.org] API instead.
How to force the game to use DXVK
The process is pretty simple and involves dragging & dropping the DXVK library files to the game's directory. Below is a step-by-step guide on how to do so:

  1. Download the latest version of DXVK files from dotsuijin's GitHub page[github.com]

  2. The downloaded file will be in an archive (.gz) format. Use 7zip[www.7-zip.org] to access the archive

  3. Since P5R is a 64 bit application, you will need to open the x64 folder and grab the files from there

  4. Open the P5R's root folder by right-clicking on the game in your Steam library and selecting "Browse local files"

  5. As we need to replace the game's DirectX 11 API, copy/drag only the following files and paste them into the game's directory where the game's P5R.exe file is located: d3d11.dll & dxgi.dll

  6. Very important to avoid visual glitches in game - open up a text editor of your choice (Notepad, Notepad++ etc.) and paste the following in it: dxvk.enableAsync = true

  7. Save the file as dxvk.conf in the game's directory, the same place where you pasted the d3d11.dll & dxgi.dll files. Whilst saving make sure to select the file type as "All files", otherwise this will be saved as a regular text file and will not be read by DXVK.

If you followed all these steps correctly you can launch the game and measure your FPS. Of course the gains will differ from system to system but in general you should notice an improvement, especially in crowded areas like Kichijoji and Shibuya/Central Square.
Why DXVK and how does it work?
To put it simply - better utilisation of your computer's CPU and GPU computing capabilities. Below is a quote from Wikipedia [en.wikipedia.org] which explains this:
Цитата допису Wikipedia: Vulkan:
Vulkan is intended to offer higher performance and more efficient CPU and GPU usage compared to the older OpenGL and Direct3D 11 APIs. It does so by providing a considerably lower-level API for the application than the older APIs, that more closely resembles how modern GPUs work.

Vulkan is comparable to Apple's Metal API and Microsoft's Direct3D 12. In addition to its lower CPU usage, Vulkan is designed to allow developers to better distribute work among multiple CPU cores.
Коментарів: 11
Sovwj 11 год. тому 
does not work. It was 24 fps, and it stayed that way.
ShigureChang 18 черв. о 7:28 
It doesn’t seem to support HDR
hevyhammr  [автор] 17 черв. о 11:04 
Hey @darthnihilist, this fix is for Windows users and I honestly do not have any idea how to help you on Linux. You may however check out the DXVK page on GitHub for help with installing on Linux via wine
darthnihilist 17 черв. о 10:56 
i'm on linux and i find that if i play with a controller than my computer thinks i'm doing nothing and shuts-down
hevyhammr  [автор] 11 черв. о 13:03 
@Xeal could you please ensure that you followed all the steps correctly?

Not sure what could be causing a crash, either you did something incorrectly, or your hardware possibly does not support Vulkan
Xeal 8 черв. о 17:23 
help, i tried this and it keeps crashing the game :slimehungry:
EXTREME MILOZ 8 черв. о 5:28 
BRO, you're GOD dude
TROLLBOT5000 6 черв. о 21:01 
I LOVE YOUUUUUU
hevyhammr  [автор] 2 черв. о 0:17 
@Дядя Богдан thanks for pointing this out, corrected the typo
Дядя Богдан 26 трав. о 10:17 
i suspect a typo in .conf file name, should be dxvk.conf, please verify