Bug Report Worked Great, but only once.

Jergling

New Member
Hi OBS team, I tried the software at the suggestion of a twitch.tv user, and the first time I used it, it was awesome.

However, after successfully broadcasting twice last night (including scene switching and game streaming). Today, I started up the software, and found that many sources no longer work. I can use images, slideshows, and webcams, but text, game, and software sources are invisible, unavailable, and black, respectively.

I've uninstalled, reinstalled, restarted, uninstalled and reinstalled again, tried the beta version, and deleted the appdata a couple of times. This may have to do with my switchable graphics (and being unplugged), but it seems a little strange that text sources don't work.

Any further suggestions?

Here's a thread where someone had a similar issue: viewtopic.php?f=6&t=1318

Basic specs: Sager np9170 (laptop). i7-3720QM, 8GB RAM, ATI 7970m, Win7 x64
 

dodgepong

Administrator
Community Helper
That does seem odd...do you think you can post a log?

If your computer (sounds like it's a laptop) has switchable graphics, you have to make sure that both OBS and the game you are capturing are on the same card, and that the card supports DirectX 10. (Note: Many Intel integrated GPUs claim to support DX10, but their DX10 support is incomplete.)

If you can force everything on the 7970m, maybe that will help?

Either way, posting logs will help us figure it out!
 

Jergling

New Member
Here's my log

Code:
Open Broadcaster Software v0.466a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
CPU Speed: 2594MHz
Physical Memory:  8088MB Total, 5566MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 2186903552
  Video Adapter Shared System Memory: 3972263936
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 507, number of frames that lagged: 504 (99.41%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 50.011 ms] [avg calls per frame: 1] [children: 99.3%] [unaccounted: 0.672%]
| scene->Preprocess - [92.9%] [avg time: 46.476 ms] [avg calls per frame: 1]
| video encoding and uploading - [6.4%] [avg time: 3.199 ms] [avg calls per frame: 1] [children: 6.36%] [unaccounted: 0.036%]
| | CopyResource - [0.04%] [avg time: 0.02 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.04%] [avg time: 0.02 ms] [avg calls per frame: 0]
| | call to encoder - [6.28%] [avg time: 3.139 ms] [avg calls per frame: 0]
| | sending stuff out - [0.004%] [avg time: 0.002 ms] [avg calls per frame: 0]
==============================================================

To be clear, no diagnostic ever displays the dedicated GPU for this laptop, but I am forcing the 7970. Monitor capture and even text boxes fail to show up, so I don't think this is a DX10 thing.

Also, the 97% frame lag is something that only happens on the first preview. otherwise it varies between 0.00 and 0.07%. One thing of note is that the FPS drops to <20 when trying to capture the monitor, though nothing is displayed. OBS also takes up significant CPU cycles during this time.
 

dodgepong

Administrator
Community Helper
Interesting, this log is showing that your 7970m isn't even enabled. You said something about your computer being unplugged? Does it have to be plugged in to use the better graphics card? Or is there a utility you can download from the manufacturer's website that lets you specify which video card to use on which programs?
 

Jergling

New Member
So here's what I'm thinking.

Clearly, something changed after the first run - something that took a restart to take effect. If it wouldn't be too much trouble, could someone look into what files or registries are changed by OBS?

EDIT: Windows update had queued updates last night, and installed them in the morning. Could this have anything to do with it?

EDITEDIT: There was a .NET framework update. These have messed things up for me in the past.
 

Jergling

New Member
Nothing to report on the working/not-working end, but after talking to dodgepong on IRC I tried updating my GPU drivers. I am now certain that OBS is using my 7970 and not my intel, as even Kombustor and Afterburner refer to the dedicated GPU as "Intel HD 4000" while reporting the speed and memory of the AMD 7970m.

Here are some tests trying to run game capture on MSI Kombustor running in DX10 mode. I still can't output text, software capture always shows a black screen and drops to 20FPS, and game capture shows a black screen with a mouse (but only if the mouse is changed by the game).

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
CPU Speed: 2594MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 2191200256
  Video Adapter Shared System Memory: 3972263936
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
Total frames rendered: 2382, number of frames that lagged: 2076 (87.15%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
Total frames rendered: 3430, number of frames that lagged: 62 (1.81%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
Total frames rendered: 1662, number of frames that lagged: 5 (0.30%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 22.595 ms] [avg calls per frame: 1] [children: 99.2%] [unaccounted: 0.788%]
| scene->Preprocess - [63.1%] [avg time: 14.261 ms] [avg calls per frame: 1]
| video encoding and uploading - [36.1%] [avg time: 8.156 ms] [avg calls per frame: 1] [children: 14.1%] [unaccounted: 22%]
| | CopyResource - [0.15%] [avg time: 0.034 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0354%] [avg time: 0.008 ms] [avg calls per frame: 0]
| | call to encoder - [13.9%] [avg time: 3.139 ms] [avg calls per frame: 0]
| | sending stuff out - [0.00443%] [avg time: 0.001 ms] [avg calls per frame: 0]
==============================================================
 
Top