Question / Help High CPU usage warning

Dirtybrd

New Member
Hi new to streaming for about a week now and I keep getting this high cpu usage warning in OBS and my stream starts to really lag. This happens every session that I stream. I have googled this problem and tried changing the obs priority, messed with different video settings, and downscaled my stream to 720 while still getting this warning. I've also unparked all my cores and switched to a high performance power setting. Here are my specs

AMD FX 8350 8 core 4ghz
8GB Ram
AMD Radeon R9 280

Any help would be greatly appreciated
First time uploading a log file so hope this worked.

https://gist.github.com/73145808dfde1085b8f4
 
Try dropping to 30fps. Generally, 60fps is not actually needed outside of a very few specific applications, and significantly increases the CPU encoding load. Also, you're trying to stream 720p@60fps on 1200kbps, which isn't even half of what's needed (2700kbps) to make it look decent, and is even below the recommended minimum of 1500kbps for 720p@30. You'd get much better quality dropping the framerate down, and using the extra CPU made available to use a slower x264 encoding preset.

Are you recording locally to disk? Some users have reported spiking/increasing CPU loads over time when saving locally. From what I've seen, all were trying to save to .mp4; I was getting a low-grade version of this, and switching to .flv eliminated the problem for me. This information doesn't appear to be saved anywhere in the logfile.
 
Hi new to streaming for about a week now and I keep getting this high cpu usage warning in OBS and my stream starts to really lag. This happens every session that I stream. I have googled this problem and tried changing the obs priority, messed with different video settings, and downscaled my stream to 720 while still getting this warning. I've also unparked all my cores and switched to a high performance power setting. Here are my specs

AMD FX 8350 8 core 4ghz
8GB Ram
AMD Radeon R9 280

Any help would be greatly appreciated
First time uploading a log file so hope this worked.

https://gist.github.com/73145808dfde1085b8f4
That high cpu usage warning is probably from your connection stalling out:

Code:
RTMPPublisher::SocketLoop: Stalled for 1879 ms to write 164078 bytes (buffer: 0 / 167936), unstable connection?
 
Ok. I will try streaming with those settings. I have broadcasted at 30fps before and was told by my viewers that the quality really suffered but maybe changing to something like 2000kbps. I read that this has to do with my upload internet speed and I currently get 11703kB/s down and 1526kB/s up. So that's why I had it at 1200kbps. Sorry just trying to learn how all this works. Thanks for your help.
Oh I am recording to my computer hard drive and yes it looks like they are saving as an mp4. How do I go about changing how they are saved?
 
Connection stalling out meaning my internet or router problems?
Somewhere between you your isp and twitch. this could be other traffic on your network uploading large files or just your ISP having issues passing yours and other twitch streams to twitch.

either way, this is what is probably causing the traffic jam, hence the high CPU usage.
 
I'm fairly certain that stalled connections don't cause high CPU usage. Stalled connections cause dropped frames, but would not cause the CPU to work any harder.

That message appears when the renderer is trying to give the encoder frames faster than the encoder can handle them, as I understand it. That causes late/skipped frames. However, your logs indicate that you're skipping very few frames (less than 0.5%) which shouldn't have a a very visible effect. Furthermore, the profiler shows that your frame times are pretty reasonable, and not too high so as to cause skipped frames.

Can you link to a VOD where this happened?
 
I'm fairly certain that stalled connections don't cause high CPU usage. Stalled connections cause dropped frames, but would not cause the CPU to work any harder.

That message appears when the renderer is trying to give the encoder frames faster than the encoder can handle them, as I understand it. That causes late/skipped frames. However, your logs indicate that you're skipping very few frames (less than 0.5%) which shouldn't have a a very visible effect. Furthermore, the profiler shows that your frame times are pretty reasonable, and not too high so as to cause skipped frames.

Can you link to a VOD where this happened?
Personally, I've seen the warning pop up though. and on the forums here, it is often a false positive for high CPU usage when the Stalled connection is in the logs.
 
Question... is your CPU overheating? If you streaming for a certain length of time causes a high CPU usage warning to appear, it is possible your CPU speed is decreasing.
 
So have been streaming under the recommended settings and was going well without the warning for a few hours at a time and then it started happening again. Here is my latest log.
https://gist.github.com/8bcba149685114c66f2e

Upon analyzing this log it stated that it was taking too long top switch scenes so try adding some sources such as webcam or a capture device to global sources. I guess I could try this but not sure how much good it would do. I will also keep an eye on the cpu temp the next time I stream. for the most part it stays around the upper 50s C. Thanks for the help.
 
Back
Top