Question / Help OBS use all available CPU

igoooor

New Member
Hi everyone,

I used to use OBS to record localy (no online streaming service) with my i5 2500k and I've never had problem.
Today I changed my cpu for a i7 4770k, and now when I record, OBS use all available CPU and my framerate drops until the game is unplayable.

Here is the log of my last test

Code:
23:38:51: Open Broadcaster Software v0.554b - 32bit (´・ω・`)
23:38:51: -------------------------------
23:38:51: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
23:38:51: CPU Speed: 3498MHz
23:38:51: Physical Memory:  4095MB Total, 4095MB Free
23:38:51: stepping id: 3, model 12, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
23:38:51: monitor 1: pos={0, 0}, size={1920, 1080}
23:38:51: monitor 2: pos={1920, 0}, size={1920, 1200}
23:38:51: Windows Version: 6.1 Build 7600 
23:38:51: Aero is Disabled
23:38:51: -------------------------------
23:38:51: OBS Modules:
23:38:51: Base Address     Module
23:38:51: 00870000         OBS.exe
23:38:51: 67950000         OBSApi.dll
23:38:51: 67920000         DShowPlugin.dll
23:38:51: 71D60000         GraphicsCapture.dll
23:38:51: 67C50000         NoiseGate.dll
23:38:51: 67900000         PSVPlugin.dll
23:38:51: ------------------------------------------
23:38:51: Adapter 1
23:38:51:   Video Adapter: NVIDIA GeForce GTX 680
23:38:51:   Video Adapter Dedicated Video Memory: 2091581440
23:38:51:   Video Adapter Shared System Memory: 2147479552
23:38:51: =====Stream Start: 2013-09-21, 23:38:51===============================================
23:38:51:   Multithreaded optimizations: On
23:38:51:   Base resolution: 1920x1080
23:38:51:   Output resolution: 1920x1080
23:38:51: ------------------------------------------
23:38:51: Loading up D3D10 on NVIDIA GeForce GTX 680...
23:38:51: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
23:38:51: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
23:38:51: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/shaders/DrawYUVTexture.pShader.blob
23:38:51: Playback device Default
23:38:51: ------------------------------------------
23:38:51: Using desktop audio input: Haut-parleurs (4- Logitech G330 Headset)
23:38:51: ------------------------------------------
23:38:51: Using auxilary audio input: Microphone (4- Logitech G330 Headset)
23:38:51: ------------------------------------------
23:38:51: Audio Encoding: AAC
23:38:51:     bitrate: 128
23:38:51: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
23:38:51: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
23:38:51: Using bitmap image
23:38:51: ------------------------------------------
23:38:51:     device: Logitech HD Pro Webcam C920,
23:38:51:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&2c0ff202&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
23:38:51:     chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
23:38:51:     audio device: Désactiver,
23:38:51:     audio device id Disabled,
23:38:51: 
23:38:51: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/YUVToRGB.pShader.blob
23:38:52: Using directshow input
23:38:52: Using graphics capture
23:38:52: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
23:38:52: C:/Users/MaD/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
23:38:52: ------------------------------------------
23:38:52: Video Encoding: x264
23:38:52:     fps: 30
23:38:52:     width: 1920, height: 1080
23:38:52:     preset: veryfast
23:38:52:     CBR: no
23:38:52:     CFR: no
23:38:52:     max bitrate: 10000
23:38:52:     buffer size: 10000
23:38:52:     quality: 10
23:38:52: ------------------------------------------
23:38:52: MMDeviceAudioSource: Frequency for device 'Haut-parleurs (4- Logitech G330 Headset)' is 352800, samples per sec is 44100
23:38:52: MMDeviceAudioSource: Frequency for device 'Microphone (4- Logitech G330 Headset)' is 176400, samples per sec is 44100
23:38:52: SharedTexCapture hooked
23:38:57: Total frames rendered: 142, number of late frames: 1 (0.70%) (it's okay for some frames to be late)
23:38:57: 
23:38:57: Profiler results:
23:38:57: 
23:38:57: ==============================================================
23:38:57: frame - [100%] [avg time: 5.426 ms (cpu time: avg 3.295 ms, total 468.003 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.129%]
23:38:57: | frame preprocessing and rendering - [49.3%] [avg time: 2.673 ms (cpu time: avg 1.318 ms, total 187.201 ms)] [avg calls per frame: 1] [children: 24.3%] [unaccounted: 25%]
23:38:57: | | scene->Preprocess - [24.3%] [avg time: 1.317 ms (cpu time: avg 0.878 ms, total 124.801 ms)] [avg calls per frame: 1]
23:38:57: | video encoding and uploading - [50.6%] [avg time: 2.746 ms (cpu time: avg 1.977 ms, total 280.802 ms)] [avg calls per frame: 1] [children: 50.1%] [unaccounted: 0.553%]
23:38:57: | | flush - [4.35%] [avg time: 0.236 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
23:38:57: | | CopyResource - [0.534%] [avg time: 0.029 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
23:38:57: | | conversion to 4:2:0 - [1.99%] [avg time: 0.108 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
23:38:57: | | call to encoder - [43%] [avg time: 2.332 ms (cpu time: avg 1.757 ms, total 249.602 ms)] [avg calls per frame: 0]
23:38:57: | | sending stuff out - [0.203%] [avg time: 0.011 ms (cpu time: avg 0.109 ms, total 15.6 ms)] [avg calls per frame: 0]
23:38:57: | Convert444Threads - [541%] [avg time: 29.331 ms (cpu time: avg 2.307 ms, total 327.602 ms)] [avg calls per frame: 0]
23:38:57: ==============================================================
23:38:57: 
23:38:57: =====Stream End: 2013-09-21, 23:38:57=================================================


Last game capture log:
2013-09-21, 23:38:52: we're booting up: 
23:38:52: D3D9 Present
23:38:52: D3D9EndScene called
23:38:52: D3DPRESENT_PARAMETERS {
23:38:52: 	BackBufferWidth: 1920
23:38:52: 	BackBufferHeight: 1080
23:38:52: 	BackBufferFormat: D3DFMT_X8R8G8B8
23:38:52: 	BackBufferCount: 1
23:38:52: 	MultiSampleType: D3DMULTISAMPLE_NONE
23:38:52: 	MultiSampleQuality: 0
23:38:52: 	SwapEffect: D3DSWAPEFFECT_DISCARD
23:38:52: 	hDeviceWindow: 393308
23:38:52: 	Windowed: false
23:38:52: 	EnableAutoDepthStencil: true
23:38:52: 	AutoDepthStencilFormat: D3DFMT_D24S8
23:38:52: 	Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 
23:38:52: 	FullScreen_RefreshRateInHz: 60
23:38:52: 	PresentationInterval: 2147483648
23:38:52: };
23:38:52: successfully set up d3d9 hooks
23:38:52: D3D9Present called
23:38:52: DoD3D9GPUHook: success
23:38:52: D3DSURFACE_DESC {
23:38:52: 	Format: D3DFMT_X8R8G8B8
23:38:52: 	Type: D3DRTYPE_SURFACE
23:38:52: 	Usage: D3DUSAGE_RENDERTARGET 
23:38:52: 	Pool: D3DPOOL_DEFAULT
23:38:52: 	MultiSampleType: D3DMULTISAMPLE_NONE
23:38:52: 	MultiSampleQuality: 0
23:38:52: 	Width: 1920
23:38:52: 	Height: 1080
23:38:52: };
23:38:52: successfully capturing d3d9 frames via GPU
23:38:52: NV Capture available
23:38:52: FBO available
23:38:52: GL Present
23:38:52: (half life scientist) everything..  seems to be in order
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
EDIT:

Okay, wait, your CPU is a haswell, latest intel. Yet why in gods name is it reporting only 2 cores available? Sorry I edited this message, I'm totally baffled here.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yes, sorry about that, xeiz in chat just said to me, "WTF Jim are you crazy? That's a haswell", I totally glanced over your model of CPU. Are you using any utilities to cut cores or something? Because it's only reporting 2 cores and 4 threads. Which -would- be the problem, but that shouldn't be happening.
 

igoooor

New Member
I just looked with cpu-z and indead it shows 2 cores oO hum, I have no idea what this is happening ^^ I'm looking on internet if I find anything
 

XeiZ

Member
Did you change anything in your bios ? Maybe they are deactivated, though this wouldnt just happen by default.
 

igoooor

New Member
Ok it was because of msconfig, it was set to 4 processors, maybe it took 4 threads and not 4 cores. I deactivated it and my 4cores/8threads are back !

No more problems with recording ;) Thank you guys to pointed it out to me.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Glad we could help. Continuing on with only half of your CPU available to you would have been rather bad
 
Top