quisquous / cactbot

FFXIV TypeScript Raiding Overlay
Apache License 2.0
791 stars 382 forks source link

General Cactbot Lag #353

Closed ArkfrostLumas closed 5 years ago

ArkfrostLumas commented 5 years ago

Soooooooo... Here I am to write a question I'm having for some time already, due to some suspicions I've had. Since the first day I've been using Cactbot, from time to time, the whole ACT gets laggy and not fluid like seen on many videos.

First of all, here's my setup: i7-7700K GTX 1070 16GB RAM Also, I'm using 2 monitors. A 144Hz acer Predator and a 60Hz Philips TV.

Then, let me continue with my fix-attempts:

And now I'm a bit clueless, what the problem might be. Things where the lag is noticeable:

Now I'm out of clues, what causes this problem.

quisquous commented 5 years ago

Oof that fisher video is heartbreaking. :C

Re: the dual screen bug. Have you tried only using one monitor, just as a debugging check?

What plugins are you using? One thing I've had issue with in the past has been the enmity plugin (if running with all defaults). Do cactbot plugins lag if they're the only one?

ArkfrostLumas commented 5 years ago

Yup and that's what I'm going through with raidboss for quite a while as well.

I have tested it right now with only one monitor, but that didn't help. It's still lagging and from what I've experienced, the more fish you have caught in a spot, the heavier the lag.

I've tested another thing by the way: For months now I've been experiencing some kind of stuttering in FFXIV, like a 0.05s freeze every 3 seconds. I've googled around and I've found out, that is due to the most recent NVidia Drivers all being trash for FFXIV. I had to roll back from NVidia Driver version 418.91 all the way to NVidia Driver version 388.71 via uninstalling the driver with DDU and manually installing the older driver. This completely fixed all the game-stuttering, but sadly it didn't resolve the Cactbot lags in any way.

I've also tried uninstalling and re-installing ACT and cactbot as well, but to no improvement whatsoever.

I'm only using the ffxiv parsing plugin and Cactbot, because Cactbot is all I need. Even for parsing I use Cactbot as base.

The plugins that are active are Raidboss, Eureka, DPS Parser and Fisher.

quisquous commented 5 years ago

When you say "plugins that are active" what do you mean? What is an inactive plugin? If you only have a single cactbot plugin, how does it perform?

You don't happen to have any weird ACT options set like Dump all Network Data to Log file?

ArkfrostLumas commented 5 years ago

With active plugins I mean the modules (raidboss, eureka, etc.) are installed in the OverlayPlugins page. I didn't bother installing any other modules because I don't need them.

If I only install 1 single cactbot plugin (like Fisher) it doesn't change anything.

Where is that option? At least I'm pretty sure I didn't turn anything extra on that wasn't on by default or instructed to me.

And as mentioned before in Discord, the fisher overlay plugin and raidboss plugin only lag, while the game is in the foreground. When I tab out of the game, the plugins perform perfectly smooth.

quisquous commented 5 years ago

cactbot-test-always-active.zip

Here's a build of cactbot that always believes that ffxiv is up and active if you want to try having it up in front of other 3d games, etc. Otherwise, I know it hides so it might be harder to test out.

quisquous commented 5 years ago

Mostly I just put this up so that you can definitively verify that it's FFXIV and not other fullscreen games.

ArkfrostLumas commented 5 years ago

Hmmm... Okay... And how do I use it outside of ffxiv? I mean, I need some kind of bars, like the fisher bar running, to verify, if anything is slowing down cactbot.

ArkfrostLumas commented 5 years ago

BIG UPDATE! It was in fact NVidia Inspector, as I assumed!! I re-installed NVidia Inspector, went into that extremely tiny crossed tools icon in the middle (profile settings) and on the top I found a drop-down list with a few thousand games inside. One of them was FFXIV and there is also an NVidia button at the top which's tooltip says "restore to NVidia Defaults". Selected FFXIV, pressed that button and a few settings changed.

And now look at this gorgeous thing:

https://streamable.com/bnh4u

I even tried it out in Kugane at the Piers #1 where everyone is standing around, queueing for Eureka and there is absolutely zero slowdown <3 Even my heavy load android emulator doesn't have choppy sound anymore and neither do YouTube videos lag even at 60fps x)

quisquous commented 5 years ago

HECK YEAH! Nice work!!!