P1X-in / tanks-of-freedom-ii

Indie Turn Based Strategy in Isometric Voxel Art http://tof.p1x.in
Other
221 stars 20 forks source link

Lag for choosing stuff in menu and in game #13

Closed farooqkz closed 1 year ago

farooqkz commented 1 year ago

Hello. I just tried the Linux version without having a dedicated GPU:

CPU(s):                          4
On-line CPU(s) list:             0-3
Vendor ID:                       GenuineIntel
Model name:                      Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz

And there was lag when hovering on menu items or game squares. Note that my guess is that the problem is not with hardware because I have 4 cores and all of them were not being used at the same time.

czlowiekimadlo commented 1 year ago

What is the GPU used here?

farooqkz commented 1 year ago

What is the GPU used here?

iGPU.

czlowiekimadlo commented 1 year ago

That might be the issue then. 3D in Godot is quite demanding, integrated GPUs on Intel are just not cutting it. I have already tested the game on these, and there is nothing I can do really. There is an option to set FPS limit to 30 in the game settings, but I doubt it would help much.

farooqkz commented 1 year ago

That might be the issue then. 3D in Godot is quite demanding, integrated GPUs on Intel are just not cutting it. I have already tested the game on these, and there is nothing I can do really. There is an option to set FPS limit to 30 in the game settings, but I doubt it would help much.

hmm but I think the full capability of my HW is not used. I check with top and CPU usage is less than 100% most of the time.

czlowiekimadlo commented 1 year ago

That is to be expected, unless it's AI turn, CPU is not supposed to be used that much.

farooqkz commented 1 year ago

hmm in that case, I must check if GPU is used a lot or not. If GPU is not used a with its full capacity and there is lag, that is definitely a problem.

farooqkz commented 1 year ago

You were right. iGPU 3D rendering is used to its maximum and there is still lag. Closing this.

czlowiekimadlo commented 1 year ago

I have linux laptop with i5-8250U and game is failing completely on it, 3D objects showing up for a moment, and then dissapearing, so there is nothing. Since the game is aimed at Steam Deck and it manages to run on it fine, I think GPU equivalent to that could be considered a minimum requirement.

As far as I was able to find, Deck's GPU is roughly equivalent to Nvidia GTX 1050 or GTX 950 in terms of raw compute power. xx50 class GPUs are usually the lowest tier being put on laptops with dedicated GPUs, so even the cheapest gaming laptops should be able to handle it.