obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
58.91k stars 7.85k forks source link

Core dump on ubuntu at startup #9221

Closed anthonygedeon closed 1 year ago

anthonygedeon commented 1 year ago

Operating System Info

Ubuntu 22.04

Other OS

No response

OBS Studio Version

29.1.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

can't get to menu

OBS Studio Crash Log URL

No response

Expected Behavior

Obs-studio should've started on startup

Current Behavior

Segmentation fault (core dumped) on startup

Steps to Reproduce

  1. sudo add-apt-repository ppa:obsproject/obs-studio
  2. sudo apt update
  3. run obs ...

Anything else we should know?

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: Command Line Arguments: --verbose
info: Platform: Wayland
info: CPU Name: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
info: CPU Speed: 573.449MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15701MB Total, 9141MB Free
info: Kernel Version: Linux 5.19.0-46-generic
info: Distribution: "Ubuntu" "22.04"
info: Desktop Environment: ubuntu:GNOME (ubuntu)
info: Session Type: wayland
info: Qt Version: 6.2.4 (runtime), 6.2.4 (compiled)
info: Portable mode: false
debug: Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
debug: Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
info: OBS 29.1.3 (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
debug: Supported EGL Extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_present_opaque EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image
info: Loading up OpenGL on adapter Intel Mesa Intel(R) Xe Graphics (TGL GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 22.2.5-0ubuntu0.1~22.04.3, 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: ---------------------------------
debug: ---------------------------------
debug: Loading module: aja-output-ui.so
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui.so'
debug: ---------------------------------
debug: Loading module: aja.so
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja.so'
debug: ---------------------------------
debug: Loading module: decklink-captions.so
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
debug: ---------------------------------
debug: Loading module: decklink-output-ui.so
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
debug: ---------------------------------
debug: Loading module: decklink.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'
debug: ---------------------------------
debug: Loading module: frontend-tools.so
debug: ---------------------------------
debug: Loading module: image-source.so
debug: ---------------------------------
debug: Required module function 'obs_module_load' in module '/usr//lib/x86_64-linux-gnu/obs-plugins/libcef.so' not found, loading of module failed
debug: Failed to load module file '/usr//lib/x86_64-linux-gnu/obs-plugins/libcef.so', not an OBS plugin
debug: ---------------------------------
debug: Required module function 'obs_module_load' in module '/usr//lib/x86_64-linux-gnu/obs-plugins/libEGL.so' not found, loading of module failed
debug: Failed to load module file '/usr//lib/x86_64-linux-gnu/obs-plugins/libEGL.so', not an OBS plugin
debug: ---------------------------------
debug: Required module function 'obs_module_load' in module '/usr//lib/x86_64-linux-gnu/obs-plugins/libGLESv2.so' not found, loading of module failed
debug: Failed to load module file '/usr//lib/x86_64-linux-gnu/obs-plugins/libGLESv2.so', not an OBS plugin
debug: ---------------------------------
debug: Required module function 'obs_module_load' in module '/usr//lib/x86_64-linux-gnu/obs-plugins/libvk_swiftshader.so' not found, loading of module failed
debug: Failed to load module file '/usr//lib/x86_64-linux-gnu/obs-plugins/libvk_swiftshader.so', not an OBS plugin
debug: ---------------------------------
debug: Loading module: linux-alsa.so
debug: ---------------------------------
debug: Loading module: linux-capture.so
debug: ---------------------------------
debug: Loading module: linux-jack.so
debug: ---------------------------------
debug: Loading module: linux-pipewire.so
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
debug: ---------------------------------
debug: Loading module: linux-pulseaudio.so
debug: ---------------------------------
debug: Loading module: linux-v4l2.so
debug: ---------------------------------
debug: Loading module: obs-browser.so
info: [obs-browser]: Version 2.21.1
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled)
debug: ---------------------------------
debug: Loading module: obs-ffmpeg.so
debug: VAAPI: Initializing display in vaapi_device_h264_supported
debug: Libva: VA-API version 1.14.0
debug: Libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
debug: Libva: Found init function __vaDriverInit_1_14
debug: Libva: va_openDriver() returns 0
debug: VAAPI: Display initialized
info: VAAPI: API version 1.14
debug: VAAPI: 'Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ()' in use for device '/dev/dri/renderD128'
debug: VAAPI: VAProfileH264ConstrainedBaseline VAEntrypointEncSlice is not supported by the device '/dev/dri/renderD128'
debug: VAAPI: VAProfileH264Main VAEntrypointEncSlice is not supported by the device '/dev/dri/renderD128'
debug: VAAPI: VAProfileH264High VAEntrypointEncSlice is not supported by the device '/dev/dri/renderD128'
debug: '/dev/dri/renderD128' support low power encoding with VAProfileH264ConstrainedBaseline
debug: '/dev/dri/renderD128' support low power encoding with VAProfileH264Main
debug: '/dev/dri/renderD128' support low power encoding with VAProfileH264High
info: FFmpeg VAAPI H264 encoding supported
debug: VAAPI: Initializing display in vaapi_device_hevc_supported
debug: Libva: VA-API version 1.14.0
debug: Libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
debug: Libva: Found init function __vaDriverInit_1_14
debug: Libva: va_openDriver() returns 0
debug: VAAPI: Display initialized
debug: VAAPI: 'Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ()' in use for device '/dev/dri/renderD128'
debug: VAAPI: VAProfileHEVCMain VAEntrypointEncSlice is not supported by the device '/dev/dri/renderD128'
debug: VAAPI: VAProfileHEVCMain10 VAEntrypointEncSlice is not supported by the device '/dev/dri/renderD128'
debug: '/dev/dri/renderD128' support low power encoding with VAProfileHEVCMain
debug: '/dev/dri/renderD128' support low power encoding with VAProfileHEVCMain10
info: FFmpeg VAAPI HEVC encoding supported
debug: ---------------------------------
debug: Loading module: obs-filters.so
debug: ---------------------------------
debug: Loading module: obs-libfdk.so
debug: ---------------------------------
debug: Loading module: obs-outputs.so
debug: ---------------------------------
debug: Loading module: obs-transitions.so
debug: ---------------------------------
debug: Loading module: obs-vst.so
debug: ---------------------------------
debug: Loading module: obs-websocket.so
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): 6.2.4 | Qt version (run-time): 6.2.4
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101801
info: [obs-websocket] [obs_module_load] Module loaded.
debug: ---------------------------------
debug: Loading module: obs-x264.so
debug: ---------------------------------
debug: Loading module: rtmp-services.so
debug: ---------------------------------
debug: Loading module: text-freetype2.so
debug: ---------------------------------
debug: Loading module: vlc-video.so
info: [vlc-video]: VLC 3.0.16 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-vst.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     obs-browser.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 ===============================================
debug: service 'default_service' (rtmp_common) created
debug: output 'virtualcam_output' (virtualcam_output) created
debug: encoder 'simple_video_stream' (obs_x264) created
debug: Fallback encoder bitrates:
     64 kbit/s:
     96 kbit/s:
    128 kbit/s:
    160 kbit/s:
    192 kbit/s:
    224 kbit/s:
    256 kbit/s:
    288 kbit/s:
    320 kbit/s:
    352 kbit/s:
    384 kbit/s:
    416 kbit/s:
    448 kbit/s:
    480 kbit/s:
    512 kbit/s:
    544 kbit/s:
    576 kbit/s:
    608 kbit/s:
    640 kbit/s:
    672 kbit/s:
    704 kbit/s:
    736 kbit/s:
    768 kbit/s:
    800 kbit/s:
    832 kbit/s:
    864 kbit/s:
    896 kbit/s:
    928 kbit/s:
    960 kbit/s:
    992 kbit/s:
    1024 kbit/s:
debug: FFmpeg PCM (16-bit) (ffmpeg_pcm_s16le) encoder bitrates:
     64 kbit/s
     96 kbit/s
    128 kbit/s
    160 kbit/s
    192 kbit/s
    224 kbit/s
    256 kbit/s
    288 kbit/s
    320 kbit/s
    352 kbit/s
    384 kbit/s
    416 kbit/s
    448 kbit/s
    480 kbit/s
    512 kbit/s
    544 kbit/s
    576 kbit/s
    608 kbit/s
    640 kbit/s
    672 kbit/s
    704 kbit/s
    736 kbit/s
    768 kbit/s
    800 kbit/s
    832 kbit/s
    864 kbit/s
    896 kbit/s
    928 kbit/s
    960 kbit/s
    992 kbit/s
    1024 kbit/s
debug: FFmpeg PCM (24-bit) (ffmpeg_pcm_s24le) encoder bitrates:
     64 kbit/s
     96 kbit/s
    128 kbit/s
    160 kbit/s
    192 kbit/s
    224 kbit/s
    256 kbit/s
    288 kbit/s
    320 kbit/s
    352 kbit/s
    384 kbit/s
    416 kbit/s
    448 kbit/s
    480 kbit/s
    512 kbit/s
    544 kbit/s
    576 kbit/s
    608 kbit/s
    640 kbit/s
    672 kbit/s
    704 kbit/s
    736 kbit/s
    768 kbit/s
    800 kbit/s
    832 kbit/s
    864 kbit/s
    896 kbit/s
    928 kbit/s
    960 kbit/s
    992 kbit/s
    1024 kbit/s
debug: FFmpeg PCM (32-bit float) (ffmpeg_pcm_f32le) encoder bitrates:
     64 kbit/s
     96 kbit/s
    128 kbit/s
    160 kbit/s
    192 kbit/s
    224 kbit/s
    256 kbit/s
    288 kbit/s
    320 kbit/s
    352 kbit/s
    384 kbit/s
    416 kbit/s
    448 kbit/s
    480 kbit/s
    512 kbit/s
    544 kbit/s
    576 kbit/s
    608 kbit/s
    640 kbit/s
    672 kbit/s
    704 kbit/s
    736 kbit/s
    768 kbit/s
    800 kbit/s
    832 kbit/s
    864 kbit/s
    896 kbit/s
    928 kbit/s
    960 kbit/s
    992 kbit/s
    1024 kbit/s
debug: FFmpeg ALAC (24-bit) (ffmpeg_alac) encoder bitrates:
     64 kbit/s
     96 kbit/s
    128 kbit/s
    160 kbit/s
    192 kbit/s
    224 kbit/s
    256 kbit/s
    288 kbit/s
    320 kbit/s
    352 kbit/s
    384 kbit/s
    416 kbit/s
    448 kbit/s
    480 kbit/s
    512 kbit/s
    544 kbit/s
    576 kbit/s
    608 kbit/s
    640 kbit/s
    672 kbit/s
    704 kbit/s
    736 kbit/s
    768 kbit/s
    800 kbit/s
    832 kbit/s
    864 kbit/s
    896 kbit/s
    928 kbit/s
    960 kbit/s
    992 kbit/s
    1024 kbit/s
debug: FFmpeg FLAC (16-bit) (ffmpeg_flac) encoder bitrates:
     64 kbit/s
     96 kbit/s
    128 kbit/s
    160 kbit/s
    192 kbit/s
    224 kbit/s
    256 kbit/s
    288 kbit/s
    320 kbit/s
    352 kbit/s
    384 kbit/s
    416 kbit/s
    448 kbit/s
    480 kbit/s
    512 kbit/s
    544 kbit/s
    576 kbit/s
    608 kbit/s
    640 kbit/s
    672 kbit/s
    704 kbit/s
    736 kbit/s
    768 kbit/s
    800 kbit/s
    832 kbit/s
    864 kbit/s
    896 kbit/s
    928 kbit/s
    960 kbit/s
    992 kbit/s
    1024 kbit/s
debug: libfdk AAC (libfdk_aac) encoder bitrates:
     32 kbit/s
     64 kbit/s
     96 kbit/s
    128 kbit/s
    160 kbit/s
    192 kbit/s
    224 kbit/s
    256 kbit/s
    288 kbit/s
    320 kbit/s
    352 kbit/s
    384 kbit/s
    416 kbit/s
    448 kbit/s
    480 kbit/s
    512 kbit/s
    544 kbit/s
    576 kbit/s
    608 kbit/s
    640 kbit/s
    672 kbit/s
    704 kbit/s
    736 kbit/s
    768 kbit/s
    800 kbit/s
    832 kbit/s
    864 kbit/s
    896 kbit/s
    928 kbit/s
    960 kbit/s
    992 kbit/s
    1024 kbit/s
debug: AAC simple encoder bitrate mapping:
     32 kbit/s: 'libfdk AAC' (libfdk_aac)
     64 kbit/s: 'libfdk AAC' (libfdk_aac)
     96 kbit/s: 'libfdk AAC' (libfdk_aac)
    128 kbit/s: 'libfdk AAC' (libfdk_aac)
    160 kbit/s: 'libfdk AAC' (libfdk_aac)
    192 kbit/s: 'libfdk AAC' (libfdk_aac)
    224 kbit/s: 'libfdk AAC' (libfdk_aac)
    256 kbit/s: 'libfdk AAC' (libfdk_aac)
    288 kbit/s: 'libfdk AAC' (libfdk_aac)
    320 kbit/s: 'libfdk AAC' (libfdk_aac)
    352 kbit/s: 'libfdk AAC' (libfdk_aac)
    384 kbit/s: 'libfdk AAC' (libfdk_aac)
    416 kbit/s: 'libfdk AAC' (libfdk_aac)
    448 kbit/s: 'libfdk AAC' (libfdk_aac)
    480 kbit/s: 'libfdk AAC' (libfdk_aac)
    512 kbit/s: 'libfdk AAC' (libfdk_aac)
    544 kbit/s: 'libfdk AAC' (libfdk_aac)
    576 kbit/s: 'libfdk AAC' (libfdk_aac)
    608 kbit/s: 'libfdk AAC' (libfdk_aac)
    640 kbit/s: 'libfdk AAC' (libfdk_aac)
    672 kbit/s: 'libfdk AAC' (libfdk_aac)
    704 kbit/s: 'libfdk AAC' (libfdk_aac)
    736 kbit/s: 'libfdk AAC' (libfdk_aac)
    768 kbit/s: 'libfdk AAC' (libfdk_aac)
    800 kbit/s: 'libfdk AAC' (libfdk_aac)
    832 kbit/s: 'libfdk AAC' (libfdk_aac)
    864 kbit/s: 'libfdk AAC' (libfdk_aac)
    896 kbit/s: 'libfdk AAC' (libfdk_aac)
    928 kbit/s: 'libfdk AAC' (libfdk_aac)
    960 kbit/s: 'libfdk AAC' (libfdk_aac)
    992 kbit/s: 'libfdk AAC' (libfdk_aac)
    1024 kbit/s: 'libfdk AAC' (libfdk_aac)
debug: encoder 'simple_aac' (libfdk_aac) created
debug: encoder 'simple_archive_audio' (libfdk_aac) created
debug: output 'simple_file_output' (ffmpeg_muxer) created
info: All scene data cleared
info: ------------------------------------------------
debug: private source 'Cut' (cut_transition) created
debug: private source 'Fade' (fade_transition) created
info: pulse-input: Server name: 'pulseaudio 15.99.1'
debug: pulse-input: Default output device: 'alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor' (default)
debug: source 'Desktop Audio' (pulse_output_capture) created
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'pulseaudio 15.99.1'
debug: pulse-input: Default input device: 'alsa_input.usb-BLUE_MICROPHONE_Blue_Snowball_SUGA_2020_05_18_31884-00.mono-fallback'
info: pulse-input: Audio format: s16le, 44100 Hz, 1 channels
info: pulse-input: Started recording from 'alsa_input.usb-BLUE_MICROPHONE_Blue_Snowball_SUGA_2020_05_18_31884-00.mono-fallback' (default)
debug: source 'Mic/Aux' (pulse_input_capture) created
info: [Loaded global audio device]: 'Mic/Aux'
debug: source 'Scene' (scene) created
info: PipeWire initialized
debug: source 'Screen Capture (PipeWire)' (pipewire-desktop-capture-source) created
info: pulse-input: Server name: 'pulseaudio 15.99.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 1 channels
info: pulse-input: Started recording from 'alsa_input.usb-BLUE_MICROPHONE_Blue_Snowball_SUGA_2020_05_18_31884-00.mono-fallback'
debug: source 'Audio Input Capture (PulseAudio)' (pulse_input_capture) created
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen Capture (PipeWire)' (pipewire-desktop-capture-source)
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info: ------------------------------------------------
Segmentation fault (core dumped)
kkartaltepe commented 1 year ago

please provide a stacktrace from the crash using gdb.

anthonygedeon commented 1 year ago

@kkartaltepe I got it working, it seems displaylink doesn't play nicely with obs