Question / Help 'Encoder Overloaded' while streaming and recording at the same time

Hi this is my first time posting here. I've been scratching my head trying to get this streaming/recording setup to work to no avail.

I'm currently using a two computer setup to record and stream content. After doing a lot of testing, I cannot figure out why things are not working out as expected. Individually I am able to record or stream without any problem, but as soon as I try to do both, they both choke.

The machine running OBS is no slouch, it has two 6-core Xeon x5680s. The GPU doing the encoding through NVENC isn't the strongest thing, but should be more than capable of using NVENC to record lossless footage as it's a 750ti. The OBS machine gets a video feed through an Elgato HD60s which gets a cloned screen from the PC playing games.

My streaming settings are as follows:
https://i.imgur.com/QYu0wfG.png

And my recording settings:
https://i.imgur.com/pIavrYo.png

When recording or streaming, there are no issues, but as soon as I do both, both start to drop frames. I'm never getting close to hitting 100% cpu usage, although looking at task manager, it seems that only one of the CPUs is really being used:
https://i.imgur.com/GjS6obM.png
https://i.imgur.com/VyWZy02.png

While doing one or both, the total CPU usage doesn't really seem to change, which makes sense to me as I am using NVENC to encode one of the video streams, but even when either one or both are running, OBS doesn't seem to use one of the CPUs in it's entirety.

I'm aware that x264 isn't really optimized for NUMA at all, so scaling up to 2 CPUs shouldn't work well, however, given that everything works fine if if only one of the two tasks is being done, and given that these two tasks rely on different hardware, they should be able to run concurrently without any issue.

At this point, I'm completely baffled as to why this isn't working correctly. I've attached the most recent log.


If there's anything else needed, just tell me and I'll post it!

Thanks for the help!
 

Attachments

  • 2017-09-10 13-18-53.txt
    57.1 KB · Views: 11

Sapiens

Forum Moderator
Not sure how well that 750 Ti is going to handle lossless output. Have you tried a different rate control method?
 
Yeah, I've done CBR at 50000-150000 before with similar results. I'm confident that the 750ti can handle lossless as it works perfectly fine if I'm not streaming at the same time I've also used two different presets with x264, one at CBR 3500 for the stream and another at CRF=0 for lossless recording. I get similar results that way.
 
Top