GithubHelp home page GithubHelp logo

Comments (13)

Blisto91 avatar Blisto91 commented on July 22, 2024

Hi there. Please make an apitrace of the issue if possible.
When you say slow down i assume you mean the fps drops below your 30 cap.

from dxvk.

BugFixer300 avatar BugFixer300 commented on July 22, 2024

Hi there. Please make an apitrace of the issue if possible. When you say slow down i assume you mean the fps drops below your 30 cap.

When using the apitrace the game crashes on startup see screenshot
Schermafbeelding 2024-04-12 000537
Schermafbeelding 2024-04-12 000605
I've used the 32 bit D3D9 apitrace dll files see screenshot.

By "slow down," I mean experiencing a significant FPS drop. For instance, when there are 15 or more single units on screen, like spiders, the FPS drops to around 20 FPS. With approximately 30 units on screen, the FPS further diminishes to around 5 FPS. Interestingly, there isn't a notable increase in CPU usage during these occurrences. I'm considering installing the game on Linux to see if the issue persists there.

This game holds a special place for many, but its reliance on the outdated D3D9 engine leads to crashes, particularly with large mods like Edain and AOTR. While DXVK resolves these crashing issues, it unfortunately introduces severe slowdowns with certain units.

from dxvk.

WinterSnowfall avatar WinterSnowfall commented on July 22, 2024

Does setting d3d9.cachedDynamicBuffers = True help?

from dxvk.

BugFixer300 avatar BugFixer300 commented on July 22, 2024

Does setting d3d9.cachedDynamicBuffers = True help?

d3d9.cachedDynamicBuffers doesn't seem to have any effect but:
I've recently tested it with numerous units that previously caused significant lag, and the frame rate dropped from 30 to 20 fps. Additionally, I've updated both my Nvidia drivers and the Vulkan driver, and it appears to have resolved most of the issues. Previously, the frame rate plummeted to around 5 fps, but now it's greatly improved!

Currently, there are a few lingering concerns, though they're quite minor. Running on Vulkan driver version 1.3.275. I'll provide an update if I come across any further issues.

from dxvk.

Blisto91 avatar Blisto91 commented on July 22, 2024

You mean a driver update seems to have solved your issue? You seem to already have had the latest when you posted originally.

from dxvk.

BugFixer300 avatar BugFixer300 commented on July 22, 2024

You mean a driver update seems to have solved your issue? You seem to already have had the latest when you posted originally.

Yes sorry wrote down the wrong version. Will need to do some more testing

from dxvk.

Blisto91 avatar Blisto91 commented on July 22, 2024

No i meant the log shows you are on latest.
Was the performance a constant dip while units were on screen or was it stutter

from dxvk.

BugFixer300 avatar BugFixer300 commented on July 22, 2024

That's odd, there's a consistent dip in the frame rate, maintaining at 20 frames per second repeatedly. It appears there are some compatibility issues with the latest Vulkan driver version. Previously, I tested it with a large number of units before the update, and it didn't crash, but now it seems to be crashing. Perhaps DXVK isn't functioning properly with Vulkan version 1.3.275. Will do some more testing on my laptop

from dxvk.

mbriar avatar mbriar commented on July 22, 2024

The vulkan version is pretty meaningless. Only the nvidia driver version matters.

from dxvk.

BugFixer300 avatar BugFixer300 commented on July 22, 2024

Does setting d3d9.cachedDynamicBuffers = True help?

Hey, some strange stuff was going on. After reinstalling the game, my DXVK version wasn't functioning properly. But, after stumbling upon the right DXVK dll file, the tool started working again. It used to crash the game constantly, but now it's stable. Also, after some testing, I noticed there was still lag. However, when I enabled 'd3d9.cachedDynamicBuffers = True', the game ran smoothly without any lag at all. So, big thanks for the help! I'll be sure to spread the word in the ROTWK community. Much love!

The vulkan version is pretty meaningless. Only the nvidia driver version matters.

Ah never knew that, thank you for the information.

from dxvk.

Blisto91 avatar Blisto91 commented on July 22, 2024

Which patch are you using and mods if any.
Also can you include a screenshot of an example where the fps is dipping?

from dxvk.

BugFixer300 avatar BugFixer300 commented on July 22, 2024

Which patch are you using and mods if any. Also can you include a screenshot of an example where the fps is dipping?

Patch 2.02 V9 and AOTR 8.3.1
Did some testing with the Grass objects in the game they cause heavy lag when d3d9.cachedDynamicBuffers is turned off but when turned on it's smooth.

d3d9.cachedDynamicBuffers = False:
Before cache 1
Before cache 2
Before cache 3
Before cache 4

d3d9.cachedDynamicBuffers = True:
After cache 1
After cache 2
After cache 3

from dxvk.

Blisto91 avatar Blisto91 commented on July 22, 2024

I have gotten my hand on the expansion now and confirmed the slowdowns with the mod and all.
@BugFixer300 Which language have you installed the game in

from dxvk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.