Youda008 / DoomRunner

Preset-oriented graphical launcher of various ported Doom engines (an alternative to ZDL)
GNU General Public License v3.0
204 stars 13 forks source link

High CPU utilization #84

Closed lovilo closed 1 year ago

lovilo commented 1 year ago

Hello,

As of version 1.6 the DoomRunner.exe executable has a high cpu usage all the time it is open. Attached image:

image

I have tested version 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4 and 1.7 beta. Same issue in all scenarios. Fresh install in all cases (no legacy config file) .

Greetings!

Youda008 commented 1 year ago

Can you show me your setup? What are your directories for iwads, maps and mods? How many files are there aproximatelly etc?

lovilo commented 1 year ago

Hi!

This is my setup:

image

Engine folder --> image

iWads Folder --> image

Maps Folder --> image

Mods Folder --> image

TC Folder --> image

If I download the executable DoomRunner.exe and run it without any configuration (First time), it also happens. I attach an image: image

Regards

Contmotore commented 1 year ago

Same here in Arch Linux

Youda008 commented 1 year ago

I'm having troubles profiling the application, but i've noticed the CPU usage goes up, when i clear the map directory in Setup.

Can you please try entering something here (ideally some small directory with only few files) obrazek and report back if the CPU usage goes away after clicking Done?

lovilo commented 1 year ago

Hello,

I have this configuration:

image

The problem persists: image

I try removing directory with maps and use absolute paths. Same result, high use cpu.

Regards!

PD: I have 25 files on Maps folder.

Youda008 commented 1 year ago

I suspect 1 change that was added in 1.6. Can you please try 1.5.3 or older if it also happens there?

Youda008 commented 1 year ago

1st attempt to fix is in the recent release.

lovilo commented 1 year ago

Hi!

I just tested it and now I no longer have the incident. It looks like you have found the solution!

Thank you!