Jump to content

Recommended Posts

Posted

So, have a game, like 13 hours in, level 25, and suddenly animations are taking a long time to load, inventory has a delay in opening, basically everything seems like it has a minor delay. I'm likely going to try and load a save back before this happened and just replay the last couple hours or so and see if it resolves it, but was curious if anyone knows how to figure out what might be causing it? Maybe something got hung up and I could reset a mod script or something to fix it?

 

Any insight would be great. I've had this happen before in my Fallout 4 game also, so would love to know if there is a way to find where the culprit is.

Posted

1. Grab the tool traison posted and add it to your modmanager. Do not activate it yet.

2. Read the instructions on how to use it. The short version is: In the configfile you need to add which "profiler script" to execute. I recommend the one that waits 60 secs and then profiles for 3 minutes. It's called something like that too.

3. Feed the generated output to this website to get a nice graph: https://www.speedscope.app

 

One more thing to consider. Read this long article, written by me:

 

 

The bottom line is: Papyrus performance does not scale linear with workload (or granted budget). Instead the scaling is more similiar to what happens when a GPU runs out of VRAM: Performance drastically decreases when a threshold is reached. Just like with a GPU once it starts swapping, performs bombs, the same happens with Papyrus when it is saturated.

 

 

Posted
3 hours ago, traison said:

 

2 hours ago, libertyordeath said:

1. Grab the tool traison posted and add it to your modmanager. Do not activate it yet.

2. Read the instructions on how to use it. The short version is: In the configfile you need to add which "profiler script" to execute. I recommend the one that waits 60 secs and then profiles for 3 minutes. It's called something like that too.

3. Feed the generated output to this website to get a nice graph: https://www.speedscope.app

 

One more thing to consider. Read this long article, written by me:

 

 

The bottom line is: Papyrus performance does not scale linear with workload (or granted budget). Instead the scaling is more similiar to what happens when a GPU runs out of VRAM: Performance drastically decreases when a threshold is reached. Just like with a GPU once it starts swapping, performs bombs, the same happens with Papyrus when it is saturated.

 

 

 

Thanks to you both. I'll get on this. Appreciate the help

Posted

 

5 hours ago, libertyordeath said:

1. Grab the tool traison posted and add it to your modmanager. Do not activate it yet.

2. Read the instructions on how to use it. The short version is: In the configfile you need to add which "profiler script" to execute. I recommend the one that waits 60 secs and then profiles for 3 minutes. It's called something like that too.

3. Feed the generated output to this website to get a nice graph: https://www.speedscope.app

 

One more thing to consider. Read this long article, written by me:

 

 

The bottom line is: Papyrus performance does not scale linear with workload (or granted budget). Instead the scaling is more similiar to what happens when a GPU runs out of VRAM: Performance drastically decreases when a threshold is reached. Just like with a GPU once it starts swapping, performs bombs, the same happens with Papyrus when it is saturated.

 

 

 

Update, apparently that mod doesn't work with the newest version of Skyrim AE. Doesn't generate an output file. Couldn't find the file after creating a log so I read through the posts and it seems to be an issue that won't be resolved either. I will scroll through the mods and see what I can do. There were several things in the posts of people who used the mod and found various issues that could be reworked to reduce the script lag.

 

I'll take into account what you said in your post also. Perhaps something is maintaining a script that gets heavier as time goes? Odd I didn't have any script lag and then suddenly hours in it came in. I may also try increasing my OPS. I have a fairly beefy computer, and was fascinated with how deep you went into your analysis.

Posted
6 hours ago, Plaguetard2.0 said:

Update, apparently that mod doesn't work with the newest version of Skyrim AE.

 

Ah that is unfortunate. It is the only profiler tool in existence as far as I know.

 

Gonna have to do it the old-fashioned way then:

  1. Check your Papyrus log, make sure there are no stack dumps in it. These are generated when you save (I think) or when you close the game. So start it up, run around a bit, save and close then check your log. If everything is fine here then move on.
  2. Get ReSaver and go through your active script instances, the ones with a thread assigned to them. If you have some mod making a lot of noise here, consider getting rid of it.
  3. Once the things above have been dealth with properly, consider increasing the iMaxOpsPerFrame (Papyrus Tweaks) value. Papyrus in Skyrim SE/AE is 400 times slower than it was in LE. The default value that comes with Papyrus Tweaks allows for 5 times more operations per frame, directly increasing your script performance by 5x. It may be tempting to just increase this value to 15,000 like I have, but you must keep in mind that fixing issues by increasing this number is literally like sweeping problems under the rug. If you do not deal with problems, and instead just increase this value, you will end up with it eating into your FPS causing even more problems.
Posted
7 hours ago, traison said:

 

Ah that is unfortunate. It is the only profiler tool in existence as far as I know.

 

Gonna have to do it the old-fashioned way then:

  1. Check your Papyrus log, make sure there are no stack dumps in it. These are generated when you save (I think) or when you close the game. So start it up, run around a bit, save and close then check your log. If everything is fine here then move on.
  2. Get ReSaver and go through your active script instances, the ones with a thread assigned to them. If you have some mod making a lot of noise here, consider getting rid of it.
  3. Once the things above have been dealth with properly, consider increasing the iMaxOpsPerFrame (Papyrus Tweaks) value. Papyrus in Skyrim SE/AE is 400 times slower than it was in LE. The default value that comes with Papyrus Tweaks allows for 5 times more operations per frame, directly increasing your script performance by 5x. It may be tempting to just increase this value to 15,000 like I have, but you must keep in mind that fixing issues by increasing this number is literally like sweeping problems under the rug. If you do not deal with problems, and instead just increase this value, you will end up with it eating into your FPS causing even more problems.

 

Thank you for the advice. I'm luckily at least somewhat familiar with the Papyrus Log and ReSaver and will take these steps. I mean, I suppose it is to be expected when you start getting a mod load order with 800 mods in it. Just stinks it didn't cause any issues initially, because it would have been easier to work on the issue on a new game than it would be to try and figure out what is causing it on a game so far in (I barely ever get this far, haha).

 

I appreciate the help a lot.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...