Bug Report Black capture with Aero on when using Optimus

Muf

Forum Moderator
So a while back, OBS wouldn't work on Intel integrated graphics, so I configured it to use my laptop's nvidia 520M instead.

Now interestingly, with Optimus, you get a situation where Aero is running on the Intel GPU, but OBS is running on the nvidia GPU. Trying to use any software screen capture, be it the entire screen, inner window, or outer window, results in black output. Current versions of OBS now support Intel GPUs though, so configuring Optimus to let OBS use the Intel GPU, capturing from Aero works again.

I think that generally speaking, when you have two GPUs and the nvidia GPU is very busy rendering a game, you might as well use the idle Intel GPU to do capturing and video compositing. So other than the usage note "don't try to capture from Aero when OBS is set to use the nvidia GPU", there isn't really a problem. But I wanted to mention it anyway, as it could be an intriguing corner case, and other people might run into it.

That will be all :)
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
my app supports intel GPUs now? hm, never knew, but that's fantastic. I think I need to add an option to select the GPU that the app operates on.
 

Muf

Forum Moderator
Jim said:
my app supports intel GPUs now? hm, never knew, but that's fantastic.
Yup, it does. Here's proof:

Code:
Open Broadcaster Software v0.412a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
CPU Speed: 2394MHz
Physical Memory:  8105MB Total, 4413MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0
=====Stream Start=====================================================================
  Base resolution: 1366x768
  Output resolution: 1364x768
------------------------------------------
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics Family
  Video Adapeter Dedicated Video Memory: 67108864
  Video Adapeter Shared System Memory: 1711276032
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1364, height: 768
    quality: 5
    preset: veryfast
    i444: no
    max bitrate: 384
    buffer size: 8000
------------------------------------------
Total frames rendered: 1561, number of frames that lagged: 678 (43.43%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 27.978 ms] [avg calls per frame: 1] [children: 97.9%] [unaccounted: 2.09%]
| scene->Preprocess - [62.7%] [avg time: 17.537 ms] [avg calls per frame: 1]
| video encoding and uploading - [35.2%] [avg time: 9.857 ms] [avg calls per frame: 1] [children: 9.45%] [unaccounted: 25.8%]
| | CopyResource - [0.222%] [avg time: 0.062 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [4.54%] [avg time: 1.271 ms] [avg calls per frame: 0]
| | call to encoder - [4.68%] [avg time: 1.31 ms] [avg calls per frame: 0]
==============================================================
 
Top