Question / Help Desmume (NDS Emulator) and OBS

rejjy22

New Member
1) Whenever I open OBS after opening Desmume (NDS Emulator), windows will change the theme to Windows 7 Basic which will interfere with my OBS scene. Is there a way to prevent this?

2) Whenever I use OBS to stream Desmume, Desmume starts to slow down. Anyone knows of a solution to prevent this from happening?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Argh, I was going to test all the emulators, I keep getting behind on everything.

I'd have to see a log file to see what capturing you're doing with desmume. Also you don't have OBS set to disable aero do you? Though I take it you're implying that's not the case. Emulators can use a lot of CPU, though it's just a DS emulator so it shouldn't be anything significant.
 

rejjy22

New Member
Jim said:
Also you don't have OBS set to disable aero do you?
I have disable aero unchecked.

Jim said:
I'd have to see a log file to see what capturing you're doing with desmume.
Code:
16:49:31: Open Broadcaster Software v0.554b - 32bit (´・ω・`)
16:49:31: -------------------------------
16:49:31: CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
16:49:31: CPU Speed: 2394MHz
16:49:31: Physical Memory:  4095MB Total, 4095MB Free
16:49:31: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
16:49:31: monitor 1: pos={0, 0}, size={1366, 768}
16:49:31: Windows Version: 6.1 Build 7601 S
16:49:31: Aero is Enabled
16:49:31: -------------------------------
16:49:31: OBS Modules:
16:49:31: Base Address     Module
16:49:31: 00F30000         OBS.exe
16:49:31: 6B230000         OBSApi.dll
16:49:31: 72F10000         DShowPlugin.dll
16:49:31: 72EF0000         GraphicsCapture.dll
16:49:31: 72ED0000         NoiseGate.dll
16:49:31: 72EB0000         PSVPlugin.dll
16:49:31: ------------------------------------------
16:49:31: Adapter 1
16:49:31:   Video Adapter: NVIDIA GeForce 410M
16:49:31:   Video Adapter Dedicated Video Memory: 505872384
16:49:31:   Video Adapter Shared System Memory: 3757940736
16:49:31: =====Stream Start: 2013-09-08, 16:49:31===============================================
16:49:31:   Multithreaded optimizations: On
16:49:31:   Base resolution: 1366x768
16:49:31:   Output resolution: 1364x768
16:49:31: ------------------------------------------
16:49:31: Loading up D3D10 on NVIDIA GeForce 410M...
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawYUVTexture.pShader.blob
16:49:31: Playback device Default
16:49:31: ------------------------------------------
16:49:31: Using desktop audio input: Speaker/HP (Conexant SmartAudio HD)
16:49:31: ------------------------------------------
16:49:31: Using auxilary audio input: External Microphone (Conexant SmartAudio HD)
16:49:31: ------------------------------------------
16:49:31: Audio Encoding: AAC
16:49:31:     bitrate: 128
16:49:31: Using text output
16:49:31: Using text output
16:49:31: Using text output
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:49:31: Using Window Capture
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:49:31: Using Window Capture
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:49:31: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:49:31: Using bitmap image
16:49:31: ------------------------------------------
16:49:31: Video Encoding: x264
16:49:31:     fps: 60
16:49:31:     width: 1364, height: 768
16:49:31:     preset: veryfast
16:49:31:     CBR: yes
16:49:31:     CFR: no
16:49:31:     max bitrate: 3000
16:49:31:     buffer size: 6000
16:49:31: ------------------------------------------
16:49:31: MMDeviceAudioSource: Frequency for device 'Speaker/HP (Conexant SmartAudio HD)' is 352800, samples per sec is 44100
16:49:31: MMDeviceAudioSource: Frequency for device 'External Microphone (Conexant SmartAudio HD)' is 352800, samples per sec is 44100
16:50:04: Total frames rendered: 1945, number of late frames: 3 (0.15%) (it's okay for some frames to be late)
16:50:04: 
16:50:04: Profiler results:
16:50:04: 
16:50:04: ==============================================================
16:50:04: frame - [100%] [avg time: 3.69 ms (cpu time: avg 2.414 ms, total 4695.63 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.19%]
16:50:04: | frame preprocessing and rendering - [50.5%] [avg time: 1.864 ms (cpu time: avg 0.609 ms, total 1185.61 ms)] [avg calls per frame: 1] [children: 35.7%] [unaccounted: 14.9%]
16:50:04: | | scene->Preprocess - [35.7%] [avg time: 1.316 ms (cpu time: avg 0.336 ms, total 655.203 ms)] [avg calls per frame: 1]
16:50:04: | video encoding and uploading - [49.3%] [avg time: 1.819 ms (cpu time: avg 1.804 ms, total 3510.02 ms)] [avg calls per frame: 1] [children: 48.6%] [unaccounted: 0.732%]
16:50:04: | | flush - [5.66%] [avg time: 0.209 ms (cpu time: avg 0.096 ms, total 187.2 ms)] [avg calls per frame: 1]
16:50:04: | | CopyResource - [0.298%] [avg time: 0.011 ms (cpu time: avg 0.032 ms, total 62.401 ms)] [avg calls per frame: 0]
16:50:04: | | conversion to 4:2:0 - [0.19%] [avg time: 0.007 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
16:50:04: | | call to encoder - [42.4%] [avg time: 1.564 ms (cpu time: avg 1.66 ms, total 3229.22 ms)] [avg calls per frame: 0]
16:50:04: | | sending stuff out - [0.0271%] [avg time: 0.001 ms (cpu time: avg 0.008 ms, total 15.601 ms)] [avg calls per frame: 0]
16:50:04: | Convert444Threads - [445%] [avg time: 16.408 ms (cpu time: avg 1.187 ms, total 2308.81 ms)] [avg calls per frame: 0]
16:50:04: ==============================================================
16:50:04: 
16:50:04: =====Stream End: 2013-09-08, 16:50:04=================================================
16:50:59: =====Stream Start: 2013-09-08, 16:50:59===============================================
16:50:59:   Multithreaded optimizations: On
16:50:59:   Base resolution: 1366x768
16:50:59:   Output resolution: 1364x768
16:50:59: ------------------------------------------
16:50:59: Loading up D3D10 on NVIDIA GeForce 410M...
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawYUVTexture.pShader.blob
16:50:59: Playback device Default
16:50:59: ------------------------------------------
16:50:59: Using desktop audio input: Speaker/HP (Conexant SmartAudio HD)
16:50:59: ------------------------------------------
16:50:59: Using auxilary audio input: External Microphone (Conexant SmartAudio HD)
16:50:59: ------------------------------------------
16:50:59: Audio Encoding: AAC
16:50:59:     bitrate: 128
16:50:59: Using text output
16:50:59: Using text output
16:50:59: Using text output
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:50:59: Using Window Capture
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:50:59: Using Window Capture
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:50:59: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:50:59: Using bitmap image
16:50:59: ------------------------------------------
16:50:59: Video Encoding: x264
16:50:59:     fps: 60
16:50:59:     width: 1364, height: 768
16:50:59:     preset: veryfast
16:50:59:     CBR: yes
16:50:59:     CFR: no
16:50:59:     max bitrate: 3000
16:50:59:     buffer size: 6000
16:50:59: ------------------------------------------
16:50:59: MMDeviceAudioSource: Frequency for device 'Speaker/HP (Conexant SmartAudio HD)' is 352800, samples per sec is 44100
16:50:59: MMDeviceAudioSource: Frequency for device 'External Microphone (Conexant SmartAudio HD)' is 352800, samples per sec is 44100
16:51:23: Total frames rendered: 1379, number of late frames: 2 (0.15%) (it's okay for some frames to be late)
16:51:23: 
16:51:23: Profiler results:
16:51:23: 
16:51:23: ==============================================================
16:51:23: frame - [100%] [avg time: 3.379 ms (cpu time: avg 2.104 ms, total 2901.62 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.207%]
16:51:23: | frame preprocessing and rendering - [43.6%] [avg time: 1.474 ms (cpu time: avg 0.543 ms, total 748.802 ms)] [avg calls per frame: 1] [children: 27.4%] [unaccounted: 16.2%]
16:51:23: | | scene->Preprocess - [27.4%] [avg time: 0.927 ms (cpu time: avg 0.294 ms, total 405.601 ms)] [avg calls per frame: 1]
16:51:23: | video encoding and uploading - [56.2%] [avg time: 1.898 ms (cpu time: avg 1.561 ms, total 2152.82 ms)] [avg calls per frame: 1] [children: 55.3%] [unaccounted: 0.858%]
16:51:23: | | flush - [8.91%] [avg time: 0.301 ms (cpu time: avg 0.09 ms, total 124.8 ms)] [avg calls per frame: 1]
16:51:23: | | CopyResource - [0.266%] [avg time: 0.009 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
16:51:23: | | conversion to 4:2:0 - [0.178%] [avg time: 0.006 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
16:51:23: | | call to encoder - [45.9%] [avg time: 1.552 ms (cpu time: avg 1.448 ms, total 1996.82 ms)] [avg calls per frame: 0]
16:51:23: | | sending stuff out - [0.0296%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
16:51:23: | Convert444Threads - [482%] [avg time: 16.29 ms (cpu time: avg 1.21 ms, total 1669.21 ms)] [avg calls per frame: 0]
16:51:23: ==============================================================
16:51:23: 
16:51:23: =====Stream End: 2013-09-08, 16:51:23=================================================
16:51:25: =====Stream Start: 2013-09-08, 16:51:25===============================================
16:51:25:   Multithreaded optimizations: On
16:51:25:   Base resolution: 1366x768
16:51:25:   Output resolution: 1364x768
16:51:25: ------------------------------------------
16:51:25: Loading up D3D10 on NVIDIA GeForce 410M...
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/DrawYUVTexture.pShader.blob
16:51:25: Playback device Default
16:51:25: ------------------------------------------
16:51:25: Using desktop audio input: Speaker/HP (Conexant SmartAudio HD)
16:51:25: ------------------------------------------
16:51:25: Using auxilary audio input: External Microphone (Conexant SmartAudio HD)
16:51:25: ------------------------------------------
16:51:25: Audio Encoding: AAC
16:51:25:     bitrate: 128
16:51:25: Using text output
16:51:25: Using text output
16:51:25: Using text output
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:51:25: Using Window Capture
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:51:25: Using Window Capture
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
16:51:25: C:/Users/user/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
16:51:25: Using bitmap image
16:51:25: ------------------------------------------
16:51:25: Video Encoding: x264
16:51:25:     fps: 60
16:51:25:     width: 1364, height: 768
16:51:25:     preset: veryfast
16:51:25:     CBR: yes
16:51:25:     CFR: no
16:51:25:     max bitrate: 3000
16:51:25:     buffer size: 6000
16:51:25: ------------------------------------------
16:51:25: MMDeviceAudioSource: Frequency for device 'Speaker/HP (Conexant SmartAudio HD)' is 352800, samples per sec is 44100
16:51:25: MMDeviceAudioSource: Frequency for device 'External Microphone (Conexant SmartAudio HD)' is 352800, samples per sec is 44100
16:51:44: Total frames rendered: 1101, number of late frames: 11 (1.00%) (it's okay for some frames to be late)
16:51:44: 
16:51:44: Profiler results:
16:51:44: 
16:51:44: ==============================================================
16:51:44: frame - [100%] [avg time: 3.734 ms (cpu time: avg 2.082 ms, total 2293.21 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.214%]
16:51:44: | frame preprocessing and rendering - [44%] [avg time: 1.642 ms (cpu time: avg 0.425 ms, total 468.002 ms)] [avg calls per frame: 1] [children: 28.8%] [unaccounted: 15.2%]
16:51:44: | | scene->Preprocess - [28.8%] [avg time: 1.074 ms (cpu time: avg 0.212 ms, total 234 ms)] [avg calls per frame: 1]
16:51:44: | video encoding and uploading - [55.8%] [avg time: 2.084 ms (cpu time: avg 1.657 ms, total 1825.21 ms)] [avg calls per frame: 1] [children: 54.9%] [unaccounted: 0.884%]
16:51:44: | | flush - [12.1%] [avg time: 0.45 ms (cpu time: avg 0.056 ms, total 62.4 ms)] [avg calls per frame: 1]
16:51:44: | | CopyResource - [0.536%] [avg time: 0.02 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
16:51:44: | | conversion to 4:2:0 - [0.482%] [avg time: 0.018 ms (cpu time: avg 0.028 ms, total 31.2 ms)] [avg calls per frame: 0]
16:51:44: | | call to encoder - [41.8%] [avg time: 1.562 ms (cpu time: avg 1.53 ms, total 1684.81 ms)] [avg calls per frame: 0]
16:51:44: | | sending stuff out - [0.0268%] [avg time: 0.001 ms (cpu time: avg 0.014 ms, total 15.6 ms)] [avg calls per frame: 0]
16:51:44: | Convert444Threads - [434%] [avg time: 16.2 ms (cpu time: avg 1.105 ms, total 1216.81 ms)] [avg calls per frame: 0]
16:51:44: ==============================================================
16:51:44: 
16:51:44: =====Stream End: 2013-09-08, 16:51:44=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Ah, okay, I don't know about aero disabling -- that might be just caused by the drivers.

But as for the emulator slowing down, I think I see the problem. Emulators use a lot of CPU. However, encoding video also uses a lot of CPU. So most likely what's happening here is insufficient CPU, as your computer only has two physical cores, and it's causing the emulator to slow down.

The way to fix this is by either turning down the FPS and/or resolution of OBS (via downscale), or by turning the x264 CPU preset to superfast or ultrafast (though quality will be less). I'm fairly sure that's what you'll have to do in the case of an emulator, as emulators use quite a bit of CPU (especially for a more modern system like the DS)
 
Top