-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In raid: lagged out down to 1FPS - game crash version 4.0 #775
Comments
Similar thing happened to me but not as quickly. I noticed some FPS drops immediately especially when killing multiple mobs like AQ40 warrior packs. We did AQ40 and then BWL and the performance kept degrading over the raid. In BWL suppression room I was in single digit FPS and had to disable Luna and reload UI. After that everything worked fine. The cause is not LUA errors because that's something I would have seen. The only hint for finding the issue is that hitting multiple mobs caused FPS drops and overall FPS kept getting worse over time. I was using 4.020 Beta. |
I have seen this happening aswell in a long raid session (AQ40 + BWL). However i can give no estimate for a fix as it will be difficult to track down. A workaraund for the moment is a reload of the UI. |
I encountered a similar problem in the last AQ40 too and suspected this addon. I'll do some very basic profiling of all functions and frames reachable from the LUF object in tomorrow's raid. Hopefully something obvious pops up. |
This also happened to me, 2-3 times. When i switched back to the old 3.0 version it stopped happening. |
Think youll be able to find it? Pretty happy with the 4.0 changes but had to disable for my raid because i kept dropping from 140 fps to 5-10. |
Last Sunday I had it stuck at super low fps until reload after Viscidus. Today's BWL it only dropped to slideshow fps in fights involving a lot of incoming AoE damage, but it always went back to normal afterwards. We also did the shark thing in Azshara, and as soon as the shark did his AoE it would destroy my fps until everybody was full HP again. Firemaw was also unplayable, while the other 2 drakes ran with only minor stuttering. Over a time of 272 sec I gathered following data in BWL, including some pulls in the suppression room where it was simply unplayable. Note that profiling every frame has massive overhead, which is why the fps is so low even on average! Times are all ms. Time expired: 271639.77
I omitted all the other addons that had completely irrelevant CPU usage. Disabling LUF also improves fps a lot, so I guess it's safe to say there is a problem somewhere.
These are the top CPU consuming functions found when traversing the LUF object. Functions that can't be reached that way won't show up here! The function name is simply the first place a function was found, KEY: means the key of a table was a table used to go deeper. Edit: The update function used for the castbars consumes by far the most time. First glance at the code I don't really get how it's all connected, but 2.4 million times seems a lot, that's 389 times avg per frame, or nearly 900 every 0.1 sec, which seems to be the intended interval. Don't think that's the (only) problem causing insane fps losses for me though, guess that will be harder to find :/ Still, if there aren't even castbars active it maybe shouldn't update them 9000 times per second. And whatever the UpdateTag function in that case is also costs way more CPU time than the actual casttime function used to update the tag. I'll remove all tags on all disabled bars and frames and check if that makes any difference next raid. |
Definitely experiencing this as well. Went from AQ40 to BWL and FPS didn't quite drop down to 1 FPS, but I was getting some serious lag. Reload as mention did fix it, but happening in combat as a tank, a reload isn't the most ideal situation to be in. I was probably also missing some ability usage on GCD as a result. |
Yes, casttime (which is an onUpdate) & tags with healing take their toll on performance. However that does not explain the drop to 1 fps. Luna 3 used unthrottled onUpdate on ALL tags and you can see that its far worse than Luna 4. You can test the impact by unlocking and casting. Its also more the burst of code at the start / end of a cast. So the search continues. |
Just updated from 3.x version and got shocked with lagging in AV 40x40 battle. Reminded me good old times with slow computer and 512 mb of RAM onboard. Well it wasn't 1 FPS but rest of bg i was healing with standart blizzard UI. PS |
I tried finding the reason for it some more, but even with just healthbars for raidframes, no tags, no squares, no feature active, it causes single digit fps in some situations and overall stuttering most of the time in a raid. Disabling raidframes but keeping the addon active results in no (obvious and unexpected) fps drops anymore. |
I have identified the first issue that is causing bad performance. The change to address this is here: 1c0f63f |
I have been running cpu profiling for a few raids now and i have had a lag free experience so far. However i had to disable Details and NovaWorldBuffs since they consume a lot of cpu power aswell. I will look into further optimization anyway. |
I am still experiencing performance issues in long raids using the latest version. The lag mainly occurs on pulls and on AoE effects that applies debuffs. Also, the longer the raid is, the longer it takes to /reload or to log out. Raiding fora few hours will result in an log out or /reload time for over a minute, sometimes several minutes. |
I'm using 3.050 because 4.040 still causes terrible fps problems. With 3.050 everything works fine even after a 5 hour raid session. |
Please try 4060 there should be a lot less lag. |
4060 has made the stutter problem much better, but not 100% gone. Still it is usable for now. Thanks |
To make this better i need more information. With my current settings (which are somewhat default i experience no issues myself. If someone could describe the problems a bit more in detail (running the latest version) it would be of great help. Or even upload their entire config file (from the WTF folder). Here are also some guiding questions: Does it lag the entire interface? |
Does it lag the entire interface? If you can get into a naxx raid and get to the KT fight that is where you will be able to see the micro stutter lags that happen when mobs die the best. |
@Lipovske have you tried deleting your |
@chrisblossom yes only way I have completely fixed it is by going back to version 3.x.x |
I have run a full Naxx with your settings. There were no issues with performance. May i ask what kind of processor you have? |
I have a Ryzen 5 3600. I will install the latest release again for the next naxx run I do on Saturday and record KT phase 1 so you can see. |
I'm starting to suspect that my performance issues is caused by an interaction between luna and some other addon, or possible another addon all together. Although I failed to solve the issue in earlier attempts to disable all non-vital while raiding, I must have missed some addon because two weeks ago I had almost no performance issues using only a minimal amount of addons (including Luna!). Last raid I enabled some more addons and got the performance issue again. Will update when I figure out which addon it is and if it really has anything to do with Luna. |
@Lipovske there isn't much to be gained from a video. I do believe you that you are having issues. You could list me alle the addons you have active and maybe upload your Luna setttings file from the WTF folder. |
Addons: I have disabled All these addons except DBM, Weakauras, and bartender4 during a raid and still had the same issues. LunaUnitFrames WTF.zip I am currently using version 3.x and have no issues with lag except when players join a raid but that doesn't bother me at all. Any version 4.x causes lag when mobs do their death animation. It got much better with the latest update you did to try and fix performance issues but is still there. Once DMF week is over I will try running naxx with only Luna active and see if I get the same issue. |
For what it is worth, I mainly experience lag using luna in raids with complex square setups. In bgs I have quite a lot in the squares section for major ccs and cds, but when I applied those to my raid frames for naxx I'd lag immensely but when i removed them not so much. |
When I switched from 3 to 4 for the first time, I experienced 0 lag in Naxx. One week after I started lagging again and by now it is horrible, I am playing on 15fps during big pulls. I had the same issue in bwl and aq40. It seems like performance degrades over time and the faster your guild pulls the worse it is. |
I am quoting my other account here. I did multiple PTR practice runs and a speedrun with big pulls just earlier, testing out different stuff with luna. Turning every all squares off made lag go away completely @BirkenBoard and @Aviana |
Yes i can now confirm that i had some slight lag after putting up three squares with the same buffs/debuffs that Lipovske watches during my latest naxx raid. Now that i know that it is only squares and i can reproduce the issues i can work on adressing it. |
Whelp, glad I could help a bit, meant to post this information months ago, but doubted myself on if it was relevant or not since my use case is far more complex than everyone else I know who uses luna. |
Is this still an issue in the new TBC versions? I posted earlier about experiencing the issue here myself, but I haven't been using Luna due to this happening in raid - but I see the issue is still open. Are these performance issues still being tracked down and worked on |
You talk about it like someone is refusing to do some mundane work. The issue here is that no one understands what part of the squares causes the lag. And yes that includes me. But you are invited to contribute any time its open source after all :P |
I'm just inquiring if it's an issue still - I wasn't sure if this just was forgotten to be closed or if later updates took care of it, or if the issue is still prevalent is all |
@boktai1000 I use tons of squares with luna and there is no issue for 5 or 10 man content. There is a super slight frame drop during 25 man content, but not nearly as bad as 40 man in vanilla. I doubt you would notice unless you are looking for it. |
Having this issue again in Naxx in WotLK. It's not nearly as bad as I remember this initially being, but I'm getting micro stutters. Does it lag the entire interface? Does it lag from the moment you log in? What kind of/how many buffs/debuffs do you monitor on the raidframes? Raid AND Raid Pet:
ToT:
Pet:
Do you use other tags than the default ones? |
Same here, lags in Naxx 25, I'm thinking to change to healbot :( |
Performance issues in wotlk are common. To see if this still a Luna problem feel free to change to something else and report back if that fixed it for you. |
For some people it may appear with fewer things to track in the squares while others have no problem at all. I will have to re-do the module while still not knowing what exact part of it caused the bad performance. In the meantime if you are having performance issues please remove all squares and use the following addon as replacement: |
When I entered AQ40 and people came online from being logged for buffs, the FPS kept dropping and dropping and by the time all 40 were logged in the game locked up and I had to alt-f4 it. Unfortunately I didn't record or stream.
The text was updated successfully, but these errors were encountered: