PathOfBuildingCommunity / PathOfBuilding

Offline build planner for Path of Exile.
https://pathofbuilding.community
Other
4k stars 2.08k forks source link

Path of Building Community 2.30.1 is extremely slow. #6287

Open DeviantGames opened 1 year ago

DeviantGames commented 1 year ago

When I put my mouse cursor on a node, it takes about 2 to 3 seconds before the tooltip appears. It freezes for about 10 seconds for every letter I type into a skill gem name. Everything is extremely slow.

"Show Node Power" is unchecked, I restarted my computer, I reinstalled the application, I installed previous versions which I know did not lag before (2.28.0), I updated my graphics drivers. The application was not slow when I used it a month ago.

I have 32 GB of RAM, an Nvidia 1660 Ti GPU, an Intel Core i7-4770K CPU.

LocalIdentity commented 1 year ago

Someone else encountered the exact same issue and the cause was a lot of items in the Shared Items list. Try deleting some and see if that fixes the issue

DeviantGames commented 1 year ago

My Shared Items list is empty.

Wires77 commented 1 year ago

Can you try using the standalone version of PoB? Or try moving your build and settings locations somewhere outside of your documents folder?

Ghismo87 commented 1 year ago

Hi, i have the same performance issue after updating to 2.30.1 i've tried to change the folder, using both the installer and portable version, my shared item list is empty. i've reinstalled my graphic driver but nothing changed.

32GB RAM, RTX 6800XT, AMD 3700X

rilld8 commented 1 year ago

I had same issue yesterday and managed to fix it somehow - passive point allocation is back to normal, gems selection is still a bit slow but not as bad. I uninstalled PoB, downloaded new version (2.30.1), run that as an administrator (otherwise it throws error about not being able to write files) and reainstalled at different location - for me it was changed from user/AppData/Roaming to C:/Program Files

tmodesto992 commented 1 year ago

I am also having this same issue of slowness. Also tried downloading not only in separate locations, but separate drives as well. Was going to make my own post but saw this one so figured best to tack on. Nothing in shared items. Never had lag issues before 2.30.1 .

I have 16 GB RAM, AMD Ryzen 9 6900HS, NVIDIA GeForce RTX 3070 Ti

LocalIdentity commented 1 year ago

Can you guys try on earlier versions on our release page: https://github.com/PathOfBuildingCommunity/PathOfBuilding/releases And let me know if the issue disappears at some point

Ghismo87 commented 1 year ago

Hi i've tried again to delete and reinstall using the 2.30.1 .exe, this time under the programs folder and it seems to work now, hope it help

saianna commented 1 year ago

I've done just as LocalIdentity guy suggested. Uninstalled extremaly slow/stuttering newest PoB and installed older version. At first "fresh" load everything was fine, but slowness and stuttering came very quickly.

It's unusuable in this state :/

bucketcat commented 1 year ago

The gem drop down seems to have some issues as it causes an unreasonable memory allocation (40+gb) and freezes the client for 40 seconds whenever the drop-down is pressed to add a new support. This is the only place it happens for me, I.e. the skill tab. Only latest build.

Skroub commented 1 year ago

Unfortunately nothing worked for me as well. :/ (didn't try deleting the Shared items as I don't know what/where they are) Listing what I tried to do. 1) Uninstalled/installed from latest down to 2.28.0 2) Played around with installation folders (appdata/ program files / program files x86) 3) Updated GPU drivers 4) Uninstalled Nvidia HD drivers (because why not? :P )

Laptop specs : Ryzen 5-5600H, RTX 3060, 16GB DDR4 RAM, SSD drive, Windows 11 Pro 10.0.22621 (updated fully)

Edit: Forgot to add that my windows is pretty much a clean installation. I rarely use it and therefore don't have a ton of stuff installed. I have dual boot Linux for work that I use 90% of the time.

Lilylicious commented 1 year ago

This seems to be happening to a not insignificant amount of people, but it's extremely hard to figure out why. We can't replicate this problem on our own machines. I'm personally running the same windows version as the last comment and I have no issues.

Since downgrading versions does not appear to help the issue, the best we can guess is that some driver somewhere has updated and is causing issues with some users in some hardware or software configuration, but I'm a bit stumped on how we figure out why/where/what/how.

Baddiwar commented 1 year ago

This worked for me, same problem as OP:

I uninstalled PoB, downloaded new version (2.30.1), run that as an administrator (otherwise it throws error about not being able to write files) and reainstalled at different location - for me it was changed from user/AppData/Roaming to C:/Program Files

Skroub commented 1 year ago

Just installed latest Nvidia drivers (536.99) released yesterday and had a new windows update. Still the same unfortunately. On my desktop it runs super smooth. Biggest differences between desktop and laptop (that I think might make sense) are win10 vs win11 and AMD GPU vs Nvidia GPU. Also, on the laptop, I had installed a beta version a few months ago. I don't remember what it was for and I don't remember how I had installed it or any special configurations. Maybe the uninstaller doesn't remove everything and there is some registry setting leftover that screws things up?

As a suggestion, @Lilylicious @LocalIdentity maybe try to make a reddit post to get more visibility on the issue? Asking people about their hardware specs, any special configurations etc or something that makes more sense for you. There's already a post but it doesn't have a lot of traction. A stickied post by you guys will probably be a lot more efficient in getting more details. https://www.reddit.com/r/pathofexile/comments/15kcxf8/pob_slow_and_crash/

ChitacAlexandru commented 1 year ago

I've encountered this issue as well, tried all the fixes in the thread and nothing worked yet, tested with versions down to january and it's the same. Weirdly enough, whenever I focus back on pob, gpu spikes instantly to 25% up to 50% usage lmao. I have a gtx 970 and an I7 6700

Skroub commented 1 year ago

Apologies if I'm spamming the thread. :D Today, without any updates or anything PoB was working fine for me. It's a clean install of latest version with no builds imported. I started playing around with potential new league starters up until I imported a build from pobb.in The moment PoB opened from the "Open" button in pobb.in, everything went back to super laggy. No idea if that could be the reason, but I figured it's one more clue. Build I imported is Carn's Boneshatter Slayer https://pobb.in/Kqd8Lj8R26Ph

ChitacAlexandru commented 1 year ago

Can confirm that the same happened to me

adamszeremeta commented 1 year ago

I have the same problem. Just moving around the tree is showing in task manager 30% usage of GPU. Hovering over the node is laggy and selelecting/deselecting the node freezes the app for like 2-3s.

Newest Nvidia drivers, GeForce RTX 2070 + Ryzen 5 3600

KnizeLomikar commented 1 year ago

For me the issue is Avast. Exception is not working => disable all shields works but is not really a safe option.

Lilylicious commented 1 year ago

Confirmed by another user on discord that disabling avast worked.

SrevarinoPOE commented 1 year ago

Been working on this for 2 patches of PoB and have tried stuff with drivers, locations, reinstalling, other PCs, and my answer was adding "Add Advanced Exception" option for the ENTIRE PoB folder (not just the executable) under exceptions tab in settings in Avast. Immediately back to full throttle and even the most detailed and conplex of builds loaded quickly again and my full build library was loaded, no issues.

  1. Avast settings > Exceptions > Add Advanced Exception https://imgur.com/b4WMjeu
  2. click 'File/Folder' https://imgur.com/3alVtFz
  3. Then, click out of avast and right click your PoB desktop Icon and click 'go to file location' https://imgur.com/SRKMBwT
  4. Then right click the address bar (on the words Path of Building Community) up top and 'click copy address' https://imgur.com/DLK2pSR
  5. Then return to step 2 window and paste the copied address (press 'Ctrl + V' after clicking the address bar in the center) https://imgur.com/FfeobvY
  6. finally click add exception, done!

edit: the imgur links only seem to work if you manually copy paste them, idk why, but they are there if anybody needs the extra visuals!

KnizeLomikar commented 1 year ago

edit5:

Adding exceptions did not help right away but after restart it is working.

After while it is not working again unless i disable Avast shields.

Skroub commented 1 year ago

Not using Avast. MS Defender. Tried disabling it completely, nothing changed. Tried to update to latest version through PoB, it crashed. Uninstalled, installed latest, now it crashes after a few seconds from opening it. :( Since my last update, I have played around with which GPU to run it through Nvidia control panel. Either integrated (AMD) or standalone (Nvidia) worked. Crashes always.

TroleyDEV commented 1 year ago

I have the same issue. Sometimes PoB works fine but mostly is so slow and laagy.

RTX 3080TI Ryzen 9 5950x

gsantferr commented 1 year ago

Same issue here. Also with Avast. Included the exception and it worked after the first restart. Then, the issue returned. i9-12900HX 32GB RAM RTX 3070 Ti

Zxowie commented 1 year ago

For those who's having a problem with Avast and Path of Building, try and disable Anti-Rootkit Shield. That worked for me!

To find this shield:

  1. Open Avast
  2. Go to Menu -> Settings
  3. Protection -> Core Shields

You will find it right above where you configure shield settings.

unsmith commented 1 year ago

Adding my voice to the pile to say I'm having the slowness issue also, PoB 2.33.5, latest Avast! engine and virus definitions.

Temporarily disabling shields does mitigate the issue, but that's not really a viable solution. It feels like the Avast! engine is having some performance problems with real-time shields and LUA scripts.

Nightblade commented 1 year ago

@unsmith You could try adding the PoB folder to Avast's Exceptions as detailed above: https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues/6287#issuecomment-1676388917 although personally I would recommend totally uninstalling Avast as Windows already has decent built-in antivirus software.

Ulrick28 commented 1 year ago

Disabling rootkit protection was the only thing that worked for me. Not happy about it, and not sure if it is a POB issue or an avast issue.

Wires77 commented 1 year ago

Disabling rootkit protection was the only thing that worked for me. Not happy about it, and not sure if it is a POB issue or an avast issue.

@Ulrick28 @unsmith @gsantferr @Zxowie (and others) We've added a command line option to see if it fixes the Avast slowness. Will you try adding --no-jit to your PoB shortcut to see if it helps? Of course you'll have to turn rootkit protection back on or un-whitelist PoB first to properly check. image

unsmith commented 1 year ago

Adding --no-jit worked great for me! Startup time is much faster, and responsiveness is noticeably snappier.

NsHideout commented 1 year ago

same issue. poor pob performance (ryzen 5700, 3070, 16gb ram). Especially slow in dropdown gem selection menu. Old version also works slow (didnt make cache clean tho), --no-jit dont help

eskalimur commented 11 months ago

I dont know when this started, but for me the sorting takes around 10-30x longer than it used to. (Item sorting, node power sorting, gem sorting)

EDIT: actually found the issue discribed here: https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues/5713

SenorSpook commented 7 months ago

Actually having the same issues as the OP. It has progressively gotten worse in the past few updates. It was barely noticeable a year ago, a hitch of a second or two.

Specs: Newest PoB as of today Windows 10 64bit i7-9700K CPU @ 4ghz 3200MHz DDR4 32GB EVGA 3070ti FTW3

I tried the "--no-jit" addition to my shortcut and it kinda worked, but funny enough, I found a temp solution when I was having issues a few mins later. It froze up bad trying to make gem links, so I closed it. Windows asked if the program was installed properly and i chose to troubleshoot. Surprisingly "Windows 8 Compatibility Mode" brought my 12 second load times down to about 2-4 seconds. why does it work? idk.

JeremySayers commented 7 months ago

I've also been running into the same issue for a while and it seems to have only gotten worse, opening up a POB, and the first time I go to add a support for a given gem I get a full lockup of POB for 5-10 seconds.

After seeing the talks about Avast in this thread I was wondering if Windows Defender could be doing something similar. Looking at Task Manager on my other monitor while I try to select the dropdown to add a new support, and I not only see POB shoot up in usage, but I see the Antimalware Service Executable show up as well, and stay at higher than normal usage for the same duration (ignore the top process, that was the older version still running, but same effect after closing it.) image

So I added the folder my portable POB is in to the windows defender exclusion list, but it did not make any difference sadly. Still going to try some more variations.

EDIT: Did a full install instead of portable and still had the same issue, added the --no-jit to the shortcut and now it only takes 2 seconds to open up the skill dropdown!