[bug] Black frame in place of OBS Studio Windows on Desktop capture

PedjaS

Member
I have checked "Hide OBS windows from screen capture"

When I run OBS it works fine, desktop capture shows everything but OBS Studio, as expected.

But, if I minimiye OBS Window and then reveal it again, screen capture starts to show black frame in place of OBS Window.

This happens each time i try it.

I searched for a solution, found several suggestion what to set up to avoid this but nothing works. I use OBS Studio 30..02 and same issue shows up in Windows 10 and Windows 11. I also tried running OSB STudio as plain user and as Administrator. Behaves the same.


Code:
14:41:33.223: CPU Name: AMD Ryzen 5 7600 6-Core Processor             
14:41:33.224: CPU Speed: 3800MHz
14:41:33.224: Physical Cores: 6, Logical Cores: 12
14:41:33.224: Physical Memory: 31887MB Total, 23865MB Free
14:41:33.224: Windows Version: 10.0 Build 22621 (release: 22H2; revision: 3007; 64-bit)
14:41:33.224: Running as administrator: false
14:41:33.224: Windows 10/11 Gaming Features:
14:41:33.224:     Game DVR: Off
14:41:33.224:     Game Mode: Probably On (no reg key set)
14:41:33.225: Sec. Software Status:
14:41:33.225:     Microsoft Defender Antivirus: enabled (AV)
14:41:33.225:     Windows Firewall: enabled (FW)
14:41:33.226: Current Date/Time: 2024-01-15, 14:41:33
14:41:33.226: Browser Hardware Acceleration: true
14:41:33.226: Hide OBS windows from screen capture: true
14:41:33.226: Qt Version: 6.5.3 (runtime), 6.5.3 (compiled)
14:41:33.226: Portable mode: false
14:41:33.372: OBS 30.0.2 (64-bit, windows)
14:41:33.372: ---------------------------------
14:41:33.372: ---------------------------------
14:41:33.372: audio settings reset:
14:41:33.372:     samples per sec: 48000
14:41:33.372:     speakers:        2
14:41:33.372:     max buffering:   960 milliseconds
14:41:33.372:     buffering type:  dynamically increasing
14:41:33.373: ---------------------------------
14:41:33.373: Initializing D3D11...
14:41:33.373: Available Video Adapters:
14:41:33.375:     Adapter 0: NVIDIA GeForce RTX 3060
14:41:33.375:       Dedicated VRAM: 12732858368 (11.9 GiB)
14:41:33.375:       Shared VRAM:    16718301184 (15.6 GiB)
14:41:33.375:       PCI ID:         10de:2504
14:41:33.375:       HAGS Status:    Enabled (Default: No, Driver status: Supported)
14:41:33.375:       Driver Version: 30.0.14.7212
14:41:33.375:       output 0:
14:41:33.375:         name=DELL U2412M
14:41:33.375:         pos={0, 0}
14:41:33.375:         size={1920, 1200}
14:41:33.375:         attached=true
14:41:33.375:         refresh=59
14:41:33.375:         bits_per_color=8
14:41:33.375:         space=RGB_FULL_G22_NONE_P709
14:41:33.375:         sdr_white_nits=80
14:41:33.375:         nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
14:41:33.375:         dpi=96 (100%)
14:41:33.375:         id=\\?\DISPLAY#DELA07A#5&903b1c2&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
14:41:33.375:         alt_id=\\.\DISPLAY1
14:41:33.375:     Adapter 1: AMD Radeon(TM) Graphics
14:41:33.375:       Dedicated VRAM: 509448192 (0.5 GiB)
14:41:33.375:       Shared VRAM:    16718301184 (15.6 GiB)
14:41:33.375:       PCI ID:         1002:164e
14:41:33.375:       HAGS Status:    Disabled (Default: No, Driver status: Unsupported)
14:41:33.376:       Driver Version: 31.0.22024.3
14:41:33.377: Loading up D3D11 on adapter NVIDIA GeForce RTX 3060 (0)
14:41:33.428: D3D11 loaded successfully, feature level used: b000
14:41:33.428: DXGI increase maximum frame latency success
14:41:33.428: Hardware-Accelerated GPU Scheduling enabled on adapter!
14:41:33.428: D3D11 GPU priority setup failed (not admin?)
14:41:33.473: ---------------------------------
14:41:33.473: video settings reset:
14:41:33.473:     base resolution:   1920x1080
14:41:33.473:     output resolution: 1920x1080
14:41:33.473:     downscale filter:  Bicubic
14:41:33.473:     fps:               30/1
14:41:33.473:     format:            NV12
14:41:33.473:     YUV mode:          Rec. 709/Partial
14:41:33.474: NV12 texture support enabled
14:41:33.474: P010 texture support not available
14:41:33.475: Audio monitoring device:
14:41:33.475:     name: Default
14:41:33.475:     id: default
14:41:33.475: ---------------------------------
14:41:33.476: No AJA devices found, skipping loading AJA UI plugin
14:41:33.476: Failed to initialize module 'aja-output-ui.dll'
14:41:33.477: No AJA devices found, skipping loading AJA plugin
14:41:33.477: Failed to initialize module 'aja.dll'
14:41:33.477: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
14:41:33.478: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
14:41:33.478: Failed to load 'en-US' text for module: 'decklink-captions.dll'
14:41:33.479: Failed to load 'en-US' text for module: 'decklink-output-ui.dll'
14:41:33.481: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
14:41:33.481: Failed to initialize module 'decklink.dll'
14:41:33.485: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
14:41:33.485: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
14:41:33.485: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
14:41:33.493: [obs-browser]: Version 2.22.2
14:41:33.493: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+gc69ad37+chromium-103.0.5060.134 (compiled)
14:41:33.495: NVENC supported
14:41:33.495: [NVENC] AV1 is not supported
14:41:33.547: [noise suppress]: NVIDIA denoiser disabled, redistributable not found or could not be loaded.
14:41:33.547: Failed to get NVVideoEffects.dll version info size
14:41:33.548: [NVIDIA VIDEO FX]: FX disabled, redistributable not found or could not be loaded.
14:41:33.569: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.3.4 | RPC Version: 1)
14:41:33.569: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.5.3 | Qt version (run-time): 6.5.3
14:41:33.569: [obs-websocket] [obs_module_load] Linked ASIO Version: 102800
14:41:33.574: [obs-websocket] [obs_module_load] Module loaded.
14:41:33.577: [vlc-video]: Couldn't find VLC installation, VLC video source disabled
14:41:33.580: ---------------------------------
14:41:33.580:   Loaded Modules:
14:41:33.580:     win-wasapi.dll
14:41:33.580:     win-dshow.dll
14:41:33.580:     win-capture.dll
14:41:33.580:     vlc-video.dll
14:41:33.580:     text-freetype2.dll
14:41:33.580:     rtmp-services.dll
14:41:33.580:     obs-x264.dll
14:41:33.580:     obs-websocket.dll
14:41:33.580:     obs-webrtc.dll
14:41:33.580:     obs-vst.dll
14:41:33.580:     obs-transitions.dll
14:41:33.580:     obs-text.dll
14:41:33.580:     obs-qsv11.dll
14:41:33.580:     obs-outputs.dll
14:41:33.580:     obs-filters.dll
14:41:33.580:     obs-ffmpeg.dll
14:41:33.580:     obs-browser.dll
14:41:33.580:     image-source.dll
14:41:33.580:     frontend-tools.dll
14:41:33.580:     decklink-output-ui.dll
14:41:33.580:     decklink-captions.dll
14:41:33.580:     coreaudio-encoder.dll
14:41:33.580: ---------------------------------
14:41:33.580: QWidget::setTabOrder: 'first' and 'second' must be in the same window
14:41:33.580: ==== Startup complete ===============================================
14:41:33.629: All scene data cleared
14:41:33.629: ------------------------------------------------
14:41:33.631: [win-wasapi: 'Desktop Audio'] update settings:
14:41:33.631:     device id: default
14:41:33.631:     use device timing: 1
14:41:33.632: [Loaded global audio device]: 'Desktop Audio'
14:41:33.632: [duplicator-monitor-capture: 'Desktop'] update settings:
14:41:33.632:     display: DELL U2412M (1920x1200)
14:41:33.632:     cursor: true
14:41:33.632:     method: WGC
14:41:33.632:     id: \\?\DISPLAY#DELA07A#5&903b1c2&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
14:41:33.632:     alt_id: \\.\DISPLAY1
14:41:33.632:     setting_id: \\?\DISPLAY#DELA07A#5&903b1c2&0&UID4352#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}
14:41:33.632:     force SDR: false
14:41:33.634: Switched to scene 'Scene'
14:41:33.634: ------------------------------------------------
14:41:33.634: Loaded scenes:
14:41:33.634: - scene 'Scene':
14:41:33.634:     - source: 'Color Source' (color_source_v3)
14:41:33.634:     - source: 'Desktop' (monitor_capture)
14:41:33.634:         - filter: 'Chroma Key' (chroma_key_filter_v2)
14:41:33.634: ------------------------------------------------
14:41:33.657: WASAPI: Device 'Headphones (Logitech USB Headset)' [48000 Hz] initialized (source: Desktop Audio)
 

PedjaS

Member
New observation. If System Tray option si disabled, then OBS minimiyes only to Taskbar, not to SysTray, and then, black frame does not appear.

Issue occures only if OBS Studio is minimized to SysTray.
 
Top