Another Day Another Hang

Discuss applications of D2Mod (v1.10), NefEx (v1.11+), and PlugY, and post suggestions for future plugins.

Moderators: Nefarius, Yohann, SVR

Post Reply
User avatar
HarvestWombs
Senior Moderator
Arch-Angel
Posts: 1019
Joined: Wed May 25, 2011 11:50 pm
United States of America

Another Day Another Hang

Post by HarvestWombs » Sun Aug 02, 2015 9:19 am

Not sure where else to put this, but let me explain...

Recently upgraded to Win10, load D2SE and experienced massive hang time (5-8 mins to load plugin)
I have been trying to narrow down the problem but cant figure it out for the life of me.

While D2SE is hanging I have used Analyze Wait Chain, and see it waiting on its own process (same PID) So I checked the threads
Using Process Hacker, Noting that D2SE thread is 'running normally'... Glide has a User Input Request (but this is never affecting anything normally, AFAICT)
ntdll however is stuck on one of the 'unknown handles' (I can't find anyway around this)

I have finally narrowed it down to any mod that uses D2Mod, all the Vanilla Cores, and other standard mods work effortlessly.
In my own mod, if I disable D2Mod completely (unloading all plugins doesnt even work) D2 runs almost immediately.

Does anyone have any thoughts/suggestions?
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

User avatar
kingpin
Retired Admin
Cherub
Posts: 10954
Joined: Sat Jan 11, 2003 12:51 pm
Contact:
Sweden

Hand-picked

Re: Another Day Another Hang

Post by kingpin » Sun Aug 02, 2015 12:25 pm

My guess is that one of the d2mod plugins isn't coded correctly. You can notice issues with some of them in win7 already.

User avatar
TrueMage
Hosted Forum Moderator
Principality
Posts: 2072
Joined: Thu Jun 24, 2004 7:58 am
Location: Elemental Conflux
Contact:
Russia

Re: Another Day Another Hang

Post by TrueMage » Sun Aug 02, 2015 1:04 pm

I think so too. Like Waypoints.dll for example.

User avatar
seltsamuel
Posts: 80
Joined: Sat Feb 10, 2007 8:52 am

Re: Another Day Another Hang

Post by seltsamuel » Sun Aug 02, 2015 3:06 pm

Hi,

this is a little strange as i had testers confirming that D2SE including all mods still work flawless on windows 10..
I just got a VM with win10 so i may do some checks during the next few weeks.

Did you set compatibility to win xp/sp3 on d2se.exe and checked runasadmin? Both of this is essential..
Dont know of win 10 but is there still a checkbox to deactivate aero? Would recommend this too otherwise try using D3D or DDraw as displaydriver.

Do you use the latest displaydriver from the site of the manufacturer of your card? (not this MS cripple drivers)?

Greetings

Seltsamuel

User avatar
HarvestWombs
Senior Moderator
Arch-Angel
Posts: 1019
Joined: Wed May 25, 2011 11:50 pm
United States of America

Re: Another Day Another Hang

Post by HarvestWombs » Tue Aug 04, 2015 8:57 am

This is only on any D2SE mods that are using D2Mod, I have even tried disabling all plugins on my own mod, no luck.
I am using compatibility and admin as always, and my nvidia drivers are up to date. I have even tested all draw modes just in case.

If I disable D2Mod through D2SE_SETUP.ini, the game loads instantly, re-enable it, massive hang time again.

Analyzing the wait chain I find:
TID, CPU, Cycles Delta, Start Address, Priority
8028, , , D2SE.exe+0x3c40, Normal
7392, < 0.01, 565,959, Fog.dll!Ordinal10040+0x10, Normal
1172, , , Fog.dll!Ordinal10233+0xc0, Normal
3916, , , glide3x.dll!glw_sizewindow$qv+0x33c, Normal
3120, , , ntdll.dll!EtwNotificationRegister+0x240, Normal
5596, , , ntdll.dll!EtwNotificationRegister+0x240, Normal
7424, , , Storm.dll!Ordinal255+0x4c0, Above Normal

If I analyze the wait chain on each thread, these are my results:
Fog#1: Thread is sleeping.
Fog#2: Thread is waiting (alertable) for: Handle 0x338 (Event): (unnamed object)
ntdll: Thread is waiting for work from a worker factory: Handle 0x44ed0e0: (error querying handle)
Everything else not listed is "running normally"
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

Post Reply

Return to “PlugY|NefEx|D2Mod”