Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] 'Use less CPU when in background' isn't working

Hello all,

I'm running UE v4.8 (preview) on Debian 8 and I have noticed that the editor doesn't use less CPU when in background, instead it consumes ~40% of CPU all the time.

It seems like the editor doesn't get notified that it's not in the focus anymore and continues to draw the UI elements. Unfortunately I was not able to prove it, because all the OpenGL debuggers (gDEBugger, vogl, GLSL-Debugger) were not building or running for some reason.

This is what I have:

 $uname -a
 Linux wrslnx196 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux

"Use less CPU when in Background" is enabled.

Please tell me if additional info is required.

Product Version: UE 4.8 Preview
more ▼

asked Jun 01 '15 at 12:29 PM in Linux

avatar image

97 9 12 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Jun 02 '15 at 03:58 PM by amigo for the following reason:

The question is answered, right answer was accepted

1 answer: sort voted first

"Use less CPU when in Background" does nothing because FLinuxPlatformProcess::IsThisApplicationForeground() is stubbed at the moment.

Good news is that I have implemented the needed functionality and will be submitting a PR shortly. Not sure if this change will make it into epic/4.8, but will be in epic/master once accepted.

more ▼

answered Jun 02 '15 at 01:49 PM

avatar image

1.1k 53 33 90

avatar image duburlan Jun 02 '15 at 02:03 PM

Hi amigo,

could you share the patch, please?

avatar image amigo Jun 02 '15 at 02:40 PM
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question