|Anonymous | Login | Signup for a new account||2023-03-20 09:23 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details [ Jump to Notes ]||[ Issue History ] [ Print ]|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003919||Zandronum||[All Projects] Bug||public||2021-11-01 20:20||2022-03-27 09:31|
|Platform||Microsoft||OS||Windows 10||OS Version||XP/Vista/7|
|Target Version||Fixed in Version|
|Summary||0003919: Zandronum (3.0.1 and 3.1, OpenGL) stops rendering when window does not have focus, but uses way more GPU and can freeze.|
|Description||As seen in this thread:|
This is meant to be an optimization, but instead it's just inconvenient at best (if you have multiple monitors, you want the game to still update) and can freeze the game at worst (GPU usage spikes to 100% and alt tabbing back either has a long delay or outright stops running).
I have worked around this problem by binding my alt key to cl_capfps true, which negates the GPU spiking issue. Otherwise I assume the game is trying to render <nothing> as quickly as possible at thousands of FPS or something.
I've seen this behavior on an RX 480, GTX 1650, Intel HD 4400 so it's not specific to any one video card or manufacturer. This is much less pronounced on the Intel system but it's also a lot weaker than the other two.
See attached image of GPU usage. Every time it shoots up to 100% I have alt-tabbed out, and 10 seconds later or so I alt-tab back in and usage drops down to 19% or so. If I leave it alt-tabbed out for a lot longer, say a minute or more, the GPU will get really hot/loud at 100% and the game will be frozen when I try to switch back to it.
This appears to happen in both windowed and fullscreen, though it seems more severe in fullscreen mode.
|Attached Files|| 1650.png [^] (14,648 bytes) 2021-11-01 20:20
zangpuusage.png [^] (51,330 bytes) 2021-11-01 22:47
Zandronum_GPU_Spike.png [^] (46,365 bytes) 2021-11-02 15:11
|Just wanted to add that this is specifically in multiplayer. In single player all game logic stops, so CPU/GPU usage drop significantly when alt-tabbed.|
I did some quick testing, but can't reproduce this. Using 1600x900 windowed, OpenGL, in multiplayer, alt-tabbing out reduces my system's GPU usage.
See attached screenshot: the areas of the GPU usage graph where it drops are when the window is not focused.
|When you alt-tab out, are you opening the menu first? That can limit the FPS as well.|
I can confirm that the GPU spike does occur (I use a GTX 1060 with 6 GB) when Zandronum is out of focus. This only happens in multiplayer, both in windowed mode and fullscreen, as you said. If left out of focus long enough, Zandronum might completely freeze and need to be forcefully shut down.
In my attachment: periods where the GPU spikes to 100% occur when I alt-tabbed or minimized Zandronum.
|I also noticed that if the game freezes for say 10 seconds, it will reflect that in my ping (people saying my ping jumped to 9000 for example) which is a pretty funny side effect.|
Hmm, I think I managed to reproduce to a lesser extent on another mod (WDI) at fullscreen 1080p... but the GPU usage when unfocused is only slightly above the usage when focused.
I'm unable to reproduce any freezing too.
|I've encountered this issue many times, can confirm.|
|Only registered users can voice their support. Click here to register, or here to log in.|
|Opponents:||No one explicitly opposes this issue yet.|
|2021-11-01 20:20||RushJet1||New Issue|
|2021-11-01 20:20||RushJet1||File Added: 1650.png|
|2021-11-01 20:28||RushJet1||Note Added: 0021812|
|2021-11-01 21:33||Kaminsky||Status||new => acknowledged|
|2021-11-01 22:47||DrinkyBird||Note Added: 0021813|
|2021-11-01 22:47||DrinkyBird||File Added: zangpuusage.png|
|2021-11-02 14:37||RushJet1||Note Added: 0021814|
|2021-11-02 15:11||Kaminsky||File Added: Zandronum_GPU_Spike.png|
|2021-11-02 15:20||Kaminsky||Note Added: 0021815|
|2021-11-02 15:20||Kaminsky||Status||acknowledged => confirmed|
|2021-11-02 16:37||RushJet1||Note Added: 0021816|
|2021-11-03 09:46||DrinkyBird||Note Added: 0021819|
|2021-11-04 00:07||Kaminsky||Assigned To||=> Kaminsky|
|2021-11-04 00:07||Kaminsky||Status||confirmed => assigned|
|2022-02-22 14:56||Kaminsky||Assigned To||Kaminsky =>|
|2022-02-22 14:56||Kaminsky||Status||assigned => confirmed|
|2022-03-27 09:31||auratoostronk||Note Added: 0022167|
Questions or other issues? Contact Us.
|Copyright © 2000 - 2023 MantisBT Team|