OBS Window Capture has only "unknown" options

Window Capture has only “unknown” options

I have 2 PC running manjaro, and the PC here have problem using OBS Xcomposite Window Capture. Similar to this guy here: https://obsproject.com/forum/threads/window-capture-has-only-unknown-options.65717/

System:    Host: GlaDOS Kernel: 4.15.18-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.12.4
           Distro: Manjaro Linux 17.1.9 Hakoila
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: N/A
           Mobo: ASUSTeK model: H81M-E v: Rev X.0x serial: N/A UEFI: American Megatrends v: 3601
           date: 12/15/2017
CPU:       Dual Core: Intel Celeron G1840 type: MCP speed: 1180 MHz min/max: 800/2800 MHz
Graphics:  Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics driver: i915 v: kernel
           Card-2: NVIDIA GP108 [GeForce GT 1030] driver: nvidia v: 390.48
           Display: x11 server: X.Org 1.19.6 driver: nvidia resolution: 1920x1080~60Hz
           OpenGL: renderer: GeForce GT 1030/PCIe/SSE2 v: 4.6.0 NVIDIA 390.48
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8168
Drives:    HDD Total Size: 698.65 GiB used: 209.05 GiB (29.9%)
Info:      Processes: 197 Uptime: 7h 06m Memory: 7.67 GiB used: 2.66 GiB (34.7%) Shell: bash inxi: 3.0.07

OBS log

Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
Icon theme "ubuntu-mono-dark" not found.
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: CPU Name: Intel(R) Celeron(R) CPU G1840 @ 2.80GHz
info: CPU Speed: 1724.584MHz
info: Physical Cores: 2, Logical Cores: 2
info: Physical Memory: 7852MB Total, 2372MB Free
info: Kernel Version: Linux 4.15.18-1-MANJARO
info: Distribution: "Manjaro Linux" Unknown
info: Portable mode: false
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 21.1.1-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 44100
        speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation GeForce GT 1030/PCIe/SSE2
info: OpenGL loaded successfully, version 3.2.0 NVIDIA 390.48, shading language 1.50 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1280x720
        downscale filter:  Bicubic
        fps:               30/1
        format:            NV12
        YUV mode:          601/Partial
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
libDeckLinkAPI.so: 無法開啟共用目的檔: 沒有此一檔案或目錄
info: No blackmagic support
info: NVENC supported
info: VLC found, VLC video source enabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info: ---------------------------------
info: ==== Startup complete ===============================================
error: Service '' not found
info: No scene file found, creating default scene
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: float32le, 32000 Hz, 2 channels
info: pulse-input: Started recording from 'echoCancel_sink.monitor'
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: float32le, 32000 Hz, 2 channels
info: pulse-input: Started recording from 'echoCancel_source'
info: Switched to scene 'Scene'
warning: Failed to glob scene collections
info: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
warning: [rtmp-services plugin] Successfully updated file 'services.json' (version 81)
warning: [rtmp-services plugin] Successfully updated package (version 81)
QXcbConnection: XCB error: 8 (BadMatch), sequence: 3952, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 3988, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 3998, resource id: 81789076, major code: 130 (Unknown), minor code: 3
info: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
info: User added source 'Window Capture (Xcomposite)' (xcomposite_input) to scene 'Scene'
error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed
error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed
error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed
info: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
        title: unknown
        class: obs
info: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
        title: unknown
        class: obs
info: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
        title: unknown
        class: obs
QXcbConnection: XCB error: 8 (BadMatch), sequence: 10117, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 10160, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 10170, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11262, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11299, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11302, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11642, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11679, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11682, resource id: 81789076, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11698, resource id: 81789076, major code: 130 (Unknown), minor code: 3
info: ==== Shutting down ==================================================
info: Switched to scene '(null)'
info: pulse-input: Stopped recording from 'echoCancel_sink.monitor'
info: pulse-input: Got 0 packets with 0 frames
info: pulse-input: Stopped recording from 'echoCancel_source'
info: pulse-input: Got 1735 packets with 555200 frames
info: All scene data cleared
info: ------------------------------------------------
info: Freeing OBS context data
info: [Scripting] Total detached callbacks: 0
QFileSystemWatcher::removePaths: list is empty
QFileSystemWatcher::removePaths: list is empty
info: == Profiler Results =============================
info: run_program_init: 5806.97 ms
info:  ┣OBSApp::AppInit: 5.251 ms
info:  ┃ ┗OBSApp::InitLocale: 0.808 ms
info:  ┗OBSApp::OBSInit: 5712.23 ms
info:    ┣obs_startup: 15.798 ms
info:    ┗OBSBasic::OBSInit: 3865.35 ms
info:      ┣OBSBasic::InitBasicConfig: 1.075 ms
info:      ┣OBSBasic::ResetAudio: 0.22 ms
info:      ┣OBSBasic::ResetVideo: 88.933 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.003 ms
info:      ┣OBSBasic::InitHotkeys: 0.039 ms
info:      ┣obs_load_all_modules: 61.914 ms
info:      ┃ ┣obs_init_module(frontend-tools.so): 35.702 ms
info:      ┃ ┣obs_init_module(image-source.so): 0.003 ms
info:      ┃ ┣obs_init_module(linux-alsa.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0.269 ms
info:      ┃ ┣obs_init_module(linux-decklink.so): 0.136 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.524 ms
info:      ┃ ┃ ┗nvenc_check: 0.471 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0.008 ms
info:      ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0.002 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0.007 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0.173 ms
info:      ┃ ┣obs_init_module(text-freetype2.so): 0.03 ms
info:      ┃ ┗obs_init_module(vlc-video.so): 1.856 ms
info:      ┣OBSBasic::ResetOutputs: 0.083 ms
info:      ┣OBSBasic::CreateHotkeys: 0.021 ms
info:      ┣OBSBasic::InitService: 16.775 ms
info:      ┣OBSBasic::InitPrimitives: 0.303 ms
info:      ┗OBSBasic::Load: 9.12 ms
info: obs_hotkey_thread(25 ms): min=0.054 ms, median=0.218 ms, max=35.475 ms, 99th percentile=24.701 ms, 99.1215% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0.062 ms, max=29.826 ms, 99th percentile=0.21 ms
info: obs_graphics_thread(33.3333 ms): min=1.041 ms, median=3.195 ms, max=149.491 ms, 99th percentile=76.137 ms, 97.6699% below 33.333 ms
info:  ┣tick_sources: min=0 ms, median=0.011 ms, max=135.154 ms, 99th percentile=4.027 ms
info:  ┣output_frame: min=0.818 ms, median=1.598 ms, max=52.635 ms, 99th percentile=29.556 ms
info:  ┃ ┣gs_context(video->graphics): min=0.625 ms, median=1.237 ms, max=52.431 ms, 99th percentile=29.361 ms
info:  ┃ ┃ ┣render_video: min=0.417 ms, median=0.748 ms, max=18.352 ms, 99th percentile=2.734 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0.051 ms, median=0.137 ms, max=1.307 ms, 99th percentile=0.509 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.123 ms, max=4.833 ms, 99th percentile=0.384 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.091 ms, max=1.119 ms, 99th percentile=0.261 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.311 ms, max=17.775 ms, 99th percentile=1.831 ms
info:  ┃ ┃ ┣download_frame: min=0 ms, median=0.005 ms, max=2.137 ms, 99th percentile=0.027 ms
info:  ┃ ┃ ┗gs_flush: min=0.025 ms, median=0.073 ms, max=7.584 ms, 99th percentile=0.224 ms
info:  ┃ ┗output_video_data: min=0.192 ms, median=0.336 ms, max=1.858 ms, 99th percentile=0.86 ms
info:  ┗render_displays: min=0.138 ms, median=1.272 ms, max=105.339 ms, 99th percentile=24.158 ms
info: video_thread(video): min=0 ms, median=0.001 ms, max=0.29 ms, 99th percentile=0.124 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.084 ms, median=25.305 ms, max=60.506 ms, 85.044% within ±2% of 25 ms (0% lower, 14.956% higher)
info: obs_graphics_thread(33.3333 ms): min=7.786 ms, median=33.334 ms, max=149.496 ms, 93.9689% within ±2% of 33.333 ms (2.91829% lower, 3.11284% higher)
info: =================================================
info: Number of memory leaks: 1

The log appears to be spammed by xcb error.

I recorded a video for this. https://youtu.be/FF2Gg7CZoH0

If you remove “Scene 2” and add the “Window Capture” (if is not already there) to “Scene”, does the same thing? I can’t reproduce it on my end

Is trying to switch to “Scene” while “Scene 2” is selected and it doesn’t find what it needs. This is what i have instead:

info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen Capture (XSHM)' (xshm_input)
info:     - source: 'VLC Video Source' (vlc_source)
info:     - source: 'Window Capture (Xcomposite)' (xcomposite_input)

Its the same. Do you use nvidia proprietary driver too?

Yes, no issues here previously nor after the latest testing update that came with 396.18 driver.
Make a backup of obs-studio folder inside ~/.config folder or remove/rename it. Open OBS and it will recreate the folder with the default configs. See if that helps, maybe there is something corrupted.

Same

I am on testing branch, another PC I am on manjaro testing has a GT620, which can show the title, but cannot capture anything other than obs itself.

I notice there is some spam when choosing window

error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed
error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed

“Use alpha-less texture format” in settings, is a bit hidden but you will see it … Not sure what other settings you have there or if you “pushed” them to maximum quality, but that might not be helpful and also will not provide a visible better result. Go with the default settings first and from there try to change one by one to what you want …
Do you have MESA installed ?
what is the output of:
glxinfo | grep OpenGL

I guess mesa is a compulsory dependency and I have it on my system, its the same after enabling “Use alpha-less texture(Mesa workarounds)”

[devops@GlaDOS ~]$ pacman -Qs mesa
local/glu 9.0.0-4
    Mesa OpenGL Utility library
local/lib32-glu 9.0.0-3
    Mesa OpenGL utility library (32 bits)
local/lib32-libtxc_dxtn 1.0.1-5
    S3 Texture Compression (S3TC) library for Mesa (32-bit)
local/lib32-libva-mesa-driver 18.0.2-1
    VA-API implementation for gallium (32-bit)
local/lib32-mesa 18.0.2-1
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-demos 8.4.0-1
    Mesa demos and tools (32-bit)
local/lib32-mesa-vdpau 18.0.2-1
    Mesa VDPAU drivers (32-bit)
local/lib32-vulkan-intel 18.0.2-1
    Intel's Vulkan mesa driver (32-bit)
local/lib32-vulkan-radeon 18.0.2-1
    Radeon's Vulkan mesa driver (32-bit)
local/libtxc_dxtn 1.0.1-6
    S3 Texture Compression (S3TC) library for Mesa
local/libva-mesa-driver 18.0.2-0
    VA-API implementation for gallium
local/mesa 18.0.2-0
    An open-source implementation of the OpenGL specification
local/mesa-demos 8.4.0-1
    Mesa demos and tools incl. glxinfo + glxgears
local/mesa-vdpau 18.0.2-0
    Mesa VDPAU drivers
local/vulkan-intel 18.0.2-0
    Intel's Vulkan mesa driver
local/vulkan-radeon 18.0.2-0
    Radeon's Vulkan mesa driver

But why so many while on my install i get:

pacman -Qs mesa
local/glu 9.0.0-4
    Mesa OpenGL Utility library
local/lib32-glu 9.0.0-3
    Mesa OpenGL utility library (32 bits)
local/lib32-mesa 18.0.2-1
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-demos 8.4.0-1
    Mesa demos and tools (32-bit)
local/mesa 18.0.2-0
    An open-source implementation of the OpenGL specification
local/mesa-demos 8.4.0-1
    Mesa demos and tools incl. glxinfo + glxgears

and

$ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 396.18
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 396.18
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 396.18
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

It’s because I installed both free and non free driver while nouveau is blacklist in modprobe but I think it doesn’t relate.

[GlaDOS ~]# glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 1030/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 396.18
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 396.18
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 396.18
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
[GlaDOS ~]#

It appears to be normal

It is back to work today for unknown reason, what about yours?

local/kwin 5.12.4-1.1 (plasma)
    An easy to use, but flexible, composited Window Manager
local/mesa 18.0.2-1
    An open-source implementation of the OpenGL specification
local/glu 9.0.0-4
    Mesa OpenGL Utility library

Linux GlaDOS 4.17.0-1-MANJARO #1 SMP PREEMPT Tue May 1 18:13:34 UTC 2018 x86_64 GNU/Linux

While there is still spamming of

error: device_copy_texture (GL) failed
error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed
error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed", it just work as expected.

Mine never failed me :slight_smile:
I’ll mark this as solved then.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by