#962391 obs-studio: Segfaults when set to monitor desktop audio output

Package:
obs-studio
Source:
obs-studio
Description:
recorder and streamer for live video content
Submitter:
Lucio Crusca
Date:
2026-04-17 03:03:02 UTC
Severity:
normal
Tags:
#962391#5
Date:
2020-06-07 11:38:49 UTC
From:
To:
Dear Maintainer,


   * What led up to the situation?

I remove $HOME/.config/obs-studio, I start OBS and skip the auto-configuration wizard.
I add a new Audio Output Capture (PulseAudio) source, click Ok in the "Create/Select source" dialog and click Ok in the "Properties for 'Audio Output Capture (PulseAudio)'" dialog. Please note that the "Device" select box in the latter dialog is empty, but I don't know if that's normal.
The new source VU-meter shows up in the mixer, but it doesn't move when I play something in the desktop. Then I click the gear icon next to it and choose "Advanced Audio Properties".
I see the audio source listed as active, but the "Audio Monitoring" select box shows "Monitor off". I click it and choose "Monitor Only (mute output)" instead. OBS segfaults as soon as I click that item. The same happens if I choose "Monitor and Output". Now OBS segfaults at startup and I have to remove $HOME/.config/obs-studio again.

#962391#10
Date:
2023-01-26 07:53:55 UTC
From:
To:

hi.
thanks for your  bugreport with detailed instructions on how to
reproduce this issue.

unfortunatly (or luckily) i cannot reproduce the problem with current
obs-stduio (as poackaged in Debian: 29.0.0).

it would be great if you could check whether the problem persists.

gdasmr
IOhannes

#962391#17
Date:
2026-04-17 03:00:15 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

Fresh install of obs-studio, both with an older config file and after blowing
away ~/.config/obs-studio and starting over

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I have tried with different versions, including the stable version. Every time
I start a stream I get a segfault:

debug: Found portal inhibitor
qt.qpa.services: Failed to register with host portal
QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID:
Connection already associated with an application ID")
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/
info: Platform: Wayland
info: CPU Name: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
info: CPU Speed: 3419.861MHz
info: Physical Cores: 4, Logical Cores: 4
info: Physical Memory: 15903MB Total, 6958MB Free
info: Kernel Version: Linux 6.19.11+deb14-amd64
info: Distribution: "Debian GNU/Linux" Unknown
info: Desktop Environment: GNOME (gnome)
info: Session Type: wayland
info: Current Date/Time: 2026-04-16, 09:54:52 PM
info: Browser Hardware Acceleration: true
info: Qt Version: 6.10.2 (runtime), 6.10.2 (compiled)
info: Portable mode: false
info: OBS 32.1.0+ds-1 (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: Using EGL/Wayland
info: Initialized EGL 1.5
info: Loading up OpenGL on adapter Intel Mesa Intel(R) HD Graphics 4600 (HSW
GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 26.0.5-1,
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 enabled
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 capture sources:
info: [pipewire]     - Monitor source
info: [pipewire]     - Window source
warning: v4l2loopback not installed, virtual camera not registered
info: VAAPI: API version 1.23
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI AV1 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-
encode.so.1: cannot open shared object file: No such file or directory

info: NVENC not supported
warning: Failed to initialize module 'obs-nvenc.so'
warning: Legacy intel-vaapi-driver detected, incompatible with QSV
warning: Legacy intel-vaapi-driver detected, incompatible with QSV
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.7.2
| RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.10.2 | Qt
version (run-time): 6.10.2
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 103002
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video.so
info:     time-source.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-websocket.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-qsv11.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: ---------------------------------
info: ---------------------------------
info: Available Encoders:
info:   Video Encoders:
info:   - ffmpeg_svt_av1 (SVT-AV1)
info:   - ffmpeg_aom_av1 (AOM AV1)
info:   - ffmpeg_vaapi_tex (FFmpeg VAAPI H.264)
info:   - obs_x264 (x264)
info:   Audio Encoders:
info:   - ffmpeg_aac (FFmpeg AAC)
info:   - ffmpeg_opus (FFmpeg Opus)
info:   - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
info:   - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
info:   - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
info:   - ffmpeg_alac (FFmpeg ALAC (24-bit))
info:   - ffmpeg_flac (FFmpeg FLAC (16-bit))
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: Device for 'Audio Output Capture' source Desktop Audio is also used for
audio monitoring.
Deduplication logic is being applied to all monitored sources.
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.6.3) 15.0.0'
info: pulse-input: Audio format: s24le, 48000 Hz, 2 channels
info: pulse-input: Sample format s24le not supported by OBS,using float32le
instead for recording
info: pulse-input: Started recording from 'alsa_output.usb-
Logitech_Logi_Zone_750_2131ALQ010N8-00.analog-stereo.monitor' (default)
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.6.3) 15.0.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-
Logitech_Logi_Zone_750_2131ALQ010N8-00.analog-stereo' (default)
info: [Loaded global audio device]: 'Mic/Aux'
info: v4l2-input: Start capture from /dev/v4l/by-
id/usb-046d_C270_HD_WEBCAM_38396ED0-video-index0
info: Device for 'Audio Output Capture' source Desktop Audio is also used for
audio monitoring.
Deduplication logic is being applied to all monitored sources.
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x480
info: v4l2-input: Pixelformat: YUYV
info: v4l2-input: Linesize: 1280 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: v4l2-input: /dev/v4l/by-id/usb-046d_C270_HD_WEBCAM_38396ED0-video-index0:
select timeout set to 166666 (5x frame periods)
info: PipeWire initialized
info: Switched to scene 'Cam in Corner'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Cam Full Screen-ish':
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info: - scene 'Cam in Corner':
info:     - source: 'Screen Capture (PipeWire)' (pipewire-screen-capture-
source)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info: ------------------------------------------------
error: v4l2-input: /dev/v4l/by-id/usb-046d_C270_HD_WEBCAM_38396ED0-video-
index0: select timed out
error: v4l2-input: /dev/v4l/by-id/usb-046d_C270_HD_WEBCAM_38396ED0-video-
index0: failed to log status
info: [pipewire] Screencast session created
info: [pipewire] Asking for monitor and window
info: adding 42 milliseconds of audio buffering, total audio buffering is now
42 milliseconds (source: Desktop Audio)

info: [pipewire] source selected, setting up screencast
info: [pipewire] Server version: 1.6.3
info: [pipewire] Library version: 1.6.3
info: [pipewire] Header version: 1.6.2
info: [pipewire] Created stream 0x5588a9f4ba10
info: [pipewire] Stream 0x5588a9f4ba10 state: "connecting" (error: none)
info: [pipewire] Playing stream 0x5588a9f4ba10
info: [pipewire] Stream 0x5588a9f4ba10 state: "paused" (error: none)
info: [pipewire] Negotiated format:
info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
info: [pipewire]     Modifier: 0x0
info: [pipewire]     Size: 1920x1080
info: [pipewire]     Framerate: 0/1
info: [pipewire] Negotiated format:
info: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
info: [pipewire]     Modifier: 0x100000000000002
info: [pipewire]     Size: 1920x1080
info: [pipewire]     Framerate: 0/1
info: [pipewire] Stream 0x5588a9f4ba10 state: "streaming" (error: none)
info: ---------------------------------
info: [x264 encoder: 'simple_video_stream'] preset: veryfast
info: [x264 encoder: 'simple_video_stream'] settings:
        rate_control: CBR
        bitrate:      2500
        buffer size:  2500
        crf:          23
        fps_num:      30
        fps_den:      1
        width:        1280
        height:       720
        keyint:       60

info: [x264 encoder: 'simple_video_stream'] custom settings:
        scenecut = 0
info: ---------------------------------
info: [FFmpeg aac encoder: 'simple_aac'] bitrate: 128, channels: 2,
channel_layout: stereo, track: 1

info: [rtmp stream: 'simple_stream'] Connecting to RTMP URL
rtmp://ingest.global-contribute.live-video.net/app...
malloc(): corrupted top size
Aborted                    obs