Question / Help High End PC - Encoder Overload/ dropping frames. OBS only Xsplit fine

Scratticus

New Member
So OBS is generally being pretty Laggy, its dropping frames all over the place and giving the encoder overload error. Funny thing OBS also freezes periodically when I am not streaming or using it. If I click on the program during a freeze whilst streaming it goes to not responding. If I do the same thing whilst not streaming, it just pauses for a little while and then catches up whatever my mouse did whilst frozen.

I tried switching to Xsplit Gamecaster to eliminate my network or machine and Xsplit ran fine for 20 minutes at around 2300 bitrate.

CPU runs between 3% and 12% depending on settings and whether webcam is disabled. Entire PC CPU Usage doesn't exceed 30% even when streaming demanding games. PC GPU's are also very lazy sitting around 10 %

I have tried every guide I could find and most recommend that every set up is different, I also saw a thread that said that windows 10 has been causing issues since the last update. I am kind of hoping that it might be a program running in the background that is interfering with OBS (REALLY hoping that that program would also be unimportant) but I couldn't find any threads claiming exactly the same issue.

Closest I could find was here https://obsproject.com/forum/thread...den-same-hardware-settings.70232/#post-300426.
Where a large amount of Browser sources is suggested, but not confirmed as an issue. I only have two browser sources so I figure this would be OK, but I could try streaming without them.
I do have a significant number of Game sources, I could significantly reduce this if I were to change the game display specific window for each game I stream, but It would be nice to have clarification on whether this is likely to be the issue.

I have tried:
Compressing Resolution to 1280x720 (Base and Output)
Using Lanczos and Bilinear filter
Tested - 30 FPS and 60 FPS
x264 Encoder 2500 and 3500
Ultrafast and Medium
Profile None and High
NVENC H.264
Enforcing Streamer Service encoder settings and not
Rescaling output to 1280x720 and not
Bit Rate 2500 and 3500
Preset Default and LLHQ
Profile Main and high
Disabling Webcams

I admit I haven't done like a full designed experiment on these settings and that's mostly because I don't know which settings could be causing the issue. Could anyone look across my Dxdiag and Log file and see if there is anything obvious, please?

Thanks in advance

PC Specs -
------------------
System Information
------------------
Machine Id: {BB00CC00-AE8F-4CA9-9334-D1DA60183641}
Operating System: Windows 10 Home 64-bit (10.0, Build 16299) (16299.rs3_release.170928-1534)
Language: English (Regional Setting: English)
System Manufacturer: MSI
System Model: MS-7A12
BIOS: 1.40
Processor: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
Memory: 32768MB RAM
Available OS Memory: 32728MB RAM
Page File: 17120MB used, 20471MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 12
DX Setup Parameters: Not found
User DPI Setting: 144 DPI (150 percent)
System DPI Setting: 144 DPI (150 percent)
DWM DPI Scaling: UnKnown
Miracast: Available, with HDCP
Microsoft Graphics Hybrid: Not Supported
DxDiag Version: 10.00.16299.0015 64bit Unicode

------------
DxDiag Notes
------------
Display Tab 1: No problems found.
Display Tab 2: No problems found.
Sound Tab 1: No problems found.
Sound Tab 2: No problems found.
Sound Tab 3: No problems found.
Sound Tab 4: No problems found.
Sound Tab 5: No problems found.
Input Tab: No problems found.

--------------------
DirectX Debug Levels
--------------------
Direct3D: 0/4 (retail)
DirectDraw: 0/4 (retail)
DirectInput: 0/5 (retail)
DirectMusic: 0/5 (retail)
DirectPlay: 0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow: 0/6 (retail)

---------------
Display Devices
---------------
Card name: NVIDIA GeForce GTX 1080
Manufacturer: NVIDIA
Chip type: GeForce GTX 1080
DAC type: Integrated RAMDAC
Device Type: Full Device
Device Key: Enum\PCI\VEN_10DE&DEV_1B80&SUBSYS_33671462&REV_A1
Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
Device Problem Code: No Problem
Driver Problem Code: Unknown
Display Memory: 24358 MB
Dedicated Memory: 7995 MB
Shared Memory: 16363 MB
Current Mode: 3840 x 2160 (32 bit) (60Hz)
HDR Support: Not Supported
Display Topology: Extend
Monitor Name: AOC 2879
Monitor Model: U2879G6
Monitor Id: AOC2879
Native Mode: 3840 x 2160(p) (59.997Hz)
Output Type: Displayport External
Monitor Advanced Color Capabilities: None
Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP
Driver Name: C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll
Driver File Version: 23.21.0013.8813 (English)
Driver Version: 23.21.13.8813
DDI Version: 12
Feature Levels: 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1
Driver Model: WDDM 2.3
Graphics Preemption: Pixel
Compute Preemption: Dispatch
Miracast: Not Supported
Hybrid Graphics GPU: Not Supported
Power P-states: Not Supported
Driver Attributes: Final Retail
Driver Date/Size: 27/10/2017 00:00:00, 945072 bytes
WHQL Logo'd: Yes
WHQL Date Stamp: Unknown
Device Identifier: {D7B71E3E-58C0-11CF-BF55-6A131BC2DA35}
Vendor ID: 0x10DE
Device ID: 0x1B80
SubSys ID: 0x33671462
Revision ID: 0x00A1
Driver Strong Name: oem40.inf:0f066de361856a84:Section136:23.21.13.8813:pci\ven_10de&dev_1b80
Rank Of Driver: 00D12001
D3D9 Overlay: Supported
DXVA-HD: Supported
DDraw Status: Enabled
D3D Status: Enabled
AGP Status: Enabled
MPO MaxPlanes: 1
MPO Caps: Not Supported
MPO Stretch: Not Supported
MPO Media Hints: Not Supported
MPO Formats: Not Supported
PanelFitter Caps: Not Supported
PanelFitter Stretch: Not Supported

Card name: NVIDIA GeForce GTX 1080
Manufacturer: NVIDIA
Chip type: GeForce GTX 1080
DAC type: Integrated RAMDAC
Device Type: Full Device
Device Key: Enum\PCI\VEN_10DE&DEV_1B80&SUBSYS_33671462&REV_A1
Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
Device Problem Code: No Problem
Driver Problem Code: Unknown
Display Memory: 24358 MB
Dedicated Memory: 7995 MB
Shared Memory: 16363 MB
Current Mode: 1920 x 1080 (32 bit) (59Hz)
HDR Support: Not Supported
Display Topology: Extend
Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Color Primaries: Red(0.646984,0.334484), Green(0.303234,0.616711), Blue(0.147961,0.067883), White Point(0.313977,0.329602)
Display Luminance: Min Luminance = 0.500000, Max Luminance = 270.000000, MaxFullFrameLuminance = 270.000000
Monitor Name: Generic PnP Monitor
Monitor Model: M227WDP
Monitor Id: GSM5775
Native Mode: 1920 x 1080(p) (59.934Hz)
Output Type: DVI
Monitor Advanced Color Capabilities: None
Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP
Driver Name: C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_2e7fa54192fe16d0\nvldumdx.dll
Driver File Version: 23.21.0013.8813 (English)
Driver Version: 23.21.13.8813
DDI Version: 12
Feature Levels: 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1
Driver Model: WDDM 2.3
Graphics Preemption: Pixel
Compute Preemption: Dispatch
Miracast: Not Supported
Hybrid Graphics GPU: Not Supported
Power P-states: Not Supported
Driver Attributes: Final Retail
Driver Date/Size: 27/10/2017 00:00:00, 945072 bytes
WHQL Logo'd: Yes
WHQL Date Stamp: Unknown
Device Identifier: {D7B71E3E-58C0-11CF-BF55-6A131BC2DA35}
Vendor ID: 0x10DE
Device ID: 0x1B80
SubSys ID: 0x33671462
Revision ID: 0x00A1
Driver Strong Name: oem40.inf:0f066de361856a84:Section136:23.21.13.8813:pci\ven_10de&dev_1b80
Rank Of Driver: 00D12001
Video Accel:
D3D9 Overlay: Supported
DXVA-HD: Supported
DDraw Status: Enabled
D3D Status: Enabled
AGP Status: Enabled
MPO MaxPlanes: 1
MPO Caps: Not Supported
MPO Stretch: Not Supported
MPO Media Hints: Not Supported
MPO Formats: Not Supported
PanelFitter Caps: Not Supported
PanelFitter Stretch: Not Supported

Summary

CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 CPUs), ~4.0GHz (MSI Auto Overclocked to 4.5-8ish)
GPU : 2x NVIDIA GeForce GTX 1080 running in SLI

Log File Without A game running: https://gist.github.com/d0202533d184b593e15662bd5457d891
Print Screen Of Twitch Inspector During Test - Attached File upload_2018-1-4_19-57-57.png
upload_2018-1-4_19-57-57.png
 
To clarify on this, capture applications do not work very well with SLi. This is due to the rendered frames being shared between the GPUs and how costly it is to capture both. This is why there is a special bridge between the GPUs to avoid the kind of performance costs that you would normally have for doing this kind of operation.

For capture, we don't have that kind of option. You can try enabling multi-adapter compatibility on the game capture sources, but this will have a significant performance impact. If your PC is capable of handling it, the resulting output should be much smoother.
 
Thank you VERY much Harold for the recommendation and thank you Fenrir for the explanation!

Whilst I was waiting for these responses I tried the other things I mentioned including investigating the sources. There was a high amount of game sources so I started deleting them all. Whilst I did this I found two image files in a scene I use very rarely. These images were sourced from a network location that no longer existed. I decided to delete these two. Two images, two OBS crashes.

Since I removed these two files I have been able to successfully stream without lag again! OBS has stopped freezing everything.
I am guessing that every time OBS tried to look up these files it would throttle the CPU and the Ethernet as it searched? Anyway here is the log file and the screenshot of twitch inspector. I added a couple of game files to tweak my settings back to around 75% CPU and 1. 70% 2. 80% GPU on demanding games.

I will bear this GPU information in mind though.

Thank you Guys!

https://gist.github.com/ff493c9e93deb52995fffe8b1256dae0

upload_2018-1-5_19-25-30.png
 
Back
Top