[DX9 > DX12 PROXY] Further Performance Boosting

Share, discuss, and get help with addons for Return of Reckoning.
For most available addons, visit Idrinth's Addons site.
Forum rules
Before posting in this forum, please read the Terms of Use and visit Idrinth's Addons site for most available addons.
Automation
Posts: 87

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#111 » Tue Mar 29, 2022 4:19 am

Scottx125 wrote: Tue Mar 29, 2022 4:06 am
Automation wrote: Tue Mar 29, 2022 3:45 am Not sure what folder to open tbh. Theres multiple and theres no file wich is called d3d9.
There is d3dcompiler in the lib32 folder but thats it
1. Download the dxvk-1.10.1.tar.gz at the bottom of the page..
2. Open it with Winrar.
3. Take the d3d9 from the 32bit folder.
4. Paste it into your RoR folder.

Btw, did some basic performance testing. Seems I get an uplift of around 30-40fps. Trying to figure out what's causing the stutters though. It'll be lovely and smooth with frame times at 12ms and then jump to 66ms (see below).
Spoiler:
Image
It worked thanks.
Experiencing same stutter

Ads
User avatar
tvbrowntown
Suspended
Posts: 272

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#112 » Tue Mar 29, 2022 5:36 am

Automation wrote: Tue Mar 29, 2022 4:19 am
Scottx125 wrote: Tue Mar 29, 2022 4:06 am
Automation wrote: Tue Mar 29, 2022 3:45 am Not sure what folder to open tbh. Theres multiple and theres no file wich is called d3d9.
There is d3dcompiler in the lib32 folder but thats it
1. Download the dxvk-1.10.1.tar.gz at the bottom of the page..
2. Open it with Winrar.
3. Take the d3d9 from the 32bit folder.
4. Paste it into your RoR folder.

Btw, did some basic performance testing. Seems I get an uplift of around 30-40fps. Trying to figure out what's causing the stutters though. It'll be lovely and smooth with frame times at 12ms and then jump to 66ms (see below).
Spoiler:
Image
It worked thanks.
Experiencing same stutter
Is it stuttering or hitching? I recently gave this a whirl and got DXVK to run but there was an annoying hitching issue where every now and again the game would micro-freeze. I imagine there is a way to fix that. It's possible my install of reshade was the cause. I'd probably have to setup a fresh install and try it and then mess about with the settings.

Although not in relation to RoR this guide on the steam forums for another game and DXVK has some interesting information that might help others figure out how to solve any additional issues while using DXVK.

https://steamcommunity.com/sharedfiles/ ... 2461019058

User avatar
unfairway2003
Posts: 14

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#113 » Tue Mar 29, 2022 5:51 am

Just creat a Start.bat file inside the RoR folder with this inside

set workingdir=%~dp0
if not exist temp mkdir temp
move d3d9.dll temp
start RoRLauncher.exe
timeout 3
move "%workingdir%temp\d3d9.dll" "%workingdir%"

Make a shortcut to your desktop and run the game through the .bat file.
I made a .bat file like @Eisboleas said and the launcher works fine now instead of crashing, the shortcut to desktop didn't work for me though so I have to open the Start.bat in my Warhammer install folder every time to run the game which is fine for me.

I can confirm that DXVK worked for me too. I'm using Windows 10 on a DX12-supported Nvidia MSI Geforce GTX 1050 TI and I use NVIDIA Geforce Experience for updates and it comes with VULKAN pre-installed. I can confirm that I did find the FPS counter to prove to myself that it actually worked for me by following @Scottx125's advice of that dxvk.config file containing "dxvk.hud = 1".

However, I am not using the latest version of DXVK because judging from what @Scottx125 and @Automation were talking about it seems that version comes with a , "stutter" problem that really defeats the purpose of this thing in the first place, so I think the culprit is that the 1.10.1 version is unstable/experimental, it just came out 3 days ago...so I'm skeptical about trusting that version for the WAR client.

I did some digging earlier in this thread and it seems that @Isio from 02/19/21 used a d3d9.dll file from 1.7.3 and it worked fine as per his earlier response from last year:
I'm using it and it works as hell... I'm playing with all effects on (spells) and there is no **** lag. I'm blowing.
so that's the one I went with.
Can anyone else confirm if there's a more updated version (ignoring 1.10.1) that works WITHOUT stutters?

Automation
Posts: 87

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#114 » Tue Mar 29, 2022 6:24 am

Trying Version 1.10 from https://github.com/doitsujin/dxvk/releases/
I only did 1 sc so far but even in IC the game feels extremely responsive.
Like, allot more responsive.
Not sure if its placebo or due to this implementation.

Edit: An overview of what is explained so far regarding instalation, thanks to the original posters.
Version 1.10 from https://github.com/doitsujin/dxvk/releases/ seems more stable then 1.10.1

1. Download the dxvk-1.10.1.tar.gz at the bottom of the page..
2. Open it with Winrar.
3. Take the d3d9 from the 32bit folder.
4. Paste it into your RoR folder.

creat a Start.bat file inside the RoR folder with this inside

set workingdir=%~dp0
if not exist temp mkdir temp
move d3d9.dll temp
start RoRLauncher.exe
timeout 3
move "%workingdir%temp\d3d9.dll" "%workingdir%"

Make a shortcut to your desktop and run the game through the .bat file.

to verify if DXVK even works for you.
create a dxvk.conf file into the RoR Root folder
and add
dxvk.hud = 1

into it.. that should show the dxvk hud when dxvk is active.

User avatar
Scottx125
Posts: 974

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#115 » Tue Mar 29, 2022 11:52 am

Spoiler:
tvbrowntown wrote: Tue Mar 29, 2022 5:36 am
Automation wrote: Tue Mar 29, 2022 4:19 am
Scottx125 wrote: Tue Mar 29, 2022 4:06 am
1. Download the dxvk-1.10.1.tar.gz at the bottom of the page..
2. Open it with Winrar.
3. Take the d3d9 from the 32bit folder.
4. Paste it into your RoR folder.

Btw, did some basic performance testing. Seems I get an uplift of around 30-40fps. Trying to figure out what's causing the stutters though. It'll be lovely and smooth with frame times at 12ms and then jump to 66ms (see below).
Spoiler:
Image
It worked thanks.
Experiencing same stutter
Is it stuttering or hitching? I recently gave this a whirl and got DXVK to run but there was an annoying hitching issue where every now and again the game would micro-freeze. I imagine there is a way to fix that. It's possible my install of reshade was the cause. I'd probably have to setup a fresh install and try it and then mess about with the settings.

Although not in relation to RoR this guide on the steam forums for another game and DXVK has some interesting information that might help others figure out how to solve any additional issues while using DXVK.

https://steamcommunity.com/sharedfiles/ ... 2461019058
Probably more like hitching. Just tested it with older versions and it's still there. I initially thought it was just zones loading in for the first time when you go to them. However I left the main square in Altdorf, went around the block and then came back. I've had hitches of up to 150ms, but most are about 60ms from my standard frame timing of around 6-11ms.

I've tested version 1.7.3/1.10/1.10.1 and all have the same hitching issue, random intermittent spikes in frame times and sometimes massive hitches around 150-400ms long.. (Just incase anyone was curious if it was my PC, I'm running a 6900XT with 32GB of ram @3600Mhz and a 3900XT).

Edit: Also had a look on the steam page, just seems like their solution to the hitching problem was a pre-loaded cache file. Which doesn't work with RoR (tried it, didn't think it would work).
Edit1: Just tried it on a fresh install with no addons and the lowest graphic settings. Same hitching. In fact it was even more noticeable now due to the higher fps. I'll give it a run tonight to see if long durations of play smooth out any issues.
Last edited by Scottx125 on Tue Mar 29, 2022 1:30 pm, edited 3 times in total.
Spoiler:
Seiigfrid RR 8X WP | Arthasus RR 7X KOTBS | Zalthazar RR 5X BW
Image
For the Gif in it's full glory:
Now a member of Oath.

Littleone
Posts: 34

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#116 » Tue Mar 29, 2022 12:14 pm

Automation wrote: Tue Mar 29, 2022 6:24 am Trying Version 1.10 from https://github.com/doitsujin/dxvk/releases/
I only did 1 sc so far but even in IC the game feels extremely responsive.
Like, allot more responsive.
Not sure if its placebo or due to this implementation.

Edit: An overview of what is explained so far regarding instalation, thanks to the original posters.
Version 1.10 from https://github.com/doitsujin/dxvk/releases/ seems more stable then 1.10.1

1. Download the dxvk-1.10.1.tar.gz at the bottom of the page..
2. Open it with Winrar.
3. Take the d3d9 from the 32bit folder.
4. Paste it into your RoR folder.

creat a Start.bat file inside the RoR folder with this inside

set workingdir=%~dp0
if not exist temp mkdir temp
move d3d9.dll temp
start RoRLauncher.exe
timeout 3
move "%workingdir%temp\d3d9.dll" "%workingdir%"

Make a shortcut to your desktop and run the game through the .bat file.

to verify if DXVK even works for you.
create a dxvk.conf file into the RoR Root folder
and add
dxvk.hud = 1

into it.. that should show the dxvk hud when dxvk is active.
I tried this way but RoR laucher seems to close itself after a few seconds without letting you do anything

User avatar
Kenshiken
Posts: 93

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#117 » Tue Mar 29, 2022 12:29 pm

Littleone wrote: Tue Mar 29, 2022 12:14 pm
Automation wrote: Tue Mar 29, 2022 6:24 am Trying Version 1.10 from https://github.com/doitsujin/dxvk/releases/
I only did 1 sc so far but even in IC the game feels extremely responsive.
Like, allot more responsive.
Not sure if its placebo or due to this implementation.

Edit: An overview of what is explained so far regarding instalation, thanks to the original posters.
Version 1.10 from https://github.com/doitsujin/dxvk/releases/ seems more stable then 1.10.1

1. Download the dxvk-1.10.1.tar.gz at the bottom of the page..
2. Open it with Winrar.
3. Take the d3d9 from the 32bit folder.
4. Paste it into your RoR folder.

creat a Start.bat file inside the RoR folder with this inside

set workingdir=%~dp0
if not exist temp mkdir temp
move d3d9.dll temp
start RoRLauncher.exe
timeout 3
move "%workingdir%temp\d3d9.dll" "%workingdir%"

Make a shortcut to your desktop and run the game through the .bat file.

to verify if DXVK even works for you.
create a dxvk.conf file into the RoR Root folder
and add
dxvk.hud = 1

into it.. that should show the dxvk hud when dxvk is active.
I tried this way but RoR laucher seems to close itself after a few seconds without letting you do anything
Manual way is to

1) Make backup of d3d9.dll
2) Launch RoR Launcher
3) Place new d3d9.dll from DXVK,
4) Launch the game.

Repeat next time.

Scottx125 wrote: Tue Mar 29, 2022 11:52 am
Spoiler:
tvbrowntown wrote: Tue Mar 29, 2022 5:36 am
Automation wrote: Tue Mar 29, 2022 4:19 am
It worked thanks.
Experiencing same stutter
Is it stuttering or hitching? I recently gave this a whirl and got DXVK to run but there was an annoying hitching issue where every now and again the game would micro-freeze. I imagine there is a way to fix that. It's possible my install of reshade was the cause. I'd probably have to setup a fresh install and try it and then mess about with the settings.

Although not in relation to RoR this guide on the steam forums for another game and DXVK has some interesting information that might help others figure out how to solve any additional issues while using DXVK.

https://steamcommunity.com/sharedfiles/ ... 2461019058
Probably more like hitching. Just tested it with older versions and it's still there. I initially thought it was just zones loading in for the first time when you go to them. However I left the main square in Altdorf, went around the block and then came back. I've had hitches of up to 150ms, but most are about 60ms from my standard frame timing of around 6-11ms.

I've tested version 1.7.3/1.1/1.1.10 and all have the same hitching issue, random intermittent spikes in frame times and sometimes massive hitches around 150-400ms long.. (Just incase anyone was curious if it was my PC, I'm running a 6900XT with 32GB of ram @3600Mhz and a 3900XT).

Edit: Also had a look on the steam page, just seems like their solution to the hitching problem was a pre-loaded cache file. Which doesn't work with RoR (tried it, didn't think it would work).
Edit1: Just tried it on a fresh install with no addons and the lowest graphic settings. Same hitching. In fact it was even more noticeable now due to the higher fps. I'll give it a run tonight to see if long durations of play smooth out any issues.

Is "pre-load cache file" something DXVK do?
Maybe we can file a fancy bug report or "feature request" on their github so it can support RoR?
I mean, why not? At least we can try.
Last edited by Kenshiken on Tue Mar 29, 2022 12:33 pm, edited 1 time in total.

User avatar
Scottx125
Posts: 974

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#118 » Tue Mar 29, 2022 1:53 pm

Kenshiken wrote: Tue Mar 29, 2022 12:29 pm Is "pre-load cache file" something DXVK do?
Maybe we can file a fancy bug report or "feature request" on their github so it can support RoR?
I mean, why not? At least we can try.
I'm assuming that's what the cache is for. It seems it does create one but doesn't really fill it. And hey, I've just dropped a message on github asking if there's a potential solution to the hitching.
Spoiler:
Seiigfrid RR 8X WP | Arthasus RR 7X KOTBS | Zalthazar RR 5X BW
Image
For the Gif in it's full glory:
Now a member of Oath.

Ads
Automation
Posts: 87

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#119 » Tue Mar 29, 2022 2:20 pm

Weird, i just logged in and i could see anomalys in the game so i restarted the game but now i cant see the HUD annymore so i asume the dxvk thingie isnt on board annymore.
No clue what changed that caused this.
Only thing i did was shut down my pc last night and booted it up again today.

User avatar
Scottx125
Posts: 974

Re: [DX9 > DX12 PROXY] Further Performance Boosting

Post#120 » Tue Mar 29, 2022 2:27 pm

Automation wrote: Tue Mar 29, 2022 2:20 pm Weird, i just logged in and i could see anomalys in the game so i restarted the game but now i cant see the HUD annymore so i asume the dxvk thingie isnt on board annymore.
No clue what changed that caused this.
Only thing i did was shut down my pc last night and booted it up again today.
Strange, try replacing the d3d9.dll. Also make sure if you're messing around with the config you ensure commands are case sensitive.
Spoiler:
Seiigfrid RR 8X WP | Arthasus RR 7X KOTBS | Zalthazar RR 5X BW
Image
For the Gif in it's full glory:
Now a member of Oath.

Who is online

Users browsing this forum: No registered users and 1 guest