Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

100% cpu use when loosing focus

A topic by chris_camacho created Oct 10, 2020 Views: 146 Replies: 11
Viewing posts 1 to 7
(1 edit)

(Linux 64bit)

Whenever asset forge looses focus (window minimised or click another window) the cpu usage shoots up from almost nothing to 100% on one core.

Check the configuration of Asset Forge and either lower the visuals, or enable v-sync if it isn't enabled.

I disabled all graphic "enhancements" and ensured that vsync was set and even with everything turned on while the window has the focus the CPU usage is very low

regardless of various combinations of settings, as soon as the window looses focus it pegs a core at 100%

Which Linux distro are you using? That way I can check myself.

(1 edit)

I'm using Void Linux (gcc libc not musl) 64 bit

 [chris@chris-N150CU ~]$ glxinfo | grep "renderer string"
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
 [chris@chris-N150CU ~]$ cat /proc/cpuinfo | grep "model name" -m1
model name : Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz

I did boot into an old version of ubuntu and that pegs a core at 100% unless the window is maximised, but its a year or more since I booted that horror show...


Best guess I'd say Unity and gfx driver combo...? but even Kerbal Space Project doesn't peg a core, so not sure.

I'm not sure either at this point but will do some investigation into this!

I'm running Kubuntu 20.04, on an AMD FX8350  @4.0Ghz, GeForce GTX 1050 Ti.  Same thing, when Asset forge loses focus, it pegs one core to 100%

That's no good :( I'm looking into this but it's hard because I don't get the issue with the VM I'm using. Again I'm trying to solve this though!

> I'm trying to solve this though!

much appreciated!

you could always run stuff from a "live" USB stick for testing, maybe on a second machine (laptop or such), so you can compile on your main machine, and test on the other...

notice the other report is using a GTX 1050, so probably not specific to intel gpu drivers after all...

I don't know unity (preferring C instead) but is there a way to detect loss of focus?

you could just sleep while waiting for focus to be regained...

Hi! Any news on this?

I'm on Linux Mint 20.1 and experiencing the same issue.

The issue hasn’t been identified as of yet, I’m still on the lookout to fix the issue in the future however for now it’ll remain an active bug - as the cause can’t be found.

I see... Thanks for the reply.