Shadows of Doubt

Shadows of Doubt

View Stats:
AugurkVlekje May 12, 2023 @ 12:41pm
Why does this game take up 100% GPU usage?
This is a serious question, I genuinely don't understand. This is a pixel game with very simple graphics. Games with very realistic, 3d, advanced graphics take up about 40%-70% of GPU usage, but this game takes up 100%? My PC is handeling games with 'better' graphics much better without any trouble, but when playing this game my PC-fans go crazy and my PC-component temperatures get very high.

I have fps capped at 60, resolution is the same as my monitor, v-sync is off.

Please help me understand how this works and how I can fix it.
< >
Showing 1-10 of 10 comments
joridiculous May 12, 2023 @ 1:01pm 
"a fully simulated world with hundreds of citizens. unique, procedurally-generated cities."
it takes a lot of resources too simulate, and generate the cities.

Also its early Access.
AugurkVlekje May 12, 2023 @ 1:38pm 
Originally posted by joridiculous:
"a fully simulated world with hundreds of citizens. unique, procedurally-generated cities."
it takes a lot of resources too simulate, and generate the cities.

Also its early Access.

Correct me if im wrong.
I thought GPU usage is mainly determined by what is currenly on the screen, and CPU usage is determined by the things you are describing: generating levels, things happening/simulating in the background etc.

Edit: typo
Last edited by AugurkVlekje; May 12, 2023 @ 1:39pm
Retsu Kaioh May 12, 2023 @ 2:35pm 
Originally posted by AugurkVlekje:
Correct me if im wrong.
I thought GPU usage is mainly determined by what is currenly on the screen, and CPU usage is determined by the things you are describing: generating levels, things happening/simulating in the background etc.

Edit: typo

It was true in 2010, but since many years GPU have cuda cores, tensor cores, they have not only graphical purpose. It's faster for the GPU to simulate some aspects of the AI than the CPU. (Stable Diffusion uses the Vram and Cuda cores of the GPU for example). For a game that needs to manage a city with hundreds of NPC in realtime, the GPU is the new king.
To be honest, i'm quite sure that the CPU would not handle as much parameters as the GPU.
joridiculous May 12, 2023 @ 2:37pm 
there is a ton of stuff that gets "rendered". Every building is complete building with interiors, and working windows. No loading between sections (inside and outside). Loads of stuff around on the streets. Yeah, GPU got something to do.
Little Strawberry May 12, 2023 @ 2:51pm 
Originally posted by AugurkVlekje:
This is a serious question, I genuinely don't understand. This is a pixel game with very simple graphics. Games with very realistic, 3d, advanced graphics take up about 40%-70% of GPU usage, but this game takes up 100%? My PC is handeling games with 'better' graphics much better without any trouble, but when playing this game my PC-fans go crazy and my PC-component temperatures get very high.

I have fps capped at 60, resolution is the same as my monitor, v-sync is off.

Please help me understand how this works and how I can fix it.

The most likely reason is that, while you're capped at 60, you probably don't even reach 60 most of the time or barely. The game just isn't optimized yet.

Also the fans and the temperature don't really matter. Your components are built to perform at 100% load for two decades without fail and if you've done your due diligence with building a PC, then you should never thermal throttle before what's on the spec sheet. Unless you have a laptop, in which case manufacturers of laptops happily lie about it.
Isabelle May 12, 2023 @ 3:26pm 
voxel =/= pixel

This game uses raycast lighting and tracks several hundred NPC's at all times, including their current action, held items, and pathing. This is going to be an inherently hard game to run, especially on older cards with bad support for raycasting.
Isabelle May 12, 2023 @ 3:28pm 
Originally posted by AugurkVlekje:
Originally posted by joridiculous:
"a fully simulated world with hundreds of citizens. unique, procedurally-generated cities."
it takes a lot of resources too simulate, and generate the cities.

Also its early Access.

Correct me if im wrong.
I thought GPU usage is mainly determined by what is currenly on the screen, and CPU usage is determined by the things you are describing: generating levels, things happening/simulating in the background etc.

Edit: typo
TLDR, a GPU and CPU serve critically different functions in running a game.

A CPU is very good at several simultaneous processes, while a GPU is the opposite, generally.

Civs and their days, I imagine, are simulated on the CPU, whereas all of the graphics and rendering is the GPU. both are bound to be VERY taxing in this game. But the CPU would be completely inefficient at what the GPU does, and vice versa.
Last edited by Isabelle; May 12, 2023 @ 3:29pm
Isabelle May 12, 2023 @ 3:41pm 
Also: the graphics may look blocky because they're voxels, but that doesn't say anything about how it runs.

Let me use an example to demonstrate this:

Minecraft java edition is rather easy to run, even on integrated graphics cards; this is because the game has both a very efficient rendering and chunk loading system, AND because every texture in the game is only 16x16. This means for every visible face of a block, the game only needs to render a single 16x16 image as many times as it needs to, and that's not hard at all for even rudimentary GPU's to handle.\

(vanilla might even be 8x8, actually)

Most of the time, a good CPU is actually what you need in minecraft: a LARGE majority of the processing time for most people running vanilla minecraft will be chunk updates and game logic, not graphics.

This game is like that, needing a beefier CPU, only instead of 16x16 textures, there are now hundreds of variably sized textures at all angles and locations, with slightly jank culling, all being operated on by a raycast lighting system. Real-time lighting is one of the most intense things a GPU can process, and this game uses a system that kind of works like raytracing's little brother.

On top of that, there are thousands of assets and large amounts of civ information being streamed to / from RAM, several hundred processes (assumedly) happening on the CPU, all while the game individually casts a few thousand rays of light in all directions. Every single frame.
AugurkVlekje May 13, 2023 @ 9:43am 
Thank you guys so much for helping me understand!

Do you know a way for me to reduce GPU usage? Except for waiting for an optimization update.
koimeiji May 15, 2023 @ 8:05pm 
Originally posted by AugurkVlekje:
Thank you guys so much for helping me understand!

Do you know a way for me to reduce GPU usage? Except for waiting for an optimization update.
You don't. You want games to use 100% of your GPU, as that means the game is utilizing everything it can. If it's not, then something else is using your GPU and thus taking resources away from the game, or the game doesn't have the ability to use some of the features of your GPU (such as an older game not knowing what raytracing is, for a very basic example)

Performance issues after that is most likely either thermal throttling (which shouldn't be the case on anything except laptops) or your GPU simply not being strong enough. The latter is very likely the case, due to the indev nature of the game.


As an aside, if other modern games aren't using all of your GPU you may want to figure out why. You're not running at peak performance in those games if you're only getting 70% usage (or, god forbid, 40%)



...unless you are on a laptop, and may benefit from not running at 100% simply because of thermal issues.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: May 12, 2023 @ 12:41pm
Posts: 10