Question / Help I have massive frame drops..

Elinie

New Member
When I do streaming, there are massive frame drops which 90% of my frame, so I can't do a good stream.
It was good when I streaming in October, but after some windows update and so on, OBS have so many frame drops during my stream.

How can I fix it?

My computer Spec :
CPU - Intel Core i5-4210M CPU @ 2.60GHz (4 CPUs), ~3.10Ghz when overclocked
RAM - 8GB Ram
GPU - Intel HD Graphics 4600
NVIDIA GeForce 820M (When Gaming)
SYS - Win10 Pro
DirectX 12

My log attached-
 

Attachments

  • 2016-12-29 19-30-23.txt
    19.6 KB · Views: 15
Last edited:

EBrito

Active Member
In that log, first you record and stream at the same time.


19:38:55.971: Failed to initialize obs video (-4) with graphics_module='libobs-d3d11.dll', retrying with graphics_module='libobs-opengl.dll'

but before this
19:31:14.240: Settings changed (advanced)

I think you entered OBS in Direct3D 11 capture mode and changed to Opengl.

---> USE DIRECT3D 11 FOR BETTER PERFORMANCE

You are using your GPU to encode
19:36:54.374: [qsv encoder: 'streaming_h264'] settings:
19:36:54.374: rate_control: CBR
19:36:54.374: target_bitrate: 2100
19:36:54.374: fps_num: 30
19:36:54.374: fps_den: 1
19:36:54.374: width: 1280
19:36:54.374: height: 720

And you get these problems:

STREAMING:
19:41:16.062: Output 'adv_stream': Number of skipped frames due to encoding lag: 293 (3.7%)
19:41:16.062: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 971 (12.4%)
19:41:16.062: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 6186 (78.8%)

RECORDING
19:41:15.112: Output 'adv_file_output': Number of skipped frames due to encoding lag: 293 (3.7%)
19:41:15.113: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 964 (12.3%)

Your integrated Intel HD 4600 is not powerful enough render and encode streaming and recording at a time.
Your NVIDIA GeForce 820M unfortunately does not support NVENC.


AND YOU have problems with your network connection
Check this post
https://obsproject.com/forum/threads/dropped-frames-disconnecting-lag-read-this-first.8870/



Afterwards, you try only recording and you get this:
19:42:21.141: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 160 (25.0%)

******** Use 1280x720p 1800 and encoding preset superfast. Ultrafast will give worse image.
Maybe you should scale down to 1066x600p or even 854x480p
 

Elinie

New Member
In that log, first you record and stream at the same time.


19:38:55.971: Failed to initialize obs video (-4) with graphics_module='libobs-d3d11.dll', retrying with graphics_module='libobs-opengl.dll'

but before this
19:31:14.240: Settings changed (advanced)

I think you entered OBS in Direct3D 11 capture mode and changed to Opengl.

---> USE DIRECT3D 11 FOR BETTER PERFORMANCE

You are using your GPU to encode
19:36:54.374: [qsv encoder: 'streaming_h264'] settings:
19:36:54.374: rate_control: CBR
19:36:54.374: target_bitrate: 2100
19:36:54.374: fps_num: 30
19:36:54.374: fps_den: 1
19:36:54.374: width: 1280
19:36:54.374: height: 720

And you get these problems:

STREAMING:
19:41:16.062: Output 'adv_stream': Number of skipped frames due to encoding lag: 293 (3.7%)
19:41:16.062: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 971 (12.4%)
19:41:16.062: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 6186 (78.8%)

RECORDING
19:41:15.112: Output 'adv_file_output': Number of skipped frames due to encoding lag: 293 (3.7%)
19:41:15.113: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 964 (12.3%)

Your integrated Intel HD 4600 is not powerful enough render and encode streaming and recording at a time.
Your NVIDIA GeForce 820M unfortunately does not support NVENC.


AND YOU have problems with your network connection
Check this post
https://obsproject.com/forum/threads/dropped-frames-disconnecting-lag-read-this-first.8870/



Afterwards, you try only recording and you get this:
19:42:21.141: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 160 (25.0%)

******** Use 1280x720p 1800 and encoding preset superfast. Ultrafast will give worse image.
Maybe you should scale down to 1066x600p or even 854x480p

If my network connection fixed (I now use wireless) - which upload speed is 3.5Mbps - can I do a higher bitrate (2000~2500)?
 

EBrito

Active Member
Wireless is not good for gaming /streaming

With 3.5 MBps upload you could use up to 2500 (+ audio it would be 2700 approx.) and leave some bandwith for your game
 

Elinie

New Member
Wireless is not good for gaming /streaming

With 3.5 MBps upload you could use up to 2500 (+ audio it would be 2700 approx.) and leave some bandwith for your game

So The 'Ultrafast' means, use x264 encoder service instead of Quicksync?
 

EBrito

Active Member
Sorry. I mixed it.

I´m now looking Quicksync optons in my other laptop.
Target usage: use balanced or speed
Profile: main or baseline
 

Elinie

New Member
Sorry. I mixed it.

I´m now looking Quicksync optons in my other laptop.
Target usage: use balanced or speed
Profile: main or baseline

Does Quicksync balanced setting almost equals the quality of x264 ultrafast?
 
Top