Bug Report DeSmuME and game capture (OpenGL)

Haliinen

Member
The output is being very sluggish on OBS using game capture with DeSmuME, the game is still running full speed, the output on OBS is constantly at 60 FPS, but the game capture still freezes up or runs at a puny 2 FPS for some reason. I'll see if I can reproduce this issue with XSplit's game source.

Code:
Open Broadcaster Software v0.51b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 4500MHz
Physical Memory:  8159MB Total, 3179MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={2560, 1600}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580
  Video Adapter Dedicated Video Memory: 1560739840
  Video Adapter Shared System Memory: 2683908096
=====Stream Start: 2013-04-27, 05:13:49===============================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{7e0878bb-1753-46c7-a0d7-05d677ba48be}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar Essence STX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar Essence STX Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
Using bitmap image
Using bitmap image
Using text output
Using text output
Using text output
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3808
    buffer size: 3808
    quality: 10
------------------------------------------
using memory capture
Total frames rendered: 2695, number of frames that lagged: 1 (0.04%) (it's okay for some frames to lag)
=====Stream End: 2013-04-27, 05:14:34=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 1.906 ms] [avg calls per frame: 1] [children: 55.1%] [unaccounted: 44.9%]
| scene->Preprocess - [0.42%] [avg time: 0.008 ms] [avg calls per frame: 1]
| video encoding and uploading - [54.7%] [avg time: 1.042 ms] [avg calls per frame: 1] [children: 54.1%] [unaccounted: 0.577%]
| | CopyResource - [0.0525%] [avg time: 0.001 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [24.4%] [avg time: 0.465 ms] [avg calls per frame: 0]
| | call to encoder - [29.6%] [avg time: 0.565 ms] [avg calls per frame: 0]
| | sending stuff out - [0%] [avg time: 0 ms] [avg calls per frame: 0]
==============================================================

EDIT: Gave the same exact test on XSplit and the output is smooth there using game source. So this definitely has to do with OBS and game capture.
 

Haliinen

Member
Krazy said:
Lemme update my DeSmuME and see what I can figure out on my end.

Want me to send you the latest .exe? It's newly compiled.

EDIT: Use SoftRasterizer with OpenGL display output.
 

Krazy

Town drunk
Eh? I can choose between SoftRasterizer, OpenGL 3.2, and OpenGL Old

But no matter what I do, I definitely can't capture with Game Capture. Interesting.

CaptureHookLog only says:
GL present


Window Capture would basically give the same performance with Aero enabled, so you can use that temporarily if you need to.
 

Krazy

Town drunk
Sorry, my mistake, I see what you mean now. I'm getting the exact same experience as you, now.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I'll see if I can give it a look over. fullscreen, or just any window size?
 

Gotex007

New Member
So I don't know if there ever was a fix for this problem, but I still have it even with the most recent version of OBS.
 
Top