Question / Help FPS Drops, Avg time to render spikes, skipped due to encoding increases

Caedmon

New Member
https://hastebin.com/ohisoxizax

I dropped the video output to 1280x720 -- this improved the situation a lot.
I then changed the downscale filter to Lanczos (it was Bilinear) -- this made little difference.
My rate control is CRF 15, and I moved the CPU to veryfast.

Would adding memory help?
I'm just using the on-board video -- would a high-end graphics card help.

Note that I'm not streaming anything CPU intensive, so I'm surprised this is a problem at all.
The problem only happens then there is a lot of activity on the screen.

At times the CPU usage hits 65% or higher, and I've had a few temperature related (my guess) computer lockups.

I also set the OBS processor priority to high but this didn't seem to help much.
Would setting the processor affinity make a positive difference?
 

DEDRICK

Member
You're going to need more than an Intel 4600 to render frames, take a look at your GPU usage when OBS is running. Rendering lag is caused by lack of GPU resources to render the frames for the encoder.

18:43:26.054: ==== Streaming Start ===============================================
18:43:26.335: ==== Recording Start ===============================================
18:43:26.335: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/Users/bmacd/Videos/OBS/2018-05-19 18-43-26.mkv'...
19:05:54.134: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/Users/bmacd/Videos/OBS/2018-05-19 18-43-26.mkv' stopped
19:05:54.134: Output 'adv_file_output': stopping
19:05:54.134: Output 'adv_file_output': Total frames output: 40349
19:05:54.134: Output 'adv_file_output': Total drawn frames: 39240 (40434 attempted)
19:05:54.134: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 1194 (3.0%)
19:05:54.134: ==== Recording Stop ================================================
19:05:56.457: [rtmp stream: 'adv_stream'] User stopped the stream
19:05:56.458: Output 'adv_stream': stopping
19:05:56.458: Output 'adv_stream': Total frames output: 40480
19:05:56.458: Output 'adv_stream': Total drawn frames: 39346 (40540 attempted)
19:05:56.458: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1194 (2.9%)
19:05:56.485: ==== Streaming Stop ================================================
19:05:56.535: warning: 2 frames left in the queue on closing
19:07:14.301: User switched to scene 'Layout'
19:07:30.875: User switched to scene 'Record Monitor 2'
19:07:40.106: ==== Shutting down ==================================================
19:07:40.171: Switched to scene '(null)'
19:07:40.534: WASAPI: Device 'Speakers (Realtek High Definition Audio)' Terminated
19:07:40.543: WASAPI: Device 'Transmit (Plantronics C620-M)' Terminated
19:07:40.556: All scene data cleared
19:07:40.556: ------------------------------------------------
19:07:40.694: Freeing OBS context data
19:07:40.749: [Scripting] Total detached callbacks: 0
19:07:40.776: == Profiler Results =============================
 

Caedmon

New Member
Thanks
It looks like I'm in the market for a graphics card.

Can you suggest a sight that provides a comparison of the various graphics processors when used with OBS?

The OBS minimum hardware recommendation did not mention graphics cards.

Will adding RAM to the computer help OBS?

Will a video card with more RAM help with rendering?

I used Open Hardware Monitor to watch my CPU, Fan speed and temperature, and Task manager to watch the GPU.

Very instructive.

What I am streaming is very low intensity, but apparently not low enough...

--C
 
Top