Bug Report OBS spawns two services eating 25% of my cpu

Roboserg

Member
Hello there, happy new year and thank you for your amazing OBS Studio!
I am using Win 10 64bit with OBS Studio 0.12.2. As soon as I start OBS I get two services "desktop window manager" and "system and compressed memory" eating each 12% of my CPU, with both accounting for 25% total. Considering I am running ivy bridge i5 with 4 cores @ 4.5 Ghz the 25% the two services eating is very much and is probably a bug. This behavior is reproduceable. I close obs - everything goes to normal. Here are the pics:

Before starting OBS:
43a3f9d0c2.jpg

After starting OBS:
f504830178.jpg

My log: https://gist.github.com/2bd1c9d6064cb0e19bb9

ps. nevermind stupid chrome eating 35%, I was uploading youtube videos.
 

Osiris

Active Member
Don't do 1080p 60fps on a i5 and play a game, it will not work.
Also lower your webcam's resolution to something more reasonable, like 480p
 

Roboserg

Member
Don't do 1080p 60fps on a i5 and play a game, it will not work.
Also lower your webcam's resolution to something more reasonable, like 480p

Sorry, but it does work. I switched today to nvidia nvenc encoder exactly for that reason, so that I can play at 1080/60 (before I was recording in 720p/45 fps using CPU h264). I was running Outlast just fine. Fallout 4 drops from 60 to 45, because the CPU has 100% load, due those two services. So it does work as well, just not with 60 fps.

My question is, whether or not these two services have anything to do with OBS and is it a bug or not.
Also I dont understand, if the GPU if doing all the encoding why does OBS using 20% of CPU time?

You are right with the webcam, but as soon as I change the resolution of the webcam in OBS to anything but 1080 the web cam feed freezes and doesnt work:
http://puu.sh/md9Qp/6f56a0c932.jpg
 

Roboserg

Member
up. My question (and probable bug) regarding two windows services eating 25% of cpu time is still not answered. Thx.
 

Roboserg

Member
I am sorry, dont get me wrong, I am coming from the computer science side, it seems to me that something is fishy here. Again, dont get me wrong, but it seems to me that you elude my question.
I dont remember this behavior with the old OBS. So its either a bug with my system, or a bug with OBS or it is intended.
Again, it seems weird to me, that as soon as I start OBS this ´"Desktop Window Manager" starts eating 15% of my cpu time and "System and compressed memory" eating 10% And as soon as I close it - those two service go away.

English is not my native tongue, so my post may come as rude, it is not intended in any way. I just want to sort it out. If it is intended for OBS to spawn two services that eat 25% of my CPU time, then I will buy skylake i7. If its a bug with my system - I will reinstall windows. If its bug with the OBS - I will wait for updates or use old OBS.

Awaiting your response. Thanks in advance.

ps. thank you about the web cam tip, I will look into it.
 
Last edited:

Roboserg

Member
"OBS didn't spawn it, it is always there"

Yes, but without OBS its using 1%, and as soon as I start OBS its using 15%. Old OBS didnt have this behavior. So is it normal for OBS and Windows to do that?
 

DEDRICK

Member
GY49qvB.png


It is not normal behavior because others would be reporting it, therefore it is an conflict with your current setup. Whether it is your webcam or something else that has yet to be determined
 

Roboserg

Member
Hmm, thats weird. I deselected all the sources in all scenes and OBS is still eating too much (so no webcam, no nothing). I also updated to 0.12.3 but it didnt help. Changing the codec from nvenc to x264 also doesnt do anything:

73263a5524.png


I created new profile with no scenes and OBS is still eating cpu:

f901949db5.png
 

Roboserg

Member
Also if I am using the NVENC codec, shouldnt GPU do all the work and not the CPU? What settings does OBS use for it preview screen?

OK, it seems as soon as I close the preview of the OBS this "desktop window managers" stops eating the CPU. If I only knew what settings and codec does OBS use for the preview.
 

Roboserg

Member
Update. Using clean plate (new profile) I added monitor capture + web cam. For some weird reason I can now change the resolution of the web cam. If I disable the preview, those two services dont eat so much:

http://puu.sh/mejtL/6cc1b7d50f.jpg

So somehow the preview is causing all the troubles. I am using still NVENC with 1080/60
 

Roboserg

Member
If I create a new profile with no scenes or sources and I have the preview on - obs eats 3% and desktop window manager as well. As soon as I disable preview obs is still eating 3% but the service disappear.

eaea826fe4.png
 

Roboserg

Member
Didnt help :( Shouldnt OBS use no cpu time at all (or say 1-2%) if my encoder is the GPU (NVENC) ? On the other side if I close the preview these two services disappear and OBS is using 3% of cpu. It seems there is a problem with rendering the preview. I mean if I dont have any scenes at all but preview enabled desktop widow manager starts to eat 5% of cpu.
 
The system and compressed memory process represents the part of Windows called the kernel. In over simplistic terms this is where all the processing for the drivers is done. I started up OBS on both my streaming PC and gaming PC and didn't see a massive increase in the utilisation for this process and so I can only assume that the drivers I am using are not doing a lot of work. That would then make me think that because you are seeing a large amount of utilisation there is a problem with one of your drivers.

Can you check that you have a recent build of Nivdia drivers on your machine and make sure you restart and try again to see if you see the same processor usage. Current Nvidia driver build is 361.43 (I can't get this to install on Win 10) previous build was 359.06.

Whatever way you look at this some cpu utilisation will be caused when you generate the preview, this is not an easy task and takes cpu cycles to perform regardless of what encoding you are using. This is not a bug in OBS there's no way it can create the preview without consuming CPU.
 

satsuby

New Member
same here :'(
When i started OBS-Studio, "System and Compressed Memory" eating CPU about 10-15%
OBS is like only 3% (Monitor Capture)
Winodws 10 TH2 64bit, i5 6600 (Skylake), Mem 16GB, SSD 256GB, GTX760
 
Top