Question / Help 60 FPS, but stutter

Ehodagar

New Member
Hello,

Firstly, thanks for making this awesome tool.
Secondly, here's some information about my system:
I use Samsung ATIV Book 8 (NP870)
Windows 8.1 (64 bit)
CPU: i-7 3635QM Ivy Bridge (Quad Core, 6MB L3 shared Cache) + Integrated Intel HD 4000
RAM: 8 GB
Dedicated GPU: Radeon HD 8870m
HDD: 1TB, 5400 RPM

Thirdly, here's some information about my stream setting (and by stream I mean outputting recorded files on my HDD):
Encoding: Use CBR, Quality Balance 8 (greyed out), Max Bitrate 2000, Enable CBR padding, Use custom buffer, buffer size: 2000 bitrate
Video: Intel HD Graphics 4000 (this is selected, but I can force radeon card to work), Base Resolution: 1920/1080, Resolution Downscale: 2.00 (960x540), Filter: Billinear(fastest) , FPS: 30 , Disable Aero (Greyed out since windows 8 does not support ).
Only source I use is Game Capture with Capture mouse cursor and Invert mouse on click. It's a global source, which captures League of Legends.

The video files themselves have no issues. They run smoothly when I watch them. However, when I start recoding, the game framerate drops from 100+ to 50-70 (which is perfectly fine), but the game starts stuttering. I mean, its not just framerate drop, its something else. The experience is not of a smooth, constant 50-70 fps.

Here's the log file. I've already had it analyzed; no problems detected.
Code:
15:50:08: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
15:50:08: -------------------------------
15:50:08: CPU Name: Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
15:50:08: CPU Speed: 2395MHz
15:50:08: Physical Memory:  4095MB Total, 4095MB Free
15:50:08: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
15:50:08: monitor 1: pos={0, 0}, size={1920, 1080}
15:50:08: Windows Version: 6.2 Build 9200 
15:50:08: Aero is Enabled
15:50:08: -------------------------------
15:50:08: OBS Modules:
15:50:08: Base Address     Module
15:50:08: 00230000         OBS.exe
15:50:08: 625F0000         OBSApi.dll
15:50:08: 623B0000         DShowPlugin.dll
15:50:08: 68120000         GraphicsCapture.dll
15:50:08: 677A0000         NoiseGate.dll
15:50:08: 62320000         PSVPlugin.dll
15:50:08: ------------------------------------------
15:50:08: Adapter 1
15:50:08:   Video Adapter: Intel(R) HD Graphics 4000
15:50:08:   Video Adapter Dedicated Video Memory: 2162368512
15:50:08:   Video Adapter Shared System Memory: 2132533248
15:50:08:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:50:08: =====Stream Start: 2013-11-19, 15:50:08===============================================
15:50:08:   Multithreaded optimizations: On
15:50:08:   Base resolution: 1920x1080
15:50:08:   Output resolution: 960x540
15:50:08: ------------------------------------------
15:50:08: Loading up D3D10 on Intel(R) HD Graphics 4000...
15:50:08: ------------------------------------------
15:50:08: Audio Format: 48000hz
15:50:08: Playback device Default
15:50:08: ------------------------------------------
15:50:08: Using desktop audio input: Speakers (Realtek High Definition Audio)
15:50:08: ------------------------------------------
15:50:08: Using auxilary audio input: Microphone (Realtek High Definition Audio)
15:50:08: ------------------------------------------
15:50:08: Audio Encoding: AAC
15:50:08:     bitrate: 128
15:50:08: Using graphics capture
15:50:08: Scene buffering time set to 700
15:50:08: ------------------------------------------
15:50:08: Video Encoding: x264
15:50:08:     fps: 30
15:50:08:     width: 960, height: 540
15:50:08:     preset: veryfast
15:50:08:     profile: high
15:50:08:     keyint: 250
15:50:08:     CBR: yes
15:50:08:     CFR: no
15:50:08:     max bitrate: 2000
15:50:08:     buffer size: 2000
15:50:08: ------------------------------------------
15:50:08: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
15:50:08: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 384000, samples per sec is 48000
15:50:08: SharedTexCapture hooked
15:50:18: Total frames encoded: 274, total frames duplicated: 0 (0.00%)
15:50:18: Total frames rendered: 278, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:50:18: 
15:50:18: Profiler time results:
15:50:18: 
15:50:18: ==============================================================
15:50:18: video thread frame - [100%] [avg time: 1.496 ms] [children: 20.3%] [unaccounted: 79.7%]
15:50:18: | scene->Preprocess - [0.334%] [avg time: 0.005 ms]
15:50:18: | GPU download and conversion - [20%] [avg time: 0.299 ms] [children: 13.8%] [unaccounted: 6.22%]
15:50:18: | | flush - [9.29%] [avg time: 0.139 ms]
15:50:18: | | CopyResource - [3.68%] [avg time: 0.055 ms]
15:50:18: | | conversion to 4:2:0 - [0.802%] [avg time: 0.012 ms]
15:50:18: Convert444Threads - [100%] [avg time: 1.959 ms] [children: 99%] [unaccounted: 0.97%]
15:50:18: | Convert444toNV12 - [99%] [avg time: 1.94 ms]
15:50:18: encoder thread frame - [100%] [avg time: 2.857 ms]
15:50:18: ==============================================================
15:50:18: 
15:50:18: 
15:50:18: Profiler CPU results:
15:50:18: 
15:50:18: ==============================================================
15:50:18: video thread frame - [cpu time: avg 0.843 ms, total 234.375 ms] [avg calls per frame: 1]
15:50:18: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:50:18: | GPU download and conversion - [cpu time: avg 0.393 ms, total 109.375 ms] [avg calls per frame: 1]
15:50:18: | | flush - [cpu time: avg 0.168 ms, total 46.875 ms] [avg calls per frame: 1]
15:50:18: | | CopyResource - [cpu time: avg 0.061 ms, total 15.625 ms] [avg calls per frame: 1]
15:50:18: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:50:18: Convert444Threads - [cpu time: avg 2.522 ms, total 1281.25 ms] [avg calls per frame: 2]
15:50:18: | Convert444toNV12 - [cpu time: avg 2.522 ms, total 1281.25 ms] [avg calls per frame: 2]
15:50:18: encoder thread frame - [cpu time: avg 2.346 ms, total 593.75 ms] [avg calls per frame: 1]
15:50:18: ==============================================================
15:50:18: 
15:50:18: =====Stream End: 2013-11-19, 15:50:18=================================================
15:50:43: =====Stream Start: 2013-11-19, 15:50:43===============================================
15:50:43:   Multithreaded optimizations: On
15:50:43:   Base resolution: 1920x1080
15:50:43:   Output resolution: 960x540
15:50:43: ------------------------------------------
15:50:43: Loading up D3D10 on Intel(R) HD Graphics 4000...
15:50:43: ------------------------------------------
15:50:43: Audio Format: 48000hz
15:50:43: Playback device Default
15:50:43: ------------------------------------------
15:50:43: Using desktop audio input: Speakers (Realtek High Definition Audio)
15:50:43: ------------------------------------------
15:50:43: Using auxilary audio input: Microphone (Realtek High Definition Audio)
15:50:43: ------------------------------------------
15:50:43: Audio Encoding: AAC
15:50:43:     bitrate: 128
15:50:43: Using graphics capture
15:50:43: Scene buffering time set to 60
15:50:43: ------------------------------------------
15:50:43: Video Encoding: x264
15:50:43:     fps: 30
15:50:43:     width: 960, height: 540
15:50:43:     preset: veryfast
15:50:43:     profile: high
15:50:43:     keyint: 250
15:50:43:     CBR: yes
15:50:43:     CFR: no
15:50:43:     max bitrate: 2000
15:50:43:     buffer size: 2000
15:50:43: ------------------------------------------
15:50:43: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
15:50:43: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 384000, samples per sec is 48000
15:50:43: SharedTexCapture hooked
15:50:52: Total frames encoded: 262, total frames duplicated: 1 (0.38%)
15:50:52: Total frames rendered: 267, number of late frames: 1 (0.37%) (it's okay for some frames to be late)
15:50:52: 
15:50:52: Profiler time results:
15:50:52: 
15:50:52: ==============================================================
15:50:52: video thread frame - [100%] [avg time: 1.796 ms] [children: 20.9%] [unaccounted: 79.1%]
15:50:52: | scene->Preprocess - [0.223%] [avg time: 0.004 ms]
15:50:52: | GPU download and conversion - [20.7%] [avg time: 0.372 ms] [children: 14.8%] [unaccounted: 5.9%]
15:50:52: | | flush - [11%] [avg time: 0.198 ms]
15:50:52: | | CopyResource - [3.12%] [avg time: 0.056 ms]
15:50:52: | | conversion to 4:2:0 - [0.668%] [avg time: 0.012 ms]
15:50:52: Convert444Threads - [100%] [avg time: 1.93 ms] [children: 99%] [unaccounted: 0.984%]
15:50:52: | Convert444toNV12 - [99%] [avg time: 1.911 ms]
15:50:52: encoder thread frame - [100%] [avg time: 3.017 ms]
15:50:52: ==============================================================
15:50:52: 
15:50:52: 
15:50:52: Profiler CPU results:
15:50:52: 
15:50:52: ==============================================================
15:50:52: video thread frame - [cpu time: avg 0.994 ms, total 265.625 ms] [avg calls per frame: 1]
15:50:52: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:50:52: | GPU download and conversion - [cpu time: avg 0.292 ms, total 78.125 ms] [avg calls per frame: 1]
15:50:52: | | flush - [cpu time: avg 0.058 ms, total 15.625 ms] [avg calls per frame: 1]
15:50:52: | | CopyResource - [cpu time: avg 0.178 ms, total 46.875 ms] [avg calls per frame: 1]
15:50:52: | | conversion to 4:2:0 - [cpu time: avg 0.059 ms, total 15.625 ms] [avg calls per frame: 1]
15:50:52: Convert444Threads - [cpu time: avg 2.125 ms, total 1109.38 ms] [avg calls per frame: 2]
15:50:52: | Convert444toNV12 - [cpu time: avg 2.125 ms, total 1109.38 ms] [avg calls per frame: 2]
15:50:52: encoder thread frame - [cpu time: avg 2.463 ms, total 640.625 ms] [avg calls per frame: 1]
15:50:52: ==============================================================
15:50:52: 
15:50:52: =====Stream End: 2013-11-19, 15:50:52=================================================
15:51:17: =====Stream Start: 2013-11-19, 15:51:17===============================================
15:51:17:   Multithreaded optimizations: On
15:51:17:   Base resolution: 1920x1080
15:51:17:   Output resolution: 960x540
15:51:17: ------------------------------------------
15:51:17: Loading up D3D10 on Intel(R) HD Graphics 4000...
15:51:17: ------------------------------------------
15:51:17: Audio Format: 48000hz
15:51:17: Playback device Default
15:51:17: ------------------------------------------
15:51:17: Using desktop audio input: Speakers (Realtek High Definition Audio)
15:51:17: ------------------------------------------
15:51:17: Using auxilary audio input: Microphone (Realtek High Definition Audio)
15:51:17: ------------------------------------------
15:51:17: Audio Encoding: AAC
15:51:17:     bitrate: 128
15:51:17: Using graphics capture
15:51:17: Scene buffering time set to 700
15:51:17: ------------------------------------------
15:51:17: Video Encoding: x264
15:51:17:     fps: 30
15:51:17:     width: 960, height: 540
15:51:17:     preset: veryfast
15:51:17:     profile: high
15:51:17:     keyint: 250
15:51:17:     CBR: yes
15:51:17:     CFR: yes
15:51:17:     max bitrate: 2000
15:51:17:     buffer size: 2000
15:51:17: ------------------------------------------
15:51:17: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
15:51:17: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 384000, samples per sec is 48000
15:51:17: SharedTexCapture hooked
15:51:28: Total frames encoded: 311, total frames duplicated: 0 (0.00%)
15:51:28: Total frames rendered: 316, number of late frames: 1 (0.32%) (it's okay for some frames to be late)
15:51:28: 
15:51:28: Profiler time results:
15:51:28: 
15:51:28: ==============================================================
15:51:28: video thread frame - [100%] [avg time: 1.131 ms] [children: 21.9%] [unaccounted: 78.1%]
15:51:28: | scene->Preprocess - [0.354%] [avg time: 0.004 ms]
15:51:28: | GPU download and conversion - [21.6%] [avg time: 0.244 ms] [children: 18.9%] [unaccounted: 2.65%]
15:51:28: | | flush - [13.2%] [avg time: 0.149 ms]
15:51:28: | | CopyResource - [4.69%] [avg time: 0.053 ms]
15:51:28: | | conversion to 4:2:0 - [1.06%] [avg time: 0.012 ms]
15:51:28: Convert444Threads - [100%] [avg time: 1.975 ms] [children: 99%] [unaccounted: 1.01%]
15:51:28: | Convert444toNV12 - [99%] [avg time: 1.955 ms]
15:51:28: encoder thread frame - [100%] [avg time: 2.381 ms]
15:51:28: ==============================================================
15:51:28: 
15:51:28: 
15:51:28: Profiler CPU results:
15:51:28: 
15:51:28: ==============================================================
15:51:28: video thread frame - [cpu time: avg 0.692 ms, total 218.75 ms] [avg calls per frame: 1]
15:51:28: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:51:28: | GPU download and conversion - [cpu time: avg 0.296 ms, total 93.75 ms] [avg calls per frame: 1]
15:51:28: | | flush - [cpu time: avg 0.247 ms, total 78.125 ms] [avg calls per frame: 1]
15:51:28: | | CopyResource - [cpu time: avg 0.053 ms, total 15.625 ms] [avg calls per frame: 1]
15:51:28: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:51:28: Convert444Threads - [cpu time: avg 1.986 ms, total 1156.25 ms] [avg calls per frame: 2]
15:51:28: | Convert444toNV12 - [cpu time: avg 1.986 ms, total 1156.25 ms] [avg calls per frame: 2]
15:51:28: encoder thread frame - [cpu time: avg 2.047 ms, total 593.75 ms] [avg calls per frame: 1]
15:51:28: ==============================================================
15:51:28: 
15:51:28: =====Stream End: 2013-11-19, 15:51:28=================================================

Well, thanks for reading,
Ehodagar
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Unfortunately not entirely sure, but I have a question for you -- out of curiosity how do you get the laptop radeon to work with game capture?
 

Ehodagar

New Member
I just checked the Catalyst Control Center for the ATI card (lets refer to it as CCC) and got surprised when I saw "Power Saving" option set for OBS. It tried both High Performance and Based on power source modes, but neither of them let me record the actual game (the infamous black screen). So, wait, CCC 'claims' that OBS is running on the Radeon Card (which I can see through "Switchtable Graphics Application Monitor"), but it doesn't actually produce image. I've experimented a bit with Monitor Capture before trying Game Capture. When OBS was set on Power Saving, I suppose it just used Intel HD 4000 and everything went fine, but when it was switched to High Performance, it would either go blank, OR on rare occasions continue working.

Apparently there are synchronisation issues with the cards, eh? Are there any 'experiments' that I could do?
 
Top