Question / Help Stream performance has worsened after hardware upgrade

Nevan Nedall

New Member
So, I recently upgraded from an AMD FX-6300 and a Radeon R7 370 to a i5-6600 and GTX 1060, and while trying to stream with all the exact same encoder settings I used to use, the quality of the stream is now worse than it was before. It is extremely choppy and drops frames constantly. The game runs perfectly fine for me, but the stream output is completely screwed. The most confusing part is how much worse this is than how it was on my previous, far inferior hardware.
Results: https://www.twitch.tv/nevannedall/v/116780526 (starts at 1:00)


Code:
10:21:37.165: CPU Name: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
10:21:37.165: CPU Speed: 3312MHz
10:21:37.165: Physical Cores: 4, Logical Cores: 4
10:21:37.165: Physical Memory: 16279MB Total, 12842MB Free
10:21:37.165: Windows Version: 10.0 Build 14393 (revision: 693; 64-bit)
10:21:37.165: Running as administrator: true
10:21:37.166: Aero is Enabled (Aero is always on for windows 8 and above)
10:21:37.166: Portable mode: false
10:21:37.175: OBS 17.0.2 (64bit, windows)
10:21:37.175: ---------------------------------
10:21:37.175: ---------------------------------
10:21:37.175: audio settings reset:
10:21:37.175:     samples per sec: 44100
10:21:37.175:     speakers:        2
10:21:37.176: ---------------------------------
10:21:37.176: Initializing D3D11..
10:21:37.176: Available Video Adapters:
10:21:37.177:     Adapter 1: NVIDIA GeForce GTX 1060 6GB
10:21:37.177:       Dedicated VRAM: 2102067200
10:21:37.177:       Shared VRAM:    4240171008
10:21:37.177:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
10:21:37.177:       output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
10:21:37.179: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
10:21:37.194: D3D11 loaded sucessfully, feature level used: 45056
10:21:37.607: ---------------------------------
10:21:37.607: video settings reset:
10:21:37.607:     base resolution:   1920x1080
10:21:37.607:     output resolution: 1280x720
10:21:37.607:     downscale filter:  Lanczos
10:21:37.607:     fps:               30/1
10:21:37.607:     format:            NV12
10:21:37.609: ---------------------------------
10:21:37.610: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
10:21:37.611: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
10:21:37.618: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
10:21:37.619: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
10:21:37.619: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
10:21:37.619: Failed to load 'en-US' text for module: 'obs-browser.dll'
10:21:37.619: [browser_source: 'Version: 1.27.0']
10:21:37.621: NVENC supported
10:21:37.670: Couldn't find VLC installation, VLC video source disabled
10:21:37.673: No blackmagic support
10:21:37.696: ---------------------------------
10:21:37.696:   Loaded Modules:
10:21:37.696:     win-wasapi.dll
10:21:37.696:     win-mf.dll
10:21:37.696:     win-dshow.dll
10:21:37.696:     win-decklink.dll
10:21:37.696:     win-capture.dll
10:21:37.696:     vlc-video.dll
10:21:37.696:     text-freetype2.dll
10:21:37.696:     rtmp-services.dll
10:21:37.696:     obs-x264.dll
10:21:37.696:     obs-transitions.dll
10:21:37.696:     obs-text.dll
10:21:37.696:     obs-qsv11.dll
10:21:37.696:     obs-outputs.dll
10:21:37.696:     obs-filters.dll
10:21:37.696:     obs-ffmpeg.dll
10:21:37.696:     obs-browser.dll
10:21:37.696:     image-source.dll
10:21:37.696:     frontend-tools.dll
10:21:37.696:     enc-amf.dll
10:21:37.696:     coreaudio-encoder.dll
10:21:37.696: ==== Startup complete ===============================================
10:21:37.697: All scene data cleared
10:21:37.697: ------------------------------------------------
10:21:37.727: WASAPI: Device 'Speakers (Logitech G933 Gaming Headset)' initialized
10:21:37.727: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{bfbc691e-47f0-4a9e-b09a-0fd93ae7d926}' not found.  Waiting for device
10:21:37.779: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
10:21:37.921: Switched to scene 'In Game'
10:21:37.921: ------------------------------------------------
10:21:37.921: Loaded scenes:
10:21:37.921: - scene 'In Game':
10:21:37.921:     - source: 'Game Capture' (game_capture)
10:21:37.921: ------------------------------------------------
10:21:38.025: Update check: last known remote version is 17.0.2
10:21:53.143: [game-capture: 'Game Capture'] attempting to hook process: RainbowSixGame.exe
10:21:53.144: [game-capture: 'Game Capture'] using helper (compatibility hook)
10:21:53.147: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
10:21:56.176: [game-capture: 'Game Capture'] attempting to hook process: RainbowSixGame.exe
10:21:56.823: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
10:21:56.848: [game-capture: 'Game Capture'] shared texture capture successful
10:22:43.219: ---------------------------------
10:22:43.219: [x264 encoder: 'streaming_h264'] preset: veryfast
10:22:43.219: [x264 encoder: 'streaming_h264'] settings:
10:22:43.219:     rate_control: CBR
10:22:43.219:     bitrate:      2500
10:22:43.219:     buffer size:  2500
10:22:43.219:     crf:          0
10:22:43.219:     fps_num:      30
10:22:43.219:     fps_den:      1
10:22:43.219:     width:        1280
10:22:43.219:     height:       720
10:22:43.219:     keyint:       60
10:22:43.219:     vfr:          off
10:22:43.219:
10:22:43.223: [Media Foundation AAC: 'Stream']: encoder created
10:22:43.223:     bitrate: 128
10:22:43.223:     channels: 2
10:22:43.223:     sample rate: 44100
10:22:43.223:     bits-per-sample: 16
10:22:43.223:
10:22:43.223: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
10:22:43.259: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (2) I219-V (ethernet, 1000 mbps)
10:22:44.575: [rtmp stream: 'adv_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
10:22:44.577: ==== Streaming Start ===============================================
10:25:29.276: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
10:25:29.278: [game-capture: 'Game Capture'] capture stopped
10:25:32.777: [rtmp stream: 'adv_stream'] User stopped the stream
10:25:32.777: Output 'adv_stream': stopping
10:25:32.777: Output 'adv_stream': Total encoded frames: 5087
10:25:32.777: Output 'adv_stream': Total drawn frames: 5087
10:25:32.777: Output 'adv_stream': Number of skipped frames due to encoding lag: 581 (11.4%)
10:25:32.779: ==== Streaming Stop ================================================
 
Hi,

The CPU is overloaded try dropping the cpu preset from veryfast to superfast, if still laggy go to ultrafast if you want to keep 720p or drop to 540p with veryfast preset.

the error is as follows
10:25:32.777: Output 'adv_stream': Number of skipped frames due to encoding lag: 581 (11.4%
 

Fenrir

Forum Admin
Code:
10:25:32.777: Output 'adv_stream': Number of skipped frames due to encoding lag: 581 (11.4%)

Rainbow Six is notorious for being un-optimized. Make sure you are using something to cap FPS in the game, either VSync or some other frame limiter to keep your GPU from being overloaded. Lagged frames are almost always a GPU problem.

Also, make sure your GPU is plugged into the correct slot on your motherboard. You can check if it's running in the proper slot with a tool like GPU-Z. If you don't know how to read the results, feel free to take a screenshot (camera icon in GPU-Z itself) and link the image here.
 

Nevan Nedall

New Member
Hi,

The CPU is overloaded try dropping cpu preset from veryfast to superfast, if stll laggy go to ultrafast if you want to keep 720p

the error is as follows
10:25:32.777: Output 'adv_stream': Number of skipped frames due to encoding lag: 581 (11.4%

Frankly, I want to be going over 720. I dropped the settings this far because these are what I used on my old setup, and they worked better than they do now.

I can record with nvenc at 50k Kbps, 1080p, 60 fps, with absolutely zero issues, but the second I switch over to CPU encoding it tanks.

It's even worse with streaming, even nvenc is choppy at as low as 3k Kbp, and you've seen the results for CPU encoding. Moving the CPU settings up from very fast only hit the quality even harder, and just makes me wonder why I have to set my settings even lower than before in the first place.

Code:
10:25:32.777: Output 'adv_stream': Number of skipped frames due to encoding lag: 581 (11.4%)

Rainbow Six is notorious for being un-optimized. Make sure you are using something to cap FPS in the game, either VSync or some other frame limiter to keep your GPU from being overloaded. Lagged frames are almost always a GPU problem.

Also, make sure your GPU is plugged into the correct slot on your motherboard. You can check if it's running in the proper slot with a tool like GPU-Z. If you don't know how to read the results, feel free to take a screenshot (camera icon in GPU-Z itself) and link the image here.

nfk.png


I had someone helping me when I built it, so I'm fairly sure I got it right but feel free to correct me if I'm wrong.

Also, as mentioned above, I've had this issue when it comes to streaming, but not recording at a MUCH higher bitrate, with Nvenc. Would there be any particular reason for that?

That said, it seems that turning on V-Sync has helped dramatically, which is strange because I never had to use VSync on my old machine. Even so, it seems like I still have to remain pretty close to my old settings of 720p, 30 fps to keep things from getting choppy, which is unfortunate. The most I seem able to do without causing issues is bumping the bitrate up to 3.5k. Am I simply overestimating my hardware? It really seems strange to me that it's struggling this much, especially since I can record at such high settings just fine, but only if I don't use CPU encoding.
 
Last edited:

koala

Active Member
Your game needs CPU resources and OBS needs CPU resources if you use the x264 software encoder. If they run both in parallel, they cannot use more than 100% of your CPU. NVENC runs on the GPU, so it doesn't need any CPU resources.
Start Windows task manager and check how much CPU your game uses. Then terminate your game start your media player and watch some recorded high quality video of your game and record this with OBS and again check how much CPU is used by Obs. Now add the peaks: if they add up to 100% and more, they cannot run both in parallel. Of course you also can watch the Task manager while you are recording your game, but it's difficult to tell if or when the peaks really hit 100%.
If switching to NVENC helps, do this. Streaming with NVENC results in decent quality. It's almost as good as x264, so use it if your CPU cannot handle both x264 encoding and your game. For quality comparison, you can see yourself: https://obsproject.com/forum/threads/comparison-of-x264-nvenc-quicksync-vce.57358/page-3#post-252221
 

Nevan Nedall

New Member
Your game needs CPU resources and OBS needs CPU resources if you use the x264 software encoder. If they run both in parallel, they cannot use more than 100% of your CPU. NVENC runs on the GPU, so it doesn't need any CPU resources.
Start Windows task manager and check how much CPU your game uses. Then terminate your game start your media player and watch some recorded high quality video of your game and record this with OBS and again check how much CPU is used by Obs. Now add the peaks: if they add up to 100% and more, they cannot run both in parallel. Of course you also can watch the Task manager while you are recording your game, but it's difficult to tell if or when the peaks really hit 100%.
If switching to NVENC helps, do this. Streaming with NVENC results in decent quality. It's almost as good as x264, so use it if your CPU cannot handle both x264 encoding and your game. For quality comparison, you can see yourself: https://obsproject.com/forum/threads/comparison-of-x264-nvenc-quicksync-vce.57358/page-3#post-252221
To clearify: when streaming on Nvenc, I have similar issues but to a slightly lesser extent, these issues are not present when recording at far higher bitrates, also on nvenc.
 
x264 for streaming
Nvnec for recording

Try 720 @ 30fps using ultrafast preset otherwise drop it to 540p @ 30fps veryfast if that lags then superfast then ultrafast, though you should be find with 540p.

This can all depend on the game you are playing as more take additional cpu which you are using for encoding the stream when using x264 which is best for low bitrates.
 

Nevan Nedall

New Member
x264 for streaming
Nvnec for recording

Try 720 @ 30fps using ultrafast preset otherwise drop it to 540p @ 30fps veryfast if that lags then superfast then ultrafast, though you should be find with 540p.

This can all depend on the game you are playing as more take additional cpu which you are using for encoding the stream when using x264 which is best for low bitrates.
I still fail to understand why the fix for this problem is to use even lower settings than I used on my older machine with much less capable hardware. Is there anyone that can explain why this is neccisary to begin with?
 
There isn't that much in difference, if anything the AMD has more cores which OBS will use for x264 encoding.

AMD FX-6300 Six-Core
CPU Class Desktop
Clockspeed 3.5 GHz
Turbo Speed 4.1 GHz
# of PCores 3 (2 logical cores per physical)
# of Samples 6826
Single Thread 1406

CPU Mark 6342

Intel Core i5-6600 @ 3.30GHz
Desktop
3.3 GHz
3.9 GHz
4
1236
2123

7740

If you have a log from the older system we could take a look see what other options were different, also you could have used GPU encoding over CPU which removes the CPU load.

You could run Nvenc Encoding for the steam this would free up the cpu lag but due to the low bitrate this can look pretty bad.
 

alpinlol

Active Member
As beardedbob already mentioned there isnt much gain when it comes to cpu intensive tasks like x264 encoding even though games tend to run with a few fps more due to more IPC on the i5.

Then again its not really suggested on neither of those CPUs to stream with more than 720p30 if you are playing games like CSGO/BF1/R6:S/ and a few other CPU intensive games.
 

Nevan Nedall

New Member
If you have a log from the older system we could take a look see what other options were different, also you could have used GPU encoding over CPU which removes the CPU load.

You could run Nvenc Encoding for the steam this would free up the cpu lag but due to the low bitrate this can look pretty bad.
I did mention that Nvenc is stable for recordings, but not streaming. And I also said my settings right now are identical to my old system settings, and are giving even worse results.

I can record with nvenc up to 50k bitrate, but trying to stream at 3k is choppy and unstable


As beardedbob already mentioned there isnt much gain when it comes to cpu intensive tasks like x264 encoding even though games tend to run with a few fps more due to more IPC on the i5.

Then again its not really suggested on neither of those CPUs to stream with more than 720p30 if you are playing games like CSGO/BF1/R6:S/ and a few other CPU intensive games.

Results that aren't better would be understandable, but they are worse than before. I'm just trying to understand how that's possible.
 

Fenrir

Forum Admin
As others have mentioned, without being able to see the logs from the old hardware, it's hard to see why things are appearing to perform worse. Given your hardware specs, and the game you're trying to stream, 720p, 30fps, 2500~ bitrate is what you should be expecting. NVENC will work for local recordings without impact because it's a dedicated hardware chip on your GPU for encoding. It's not great for streaming because the required bitrates for similar quality (bitrate has little impact on performance, in general) are much higher for nvenc than x264 (which as others have mentioned, is using your CPU to encode).

That said, you shouldn't be going much higher than 720p, 30fps, 2500~ bitrate as a non-partner on twitch anyway. You'll run into viewing issues as you don't have access to their CDN for playback.
 

Nevan Nedall

New Member
As others have mentioned, without being able to see the logs from the old hardware, it's hard to see why things are appearing to perform worse. Given your hardware specs, and the game you're trying to stream, 720p, 30fps, 2500~ bitrate is what you should be expecting. NVENC will work for local recordings without impact because it's a dedicated hardware chip on your GPU for encoding. It's not great for streaming because the required bitrates for similar quality (bitrate has little impact on performance, in general) are much higher for nvenc than x264 (which as others have mentioned, is using your CPU to encode).

That said, you shouldn't be going much higher than 720p, 30fps, 2500~ bitrate as a non-partner on twitch anyway. You'll run into viewing issues as you don't have access to their CDN for playback.
Is there any reason why streaming Nvenc at lower bitrates would have worse performance (not just quality) than recorded at higher ones?

I can understand the difficulty diagnosing issues with no hard logs to compare, its just a confusing concept.

Also, out of curiosity isn't the recommended max bitrate for twitch 3500? And above 4k is when they start waving sticks at you?
 

Fenrir

Forum Admin
Is there any reason why streaming Nvenc at lower bitrates would have worse performance (not just quality) than recorded at higher ones?

I can understand the difficulty diagnosing issues with no hard logs to compare, its just a confusing concept.

Also, out of curiosity isn't the recommended max bitrate for twitch 3500? And above 4k is when they start waving sticks at you?

The only reason NVENC would be performing worse is if the settings are not the same. If you can make a log where you record with NVENC and everything is fine, and then stream with NVENC to show the issue, it might shed light.

The recommended max is 3500, for everyone. Including partners. If you stream at 3500 as a non-partner, you don't get put on Twitch's CDN, so many viewers will have buffering and other viewing problems. It's not recommended to go about 2500 for that. That's all you need for 720p 30fps anyway.
 

Xaymar

Active Member
Is there any reason why streaming Nvenc at lower bitrates would have worse performance (not just quality) than recorded at higher ones?

I don't know the internal structure of NVENC, but if it is at all like how lossy compression works: It's because lower bitrates require more work to be done (motion prediction, qp distribution, etc) to keep close to the same quality.

Also, out of curiosity isn't the recommended max bitrate for twitch 3500? And above 4k is when they start waving sticks at you?

Recommended is 2500, recommended maximum is 3500. You can stream at 12 mbit if that's what you want, but don't expect twitch to not drop you if the load is too much.
 

Nevan Nedall

New Member
The only reason NVENC would be performing worse is if the settings are not the same. If you can make a log where you record with NVENC and everything is fine, and then stream with NVENC to show the issue, it might shed light.

The recommended max is 3500, for everyone. Including partners. If you stream at 3500 as a non-partner, you don't get put on Twitch's CDN, so many viewers will have buffering and other viewing problems. It's not recommended to go about 2500 for that. That's all you need for 720p 30fps anyway.
Thanks for the clarifications on twitch's BR stuff. I'll work on getting that log. Might take a bit.
 

Nevan Nedall

New Member
Code:
11:53:25.397: CPU Name: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
11:53:25.397: CPU Speed: 3312MHz
11:53:25.397: Physical Cores: 4, Logical Cores: 4
11:53:25.397: Physical Memory: 16279MB Total, 11598MB Free
11:53:25.397: Windows Version: 10.0 Build 14393 (revision: 693; 64-bit)
11:53:25.397: Running as administrator: true
11:53:25.397: Aero is Enabled (Aero is always on for windows 8 and above)
11:53:25.406: Portable mode: false
11:53:25.466: OBS 17.0.2 (64bit, windows)
11:53:25.466: ---------------------------------
11:53:25.466: ---------------------------------
11:53:25.466: audio settings reset:
11:53:25.466:     samples per sec: 44100
11:53:25.466:     speakers:        2
11:53:25.530: ---------------------------------
11:53:25.530: Initializing D3D11..
11:53:25.530: Available Video Adapters:
11:53:25.531:     Adapter 1: NVIDIA GeForce GTX 1060 6GB
11:53:25.531:       Dedicated VRAM: 2102067200
11:53:25.531:       Shared VRAM:    4240171008
11:53:25.531:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
11:53:25.531:       output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
11:53:25.541: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
11:53:25.557: D3D11 loaded sucessfully, feature level used: 45056
11:53:26.192: ---------------------------------
11:53:26.192: video settings reset:
11:53:26.192:     base resolution:   1920x1080
11:53:26.192:     output resolution: 1920x1080
11:53:26.192:     downscale filter:  Lanczos
11:53:26.192:     fps:               60/1
11:53:26.192:     format:            NV12
11:53:26.194: ---------------------------------
11:53:26.241: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
11:53:26.325: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
11:53:26.780: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
11:53:26.797: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
11:53:26.817: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
11:53:26.849: Failed to load 'en-US' text for module: 'obs-browser.dll'
11:53:26.849: [browser_source: 'Version: 1.27.0']
11:53:27.185: NVENC supported
11:53:28.156: Couldn't find VLC installation, VLC video source disabled
11:53:28.288: No blackmagic support
11:53:28.706: ---------------------------------
11:53:28.706:   Loaded Modules:
11:53:28.706:     win-wasapi.dll
11:53:28.706:     win-mf.dll
11:53:28.706:     win-dshow.dll
11:53:28.706:     win-decklink.dll
11:53:28.706:     win-capture.dll
11:53:28.706:     vlc-video.dll
11:53:28.706:     text-freetype2.dll
11:53:28.706:     rtmp-services.dll
11:53:28.706:     obs-x264.dll
11:53:28.706:     obs-transitions.dll
11:53:28.706:     obs-text.dll
11:53:28.706:     obs-qsv11.dll
11:53:28.706:     obs-outputs.dll
11:53:28.706:     obs-filters.dll
11:53:28.706:     obs-ffmpeg.dll
11:53:28.706:     obs-browser.dll
11:53:28.706:     image-source.dll
11:53:28.706:     frontend-tools.dll
11:53:28.706:     enc-amf.dll
11:53:28.706:     coreaudio-encoder.dll
11:53:28.706: ==== Startup complete ===============================================
11:53:28.778: All scene data cleared
11:53:28.778: ------------------------------------------------
11:53:28.814: WASAPI: Device 'Speakers (Logitech G933 Gaming Headset)' initialized
11:53:28.814: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{bfbc691e-47f0-4a9e-b09a-0fd93ae7d926}' not found.  Waiting for device
11:53:28.825: Switched to scene 'In Game'
11:53:28.852: ------------------------------------------------
11:53:28.852: Loaded scenes:
11:53:28.852: - scene 'In Game':
11:53:28.852:     - source: 'Game Capture' (game_capture)
11:53:28.852: ------------------------------------------------
11:53:29.080: adding 255 milliseconds of audio buffering, total audio buffering is now 255 milliseconds
11:53:29.225: Update check: last known remote version is 17.0.2
11:53:54.028: [game-capture: 'Game Capture'] attempting to hook process: RainbowSixGame.exe
11:53:54.304: [game-capture: 'Game Capture'] using helper (compatibility hook)
11:53:54.306: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
11:53:57.044: [game-capture: 'Game Capture'] attempting to hook process: RainbowSixGame.exe
11:53:58.294: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
11:53:58.294: [game-capture: 'Game Capture'] capture stopped
11:54:01.061: [game-capture: 'Game Capture'] attempting to hook process: RainbowSixGame.exe
11:54:01.077: [game-capture: 'Game Capture'] shared texture capture successful
11:54:38.220: Settings changed (outputs)
11:54:38.220: ------------------------------------------------
11:57:17.037: ---------------------------------
11:57:17.129: [NVENC encoder: 'recording_h264'] settings:
11:57:17.129:     rate_control: CBR
11:57:17.129:     bitrate:      15000
11:57:17.129:     cqp:          0
11:57:17.129:     keyint:       120
11:57:17.129:     preset:       hq
11:57:17.129:     profile:      high
11:57:17.129:     level:        auto
11:57:17.129:     width:        1920
11:57:17.129:     height:       1080
11:57:17.129:     2-pass:       true
11:57:17.129:     b-frames:     2
11:57:17.129:     GPU:          0
11:57:17.129:
11:57:17.904: ---------------------------------
11:57:17.904: [FFmpeg aac encoder: 'Record'] bitrate: 320, channels: 2
11:57:18.030: ==== Recording Start ===============================================
11:57:18.030: [ffmpeg muxer: 'adv_file_output'] Writing file 'E:/Nevan/Videos/OBS/2017-01-24 11-57-17.mp4'...
12:01:42.930: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/Nevan/Videos/OBS/2017-01-24 11-57-17.mp4' stopped
12:01:42.930: Output 'adv_file_output': stopping
12:01:42.930: Output 'adv_file_output': Total encoded frames: 15888
12:01:42.930: Output 'adv_file_output': Total drawn frames: 15894
12:01:42.930: Output 'adv_file_output': Number of skipped frames due to encoding lag: 1 (0.0%)
12:01:42.930: ==== Recording Stop ================================================
12:02:02.231: ---------------------------------
12:02:02.232: [NVENC encoder: 'streaming_h264'] settings:
12:02:02.232:     rate_control: CBR
12:02:02.232:     bitrate:      2500
12:02:02.232:     cqp:          0
12:02:02.232:     keyint:       120
12:02:02.232:     preset:       default
12:02:02.232:     profile:      high
12:02:02.232:     level:        auto
12:02:02.232:     width:        1280
12:02:02.232:     height:       720
12:02:02.232:     2-pass:       true
12:02:02.232:     b-frames:     2
12:02:02.232:     GPU:          0
12:02:02.232:
12:02:02.424: [Media Foundation AAC: 'Stream']: encoder created
12:02:02.424:     bitrate: 128
12:02:02.424:     channels: 2
12:02:02.424:     sample rate: 44100
12:02:02.424:     bits-per-sample: 16
12:02:02.424:
12:02:02.425: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
12:02:02.501: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (2) I219-V (ethernet, 1000 mbps)
12:02:03.954: [rtmp stream: 'adv_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
12:02:04.215: ==== Streaming Start ===============================================
12:06:49.018: [rtmp stream: 'adv_stream'] User stopped the stream
12:06:49.018: Output 'adv_stream': stopping
12:06:49.018: Output 'adv_stream': Total encoded frames: 17196
12:06:49.018: Output 'adv_stream': Total drawn frames: 17196
12:06:49.018: Output 'adv_stream': Number of skipped frames due to encoding lag: 12 (0.1%)
12:06:49.018: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 2530 (14.7%)
12:06:49.018: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 679 (3.9%)
12:06:49.018: [rtmp stream: 'adv_stream'] Freeing 96 remaining packets
12:06:49.020: ==== Streaming Stop ================================================

One thing I realized after the fact is that I forgot to drop the FPS down from 60 to 30, but regardless, far lower bitrate, lower res, worse performance, same encoding method.
Not sure why I got insuficient bandwidth frame drops, even with this machine I havent had that problem in the past, but that's not even the biggest chunk of dropped frames.

Also aparently I didn't change keyframes back to 2, not that I recall ever changing it from that in the first place..

I've recorded as high as 50k bitrate with no issues, on nvenc, but due to the resulting file sizes I settled on 15k

Settings:
CX9Uibk.png




BTNrmtQ.png
 
Last edited:

Fenrir

Forum Admin
Well, you're right about one thing. That doesn't make a lick of sense. Can you try setting the keyframe from 2 to 0 on the recording, and set the preset back to default and see if it has the same problems? that's the only difference I see there.
 

Nevan Nedall

New Member
Well, you're right about one thing. That doesn't make a lick of sense. Can you try setting the keyframe from 2 to 0 on the recording, and set the preset back to default and see if it has the same problems? that's the only difference I see there.
Code:
22:59:35.035: CPU Name: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
22:59:35.035: CPU Speed: 3312MHz
22:59:35.035: Physical Cores: 4, Logical Cores: 4
22:59:35.035: Physical Memory: 16279MB Total, 9348MB Free
22:59:35.035: Windows Version: 10.0 Build 14393 (revision: 693; 64-bit)
22:59:35.035: Running as administrator: true
22:59:35.035: Aero is Enabled (Aero is always on for windows 8 and above)
22:59:35.035: Portable mode: false
22:59:35.046: OBS 17.0.2 (64bit, windows)
22:59:35.046: ---------------------------------
22:59:35.046: ---------------------------------
22:59:35.046: audio settings reset:
22:59:35.046:     samples per sec: 44100
22:59:35.046:     speakers:        2
22:59:35.047: ---------------------------------
22:59:35.047: Initializing D3D11..
22:59:35.047: Available Video Adapters:
22:59:35.049:     Adapter 1: NVIDIA GeForce GTX 1060 6GB
22:59:35.049:       Dedicated VRAM: 2102067200
22:59:35.049:       Shared VRAM:    4240171008
22:59:35.049:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
22:59:35.049:       output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
22:59:35.051: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
22:59:35.066: D3D11 loaded sucessfully, feature level used: 45056
22:59:35.493: ---------------------------------
22:59:35.493: video settings reset:
22:59:35.493:     base resolution:   1920x1080
22:59:35.493:     output resolution: 1920x1080
22:59:35.493:     downscale filter:  Lanczos
22:59:35.493:     fps:               60/1
22:59:35.493:     format:            NV12
22:59:35.494: ---------------------------------
22:59:35.495: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
22:59:35.496: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
22:59:35.504: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:59:35.504: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
22:59:35.504: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:59:35.505: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:59:35.505: [browser_source: 'Version: 1.27.0']
22:59:35.506: NVENC supported
22:59:35.550: Couldn't find VLC installation, VLC video source disabled
22:59:35.553: No blackmagic support
22:59:35.576: ---------------------------------
22:59:35.576:   Loaded Modules:
22:59:35.576:     win-wasapi.dll
22:59:35.576:     win-mf.dll
22:59:35.576:     win-dshow.dll
22:59:35.576:     win-decklink.dll
22:59:35.576:     win-capture.dll
22:59:35.576:     vlc-video.dll
22:59:35.576:     text-freetype2.dll
22:59:35.576:     rtmp-services.dll
22:59:35.576:     obs-x264.dll
22:59:35.576:     obs-transitions.dll
22:59:35.576:     obs-text.dll
22:59:35.576:     obs-qsv11.dll
22:59:35.576:     obs-outputs.dll
22:59:35.576:     obs-filters.dll
22:59:35.576:     obs-ffmpeg.dll
22:59:35.576:     obs-browser.dll
22:59:35.576:     image-source.dll
22:59:35.576:     frontend-tools.dll
22:59:35.576:     enc-amf.dll
22:59:35.576:     coreaudio-encoder.dll
22:59:35.576: ==== Startup complete ===============================================
22:59:35.577: All scene data cleared
22:59:35.577: ------------------------------------------------
22:59:35.613: WASAPI: Device 'Speakers (Logitech G933 Gaming Headset)' initialized
22:59:35.613: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{bfbc691e-47f0-4a9e-b09a-0fd93ae7d926}' not found.  Waiting for device
22:59:35.813: Switched to scene 'In Game'
22:59:35.814: [game-capture: 'Game Capture'] attempting to hook process: RainbowSixGame.exe
22:59:35.816: ------------------------------------------------
22:59:35.816: Loaded scenes:
22:59:35.816: - scene 'In Game':
22:59:35.816:     - source: 'Game Capture' (game_capture)
22:59:35.816: ------------------------------------------------
22:59:35.827: [game-capture: 'Game Capture'] shared texture capture successful
22:59:35.931: Update check: last known remote version is 17.0.2
22:59:36.069: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
22:59:49.174: ---------------------------------
22:59:49.174: [NVENC encoder: 'recording_h264'] settings:
22:59:49.174:     rate_control: CBR
22:59:49.174:     bitrate:      15000
22:59:49.174:     cqp:          0
22:59:49.174:     keyint:       250
22:59:49.174:     preset:       default
22:59:49.174:     profile:      high
22:59:49.174:     level:        auto
22:59:49.174:     width:        1920
22:59:49.174:     height:       1080
22:59:49.174:     2-pass:       true
22:59:49.174:     b-frames:     2
22:59:49.174:     GPU:          0
22:59:49.174:
22:59:49.837: ---------------------------------
22:59:49.837: [FFmpeg aac encoder: 'Record'] bitrate: 320, channels: 2
22:59:49.869: ==== Recording Start ===============================================
22:59:49.869: [ffmpeg muxer: 'adv_file_output'] Writing file 'E:/Nevan/Videos/OBS/2017-01-24 22-59-49.mp4'...
23:05:28.078: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/Nevan/Videos/OBS/2017-01-24 22-59-49.mp4' stopped
23:05:28.078: Output 'adv_file_output': stopping
23:05:28.078: Output 'adv_file_output': Total encoded frames: 20292
23:05:28.078: Output 'adv_file_output': Total drawn frames: 20293
23:05:28.079: ==== Recording Stop ================================================
23:05:32.127: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
23:05:32.127: [game-capture: 'Game Capture'] capture stopped
No noticiable decress in performance.
 

Envymia

New Member
This doesn't make any sense... I have a friend with similar issues running this software version.

his stream lags and crashes..
I'm still using 16.0.2 and hes got the 17.2

I'm running an FX8350 + R9 285X
hes running i5-6500K and gtx 1060

settings are pretty identical to mine, i went over everything yet we can't figure it out

will tell him to resinstall and see what happens.
im guessing its either a software issue or driver issue then.
 
Top