[Kubuntu 23.10] Segfault when attempting to use XComposite window capture

m1n3r_spl

New Member
Title.
I want to use the APT version for its support for ALSA. (PulseAudio constantly turns my mic boost to 100 on startup, ear-raping viewers and voice-chat participants. I BADLY need help with that.)
When I go to add a window capture via PipeWire, all I get is a black screen. The Select Window button does nothing. When I instead added an XComposite one, OBS crashed. Annoyed but inquisitive, I did some digging, then tried wiping my config and running it from the terminal. This is what I got:
Code:
~
nu ❯ rm -rf ~/.config/obs-studio

~
nu ❯ sudo apt list | rg obs-studio

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

obs-studio/mantic,now 29.1.3+dfsg-2 amd64 [installed]

~
nu ❯ obs --version
OBS Studio - 29.1.3.1-2

~
nu ❯ obs
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
info: CPU Speed: 4525.635MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 15851MB Total, 3413MB Free
info: Kernel Version: Linux 6.5.0-10-generic
info: Distribution: "Ubuntu" "23.10"
info: Desktop Environment: KDE (KDE)
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 5.15.10 (runtime), 5.15.10 (compiled)
info: Portable mode: false
QMetaObject::connectSlotsByName: Connecting slot on_transitionDuration_valueChanged() with the first of the following compatible signals: ("valueChanged(int)", "valueChanged(QString)")
info: OBS 29.1.3.1-2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
        max buffering:   960 milliseconds
        buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter Intel Mesa Intel(R) UHD Graphics (CML GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3, shading language 4.60
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1280x720
        downscale filter:  Bicubic
        fps:               30/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
info: NVENC supported
info: VAAPI: API version 1.19
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI HEVC encoding not supported
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.2.3 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 5.15.10 | Qt version (run-time): 5.15.10
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 102201
info: [obs-websocket] [Config::Load] (FirstLoad) Generating new server password.
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.18 Vetinari 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-websocket.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
QWidget::setTabOrder: 'first' and 'second' must be in the same window
info: ==== Startup complete ===============================================
info: No scene file found, creating default scene
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.84) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor' (default)
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.84) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo' (default)
info: Switched to scene 'Scene'
warning: Failed to glob scene collections
info: [rtmp-services plugin] Successfully updated file 'services.json' (version 237)
info: [rtmp-services plugin] Successfully updated package (version 237)
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)

info:
==== Auto-config wizard testing commencing ======

warning: Number of remaining views: 1
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1920x1080
        downscale filter:  Bicubic
        fps:               60/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info:
==== Auto-config wizard testing stopping ========

info: [window-capture: 'Window Capture (Xcomposite)'] update settings:
        title: Desktop @ QRect(0,0 1920x1080)  — Plasma
        class: plasmashell

info: User added source 'Window Capture (Xcomposite)' (xcomposite_input) to scene 'Scene'
Segmentation fault: oops, process 'obs' core dumped
Error: nu::shell::external_command

  × External command failed
   ╭─[entry #24:1:1]
 1 │ obs
   · ─┬─
   ·  ╰── core dumped
   ╰────
  help: Segmentation fault: child process 'obs' core dumped


~ took 11s
nu ❯
When I start OBS again, it shows the desktop in the window capture briefly before it crashes again. And again. And again. I have to delete my config to get it usable again.

This is even more annoying when I install the Flatpak version, and the exact same feature works perfectly!

Somebody save my sanity!
 
Top