Black Screen on Display Capture WITHOUT two GPUs

Higgs

New Member
Hi,

I'm using a desktop computer equipped with an AMD Ryzen 9 3900X CPU and an Nvidia RTX 2070 Super GPU. I'm running the latest versions of Windows 10, the Nvidia GPU drivers, and OBS Studio.

When I try using "Display Capture", I get a black screen. The advice given on this thread doesn't apply for me, since I only have the one GPU - the Ryzen 9 3900X doesn't have a built-in GPU, so there isn't an issue of OBS Studio seeing the wrong GPU. Still, I am getting a black screen. I can see my mouse moving, but nothing else.

Any ideas how to solve this?

Thanks in advance!
 

carlmmii

Active Member
 

Higgs

New Member
Here's my log file:

Code:
22:42:37.677: CoInitializeEx succeeded: 0x00000001
22:42:37.677: CPU Name: AMD Ryzen 9 3900X 12-Core Processor           
22:42:37.677: CPU Speed: 3800MHz
22:42:37.677: Physical Cores: 12, Logical Cores: 24
22:42:37.677: Physical Memory: 32719MB Total, 26832MB Free
22:42:37.677: Windows Version: 10.0 Build 19041 (release: 2004; revision: 329; 64-bit)
22:42:37.677: Running as administrator: false
22:42:37.677: Aero is Enabled (Aero is always on for windows 8 and above)
22:42:37.677: Windows 10 Gaming Features:
22:42:37.677:     Game DVR: On
22:42:37.678: Sec. Software Status:
22:42:37.679:     Microsoft Defender Antivirus: enabled (AV)
22:42:37.679:     Windows Firewall: enabled (FW)
22:42:37.679: Current Date/Time: 2020-07-09, 22:42:37
22:42:37.679: Browser Hardware Acceleration: true
22:42:37.679: Portable mode: false
22:42:37.922: OBS 25.0.8 (64-bit, windows)
22:42:37.922: ---------------------------------
22:42:37.923: ---------------------------------
22:42:37.923: audio settings reset:
22:42:37.923:     samples per sec: 48000
22:42:37.923:     speakers:        2
22:42:37.924: ---------------------------------
22:42:37.924: Initializing D3D11...
22:42:37.924: Available Video Adapters:
22:42:37.925:     Adapter 0: NVIDIA GeForce RTX 2070 SUPER
22:42:37.925:       Dedicated VRAM: 4106223616
22:42:37.925:       Shared VRAM:    4269277184
22:42:37.925:       PCI ID:         10de:1e84
22:42:37.925:       Driver Version: 27.21.14.5148
22:42:37.926:       output 0: pos={0, 0}, size={3440, 1440}, attached=true, refresh=144, name=34GN850
22:42:37.927: Loading up D3D11 on adapter NVIDIA GeForce RTX 2070 SUPER (0)
22:42:38.001: D3D11 loaded successfully, feature level used: b000
22:42:38.001: DXGI increase maximum frame latency success
22:42:38.001: D3D11 GPU priority setup failed (not admin?)
22:42:38.309: ---------------------------------
22:42:38.309: video settings reset:
22:42:38.309:     base resolution:   3440x1440
22:42:38.309:     output resolution: 3440x1440
22:42:38.309:     downscale filter:  Bicubic
22:42:38.309:     fps:               30/1
22:42:38.309:     format:            NV12
22:42:38.309:     YUV mode:          601/Partial
22:42:38.309: NV12 texture support enabled
22:42:38.309: Audio monitoring device:
22:42:38.309:     name: Default
22:42:38.309:     id: default
22:42:38.310: ---------------------------------
22:42:38.312: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
22:42:38.312: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
22:42:38.330: [AMF] Unable to load 'amfrt64.dll', error code 126.
22:42:38.332: [AMF] AMF Test failed due to one or more errors.
22:42:38.332: Failed to initialize module 'enc-amf.dll'
22:42:38.344: [obs-browser]: Version 2.8.6
22:42:38.346: NVENC supported
22:42:38.406: VLC found, VLC video source enabled
22:42:38.411: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
22:42:38.411: No blackmagic support
22:42:38.414: ---------------------------------
22:42:38.414:   Loaded Modules:
22:42:38.414:     win-wasapi.dll
22:42:38.414:     win-mf.dll
22:42:38.414:     win-dshow.dll
22:42:38.414:     win-decklink.dll
22:42:38.414:     win-capture.dll
22:42:38.414:     vlc-video.dll
22:42:38.414:     text-freetype2.dll
22:42:38.414:     rtmp-services.dll
22:42:38.414:     obs-x264.dll
22:42:38.414:     obs-vst.dll
22:42:38.414:     obs-transitions.dll
22:42:38.414:     obs-text.dll
22:42:38.414:     obs-qsv11.dll
22:42:38.414:     obs-outputs.dll
22:42:38.414:     obs-filters.dll
22:42:38.414:     obs-ffmpeg.dll
22:42:38.414:     obs-browser.dll
22:42:38.414:     image-source.dll
22:42:38.414:     frontend-tools.dll
22:42:38.414:     enc-amf.dll
22:42:38.414:     decklink-ouput-ui.dll
22:42:38.414:     coreaudio-encoder.dll
22:42:38.414: ---------------------------------
22:42:38.414: ==== Startup complete ===============================================
22:42:38.415: Service '' not found
22:42:38.416: All scene data cleared
22:42:38.416: ------------------------------------------------
22:42:38.420: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{9125ddc6-3614-437e-a2dd-2e5b3f7ab050}' not found.  Waiting for device
22:42:38.420: [WASAPISource::WASAPISource] Device '{0.0.0.00000000}.{057696c3-7166-474e-9e2d-4376d15e655f}' not found.  Waiting for device
22:42:38.421: Switched to scene 'Scene'
22:42:38.421: ------------------------------------------------
22:42:38.421: Loaded scenes:
22:42:38.421: - scene 'Scene':
22:42:38.421:     - source: 'Display Capture' (monitor_capture)
22:42:38.421:     - source: 'Audio Output Capture' (wasapi_output_capture)
22:42:38.421:     - source: 'Audio Input Capture' (wasapi_input_capture)
22:42:38.421: ------------------------------------------------
22:43:39.216: ==== Shutting down ==================================================
22:43:39.222: Switched to scene '(null)'
22:43:39.222: All scene data cleared
22:43:39.222: ------------------------------------------------
22:43:39.317: Freeing OBS context data
22:43:39.337: [Scripting] Total detached callbacks: 0
22:43:39.342: == Profiler Results =============================
22:43:39.342: run_program_init: 913.147 ms
22:43:39.342:  ┣OBSApp::AppInit: 10.483 ms
22:43:39.342:  ┃ ┗OBSApp::InitLocale: 0.859 ms
22:43:39.342:  ┗OBSApp::OBSInit: 833.84 ms
22:43:39.342:    ┣obs_startup: 2.338 ms
22:43:39.342:    ┗OBSBasic::OBSInit: 588.111 ms
22:43:39.342:      ┣OBSBasic::InitBasicConfig: 0.265 ms
22:43:39.342:      ┣OBSBasic::ResetAudio: 0.115 ms
22:43:39.342:      ┣OBSBasic::ResetVideo: 386.607 ms
22:43:39.342:      ┣OBSBasic::InitOBSCallbacks: 0.004 ms
22:43:39.342:      ┣OBSBasic::InitHotkeys: 0.034 ms
22:43:39.342:      ┣obs_load_all_modules: 104.515 ms
22:43:39.342:      ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.518 ms
22:43:39.342:      ┃ ┣obs_init_module(decklink-ouput-ui.dll): 0.401 ms
22:43:39.342:      ┃ ┣obs_init_module(enc-amf.dll): 18.406 ms
22:43:39.342:      ┃ ┣obs_init_module(frontend-tools.dll): 3.25 ms
22:43:39.342:      ┃ ┣obs_init_module(image-source.dll): 0.005 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-browser.dll): 0.216 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.607 ms
22:43:39.342:      ┃ ┃ ┗nvenc_check: 0.578 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-filters.dll): 0.013 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-outputs.dll): 0.005 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-qsv11.dll): 52.102 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-text.dll): 0.183 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-transitions.dll): 0.007 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
22:43:39.342:      ┃ ┣obs_init_module(obs-x264.dll): 0.002 ms
22:43:39.342:      ┃ ┣obs_init_module(rtmp-services.dll): 0.668 ms
22:43:39.342:      ┃ ┣obs_init_module(text-freetype2.dll): 0.035 ms
22:43:39.342:      ┃ ┣obs_init_module(vlc-video.dll): 1.086 ms
22:43:39.342:      ┃ ┣obs_init_module(win-capture.dll): 1.194 ms
22:43:39.342:      ┃ ┣obs_init_module(win-decklink.dll): 2.754 ms
22:43:39.342:      ┃ ┣obs_init_module(win-dshow.dll): 0.95 ms
22:43:39.342:      ┃ ┣obs_init_module(win-mf.dll): 0 ms
22:43:39.342:      ┃ ┣obs_init_module(win-wasapi.dll): 0.005 ms
22:43:39.342:      ┃ ┗reset_win32_symbol_paths: 0.148 ms
22:43:39.342:      ┣OBSBasic::ResetOutputs: 0.157 ms
22:43:39.342:      ┣OBSBasic::CreateHotkeys: 0.208 ms
22:43:39.342:      ┣OBSBasic::InitService: 1.217 ms
22:43:39.342:      ┣OBSBasic::InitPrimitives: 0.064 ms
22:43:39.342:      ┗OBSBasic::Load: 8.913 ms
22:43:39.342: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.003 ms, max=17.283 ms, 99th percentile=0.033 ms, 100% below 25 ms
22:43:39.342: audio_thread(Audio): min=0 ms, median=0.008 ms, max=0.039 ms, 99th percentile=0.026 ms
22:43:39.342: obs_graphics_thread(33.3333 ms): min=0.076 ms, median=0.179 ms, max=6.503 ms, 99th percentile=0.505 ms, 100% below 33.333 ms
22:43:39.342:  ┣tick_sources: min=0.001 ms, median=0.093 ms, max=2.201 ms, 99th percentile=0.316 ms
22:43:39.342:  ┣output_frame: min=0.033 ms, median=0.048 ms, max=3.44 ms, 99th percentile=0.121 ms
22:43:39.342:  ┃ ┗gs_context(video->graphics): min=0.033 ms, median=0.048 ms, max=3.439 ms, 99th percentile=0.121 ms
22:43:39.342:  ┃   ┣render_video: min=0.004 ms, median=0.012 ms, max=0.057 ms, 99th percentile=0.028 ms
22:43:39.342:  ┃   ┃ ┗render_main_texture: min=0.002 ms, median=0.012 ms, max=0.056 ms, 99th percentile=0.026 ms
22:43:39.342:  ┃   ┗gs_flush: min=0.021 ms, median=0.035 ms, max=3.412 ms, 99th percentile=0.086 ms
22:43:39.342:  ┗render_displays: min=0 ms, median=0.036 ms, max=5.933 ms, 99th percentile=0.107 ms
22:43:39.342: =================================================
22:43:39.342: == Profiler Time Between Calls ==================
22:43:39.342: obs_hotkey_thread(25 ms): min=24.946 ms, median=25.022 ms, max=42.169 ms, 77.0176% within ±2% of 25 ms (0% lower, 22.9824% higher)
22:43:39.342: obs_graphics_thread(33.3333 ms): min=33.312 ms, median=33.333 ms, max=33.348 ms, 100% within ±2% of 33.333 ms (0% lower, 0% higher)
22:43:39.342: =================================================
22:43:39.350: Number of memory leaks: 0
 

Higgs

New Member
Thanks. Already tried running as Administrator and it didn't help. I have never used any of the apps listed there except MSI Afterburner, but I uninstalled it and nothing changed... Any other suggestions? :(
 

carlmmii

Active Member
Do you happen to have Hardware Accelerated GPU Scheduling enabled? That is currently causing all sorts of issues with captures, and should be disabled currently.
 

Higgs

New Member
I disabled it (and restarted). Now something weird is happening: I see a black screen, but if I press record and minimize OBS Studio, it does record my screen - except it only records the desktop wallpaper and taskbar, not any open windows. If I open a window, I can see the mouse move as I click on various things in the window, but the window itself doesn't appear in the recording at all. Tried this with several different apps. Weirder still, OBS Studio itself appears on the taskbar when I open it (i.e. there's a button with the window title), but other apps don't appear on the taskbar, as if I did not open them at all! (They do appear on the actual taskbar, just not on the recorded taskbar.) WTF..?
 

carlmmii

Active Member
Really not sure what would cause this. @R1CH might have some insight into this behavior.

What happens if you revert to a previous GPU driver version? (anything pre- 451.48)
 

Higgs

New Member
Reverting to older version doesn't help, nor does changing between the Game Ready and Studio drivers.
 

Higgs

New Member
Update: Disabling HDR solved the problem! OBS Studio is now working without any issues. Is HDR support planned to be implemented in the future?
 
Top