Menu Stutter

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
Jwub
Posts: 1
Joined: Thu Mar 19, 2020 10:20 pm

Menu Stutter

Post by Jwub »

Having too many mods seem to make my game stutter whenever I open a in game menu like inventory or the pause menu. I tried messing around to see if it was a specific mod that was causing the problem, but that didn't seem to be the case. The mods I'm trying to get to work together are:
  • Dreams
    Handpainted Models
    Real grass
    Enhanced Sky
    Villager Immersion
    Daggerfall skyshards
    Airships
    Archaeologists
    Windmills in daggerfall
    Birds in daggerfall
    Taverns redone
    Loading screens
    Convenient clock
    Roleplayrealism
    Climates & cloaks
    Decorator
    Harvestable crops
    Mountains and hills
    Post processing.
I can get around 6 of them working before the stutter starts to happen.

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Menu Stutter

Post by pango »

Welcome to the forums, Jwub!

This is most likely this issue: https://github.com/Interkarma/daggerfal ... ssues/1539

I linked a possible fix in above report, but it's hard to tell what is its impact on memory usage, that depends on a lot of factors. It seems to work fine for me, but I guess it'll have to be reviewed, then released in some version to get more feedback...
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Menu Stutter

Post by King of Worms »

My game freezes for a brief moment after closing inventory.

Its apparent when you move your mouse around and close the inventory, that the movement of the view freezes for under 1 second.

Theres something happening at the inventory closing process

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Menu Stutter

Post by pango »

That's exactly what I describe in above issue: a call to Resources.UnloadUnusedAssets()
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Menu Stutter

Post by King of Worms »

Right! I hope it can be dealt with, I guess it has its purpose to save memory, but it should be changed so it does not happen on every inventory close :) Maybe a few minutes timer between the actions?

User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: Menu Stutter

Post by Nystul »

we had this discussion already once, back then my conclusion was that there is no easy fix that will make all ppl happy:
viewtopic.php?f=27&t=10&hilit=Resources ... 400#p20724

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Menu Stutter

Post by Hazelnut »

Hey Nystul nice to see you around, hope you're well mate.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: Menu Stutter

Post by Nystul »

all good ;) thanks
all of you stay healthy!

Post Reply