SuperTuxKart 100% CPU Usage

SuperTuxKart 100% CPU Usage

Postby Super » 24 May 2017, 16:45

That is definitely not normal, that's is a bug in the game?, i put the minimal graphic settings and run alone in the track and still this use the 100% of the cpu, that will be fixed in the next version of stk?

Edit: my cpu is an FX 6300 overclocked at 4.3 ghz
User avatar
Super
 
Posts: 21
Joined: 17 Sep 2016, 19:19

Re: SuperTuxKart 100% CPU Usage

Postby Seebi » 24 May 2017, 19:12

If you are using windows, the 100% CPU usage is caused by OpenMP because it uses busy waiting by default.

You can switch that off by setting the environment variable OMP_WAIT_POLICY to passive (see also this issue on GitHub).
User avatar
Seebi
 
Posts: 9
Joined: 07 Mar 2015, 03:18

Re: SuperTuxKart 100% CPU Usage

Postby QwertyChouskie » 28 May 2017, 01:26

Also, I'm pretty sure OMP is not used anymore in the git version (so this issue will be gone in the next release).
Contributor to/fan of STK (Upstreamed Cartoon theme, numerous random big fixes/tweaks)
User avatar
QwertyChouskie
 
Posts: 559
Joined: 29 Jun 2016, 14:57

Re: SuperTuxKart 100% CPU Usage

Postby Super » 02 Jun 2017, 14:37

QwertyChouskie {l Wrote}:Also, I'm pretty sure OMP is not used anymore in the git version (so this issue will be gone in the next release).

That's good to know
User avatar
Super
 
Posts: 21
Joined: 17 Sep 2016, 19:19

Who is online

Users browsing this forum: No registered users and 1 guest