Question / Help ryzen 1800x problems...

hi to all here...this is my second post...
i have ryzen 1800x 4.0 ghz
memory g skill 2800 mhz ssd samsung 850 pro 512 gb
i am playing and streaming on same pc...
also i have just one display which is asus rog pg 279q g sync 2560-1440 resolution...

playing and streaming BF1 i just cant stream on 1080p 60 fps,i have stuttering and some minor lag.
streaming on 720p 60 fps things are a lot better but sometimes again some stuttering and lag...less then 1080p but is present...
i just cant belive that 8 core ryzen cant handle strem at 1080p and whit 2560-1440 resulution...
maybe the problem is that i have JUST ONE DISPLAY AND ALL THINGS OPENED THERE? naturally will get another display in near future but then the things will be better?
my important question is having just one display and getting another one to push obs there will get things better?
also how i have one display you tube page is opened there and obs also...moving you tube page on another display will get thing smother?
 

SumDim

Member
One display has nothing to do with it.

Maybe the problem is, you don't have fast enough upload speed?
Run a speed test.

If you aren't doing 10Mpbs+ upload that is very stable and consistent while streaming, that is likely why it doesnt work at 1080/60fps.
No wireless. Only hard wired Ethernet connection.
Nobody else on the network in your house. All computers, tablets, smartphones off.
Check router and DHCP to see what devices are on and if it looks fishy, nuke the IPs that don't belong there.
 
Just tested upload spend and it's 20 mbps...
All devices are off and no wireless internet ...
My bitrate in OBS is 6000 mbps ...
Other company's here in Portugal have already 100 mbps upload...will switch maybe to 100 mbps from actual 20 mbps...
 
here is a log


05:09:54.840: CPU Name: AMD Ryzen 7 1800X Eight-Core Processor
05:09:54.840: CPU Speed: 3893MHz
05:09:54.840: Physical Cores: 8, Logical Cores: 16
05:09:54.840: Physical Memory: 32696MB Total, 27859MB Free
05:09:54.840: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
05:09:54.840: Running as administrator: true
05:09:54.840: Aero is Enabled (Aero is always on for windows 8 and above)
05:09:54.840: Portable mode: false
05:09:54.850: OBS 19.0.3 (64bit, windows)
05:09:54.850: ---------------------------------
05:09:54.850: ---------------------------------
05:09:54.850: audio settings reset:
05:09:54.850: samples per sec: 44100
05:09:54.850: speakers: 2
05:09:54.852: ---------------------------------
05:09:54.852: Initializing D3D11...
05:09:54.852: Available Video Adapters:
05:09:54.854: Adapter 1: NVIDIA GeForce GTX 1080
05:09:54.854: Dedicated VRAM: 4168089600
05:09:54.854: Shared VRAM: 4257527808
05:09:54.854: output 1: pos={0, 0}, size={2560, 1440}, attached=true
05:09:54.856: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
05:09:54.894: D3D11 loaded successfully, feature level used: 45056
05:09:55.530: ---------------------------------
05:09:55.530: video settings reset:
05:09:55.530: base resolution: 2560x1440
05:09:55.530: output resolution: 1920x1080
05:09:55.530: downscale filter: Lanczos
05:09:55.530: fps: 60/1
05:09:55.530: format: NV12
05:09:55.531: Audio monitoring device:
05:09:55.531: name: Default
05:09:55.531: id: default
05:09:55.531: ---------------------------------
05:09:55.533: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
05:09:55.534: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
05:09:55.536: Failed to load 'pt-PT' text for module: 'enc-amf.dll'
05:09:55.536: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
05:09:55.536: Failed to initialize module 'enc-amf.dll'
05:09:55.553: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
05:09:55.553: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
05:09:55.554: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
05:09:55.555: Failed to load 'en-US' text for module: 'obs-browser.dll'
05:09:55.555: [browser_source: 'Version: 1.29.0']
05:09:55.559: NVENC supported
05:09:55.609: Failed to load 'pt-PT' text for module: 'obs-text.dll'
05:09:55.611: Failed to load 'pt-PT' text for module: 'obs-vst.dll'
05:09:55.616: Couldn't find VLC installation, VLC video source disabled
05:09:55.621: No blackmagic support
05:09:55.665: ---------------------------------
05:09:55.665: Loaded Modules:
05:09:55.665: win-wasapi.dll
05:09:55.665: win-mf.dll
05:09:55.665: win-dshow.dll
05:09:55.665: win-decklink.dll
05:09:55.665: win-capture.dll
05:09:55.665: vlc-video.dll
05:09:55.665: text-freetype2.dll
05:09:55.665: rtmp-services.dll
05:09:55.665: obs-x264.dll
05:09:55.665: obs-vst.dll
05:09:55.665: obs-transitions.dll
05:09:55.665: obs-text.dll
05:09:55.665: obs-qsv11.dll
05:09:55.665: obs-outputs.dll
05:09:55.665: obs-filters.dll
05:09:55.665: obs-ffmpeg.dll
05:09:55.665: obs-browser.dll
05:09:55.665: image-source.dll
05:09:55.665: frontend-tools.dll
05:09:55.665: enc-amf.dll
05:09:55.665: coreaudio-encoder.dll
05:09:55.665: ==== Startup complete ===============================================
05:09:55.667: All scene data cleared
05:09:55.667: ------------------------------------------------
05:09:55.711: WASAPI: Device 'Auricular (Corsair Gaming H2100 Headset)' initialized
05:09:55.723: WASAPI: Device 'Auscultadores com Microfone (Corsair Gaming H2100 Headset)' initialized
05:09:55.766: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
05:09:55.821: ---------------------------------
05:09:55.821: [DShow Device: 'C 922 pro'] settings updated:
05:09:55.821: video device: C922 Pro Stream Webcam
05:09:55.821: video path: \\?\usb#vid_046d&pid_085c&mi_00#7&2c276ea8&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
05:09:55.821: resolution: 1280x720
05:09:55.821: fps: 60.00 (interval: 166666)
05:09:55.821: format: MJPEG
05:09:55.822: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
05:09:55.822:
05:09:56.210: Switched to scene 'Cena'
05:09:56.210: ------------------------------------------------
05:09:56.210: Loaded scenes:
05:09:56.210: - scene 'Cena':
05:09:56.211: - source: 'Battlegrounds' (game_capture)
05:09:56.211: - source: 'IW' (game_capture)
05:09:56.211: - source: 'BF1' (game_capture)
05:09:56.211: - source: 'SWB' (game_capture)
05:09:56.211: - source: 'C 922 pro' (dshow_input)
05:09:56.211: - source: 'streamlabs' (browser_source)
05:09:56.211: - source: 'subs' (text_gdiplus)
05:09:56.211: - filter: 'Percorre' (scroll_filter)
05:09:56.211: - source: 'sub count' (text_gdiplus)
05:09:56.211: - filter: 'Percorre' (scroll_filter)
05:09:56.211: ------------------------------------------------
05:10:42.400: [game-capture: 'BF1'] attempting to hook process: bf1.exe
05:10:42.404: [game-capture: 'BF1'] using helper (compatibility hook)
05:10:42.444: [game-capture: 'BF1'] hook not loaded yet, retrying..
05:10:48.587: [game-capture: 'BF1'] attempting to hook process: bf1.exe
05:10:48.683: [game-capture: 'BF1'] Hooked to process: bf1.exe
05:10:48.683: [game-capture: 'BF1'] (half life scientist) everything.. seems to be in order
05:10:48.694: [game-capture: 'BF1'] Hooked DXGI
05:10:49.217: [game-capture: 'BF1'] d3d11 shared texture capture successful
05:10:49.232: [game-capture: 'BF1'] shared texture capture successful
05:10:57.336: ---------------------------------
05:10:57.336: [x264 encoder: 'streaming_h264'] preset: veryfast
05:10:57.336: [x264 encoder: 'streaming_h264'] profile: main
05:10:57.336: [x264 encoder: 'streaming_h264'] settings:
05:10:57.336: rate_control: CBR
05:10:57.336: bitrate: 10000
05:10:57.336: buffer size: 10000
05:10:57.336: crf: 0
05:10:57.336: fps_num: 60
05:10:57.336: fps_den: 1
05:10:57.336: width: 1920
05:10:57.336: height: 1080
05:10:57.336: keyint: 120
05:10:57.336: vfr: off
05:10:57.336:
05:10:57.346: [Media Foundation AAC: 'Track1']: encoder created
05:10:57.346: bitrate: 160
05:10:57.346: channels: 2
05:10:57.346: sample rate: 44100
05:10:57.346: bits-per-sample: 16
05:10:57.346:
05:10:57.347: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
05:10:58.766: [rtmp stream: 'adv_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
05:10:59.272: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
05:10:59.275: ==== Streaming Start ===============================================
05:19:08.781: [rtmp stream: 'adv_stream'] User stopped the stream
05:19:08.782: Output 'adv_stream': stopping
05:19:08.782: Output 'adv_stream': Total encoded frames: 25665
05:19:08.782: Output 'adv_stream': Total drawn frames: 29487
05:19:08.782: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 2134 (7.2%)
05:19:08.785: ==== Streaming Stop ================================================
05:19:36.165: [game-capture: 'BF1'] capture window no longer exists, terminating capture
05:19:36.165: [game-capture: 'BF1'] capture stopped
05:20:38.955: ==== Shutting down ==================================================
05:20:38.962: Switched to scene '(null)'
05:20:39.204: WASAPI: Device 'Auricular (Corsair Gaming H2100 Headset)' Terminated
05:20:39.219: WASAPI: Device 'Auscultadores com Microfone (Corsair Gaming H2100 Headset)' Terminated
05:20:39.225: All scene data cleared
05:20:39.225: ------------------------------------------------
05:20:39.268: Freeing OBS context data
05:20:39.351: == Profiler Results =============================
05:20:39.351: run_program_init: 1669.01 ms
05:20:39.351: ┣OBSApp::AppInit: 7.806 ms
05:20:39.351: ┃ ┗OBSApp::InitLocale: 1.634 ms
05:20:39.351: ┗OBSApp::OBSInit: 1437.13 ms
05:20:39.351: ┣obs_startup: 1.522 ms
05:20:39.351: ┗OBSBasic::OBSInit: 1413.65 ms
05:20:39.351: ┣OBSBasic::InitBasicConfig: 0.425 ms
05:20:39.351: ┣OBSBasic::ResetAudio: 0.229 ms
05:20:39.351: ┣OBSBasic::ResetVideo: 680.877 ms
05:20:39.351: ┣OBSBasic::InitOBSCallbacks: 0.003 ms
05:20:39.351: ┣OBSBasic::InitHotkeys: 0.037 ms
05:20:39.351: ┣obs_load_all_modules: 133.628 ms
05:20:39.351: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.466 ms
05:20:39.351: ┃ ┣obs_init_module(enc-amf.dll): 0.333 ms
05:20:39.351: ┃ ┣obs_init_module(frontend-tools.dll): 1.237 ms
05:20:39.351: ┃ ┣obs_init_module(image-source.dll): 0.002 ms
05:20:39.351: ┃ ┣obs_init_module(obs-browser.dll): 0.092 ms
05:20:39.351: ┃ ┣obs_init_module(obs-ffmpeg.dll): 1.107 ms
05:20:39.351: ┃ ┣obs_init_module(obs-filters.dll): 0.008 ms
05:20:39.351: ┃ ┣obs_init_module(obs-outputs.dll): 0.004 ms
05:20:39.351: ┃ ┣obs_init_module(obs-qsv11.dll): 44.584 ms
05:20:39.351: ┃ ┣obs_init_module(obs-text.dll): 0.248 ms
05:20:39.351: ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
05:20:39.351: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
05:20:39.351: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
05:20:39.351: ┃ ┣obs_init_module(rtmp-services.dll): 0.434 ms
05:20:39.351: ┃ ┣obs_init_module(text-freetype2.dll): 0.201 ms
05:20:39.351: ┃ ┣obs_init_module(vlc-video.dll): 0.034 ms
05:20:39.351: ┃ ┣obs_init_module(win-capture.dll): 0.178 ms
05:20:39.351: ┃ ┣obs_init_module(win-decklink.dll): 2.767 ms
05:20:39.351: ┃ ┣obs_init_module(win-dshow.dll): 2.02 ms
05:20:39.351: ┃ ┣obs_init_module(win-mf.dll): 35.882 ms
05:20:39.351: ┃ ┣obs_init_module(win-wasapi.dll): 0.004 ms
05:20:39.351: ┃ ┗reset_win32_symbol_paths: 0.092 ms
05:20:39.351: ┣OBSBasic::ResetOutputs: 0.502 ms
05:20:39.351: ┣OBSBasic::CreateHotkeys: 0.21 ms
05:20:39.351: ┣OBSBasic::InitService: 0.108 ms
05:20:39.351: ┣OBSBasic::InitPrimitives: 0.212 ms
05:20:39.351: ┗OBSBasic::Load: 544.648 ms
05:20:39.351: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.006 ms, max=5981.93 ms, 99th percentile=0.175 ms, 99.9921% below 25 ms
05:20:39.351: audio_thread(Audio): min=0 ms, median=0.331 ms, max=16.116 ms, 99th percentile=1.386 ms
05:20:39.351: ┗receive_audio: min=0.002 ms, median=0.301 ms, max=11.401 ms, 99th percentile=1.276 ms, 0.741177 calls per parent call
05:20:39.351: ┣buffer_audio: min=0 ms, median=0.001 ms, max=4.879 ms, 99th percentile=0.003 ms
05:20:39.351: ┗do_encode: min=0.131 ms, median=0.296 ms, max=11.394 ms, 99th percentile=1.271 ms
05:20:39.351: ┗encode(Track1): min=0.124 ms, median=0.275 ms, max=11.361 ms, 99th percentile=1.206 ms
05:20:39.351: obs_video_thread(16.6667 ms): min=0.365 ms, median=1.311 ms, max=5999.53 ms, 99th percentile=40.651 ms, 83.0997% below 16.667 ms
05:20:39.351: ┣tick_sources: min=0.001 ms, median=0.024 ms, max=470.035 ms, 99th percentile=0.599 ms
05:20:39.351: ┣render_displays: min=0.001 ms, median=0.241 ms, max=3020.35 ms, 99th percentile=1.2 ms
05:20:39.351: ┗output_frame: min=0.362 ms, median=0.93 ms, max=5998.86 ms, 99th percentile=40.108 ms
05:20:39.351: ┣gs_context(video->graphics): min=0.112 ms, median=0.482 ms, max=5998.41 ms, 99th percentile=39.596 ms
05:20:39.351: ┃ ┣render_video: min=0.013 ms, median=0.068 ms, max=18.348 ms, 99th percentile=0.67 ms
05:20:39.351: ┃ ┃ ┣render_main_texture: min=0.001 ms, median=0.032 ms, max=11.662 ms, 99th percentile=0.166 ms
05:20:39.351: ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.011 ms, max=1.365 ms, 99th percentile=0.028 ms
05:20:39.351: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.014 ms, max=1.206 ms, 99th percentile=0.029 ms
05:20:39.351: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.003 ms, max=18.209 ms, 99th percentile=0.536 ms
05:20:39.351: ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=67.072 ms, 99th percentile=39.362 ms
05:20:39.351: ┃ ┗gs_flush: min=0.015 ms, median=0.233 ms, max=5998.35 ms, 99th percentile=0.726 ms
05:20:39.351: ┗output_video_data: min=0.216 ms, median=0.423 ms, max=5.566 ms, 99th percentile=0.838 ms
05:20:39.351: video_thread(video): min=0.001 ms, median=1.541 ms, max=31.804 ms, 99th percentile=5.257 ms
05:20:39.351: ┗receive_video: min=0.001 ms, median=1.759 ms, max=29.464 ms, 99th percentile=2.922 ms, 0.818493 calls per parent call
05:20:39.351: ┗do_encode: min=0.961 ms, median=1.759 ms, max=29.463 ms, 99th percentile=2.922 ms
05:20:39.351: ┗encode(streaming_h264): min=0.951 ms, median=1.731 ms, max=29.444 ms, 99th percentile=2.89 ms
05:20:39.351: =================================================
05:20:39.351: == Profiler Time Between Calls ==================
05:20:39.351: obs_hotkey_thread(25 ms): min=24.116 ms, median=25.069 ms, max=6009 ms, 95.0931% within ±2% of 25 ms (0.0276778% lower, 4.87921% higher)
05:20:39.351: obs_video_thread(16.6667 ms): min=1.328 ms, median=16.667 ms, max=5999.55 ms, 75.751% within ±2% of 16.667 ms (6.35903% lower, 17.89% higher)
05:20:39.351: =================================================
05:20:39.577: Number of memory leaks: 9


let me tell you just tried 10 mb bitrate and stream is a lot smother...my upload is not ok?
10 mb bitrate is to much for viewer to keep up?
you will notice some wierd things on log

Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
05:09:55.534: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
05:09:55.536: Failed to load 'pt-PT' text for module: 'enc-amf.dll'
waiting for your help guys...
 

SumDim

Member
Yeah, those leaks are not good.

Your Cena scene has four game captures in it:
05:09:56.210: Loaded scenes:
05:09:56.210: - scene 'Cena':
05:09:56.211: - source: 'Battlegrounds' (game_capture)
05:09:56.211: - source: 'IW' (game_capture)
05:09:56.211: - source: 'BF1' (game_capture)
05:09:56.211: - source: 'SWB' (game_capture)
05:09:56.211: - source: 'C 922 pro' (dshow_input)
05:09:56.211: - source: 'streamlabs' (browser_source)
05:09:56.211: - source: 'subs' (text_gdiplus)
05:09:56.211: - filter: 'Percorre' (scroll_filter)
05:09:56.211: - source: 'sub count' (text_gdiplus)
05:09:56.211: - filter: 'Percorre' (scroll_filter)

I think you got this setup incorrectly. You aren't playing all four games simultaneously. Try creating separate Scenes for each game, not put all four game captures sources into one Scene.

For the C922 webcam settings, I would set the resolution lower. You don't need that high of a resolution if you are using a small rectangular region. Its just going to cause more processing and then forced to be scaled down. Besides, you will never show yourself at 1280x720 on your stream anyway. You don't need 60fps either as you are going to be sitting relatively still in your chair. So I would do something like 640x480 at 30fps.

Those module loading errors aren't really errors. They look like they are but are mislabeled with the wrong text.

When doing YouTube Live streams, YouTube will autodetect the bitrate, resolution and FPS. For 1080@60fps, they recommend between 4500-9000Kbps for bitrate. For 720@60fps, 2250-6000Kbps.
 
Last edited:
Try creating separate Scenes for each game, not put all four game captures sources into one Scene


ok then i will create 4 scenes for all of my 4 games that i am streaming wright?
 
hey bro what about bitrate?like somebody suggested i am using now 10000 for live stream...it seams better now but 10 mb is too much for live stream?
 

SumDim

Member
It depends on whats special about each game (source properties) and why it needs to be a separate scene.

You may not need four separate scenes for each game. You may just need one scene.
For example, if all of them are full screen games, just create a Scene called "PC Fullscreen" and add one Game Capture source.
Set the mode to "capture any fullscreen application"
 
ok got it or even better just like i have now but i can deactivate all things that i am not using in a moment...
about bitrate again 10mb i don't have stuttering any more...my upload speed is 20 mb...from there something is wrong whit my upload speed i think?is not stable?
 
upload_2017-7-13_11-24-49.png
 

SumDim

Member
What I think was going on was that you weren't sending enough data fast enough to the ingest server. I sensed this after watching some of your YouTube videos at 1080@60fps. The output was fuzzy and seemed like missing frames to fill in between the time lines was going on (not dropped frames, but missing content sort of feel to it) . Given the CPU and GPU you have, that seemed odd to me because I know that a Ryzen 1800X and GTX 1080 combo should be able to pull 1080@60fps off with ease. Even more so after you said you had 20Mbps upload.

YouTube is going to rate adapt to conform to quality of service, the content, and networking conditions. Try cranking up your bitrate to 10-20% less than 20Mbps, say to 16000-18000 and see what happens. Watch the stream condition light to see if it always stays lit green or starts to waver to yellow or red.
 
Thank you so much for your help...it seems to me that my upload is limiting stable stream...
Streaming until now at 6 mb bitrate and always had the problems that you referred...
Tried 10 mb bitrate and like you will see at my last bf1 stream things are much better...
For me problem is whit upload...will check interet supplier and change to 100 mb upload speed...
 
upload_2017-7-13_16-55-15.png

hey there...like you will see on the picture i deactivated 3 games and just left BF1 game capture active...
will try later when i come from work to see how will perform...and also i reset web cam and left at default resolution...
about bitrate i put at 9 mb which is max recommended by you tube for 1080p 60 fps...
i am curios about your comments mrs. SumDim and i trust in your opinion...if you can help me in next days and if you will have some advice will be glad to hear and apply...
 
Yeah, those leaks are not good.

Your Cena scene has four game captures in it:
05:09:56.210: Loaded scenes:
05:09:56.210: - scene 'Cena':
05:09:56.211: - source: 'Battlegrounds' (game_capture)
05:09:56.211: - source: 'IW' (game_capture)
05:09:56.211: - source: 'BF1' (game_capture)
05:09:56.211: - source: 'SWB' (game_capture)
05:09:56.211: - source: 'C 922 pro' (dshow_input)
05:09:56.211: - source: 'streamlabs' (browser_source)
05:09:56.211: - source: 'subs' (text_gdiplus)
05:09:56.211: - filter: 'Percorre' (scroll_filter)
05:09:56.211: - source: 'sub count' (text_gdiplus)
05:09:56.211: - filter: 'Percorre' (scroll_filter)


about all 4 games captures opened is already solved by deactivating 3 of them...will see later...
 
Top