![OBS Studio 显示错误并且无法启动](https://linux22.com/image/1019567/OBS%20Studio%20%E6%98%BE%E7%A4%BA%E9%94%99%E8%AF%AF%E5%B9%B6%E4%B8%94%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8.png)
我从 snap store 下载的 OBS-Studio(v25.8.0) 无法启动。这是怎么回事?我使用的是 ubuntu 20.04.1
我的终端输出。
duggal@duggal-X556UQK:~$ obs-studio
Qt: Session management error: None of the authentication protocols specified are supported
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/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
info: CPU Speed: 3100.021MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 11862MB Total, 8597MB Free
info: Kernel Version: Linux 5.4.0-42-generic
info: Distribution: "Ubuntu Core" "18"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.8
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 25.0.8-modified (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 44100
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation GeForce 940MX/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 440.100, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
fps: 30/1
format: NV12
YUV mode: 601/Partial
info: NV12 texture support not available
info: Audio monitoring device:
name: Default
id: default
info: ---------------------------------
info: [StreamFX] Loading Version 0.8.3.0-ee225959
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
info: [StreamFX] Loaded Version 0.8.3.0-ee225959
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libUIOHook: Cross-platfrom userland keyboard and mouse hooking.
Copyright (C) 2006-2015 Alexander Barker. All Rights Received.
https://github.com/kwhat/libuiohook/
libUIOHook is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
libUIOHook is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
info: [pango]: Loaded system fontconfig
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
info: No blackmagic support
info: [obs-browser]: Version 2.8.6
info: NVENC supported
info: FFMPEG VAAPI supported
info: [obs-ndi] hello ! (version 4.9.1)
info: [obs-ndi] Trying ''
info: [obs-ndi] Trying '/usr/lib'
info: [obs-ndi] Trying '/usr/local/lib'
info: [obs-ndi] Found NDI library at '/usr/local/lib/libndi.so.4'
info: [obs-ndi] NDI runtime loaded successfully
info: [obs-ndi] NDI library initialized successfully (NDI SDK LINUX 18:32:11 Jun 30 2020 4.5.3)
warning: Failed to load 'en-US' text for module: 'obs-vnc.so'
info: [obs-vnc] plugin loaded successfully (version 0.1.0)
info: [obs-websocket] you can haz websockets (version 4.8.0)
info: [obs-websocket] qt version (compile-time): 5.9.5 ; qt version (run-time): 5.9.5
info: [obs-websocket] module loaded!
warning: Failed to load 'en-US' text for module: 'replay-source.so'
info: VLC found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: v4l2sink.so
info: text-freetype2.so
info: spectralizer.so
info: source-switcher.so
info: scrab.so
info: rtmp-services.so
info: replay-source.so
info: obs-x264.so
info: obs-websocket.so
info: obs-vnc.so
info: obs-vintage-filter.so
info: obs-transitions.so
info: obs-transition-matrix.so
info: obs-rgb-levels-filter.so
info: obs-outputs.so
info: obs-ndi.so
info: obs-libfdk.so
info: obs-filters.so
info: obs-ffmpeg.so
info: obs-browser.so
info: move-transition.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-jack.so
info: linux-decklink.so
info: linux-capture.so
info: linux-alsa.so
info: libtext-pango.so
info: input-overlay.so
info: image-source.so
info: frontend-tools.so
info: freeze-filter.so
info: dynamic-delay.so
info: dir-watch-media.so
info: decklink-ouput-ui.so
info: advanced-scene-switcher.so
info: StreamFX.so
info: ---------------------------------
error: os_dlopen(../obs-plugins/obs-browser->../obs-plugins/obs-browser.so): ../obs-plugins/obs-browser.so: cannot open shared object file: No such file or directory
info: ==== Startup complete ===============================================
error: Service '' not found
info: No scene file found, creating default scene
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 13.99.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
info: pulse-input: Server name: 'pulseaudio 13.99.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1f.3.analog-stereo'
info: Switched to scene 'Scene'
warning: Failed to glob scene collections
Segmentation fault (core dumped)
`
答案1
我遇到了同样的问题。不得不卸载 snap 并从命令行安装 OBS Studio。用过这个教程
仍在测试此设置,但它现在已启动