OBS Studio shows only "unknown" sources in window capture

Hello everybody,

I have had this problem for a while now and I haven’t been able to find a solution. When I try to add a Window Capture(Xcomposite) as a source in OBS Studio, I get only “unknown” options as Window source as seen in the screenshot below.

OBS Logs -

01:28:56 PM IST.024: CPU Name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
01:28:56 PM IST.024: CPU Speed: 3400.612MHz
01:28:56 PM IST.024: Physical Cores: 4, Logical Cores: 8
01:28:56 PM IST.024: Physical Memory: 7883MB Total, 4851MB Free
01:28:56 PM IST.024: Kernel Version: Linux 5.4.64-1-MANJARO
01:28:56 PM IST.024: Distribution: "Manjaro Linux" Unknown
01:28:56 PM IST.025: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.8
01:28:56 PM IST.026: Portable mode: false
01:28:56 PM IST.068: OBS 25.0.8-2 (linux)
01:28:56 PM IST.068: ---------------------------------
01:28:56 PM IST.069: ---------------------------------
01:28:56 PM IST.069: audio settings reset:
01:28:56 PM IST.069: 	samples per sec: 44100
01:28:56 PM IST.069: 	speakers:        2
01:28:56 PM IST.073: ---------------------------------
01:28:56 PM IST.073: Initializing OpenGL...
01:28:56 PM IST.127: Loading up OpenGL on adapter NVIDIA Corporation GeForce GTX 1050/PCIe/SSE2
01:28:56 PM IST.127: OpenGL loaded successfully, version 3.3.0 NVIDIA 450.66, shading language 3.30 NVIDIA via Cg compiler
01:28:56 PM IST.134: ---------------------------------
01:28:56 PM IST.134: video settings reset:
01:28:56 PM IST.134: 	base resolution:   1920x1080
01:28:56 PM IST.134: 	output resolution: 1920x1080
01:28:56 PM IST.134: 	downscale filter:  Bicubic
01:28:56 PM IST.134: 	fps:               60/1
01:28:56 PM IST.134: 	format:            NV12
01:28:56 PM IST.134: 	YUV mode:          601/Partial
01:28:56 PM IST.134: NV12 texture support not available
01:28:56 PM IST.135: Audio monitoring device:
01:28:56 PM IST.135: 	name: Default
01:28:56 PM IST.135: 	id: default
01:28:56 PM IST.135: ---------------------------------
01:28:56 PM IST.138: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
01:28:56 PM IST.204: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
01:28:56 PM IST.204: No blackmagic support
01:28:56 PM IST.214: NVENC supported
01:28:56 PM IST.214: FFMPEG VAAPI supported
01:28:56 PM IST.222: VLC found, VLC video source enabled
01:28:56 PM IST.222: ---------------------------------
01:28:56 PM IST.222:   Loaded Modules:
01:28:56 PM IST.222:     vlc-video.so
01:28:56 PM IST.222:     text-freetype2.so
01:28:56 PM IST.222:     rtmp-services.so
01:28:56 PM IST.222:     obs-x264.so
01:28:56 PM IST.222:     obs-transitions.so
01:28:56 PM IST.222:     obs-outputs.so
01:28:56 PM IST.222:     obs-libfdk.so
01:28:56 PM IST.222:     obs-filters.so
01:28:56 PM IST.222:     obs-ffmpeg.so
01:28:56 PM IST.222:     linux-v4l2.so
01:28:56 PM IST.222:     linux-pulseaudio.so
01:28:56 PM IST.222:     linux-jack.so
01:28:56 PM IST.222:     linux-decklink.so
01:28:56 PM IST.222:     linux-capture.so
01:28:56 PM IST.222:     linux-alsa.so
01:28:56 PM IST.222:     image-source.so
01:28:56 PM IST.222:     frontend-tools.so
01:28:56 PM IST.222:     decklink-ouput-ui.so
01:28:56 PM IST.222: ---------------------------------
01:28:56 PM IST.222: ==== Startup complete ===============================================
01:28:56 PM IST.222: Service '' not found
01:28:56 PM IST.224: All scene data cleared
01:28:56 PM IST.224: ------------------------------------------------
01:28:56 PM IST.226: pulse-input: Server name: 'pulseaudio 13.0'
01:28:56 PM IST.226: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
01:28:56 PM IST.226: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
01:28:56 PM IST.226: [Loaded global audio device]: 'Desktop Audio'
01:28:56 PM IST.228: pulse-input: Server name: 'pulseaudio 13.0'
01:28:56 PM IST.229: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
01:28:56 PM IST.229: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
01:28:56 PM IST.229: [Loaded global audio device]: 'Mic/Aux'
01:28:56 PM IST.229: Switched to scene 'Scene'
01:28:56 PM IST.230: ------------------------------------------------
01:28:56 PM IST.230: Loaded scenes:
01:28:56 PM IST.230: - scene 'Scene':
01:28:56 PM IST.230: ------------------------------------------------
01:28:56 PM IST.786: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
01:28:56 PM IST.786: 
01:29:13 PM IST.574: User added source 'Window Capture (Xcomposite)' (xcomposite_input) to scene 'Scene'
01:29:13 PM IST.621: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:29:13 PM IST.634: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:29:13 PM IST.634: 	title: unknown
01:29:13 PM IST.634: 	class: obs
01:29:13 PM IST.634: 	Bit depth: 24
01:29:13 PM IST.634: 	Found proper GLXFBConfig (in 9): yes
01:29:13 PM IST.634: 
01:29:16 PM IST.803: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:29:16 PM IST.831: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:29:16 PM IST.831: 	title: unknown
01:29:16 PM IST.831: 	class: obs
01:29:16 PM IST.831: 	Bit depth: 24
01:29:16 PM IST.831: 	Found proper GLXFBConfig (in 9): yes
01:29:16 PM IST.831: 
01:29:20 PM IST.207: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:29:20 PM IST.232: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:29:20 PM IST.232: 	title: unknown
01:29:20 PM IST.232: 	class: obs
01:29:20 PM IST.232: 	Bit depth: 24
01:29:20 PM IST.232: 	Found proper GLXFBConfig (in 9): yes
01:29:20 PM IST.232: 
01:29:21 PM IST.986: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:29:22 PM IST.015: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:29:22 PM IST.015: 	title: unknown
01:29:22 PM IST.015: 	class: obs
01:29:22 PM IST.015: 	Bit depth: 24
01:29:22 PM IST.015: 	Found proper GLXFBConfig (in 9): yes
01:29:22 PM IST.015: 
01:29:32 PM IST.600: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:29:32 PM IST.610: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:29:32 PM IST.610: 	title: unknown
01:29:32 PM IST.610: 	class: obs
01:29:32 PM IST.610: 	Bit depth: 24
01:29:32 PM IST.610: 	Found proper GLXFBConfig (in 9): yes
01:29:32 PM IST.610: 
01:31:12 PM IST.587: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:31:12 PM IST.596: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:31:12 PM IST.596: 	title: unknown
01:31:12 PM IST.596: 	class: spectacle
01:31:12 PM IST.596: 	Bit depth: 24
01:31:12 PM IST.596: 	Found proper GLXFBConfig (in 9): yes
01:31:12 PM IST.596: 
01:31:14 PM IST.372: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:31:14 PM IST.382: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:31:14 PM IST.382: 	title: unknown
01:31:14 PM IST.382: 	class: spectacle
01:31:14 PM IST.382: 	Bit depth: 24
01:31:14 PM IST.382: 	Found proper GLXFBConfig (in 9): yes
01:31:14 PM IST.382: 
01:31:29 PM IST.454: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:31:29 PM IST.483: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:31:29 PM IST.483: 	title: unknown
01:31:29 PM IST.483: 	class: spectacle
01:31:29 PM IST.483: 	Bit depth: 24
01:31:29 PM IST.483: 	Found proper GLXFBConfig (in 9): yes
01:31:29 PM IST.483: 
01:31:31 PM IST.136: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:31:31 PM IST.165: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:31:31 PM IST.165: 	title: unknown
01:31:31 PM IST.165: 	class: spectacle
01:31:31 PM IST.165: 	Bit depth: 24
01:31:31 PM IST.165: 	Found proper GLXFBConfig (in 9): yes
01:31:31 PM IST.165: 
01:32:01 PM IST.875: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:32:01 PM IST.889: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:32:01 PM IST.889: 	title: unknown
01:32:01 PM IST.889: 	class: spectacle
01:32:01 PM IST.889: 	Bit depth: 24
01:32:01 PM IST.889: 	Found proper GLXFBConfig (in 9): yes
01:32:01 PM IST.889: 
01:32:01 PM IST.903: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:32:01 PM IST.907: xcompcap: [window-capture: 'Window Capture (Xcomposite)'] update settings:
01:32:01 PM IST.907: 	title: unknown
01:32:01 PM IST.907: 	class: spectacle
01:32:01 PM IST.907: 	Bit depth: 24
01:32:01 PM IST.907: 	Found proper GLXFBConfig (in 9): yes
01:32:01 PM IST.907: 
01:32:40 PM IST.719: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap
01:32:43 PM IST.145: User Removed source 'Window Capture (Xcomposite)' (xcomposite_input) from scene 'Scene'
01:32:43 PM IST.151: xcompcap: cleanup glXReleaseTexImageEXT failed: GLXBadPixmap

Graphics info -

$ inxi -G
  Device-1: Intel HD Graphics 630 driver: i915 v: kernel 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 450.66 
  Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 450.66

As a matter of fact, any application like Discord, Zoom, Google Meets etc is not able to detect open window applications.

2 Likes