Annoying stuttering

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
nowheredan27
Posts: 18
Joined: 13 Feb 2021, 16:53

Re: Annoying stuttering

Post by nowheredan27 » 22 Feb 2021, 22:46

Thanks for the heads up. Do I just download the latest unreleased build every few days or so?
Attachments
47.jpg

nowheredan27
Posts: 18
Joined: 13 Feb 2021, 16:53

Re: Annoying stuttering

Post by nowheredan27 » 22 Feb 2021, 23:29

Still on the stable build, this is the result of me just spinning around in place in Caldera. I really have no idea why this runs so poorly :?

EDIT - Well sh*t, I'm on 0.45 now and the stutter is absolutely gone even when running around the game world. I'm truly at a loss here.
Attachments
screenshot013.jpg

User avatar
psi29a
Posts: 4987
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Annoying stuttering

Post by psi29a » 23 Feb 2021, 10:09

Could the stutter have to do with object paging / active grid eating into your CPU to merge objects? You can try turning those off. Another possibility for the stuttering might be to the recast navigation running in the background?

To turn off the recast navigation (navmesh generation):

Code: Select all

[Navigator]
# Enable navigator (true, false). When enabled background threads are started to build navmesh for world geometry.
# Pathfinding system uses navmesh to build paths. When disabled only pathgrid is used to build paths.
enable = false
Are you running on a dual core CPU or a particularly weak CPU?


Might help.
https://modding-openmw.com/tips/performance/

nowheredan27
Posts: 18
Joined: 13 Feb 2021, 16:53

Re: Annoying stuttering

Post by nowheredan27 » 24 Feb 2021, 00:24

Bro you're a HERO :D
Turning off this navigation setting completely got rid of the crazy chugging I was getting, I can even play the game with vsync on now!
Thank you so much!

User avatar
psi29a
Posts: 4987
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Annoying stuttering

Post by psi29a » 24 Feb 2021, 10:49

I'm glad it worked for you, though I'm disappointing as well... this is a really great feature that give NPS and monsters better AI. They will go back to doing dumb things again. :(

User avatar
akortunov
Posts: 785
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Annoying stuttering

Post by akortunov » 24 Feb 2021, 11:16

I see two possible issues here:
1. There is no enough free cores, so navigator jobs are executed on the main or draw threads, causing random FPS drops.
2. There are free cores, but OS dispatches threads in a wrong way, so navigator jobs are executed on the main or draw threads, causing random FPS drops.

There is nothing we can do with the first issue.
To solve second issue (for 3.6 OSG), we already allow OS itself to handle threads affinity instead of relying on OSG. At least on Linux it works much better, but probably it does not help for some Windows setups.

nowheredan27
Posts: 18
Joined: 13 Feb 2021, 16:53

Re: Annoying stuttering

Post by nowheredan27 » 24 Feb 2021, 11:20

This is the laptop I'm running OpenMW on, just for reference. Mine is the Ryzen 7 one, with the Radeon 540.
Attachments
ideapad_330_15ARR_Spec.PDF
(49.46 KiB) Downloaded 16 times

Post Reply