DAOWAce
Member
Edit: Re-writing OP, copying a later post over.
---
For quick reference, I have an i7-3770K @4.5GHz and a GTX 780. (Full specs in sig)
This is using my 1080p30 preset.
In D3D9 mode:
Stock FPS is 197.
Enabling game capture (ie. game hooked) drops my FPS to 163.
Enabling preview drops my FPS to 125.
In D3D9Ex mode:
Stock FPS is 185.
Enabling game capture (ie. game hooked) didn't seem to drop my FPS for some reason. This randomly also happened in D3D9 when I unchecked and rechecked the source. Sometimes it would drop my FPS like it did before. Could not get the drop to happen in D3D9Ex.
Enabling preview drops my FPS to 42.
That's 77% decrease in framerate.
Even worse is when i stopped the preview my FPS dropped to 27. What the hell?
I'm forced to completely close OBS to get rid of the FPS hit. Unchecking the source, deleting the source, changing the scene, re-previewing.. nothing I do resolves it, forced to exit the program.
Based on this test, I have to assume people that don't have problems are running it in D3D9 mode. Kharay confirmed he wasn't.
Does OBS properly support D3D9Ex? I found this post on the dev forum, though it's quite old and might not be an issue in present time: http://dev.dota2.com/showthread.php?t=9 ... #post58105
Here's the 2 logs from these tests:
D3D9:
D3D9Ex:
Hopefully there's a discrepancy between them..
---
For quick reference, I have an i7-3770K @4.5GHz and a GTX 780. (Full specs in sig)
This is using my 1080p30 preset.
In D3D9 mode:
Stock FPS is 197.
Enabling game capture (ie. game hooked) drops my FPS to 163.
Enabling preview drops my FPS to 125.
In D3D9Ex mode:
Stock FPS is 185.
Enabling game capture (ie. game hooked) didn't seem to drop my FPS for some reason. This randomly also happened in D3D9 when I unchecked and rechecked the source. Sometimes it would drop my FPS like it did before. Could not get the drop to happen in D3D9Ex.
Enabling preview drops my FPS to 42.
That's 77% decrease in framerate.
Even worse is when i stopped the preview my FPS dropped to 27. What the hell?
I'm forced to completely close OBS to get rid of the FPS hit. Unchecking the source, deleting the source, changing the scene, re-previewing.. nothing I do resolves it, forced to exit the program.
Does OBS properly support D3D9Ex? I found this post on the dev forum, though it's quite old and might not be an issue in present time: http://dev.dota2.com/showthread.php?t=9 ... #post58105
Here's the 2 logs from these tests:
D3D9:
Code:
02:09:18: Open Broadcaster Software v0.541b - 32bit (´・ω・`)
02:09:18: -------------------------------
02:09:18: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
02:09:18: CPU Speed: 3500MHz
02:09:18: Physical Memory: 4095MB Total, 4095MB Free
02:09:18: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
02:09:18: monitor 1: pos={0, 0}, size={1920, 1200}
02:09:18: Windows Version: 6.0 Build 6002 S
02:09:18: Aero is Enabled
02:09:18: -------------------------------
02:09:18: OBS Modules:
02:09:18: Base Address Module
02:09:18: 00F60000 OBS.exe
02:09:18: 67090000 OBSApi.dll
02:09:18: 71930000 DShowPlugin.dll
02:09:18: 71910000 GraphicsCapture.dll
02:09:18: 718F0000 NoiseGate.dll
02:09:18: 718D0000 PSVPlugin.dll
02:09:18: ------------------------------------------
02:09:18: Adapter 1
02:09:18: Video Adapter: NVIDIA GeForce GTX 780
02:09:18: Video Adapter Dedicated Video Memory: 3140157440
02:09:18: Video Adapter Shared System Memory: 3997978624
02:09:18: =====Stream Start: 2013-07-18, 02:09:18===============================================
02:09:18: Multithreaded optimizations: On
02:09:18: Base resolution: 1920x1080
02:09:18: Output resolution: 1920x1080
02:09:18: ------------------------------------------
02:09:18: Loading up D3D10...
02:09:18: Playback device Default
02:09:18: ------------------------------------------
02:09:18: Using desktop audio input: Speakers (Creative SB X-Fi)
02:09:18: ------------------------------------------
02:09:18: Using auxilary audio input: "What U Hear" (Creative SB X-Fi)
02:09:18: ------------------------------------------
02:09:18: Audio Encoding: MP3
02:09:18: bitrate: 128
02:09:18: Using graphics capture
02:09:18: Using custom x264 settings: "opencl=true"
02:09:18: ------------------------------------------
02:09:18: Video Encoding: x264
02:09:18: fps: 30
02:09:18: width: 1920, height: 1080
02:09:18: preset: faster
02:09:18: CBR: no
02:09:18: CFR: no
02:09:18: max bitrate: 4000
02:09:18: buffer size: 7000
02:09:18: quality: 9
02:09:18: ------------------------------------------
02:09:23: using memory capture
02:09:38: GraphicsCaptureSource::NewCapture: eliminating old capture
02:09:38: using memory capture
02:10:01: GraphicsCaptureSource::NewCapture: eliminating old capture
02:10:01: using memory capture
02:10:29: Total frames rendered: 2097, number of frames that lagged: 14 (0.67%) (it's okay for some frames to lag)
02:10:29: =====Stream End: 2013-07-18, 02:10:29=================================================
02:10:32:
02:10:32: Profiler results:
02:10:32:
02:10:32: ==============================================================
02:10:32: frame - [100%] [avg time: 4.506 ms (cpu time: avg 3.816 ms, total 8002.85 ms)] [avg calls per frame: 1] [children: 53%] [unaccounted: 47%]
02:10:32: | scene->Preprocess - [0.0222%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
02:10:32: | video encoding and uploading - [52.9%] [avg time: 2.385 ms (cpu time: avg 2.216 ms, total 4648.83 ms)] [avg calls per frame: 1] [children: 52.4%] [unaccounted: 0.488%]
02:10:32: | | CopyResource - [0.289%] [avg time: 0.013 ms (cpu time: avg 0.007 ms, total 15.6 ms)] [avg calls per frame: 0]
02:10:32: | | conversion to 4:2:0 - [0.266%] [avg time: 0.012 ms (cpu time: avg 0.014 ms, total 31.201 ms)] [avg calls per frame: 0]
02:10:32: | | call to encoder - [51.8%] [avg time: 2.336 ms (cpu time: avg 2.164 ms, total 4539.63 ms)] [avg calls per frame: 0]
02:10:32: | | sending stuff out - [0.0444%] [avg time: 0.002 ms (cpu time: avg 0.007 ms, total 15.6 ms)] [avg calls per frame: 0]
02:10:32: | Convert444Threads - [1.49e+003%] [avg time: 67.155 ms (cpu time: avg 2.507 ms, total 5257.23 ms)] [avg calls per frame: 1]
02:10:32: ==============================================================
02:10:32:
D3D9Ex:
Code:
02:17:02: Open Broadcaster Software v0.541b - 32bit (´・ω・`)
02:17:02: -------------------------------
02:17:02: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
02:17:02: CPU Speed: 3500MHz
02:17:02: Physical Memory: 4095MB Total, 4095MB Free
02:17:02: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
02:17:02: monitor 1: pos={0, 0}, size={1920, 1200}
02:17:02: Windows Version: 6.0 Build 6002 S
02:17:02: Aero is Enabled
02:17:02: -------------------------------
02:17:02: OBS Modules:
02:17:02: Base Address Module
02:17:02: 00F60000 OBS.exe
02:17:02: 678C0000 OBSApi.dll
02:17:02: 6FC50000 DShowPlugin.dll
02:17:02: 70510000 GraphicsCapture.dll
02:17:02: 6FFA0000 NoiseGate.dll
02:17:02: 6FE50000 PSVPlugin.dll
02:17:02: ------------------------------------------
02:17:02: Adapter 1
02:17:02: Video Adapter: NVIDIA GeForce GTX 780
02:17:02: Video Adapter Dedicated Video Memory: 3140157440
02:17:02: Video Adapter Shared System Memory: 3997978624
02:17:02: =====Stream Start: 2013-07-18, 02:17:02===============================================
02:17:02: Multithreaded optimizations: On
02:17:02: Base resolution: 1920x1080
02:17:02: Output resolution: 1920x1080
02:17:02: ------------------------------------------
02:17:02: Loading up D3D10...
02:17:03: Playback device Default
02:17:03: ------------------------------------------
02:17:03: Using desktop audio input: Speakers (Creative SB X-Fi)
02:17:03: ------------------------------------------
02:17:03: Using auxilary audio input: "What U Hear" (Creative SB X-Fi)
02:17:03: ------------------------------------------
02:17:03: Audio Encoding: MP3
02:17:03: bitrate: 128
02:17:03: Using graphics capture
02:17:03: Using custom x264 settings: "opencl=true"
02:17:03: ------------------------------------------
02:17:03: Video Encoding: x264
02:17:03: fps: 30
02:17:03: width: 1920, height: 1080
02:17:03: preset: faster
02:17:03: CBR: no
02:17:03: CFR: no
02:17:03: max bitrate: 4000
02:17:03: buffer size: 7000
02:17:03: quality: 9
02:17:03: ------------------------------------------
02:17:16: Total frames rendered: 366, number of frames that lagged: 7 (1.91%) (it's okay for some frames to lag)
02:17:16: =====Stream End: 2013-07-18, 02:17:16=================================================
02:17:17: =====Stream Start: 2013-07-18, 02:17:17===============================================
02:17:17: Multithreaded optimizations: On
02:17:17: Base resolution: 1920x1080
02:17:17: Output resolution: 1920x1080
02:17:17: ------------------------------------------
02:17:17: Loading up D3D10...
02:17:17: Playback device Default
02:17:17: ------------------------------------------
02:17:17: Using desktop audio input: Speakers (Creative SB X-Fi)
02:17:17: ------------------------------------------
02:17:17: Using auxilary audio input: "What U Hear" (Creative SB X-Fi)
02:17:17: ------------------------------------------
02:17:17: Audio Encoding: MP3
02:17:17: bitrate: 128
02:17:17: Using custom x264 settings: "opencl=true"
02:17:18: ------------------------------------------
02:17:18: Video Encoding: x264
02:17:18: fps: 30
02:17:18: width: 1920, height: 1080
02:17:18: preset: faster
02:17:18: CBR: no
02:17:18: CFR: no
02:17:18: max bitrate: 4000
02:17:18: buffer size: 7000
02:17:18: quality: 9
02:17:18: ------------------------------------------
02:17:18: Using graphics capture
02:17:23: Total frames rendered: 146, number of frames that lagged: 7 (4.79%) (it's okay for some frames to lag)
02:17:23: =====Stream End: 2013-07-18, 02:17:23=================================================
02:17:38: =====Stream Start: 2013-07-18, 02:17:38===============================================
02:17:38: Multithreaded optimizations: On
02:17:38: Base resolution: 1920x1080
02:17:38: Output resolution: 1920x1080
02:17:38: ------------------------------------------
02:17:38: Loading up D3D10...
02:17:38: Playback device Default
02:17:38: ------------------------------------------
02:17:38: Using desktop audio input: Speakers (Creative SB X-Fi)
02:17:38: ------------------------------------------
02:17:38: Using auxilary audio input: "What U Hear" (Creative SB X-Fi)
02:17:38: ------------------------------------------
02:17:38: Audio Encoding: MP3
02:17:38: bitrate: 128
02:17:38: Using custom x264 settings: "opencl=true"
02:17:38: ------------------------------------------
02:17:38: Video Encoding: x264
02:17:38: fps: 30
02:17:38: width: 1920, height: 1080
02:17:38: preset: faster
02:17:38: CBR: no
02:17:38: CFR: no
02:17:38: max bitrate: 4000
02:17:38: buffer size: 7000
02:17:38: quality: 9
02:17:38: ------------------------------------------
02:17:40: Total frames rendered: 50, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
02:17:40: =====Stream End: 2013-07-18, 02:17:40=================================================
02:17:47: =====Stream Start: 2013-07-18, 02:17:47===============================================
02:17:47: Multithreaded optimizations: On
02:17:47: Base resolution: 1920x1080
02:17:47: Output resolution: 1920x1080
02:17:47: ------------------------------------------
02:17:47: Loading up D3D10...
02:17:47: Playback device Default
02:17:47: ------------------------------------------
02:17:47: Using desktop audio input: Speakers (Creative SB X-Fi)
02:17:47: ------------------------------------------
02:17:47: Using auxilary audio input: "What U Hear" (Creative SB X-Fi)
02:17:47: ------------------------------------------
02:17:47: Audio Encoding: MP3
02:17:47: bitrate: 128
02:17:47: Using bitmap image
02:17:47: Using custom x264 settings: "opencl=true"
02:17:48: ------------------------------------------
02:17:48: Video Encoding: x264
02:17:48: fps: 30
02:17:48: width: 1920, height: 1080
02:17:48: preset: faster
02:17:48: CBR: no
02:17:48: CFR: no
02:17:48: max bitrate: 4000
02:17:48: buffer size: 7000
02:17:48: quality: 9
02:17:48: ------------------------------------------
02:17:55: Total frames rendered: 200, number of frames that lagged: 7 (3.50%) (it's okay for some frames to lag)
02:17:55: =====Stream End: 2013-07-18, 02:17:55=================================================
02:20:46: =====Stream Start: 2013-07-18, 02:20:46===============================================
02:20:46: Multithreaded optimizations: On
02:20:46: Base resolution: 1920x1080
02:20:46: Output resolution: 1920x1080
02:20:46: ------------------------------------------
02:20:46: Loading up D3D10...
02:20:46: Playback device Default
02:20:46: ------------------------------------------
02:20:46: Using desktop audio input: Speakers (Creative SB X-Fi)
02:20:46: ------------------------------------------
02:20:46: Using auxilary audio input: "What U Hear" (Creative SB X-Fi)
02:20:46: ------------------------------------------
02:20:46: Audio Encoding: MP3
02:20:46: bitrate: 128
02:20:46: Using custom x264 settings: "opencl=true"
02:20:46: ------------------------------------------
02:20:46: Video Encoding: x264
02:20:46: fps: 30
02:20:46: width: 1920, height: 1080
02:20:46: preset: faster
02:20:46: CBR: no
02:20:46: CFR: no
02:20:46: max bitrate: 4000
02:20:46: buffer size: 7000
02:20:46: quality: 9
02:20:46: ------------------------------------------
02:20:47: Total frames rendered: 32, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
02:20:47: =====Stream End: 2013-07-18, 02:20:47=================================================
02:20:51:
02:20:51: Profiler results:
02:20:51:
02:20:51: ==============================================================
02:20:51: frame - [100%] [avg time: 5.855 ms (cpu time: avg 3.025 ms, total 2402.41 ms)] [avg calls per frame: 1] [children: 40.8%] [unaccounted: 59.2%]
02:20:51: | scene->Preprocess - [0.0171%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
02:20:51: | video encoding and uploading - [40.8%] [avg time: 2.387 ms (cpu time: avg 2.318 ms, total 1840.81 ms)] [avg calls per frame: 1] [children: 40.2%] [unaccounted: 0.564%]
02:20:51: | | CopyResource - [0.222%] [avg time: 0.013 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
02:20:51: | | conversion to 4:2:0 - [0.12%] [avg time: 0.007 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
02:20:51: | | call to encoder - [39.8%] [avg time: 2.332 ms (cpu time: avg 2.318 ms, total 1840.81 ms)] [avg calls per frame: 0]
02:20:51: | | sending stuff out - [0.0342%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
02:20:51: | Convert444Threads - [1.1e+003%] [avg time: 64.209 ms (cpu time: avg 2.004 ms, total 1591.21 ms)] [avg calls per frame: 1]
02:20:51: ==============================================================
02:20:51:
Hopefully there's a discrepancy between them..