Page MenuHomeSolus

OBS Studio crashing on launch
Closed, ResolvedPublic

Description

Update history info:

$ eopkg history | grep -e obs-studio -e ^Date | head -3
Date: 2022-09-14 17:52
Date: 2022-09-11 07:50
    * obs-studio is upgraded from 27.2.4-95-1-x86_64 to 28.0.1-96-1-x86_64 with delta.

System info:

System:
  Host: *** Kernel: 5.15.61-217.current arch: x86_64 bits: 64
    Desktop: Budgie v: 10.6.4 Distro: Solus 4.3 fortitude
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X370-PRO v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 5220
    date: 09/12/2019
CPU:
  Info: 8-core model: AMD Ryzen 7 1700 bits: 64 type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1378 min/max: 1550/3000 cores: 1: 1373 2: 1373 3: 1374
    4: 1373 5: 1389 6: 1391 7: 1375 8: 1375 9: 1375 10: 1375 11: 1372 12: 1373
    13: 1373 14: 1373 15: 1374 16: 1418
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 515.65.01
  Device-2: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
    loaded: nvidia gpu: nvidia resolution: 3840x2160~60Hz
  OpenGL: renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA
    515.65.01
Audio:
  Device-1: NVIDIA GP106 High Definition Audio driver: snd_hda_intel
  Device-2: AMD Family 17h HD Audio driver: snd_hda_intel
  Device-3: Blue Microphones Yeti Nano type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Sound Server-1: ALSA v: k5.15.61-217.current running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes

Output when launching from command line:

$ obs
debug: Found portal inhibitor
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/Yami.qss
Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: AMD Ryzen 7 1700 Eight-Core Processor
info: CPU Speed: 1550.000MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 32039MB Total, 29485MB Free
info: Kernel Version: Linux 5.15.61-217.current
info: Distribution: "Solus" "4.3"
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.14
info: Qt Version: 6.3.0 (runtime), 6.3.0 (compiled)
info: Portable mode: false
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Popout.svg', because: No such file or directory
qt.svg: Cannot open file '/usr/share/obs/obs-studio/themes/Dark/Popout.svg', because: No such file or directory
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 28.0.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: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 515.65.01, shading language 3.30 NVIDIA via Cg compiler
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: 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
warning: v4l2loopback not installed, virtual camera disabled
info: [obs-browser]: Version 2.18.5
info: [obs-browser]: CEF Version 105.0.5195.54 (runtime), 105.3.25+g0ca6a9e+chromium-105.0.5195.54 (compiled)
info: NVENC supported
info: FFMPEG VAAPI supported
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.3.0 | Qt version (run-time): 6.3.0
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
error: os_dlopen(libvlc.so.5->libvlc.so.5): libvlc.so.5: cannot open shared object file: No such file or directory

info: [vlc-video]: Couldn't find VLC installation, VLC video source disabled
info: [StreamFX] Loading Version 0.11.1.0-g81a96998
info: [StreamFX] <gfx::opengl> Version 3.3 initialized.
info: [StreamFX] Loaded Version 0.11.1.0-g81a96998
info: ---------------------------------
info:   Loaded Modules:
info:     StreamFX.so
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-filters.so
info:     obs-ffmpeg.so
info:     obs-browser.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.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: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 15.0'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_0c_00.3.analog-stereo.monitor'
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'pulseaudio 15.0'
info: pulse-input: Audio format: s24le, 44100 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_input.usb-Blue_Microphones_Yeti_Nano_8918H51222040506-00.analog-stereo'
info: [Loaded global audio device]: 'Mic/Aux'
[swscaler @ 0x55bb78944440] deprecated pixel format used, make sure you did set range correctly
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 1920x1080
info: v4l2-input: Pixelformat: YV12
info: v4l2-input: Linesize: 1920 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: v4l2-input: /dev/video0: select timeout set to 166666 (5x frame periods)
info: [window-capture: 'Window Capture (Xcomposite)'] update settings:
	title: unknown
	class: unknown

info: Switched to scene 'Camera Only'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Camera Only':
info:     - source: 'splash.jpg' (image_source)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info:         - filter: 'Chroma Key' (chroma_key_filter_v2)
info:         - filter: 'Image Mask/Blend' (mask_filter_v2)
info: - scene 'Both':
info:     - source: 'Window Capture (Xcomposite)' (xcomposite_input)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info:         - filter: 'Chroma Key' (chroma_key_filter_v2)
info:         - filter: 'Image Mask/Blend' (mask_filter_v2)
info: - scene 'Window Only':
info:     - source: 'Window Capture (Xcomposite)' (xcomposite_input)
info: ------------------------------------------------
QApplication::installTranslator: Please instantiate the QApplication object first
QWidget: Must construct a QApplication before a QWidget
Aborted (core dumped)

Event Timeline

Gonna take a look at this later.
From what I can see in your output it seems you're using StreamFX?
Funnily enough they forgot to put that one on the plugin compatibility list back when I checked, but now it's there and linked to an alpha release:
https://obsproject.com/kb/obs-studio-28-plugin-compatibility

Possible that the crash, but not the incompatibility, could be fixed with this patch https://github.com/obsproject/obs-studio/commit/615728fa3be71e928842285ce3ba8f7133d1ad22 (in case StreamFX links against Qt5)

Thanks for digging into this Staudey. I can see they committed the PR you linked 2 days ago, so I’m guessing it will land in a release sometime soon. I can wait for that.

Staudey claimed this task.

Crash should be fixed by https://dev.getsol.us/R2214:17c65b7a039bb04b1c7d3ebc603d621f41c0f7c6

Plugin compatibility might still be an issue though.