Slow startup with no internet?

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Slow startup with no internet?

Post by Enjay »

Not really sure where to post this - I think this sub forum makes sense.

As some folk know, where I live my internet connection isn't always reliable. It went down for a couple of hours today and I noticed an oddity when running GZDoom: it took longer to start.

I would get the usual startup window of console messages going past then it would sit and apparently do nothing for about 10 seconds. After that, it continued to start and worked just fine. It didn't always stop in the same place in the startup log.

When the internet came back, so did my normal GZDoom startup speeds.

I have a funny feeling that it's not GZDoom but, maybe, some sort of check that the OS or maybe anti-virus software is doing somewhere. I tried rebooting, I know my machine is virus and malware free, I did a quick checkdisk too and tried a separate install of GZDoom.

I'm not particularly bothered by it but I just wondered if anyone had a better explanation than my hunch?
User avatar
PersonalComp234
Posts: 11
Joined: Fri Jul 13, 2018 1:35 am
Location: Being shipped to your front door.
Contact:

Re: Slow startup with no internet?

Post by PersonalComp234 »

This actually happened to me recently when my provider was installing new internet, but it happened randomly for me.
It might be just your OS or something, but I'm not a full-on computer geek, so I don't know for sure.
User avatar
wolfman
 
 
Posts: 1377
Joined: Mon Jun 28, 2004 4:00 pm

Re: Slow startup with no internet?

Post by wolfman »

Maybe it's because GZStats wasn't able to connect to gzstats.drdteam.org?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Slow startup with no internet?

Post by Graf Zahl »

Unlikely, considering that this is not active in 3.4.x and also runs asynchronously to the main thread.
User avatar
Rachael
Posts: 13557
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Slow startup with no internet?

Post by Rachael »

The stats thing was specifically designed to not slow the startup process whatsoever, even if the host cannot be found. It uses a thread dispatch to accomplish this, as Graf basically hinted at. Plus, even if it was active, Enjay has run GZDoom enough times that it won't even attempt this. But it's long since been disabled anyhow, so it yet still isn't going to attempt it.
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Slow startup with no internet?

Post by Nash »

For me, the only situation where GZDoom does take a little longer to start is if a new version of GZDoom is ran that contained main.fp (shader) changes - seems with nvidia, the shader cache has to be recompiled. But even then, this only ever happens once; then subsequent runs will be fast again. That is, until main.fp is changed again...
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Slow startup with no internet?

Post by wildweasel »

It may be worth trying to run some kind of TCP traffic monitor like tcpview to see what kind of connections are failing to be made when GZDoom launches. Though, in honesty, I'd guess at it being what Enjay said it might be; some anti-virus tools' On Access scanners may try to contact HQ for "second opinions" before allowing the program to continue to execute.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Slow startup with no internet?

Post by Graf Zahl »

Nash wrote:For me, the only situation where GZDoom does take a little longer to start is if a new version of GZDoom is ran that contained main.fp (shader) changes - seems with nvidia, the shader cache has to be recompiled. But even then, this only ever happens once; then subsequent runs will be fast again. That is, until main.fp is changed again...

... and that is pretty much unavoidable. If the shader source changes it has to be recompiled, and there's a lot of variations main.fp has to be compiled into...
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Slow startup with no internet?

Post by Enjay »

I tried tcpview (thanks) and I *think* I may have an answer. Once my anti-virus (Avira) avguard.exe went red momentarily in the list. So, that could confirm my suspicions. Also, NVIDIA Web Helper.exe went red a couple of times. Things are working just fine ATM (i.e. fast) so it could be that tcpview (which only updates once per second) didn't have time to catch the communication attempts every time. The next time things fail, I'll see what tcpview reports.

I'll maybe see if I can disable NVIDIA Web Helper too. I don't think I use any of its features.


As a side benefit, tcpview also showed me that my Logitech mouse/keyboard drivers auto-start an instance of discord, so I disabled that too.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Slow startup with no internet?

Post by Graf Zahl »

Enjay wrote: As a side benefit, tcpview also showed me that my Logitech mouse/keyboard drivers auto-start an instance of discord, so I disabled that too.
WTF?!?
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Slow startup with no internet?

Post by Enjay »

Yup, found the information about it, and how to disable it, here. It was pretty well hidden (the options don't even appear unless you enable them) and I've never used it. In fact, even if I'd wanted to, it was so well hidden that I would have used Discord via another means anyway because I wouldn't even have known it was there.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Slow startup with no internet?

Post by Graf Zahl »

How about suing them? :twisted: That stuff should be illegal with a) being opt-out only and b) being so well hidden that nobody can do it.
User avatar
Rachael
Posts: 13557
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Slow startup with no internet?

Post by Rachael »

Graf Zahl wrote:
Enjay wrote: As a side benefit, tcpview also showed me that my Logitech mouse/keyboard drivers auto-start an instance of discord, so I disabled that too.
WTF?!?
My sentiment exactly.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Slow startup with no internet?

Post by Enjay »

Given how many people use Logitech products, and use their software to drive them, I guess that there will be loads of machines out there with an instance of Discord sitting there unnoticed. It showed up in tcpview as logitechg_discord.exe
Cacodemon345
Posts: 419
Joined: Fri Dec 22, 2017 1:53 am
Graphics Processor: ATI/AMD (Modern GZDoom)
Contact:

Re: Slow startup with no internet?

Post by Cacodemon345 »

Oh god. Why people want to put privacy-invasive features? Logitech should be sued.

Also, I was glad not to have Avira, Nvidia and Logitech on my computer, or else my internet connection would be destroyed considering how slow is this. Moral of this: Never try to use invasive programs and products, else you are fucked. Was glad to go back to Windows Defender, it doesn't slow down my computer to a crawl. I also use AMD, so I am glad that my computer isn't infected with such invasive programs.
Post Reply

Return to “Technical Issues”