GZDoom takes longer to load up

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.
Koris95
Posts: 5
Joined: Mon Oct 11, 2021 12:55 am
Graphics Processor: nVidia with Vulkan support

GZDoom takes longer to load up

Post by Koris95 »

I recently replaced GZDoom 4.10.0 with 4.11.0. It now takes a bit longer to load up. Approx. 8 seconds longer. (Yes, I know that's not much, so sue me xD).

In an effort to troubleshoot this problem, I made 2 separate folders of the 2 versions without any additions (except the Doom 2 IWAD obviously) and it does in fact only occur with 4.11.0. I'm not running any PWADs, only vanilla Doom 2.

I have not made any changes to the PC or the drivers between versions.

I'm not sure if there is any other helpful information I can post. Thanks in advance :)
User avatar
Ihavequestions
Posts: 168
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Re: GZDoom takes longer to load up

Post by Ihavequestions »

Weird. On my system, all versions including the very latest 4.11.1 take the same amount of time to load up (Doom 2 title screen and music appear), with no differences between versions.
User avatar
Rachael
Posts: 13694
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: GZDoom takes longer to load up

Post by Rachael »

This is one of those cases where I think the only clues we'll find into the problem will be the system specs, both hardware and OS.
Koris95
Posts: 5
Joined: Mon Oct 11, 2021 12:55 am
Graphics Processor: nVidia with Vulkan support

Re: GZDoom takes longer to load up

Post by Koris95 »

I'm running it on a Windows 10 Pro Version 21H1 (OS Build 19043.1165)
Intel Core i7-9700k
8GB RAMs
GIGABYTE Motherboard
Nvidia GeForce 1080 GPU
User avatar
Ihavequestions
Posts: 168
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Re: GZDoom takes longer to load up

Post by Ihavequestions »

From my observations, RAM usage is actually slightly lower with 4.11 than with 4.10, so it can't be due to lack of RAM.
Koris95
Posts: 5
Joined: Mon Oct 11, 2021 12:55 am
Graphics Processor: nVidia with Vulkan support

Re: GZDoom takes longer to load up

Post by Koris95 »

For testing purposes, I tried an arbitrary old version (4.5) and it seems that it has the same problem although the load-up time was slightly less (Approx. 6 Seconds)
User avatar
Rachael
Posts: 13694
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: GZDoom takes longer to load up

Post by Rachael »

Win10 + 8 GB RAM - I think this is the culprit.

Either one of those by itself is not the issue, but Win10 is a huge RAM hog unless you "debloat" the everliving fuck out of it. (Before you ask, Win11 isn't any better, it's actually worse)

Unfortunately GZDoom *has* increased in its memory requirements - this is something we cannot help, as new features get added to the engine on a weekly-to-monthly basis.

This will cause a significant more thrashing to the paging file, as the system will be unable to handle two memory hogs at once, and the only way it can cope is to provide a much slower backing store to the already starved available system RAM.

At this point - you have 4 options - 1) Live with it (I know, it sucks, and I'm sorry), 2) Debloat your Windows to see if it helps (be very careful doing this, it's easy to remove things that may become necessary later on), 3) Stick to older versions of GZDoom, or 4) see if you can either quit background applications (i.e. Firefox/Discord/Telegram/etc) or offload them to an older system while you are playing. Also - turn off Microsoft Edge running in the background.

You can also try using the OpenGL ES backend, even though your GPU is significantly newer, to see if it itself helps with GZDoom's overall RAM usage. (It uses less shaders, so this may help)
User avatar
Bob Beaky
Posts: 24
Joined: Fri Mar 18, 2022 12:03 pm
Graphics Processor: nVidia with Vulkan support

Re: GZDoom takes longer to load up

Post by Bob Beaky »

Just popping in to say I have the same issue. I'm using Windows 10 Pro with an i511600k, 32 gig RAM and a 12gig 1080ti and I run GZDoom from my WD Black SSD. I never had the problem before 4.10.0 either.
User avatar
Kappes Buur
 
 
Posts: 4138
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada

Re: GZDoom takes longer to load up

Post by Kappes Buur »

Koris95 wrote: Thu Oct 12, 2023 1:16 am I'm running it on a Windows 10 Pro Version 21H1 (OS Build 19043.1165)
Intel Core i7-9700k
8GB RAMs
GIGABYTE Motherboard
Nvidia GeForce 1080 GPU
My PC specs
Spoiler:
I ran


all opened the same in the blink of an eye (maybe a second but certainly not 8 seconds)
from the time that I clicked on Play GZDoom

Maybe adding an extra 8 GB would improve your load time.
User avatar
Ihavequestions
Posts: 168
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Re: GZDoom takes longer to load up

Post by Ihavequestions »

Kappes Buur wrote: Thu Oct 12, 2023 3:44 pmall opened the same in the blink of an eye (maybe a second but certainly not 8 seconds)
from the time that I clicked on Play GZDoom
You should measure the time from starting the exe till the music starts playing and the menu becomes available.
User avatar
Kappes Buur
 
 
Posts: 4138
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada

Re: GZDoom takes longer to load up

Post by Kappes Buur »

Ihavequestions wrote: Thu Oct 12, 2023 5:00 pm You should measure the time from starting the exe till the music starts playing and the menu becomes available.
Okay, I did that,
from clicking the shortcut to when the game starts with MAP01 and the music playing, it is about equal again at perhaps 2.5 seconds. And that includes having to move the cursor to the appropriate clickable areas.

Thus I surmise that loading times are dependent on a number of related factors to the computer system itself and how much baggage has been accumulated in the background for the operating system to deal with.
Professor Hastig
Posts: 246
Joined: Mon Jan 09, 2023 2:02 am
Graphics Processor: nVidia (Modern GZDoom)

Re: GZDoom takes longer to load up

Post by Professor Hastig »

I have no problems either, even with a large music mod I autoload, overall startup time is less than 3 seconds.

To help us out, does it specifically hang at a certain message in the startup window?^Also, what render backend are you using? For me the startup time of Vulkan is a bit higher than OpenGL, for example.
User avatar
Ihavequestions
Posts: 168
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Re: GZDoom takes longer to load up

Post by Ihavequestions »

Kappes Buur wrote: Thu Oct 12, 2023 8:40 pmOkay, I did that,
No, you didn't; you started the map.

Anyway, your description gives valuable insight into GZDoom's quirks as its startup time doesn't seem to be related to actual system speed, amount of RAM, or anything specific, really. The game's startup window may be hanging for a few seconds, and this seems to be related to some driver issue or the way the game accesses specific hardware (sound hardware perhaps?) rather than the hardware's speed.
yum13241
Posts: 847
Joined: Mon May 10, 2021 8:08 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): EndeavorOS (basically Arch)
Graphics Processor: Intel with Vulkan/Metal Support

Re: GZDoom takes longer to load up

Post by yum13241 »

Rachael wrote: Thu Oct 12, 2023 12:17 pm Win10 + 8 GB RAM - I think this is the culprit.

Either one of those by itself is not the issue, but Win10 is a huge RAM hog unless you "debloat" the everliving fuck out of it. (Before you ask, Win11 isn't any better, it's actually worse)

Unfortunately GZDoom *has* increased in its memory requirements - this is something we cannot help, as new features get added to the engine on a weekly-to-monthly basis.

This will cause a significant more thrashing to the paging file, as the system will be unable to handle two memory hogs at once, and the only way it can cope is to provide a much slower backing store to the already starved available system RAM.

At this point - you have 4 options - 1) Live with it (I know, it sucks, and I'm sorry), 2) Debloat your Windows to see if it helps (be very careful doing this, it's easy to remove things that may become necessary later on), 3) Stick to older versions of GZDoom, or 4) see if you can either quit background applications (i.e. Firefox/Discord/Telegram/etc) or offload them to an older system while you are playing. Also - turn off Microsoft Edge running in the background.

You can also try using the OpenGL ES backend, even though your GPU is significantly newer, to see if it itself helps with GZDoom's overall RAM usage. (It uses less shaders, so this may help)
If you're going to wipe your system, you might as well use the Tiny11 builder which uses a GENUINE Microsoft ISO. If you're willing to use Linux, that's also an option. The hardest part is installing it and learning basic command line skills.

Also, maybe try updating your graphics driver.

Return to “Technical Issues”