Question / Help How to determine which GPU OBS is running under?

OregonMike

New Member
I'm also trying to work through the dreaded game capture black screen issue. I've been perusing the various, related forum threads, and the common theme tends to be "OBS needs to be running on the GPU that's rendering whatever you're capturing" ... I'm using an Alienware ALW18-2991sLV laptop w/ dual Nvidia GTX 765M CPUs and the option "2. Select the preferred graphics processor for this program:" doesn't appear via Nvidia Control Panel -> 3D Settings -> Manage 3D Settings -> Program Settings when selecting OBS in the drop down. So, I'm not certain if OBS and my game are running on the same GPU. Is there a way to determine this?

Also, I'm curious if I'm just out-of-luck and being affected by the issue mentioned in https://obsproject.com/forum/threads/cannot-change-video-adapter.18639/ as this isn't a viable solution :(.
 

Sapiens

Forum Moderator
What video adapters are selectable under Settings > Video? You should see at least one Intel and one NVIDIA device listed. Do you have the option to run programs in "high performance" mode in your NVIDIA control panel at all? If so, just add the OBS executable yourself. You may also need to disable SLI altogether as it tends not to behave with game capture.
 

OregonMike

New Member
Under Settings -> Video there is only one option available: "NVIDIA GeForce GTX 765M".
In NVIDIA Control Panel -> Manage 3D settings -> Program Settings -> 2. "Specify the settings for this program:" the mention of "mode" are in the Features are:

- "Multi-display/mixed-GPU acceleration" with options "Use global setting (Multiple display performance mode)", "Single display performance mode", "Compatibility performance mode", "Multiple display performance mode"..

- "Power management mode" with options "Use global setting (Adaptive)" & "Prefer maximum performance".

- "SLI rendering mode" with options "Use global setting (NVIDIA recommended)", "Single-GPU", "Force alternate frame rendering 1", "Force alternate frame rendering 2".
-

I originally started out w/ SLI disabled and tried seemingly every combination of settings trying to match OBS w/ the game window's settings w/o any luck. So, I'm curious if there's a way to determine which GPU each app is using.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If on a switchable graphics laptop, it says in the second session of your log file. Just preview twice, and it'll log the adapter it's using in the second session. The reason why it has to be the second session is due to a switchable graphics driver thing.
 

OregonMike

New Member
I'm not quite sure if I'm following you correctly or not so I'll attach the log from an attempt just a bit ago here.
 

Attachments

  • 2014-09-10-1715-57.log
    9.6 KB · Views: 101

Lain

Forum Admin
Lain
Forum Moderator
Developer
Your laptop appears to only have one nvidia device, unless it's in SLI or something. Then it always appears as one video device.
 

OregonMike

New Member
Yes, it was running in SLI mode as I've been trying all possible configurations and didn't have any luck in non-SLI mode. I've reverted back to non-SLI and just tried another capture. I've attached the log.

Code:
15:35:48: Open Broadcaster Software v0.633b - 32bit (´・ω・`)
15:35:48: -------------------------------
15:35:48: CPU Name: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
15:35:48: CPU Speed: 2394MHz
15:35:48: Physical Memory:  4095MB Total, 4095MB Free
15:35:48: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
15:35:48: monitor 1: pos={0, 0}, size={1920, 1080}
15:35:48: Windows Version: 6.2 Build 9200
15:35:48: Aero is Enabled
15:35:48: -------------------------------
15:35:48: OBS Modules:
15:35:48: Base Address  Module
15:35:48: 00D30000  OBS.exe
15:35:48: 70080000  OBSApi.dll
15:35:48: 6FC80000  DShowPlugin.dll
15:35:48: 6FC50000  GraphicsCapture.dll
15:35:48: 6FC20000  NoiseGate.dll
15:35:48: 6FC00000  PSVPlugin.dll
15:35:48: ------------------------------------------
15:35:48: Adapter 1
15:35:48:  Video Adapter: NVIDIA GeForce GTX 765M  
15:35:48:  Video Adapter Dedicated Video Memory: 2082271232
15:35:48:  Video Adapter Shared System Memory: 2147676160
15:35:48:  Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:35:48: ------------------------------------------
15:35:48: Adapter 2
15:35:48:  Video Adapter: NVIDIA GeForce GTX 765M  
15:35:48:  Video Adapter Dedicated Video Memory: 2082271232
15:35:48:  Video Adapter Shared System Memory: 2147676160
15:35:48: =====Stream Start: 2014-09-15, 15:35:48===============================================
15:35:48:  Multithreaded optimizations: On
15:35:48:  Base resolution: 1920x1080
15:35:48:  Output resolution: 1920x1080
15:35:48: ------------------------------------------
15:35:48: Nvidia optimus detected, second adapter selected, ignoring useless second adapter, I guess.
15:35:48: Loading up D3D10 on NVIDIA GeForce GTX 765M (Adapter 1)...
15:35:48: ------------------------------------------
15:35:48: Audio Format: 48000 Hz
15:35:48: ------------------------------------------
15:35:48: Audio Channels: 2 Ch
15:35:48: Playback device Default
15:35:48: ------------------------------------------
15:35:48: Using desktop audio input: Speakers (Realtek High Definition Audio)
15:35:48: Global Audio time adjust: 0
15:35:48: ------------------------------------------
15:35:48: Audio Encoding: AAC
15:35:48:  bitrate: 128
15:35:48: Using graphics capture
15:35:48: Using anti-cheat hooking for game capture
15:35:48: Scene buffering time set to 700
15:35:48: Successfully loaded ObsNvenc.dll
15:35:48: ObsNvenc initialized successfully
15:35:48: CUDA loaded successfully
15:35:48: 1 CUDA capable devices found
15:35:48: [ GPU #0 - < GeForce GTX 765M > has Compute SM 3.0, NVENC Available ]
15:35:48: NVENC internal init finished successfully
15:35:48: NVENC supports 8 h264 presets
15:35:48: ------------------------------------------
15:35:48: Video Encoding: NVENC
15:35:48:  fps: 30
15:35:48:  width: 1920, height: 1080
15:35:48:  preset: llhq
15:35:48:  profile: main
15:35:48:  level: autoselect
15:35:48:  keyint: 60
15:35:48:  CBR: yes
15:35:48:  CFR: yes
15:35:48:  max bitrate: 3500
15:35:48:  avg bitrate: 3500
15:35:48:  buffer size: 3500
15:35:48: ------------------------------------------
15:35:56: FlushBufferedVideo: Flushing 21 packets over 666 ms
15:35:57: Total frames encoded: 239, total frames duplicated: 1 (0.42%)
15:35:57: Total frames rendered: 243, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
15:35:57: Encoder closed
15:35:57: NVENC deinitialized
15:35:57:
15:35:57: Profiler time results:
15:35:57:
15:35:57: ==============================================================
15:35:57: video thread frame - [100%] [avg time: 1.834 ms] [children: 15.6%] [unaccounted: 84.4%]
15:35:57: | scene->Preprocess - [0.164%] [avg time: 0.003 ms]
15:35:57: | GPU download and conversion - [15.4%] [avg time: 0.283 ms] [children: 14.1%] [unaccounted: 1.31%]
15:35:57: | | flush - [9.71%] [avg time: 0.178 ms]
15:35:57: | | CopyResource - [1.64%] [avg time: 0.03 ms]
15:35:57: | | conversion to 4:2:0 - [2.78%] [avg time: 0.051 ms]
15:35:57: Convert444Threads - [100%] [avg time: 1.602 ms] [children: 99.1%] [unaccounted: 0.874%]
15:35:57: | Convert444toNV12 - [99.1%] [avg time: 1.588 ms]
15:35:57: encoder thread frame - [100%] [avg time: 15.713 ms] [children: 0.0509%] [unaccounted: 99.9%]
15:35:57: | sending stuff out - [0.0509%] [avg time: 0.008 ms]
15:35:57: ==============================================================
15:35:57:
15:35:57:
15:35:57: Profiler CPU results:
15:35:57:
15:35:57: ==============================================================
15:35:57: video thread frame - [cpu time: avg 1.929 ms, total 468.75 ms] [avg calls per frame: 1]
15:35:57: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:35:57: | GPU download and conversion - [cpu time: avg 0.514 ms, total 125 ms] [avg calls per frame: 1]
15:35:57: | | flush - [cpu time: avg 0.45 ms, total 109.375 ms] [avg calls per frame: 1]
15:35:57: | | CopyResource - [cpu time: avg 0.071 ms, total 15.625 ms] [avg calls per frame: 1]
15:35:57: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:35:57: Convert444Threads - [cpu time: avg 1.605 ms, total 703.125 ms] [avg calls per frame: 2]
15:35:57: | Convert444toNV12 - [cpu time: avg 1.605 ms, total 703.125 ms] [avg calls per frame: 2]
15:35:57: encoder thread frame - [cpu time: avg 1.433 ms, total 312.5 ms] [avg calls per frame: 1]
15:35:57: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:35:57: ==============================================================
15:35:57:
15:35:57: =====Stream End: 2014-09-15, 15:35:57=================================================


Last game capture log:
2014-09-10, 17:14:32: we're booting up:
17:14:32: CaptureThread: attached to process pol.exe
 
Top