Feral Heart

FeralHeart Creations => FeralHeart Addons & Mods => Other Mods/Creations => Topic started by: Kwibjo on August 04, 2020, 05:39:34 am

Title: Using Vulkan (DVXK) to Improve Feral Heart's Performance
Post by: Kwibjo on August 04, 2020, 05:39:34 am
Hey, just a heads up this is probably going to be a bit of an intermediate difficulty post. If you don't know what DVXK or Vulkan is, I wouldn't recommend trying it until you read through the entire post first.

This post is for Windows users only. However, Linux users should be able to figure it out it's more or less the same. ;)
Mac users cannot use this as Apple does not support Vulkan at all, and there is no Metal alternative.

Prerequisites:

What is DVXK?
Created for Linux and Wine, DXVK is a Vulkan-based translation layer for Direct3D 9/10/11. Compared to OpenGL and Direct3D 9 (DX9) Vulkan is intended to offer higher performance and more balanced CPU/GPU usage by working closer to the hardware than what Feral Heart currently provides. While this may not entirely be accurate for us if your game is GPU bound, there should be a noticeable performance improvement.

Testing if your computer will support Vulkan.
Go here: https://github.com/skeeto/vulkan-test
Download "vulkan_test.exe" and run it.
You should see a popup that says "Successfully created a Vulkan instance."
(https://i.imgur.com/wVK8ps0.png)
If you don't, I'm not sure; all my devices run it successfully. It should give you informational hints as to what you may need to do to fix it.

Downloading DVXK.
Okay, we're ready to download and install it.

FAQ
Q. How do I know if it's working?
A. Check your FeralHeart installation folder. There should be a file called "FeralHeart_d3d9.log" created by DXVK. If you see this and your game is running in Direct3D9 mode, it's working.

Q. My game doesn't run any faster!
A. Your computer is probably CPU limited. Unfortunately, DXVK doesn't do anything (and may even hurt performance) if this is the case.

Q. My game crashes as soon as I click it!
A. Your computer probably doesn't like DVXK or doesn't support Vulkan. Rerun it, and you should get the pre-game settings. Change the setting to OpenGL.

Q. Screenshots I take in-game don't look right after doing this!
A. I've noticed this too. It's a bug with DVXK. If you want to take screenshots, you're going to need a different tool like Snipping Tool to take them.

Any more common questions you guys have I'll add them down here.
If you're stuck, add me on Discord, and I'll try to help as best as I can. Jellyfish#2224
Title: Re: Using Vulkan (DVXK) to Improve Feral Heart's Performance
Post by: Dark_heart on August 04, 2020, 09:48:58 am
For me works great, thanks for that!!
Title: Re: Using Vulkan (DVXK) to Improve Feral Heart's Performance
Post by: Kwibjo on August 04, 2020, 07:36:45 pm
Oops, I just realised I meant to post this to tutorials not here. Can someone move it, please? x.x

For me works great, thanks for that!!

Awesome! I'm glad I could help! :D
Title: Re: Using Vulkan (DVXK) to Improve Feral Heart's Performance
Post by: Oddonelynx on August 04, 2020, 08:47:04 pm
While this doesn't working for me, it's still pretty cool.  :)
Title: Re: Using Vulkan (DVXK) to Improve Feral Heart's Performance
Post by: LadySigyn on August 05, 2020, 12:15:08 am
I'll have to check this out, thank you for this, Kwibjo! Your content never fails to impress me.