OBS crashes on startup Ubuntu 22.04 LTS

kettss

New Member
I recently downloaded OBS from the official docs (https://github.com/obsproject/obs-studio/wiki/install-instructions#linux) with PPA but can't run it. When I run OBS it immediately crashes.
I have a RTX 3050 and a Ryzen 5 5600x.
This is my output from running OBS from terminal.

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: AMD Ryzen 5 5600X 6-Core Processor info: CPU Speed: 3592.596MHz info: Physical Cores: 6, Logical Cores: 12 info: Physical Memory: 32014MB Total, 29031MB Free info: Kernel Version: Linux 5.19.0-45-generic info: Distribution: "Ubuntu" "22.04" info: Desktop Environment: XFCE (xubuntu) info: Session Type: x11 info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.2.4 (runtime), 6.2.4 (compiled) info: Portable mode: false 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: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 3050/PCIe/SSE2 info: OpenGL loaded successfully, version 3.3.0 NVIDIA 530.41.03, shading language 3.30 NVIDIA via Cg compiler info: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 1280x720 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: No AJA devices found, skipping loading AJA UI plugin warning: Failed to initialize module 'aja-output-ui.so' warning: No AJA devices found, skipping loading AJA plugin warning: Failed to initialize module 'aja.so' 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] No captures available 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) info: NVENC supported error: VAAPI: Failed to initialize display in vaapi_device_h264_supported info: FFmpeg VAAPI H264 encoding not supported error: VAAPI: Failed to initialize display in vaapi_device_hevc_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): 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. 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: --------------------------------- 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 =============================================== info: All scene data cleared info: ------------------------------------------------ info: pulse-input: Server name: 'pulseaudio 15.99.1' info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels info: pulse-input: Started recording from 'alsa_output.usb-Logitech_G733_Gaming_Headset-00.analog-stereo.monitor' (default) info: pulse-am: Prevented feedback-loop in 'default' info: [Loaded global audio device]: 'Desktop Audio' info: - monitoring: monitor and output 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-Logitech_G733_Gaming_Headset-00.mono-fallback' info: pulse-am: Server name: 'pulseaudio 15.99.1' info: pulse-am: Audio format: s16le, 44100 Hz, 2 channels info: pulse-am: Started Monitoring in 'alsa_output.usb-Logitech_G733_Gaming_Headset-00.analog-stereo' info: [Loaded global audio device]: 'Mic/Aux' info: - monitoring: monitor and output info: [window-capture: 'Window Capture (Xcomposite)'] update settings: title: Desktop class: xfdesktop info: Switched to scene 'Tela 1' info: ------------------------------------------------ info: Loaded scenes: info: - scene 'Tela 1': info: - source: 'Mic/Aux' (pulse_input_capture) info: - monitoring: monitor and output info: - source: 'Window Capture (Xcomposite)' (xcomposite_input) info: ------------------------------------------------ Segmentation fault (core dumped)
 

rcooke

New Member
Until somebody who recognizes exactly what is wrong and posts I can only offer some tips or ideas:
1. You have several error messages, those should be checked to see if your missing a plugin or library. Some errors are ok - like options you dont need anyway. One of the errors is looking for a DECKLINK hardware driver, if you dont have a decklink caputre card, that can be ignored - for example.
2. I would check the warnings too.
3. If this is a virgin install, why is it finding and trying to switch to a scene "Tela 1"? I would reboot, and rename the OBS settings/config folder then try OBS again. (~/.config/obs-studio)

If that was you creating that Scene, whatever source your were trying to add is what crashed OBS.
 

DigitalRazor

New Member
I do understand that this is an old post but from what I am reading I am going to make a "small" list of things to get and/or look into.

1. It seems that desktopvideo from Blackmagic is not even installed based on these two "warnings"
"warning: A DeckLink iterator could not be created. "
"The DeckLink drivers may not be installed warning: Failed to initialize module 'decklink.so' "


To be fair, I do not know if you are using any other applications that may be using any of your blackmagic devices. for example if you are using Media Express it will block any other application from using the device. I run into that when I use CasparCG and OBS at the same time. Some blackmagic devices can do so but only because of the way it is designed.. the 8 input SDI card is a good example of that.

2. AJA requires you to register to get linux drivers for their cards..

Again .. this is first blush and I just saw this thread while looking for something else.. I hope you have it resolved if not... I will monitor the thread.
 
Top