Question / Help Laggy in OBS NDI tools

piorun

New Member
Hello,
i have problem with recording using NDI tools. My capture computer have laggy issue with recording also whitout recording.

Game laptop:
i7-8750H
GTX 1060 6mb
2x8gb ram 3000mhz
Windows 10 pro 64bit

Capture computer:
xeon x5460 3,16GHz @ 4GHz
GTX 1050ti
4x1gb DDR2 800MHz @ 840MHz
Windows 10 pro 64bit

All is connected with 1gb/s bandwith and all work fine with speed connection.

------------------------------------------------------------------------------------------------------------------------

Recording:
Codec: NVENC
Bitrate: 30000
Resolution: 1080p 60fps
CPU usage: 40/50%

------------------------------------------------------------------------------------------------------------------------

I think problem is in slow DDR2 memory or need to 8gb of ram?
 

Narcogen

Active Member
I would need to see logs to tell, but using NDI saves you encoder load, but not rendering load. So it's possible your gaming PC is experiencing rendering lag on frames it's sending to the streaming PC.
 

piorun

New Member
This is not problem with gaming pc. This is happend also when i play farcry1 or something else old game. This is see like a problem with capture computer. I add log in the evening.
 

Narcogen

Active Member
21:10:44.574: Windows Version: 10.0 Build 17134 (revision: 556; 64-bit)

Windows is out of date and game mode is on by default and cannot be switched off. You should run the October 2018 update, turn off game mode, post new logs aftewards. This mode reduces OBS performance.
 

piorun

New Member
Ok, only i check in windows update and all i have "up to date" and i do not why my windows did not update to latest 1809 version. Today i check manually update windows and check recording and paste new log.
 

Narcogen

Active Member
21:20:01.698: Loaded scenes:
21:20:01.698: - scene 'Gry':
21:20:01.698: - source: 'Minecraft' (game_capture)
21:20:01.698: - source: 'Pubgy' (game_capture)
21:20:01.698: - source: 'Wiedźmin 3' (game_capture)
21:20:01.698: - source: 'FarCry5' (game_capture)
21:20:01.698: - source: 'FarCry4' (game_capture)
21:20:01.698: - source: 'FarCry3' (game_capture)
21:20:01.698: - source: 'kamera' (dshow_input)


Multiple game sources in a single scene is not recommended. You should either separate these into different scenes/scene collections, or use one game capture in the scene and reconfigure it for each game. A game capture source can be configured to select a game by hotkey, or can be configured to capture any fullscreen application.

There's no output session in the streaming machine log, so there's no performance information, but:

21:17:40.958: [obs-ndi] started A/V threads for source ''
21:17:40.958: [obs-ndi] A/V thread for 'NDI™ Source' started
21:17:40.960: User added source 'NDI™ Source' (ndi_source) to scene 'Scena'
21:17:47.609: [obs-ndi] audio thread for 'NDI™ Source' completed
21:17:47.610: [obs-ndi] started A/V threads for source 'HYPERBOOK (OBS - źródło)'
21:17:47.610: [obs-ndi] A/V thread for 'NDI™ Source' started
21:17:48.234: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
21:17:57.376: adding 46 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
21:18:00.261: adding 46 milliseconds of audio buffering, total audio buffering is now 116 milliseconds
21:19:19.421: adding 23 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
21:20:18.517: adding 23 milliseconds of audio buffering, total audio buffering is now 162 milliseconds


The immediate start of additional audio buffering here suggests the streaming machine is being overloaded.
 

piorun

New Member
Nothing work. I check 720p 60fps, 720fps 30fps all time same problem. I don't know what cause this issue.
 

Narcogen

Active Member
17:21:03.385: - scene 'Scena':
17:21:03.385: - source: 'NDI™ Source' (ndi_source)
17:21:03.385: ------------------------------------------------
17:21:08.222: [obs-ndi] audio thread for 'NDI™ Source' completed
17:21:08.224: [obs-ndi] started A/V threads for source 'HYPERBOOK (OBS - źródło)'
17:21:08.226: [obs-ndi] A/V thread for 'NDI™ Source' started
17:21:16.894: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
17:21:17.021: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
17:21:25.369: adding 46 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
17:21:27.591: adding 46 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
17:21:35.167: adding 46 milliseconds of audio buffering, total audio buffering is now 185 milliseconds


Is this before or after you loaded the driver? Usually increasing audio buffering like this is due to a system being overloaded.

Also the session starts in this log but all performance data is written after it ends, log just ends with this:

17:25:26.490: ==== Recording Start ===============================================
17:25:26.490: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/Surowy materiał/2019-02-14 17-25-25.mp4'...
 

piorun

New Member
I tested under recording.

I also need to disable integrated audio and enable only this sound blaster audigy.

17:22:36.643: WASAPI: Device 'Cyfrowy interfejs audio (SB Audigy)' initialized
17:22:36.652: Settings changed (audio)
 
Top