View previous topic :: View next topic |
Author |
Message |
donjuanplatinum n00b
Joined: 06 Oct 2024 Posts: 19 Location: China
|
Posted: Sun Jan 12, 2025 2:44 am Post subject: obs-studio cant start |
|
|
when i update the system, then obs cant start in common user, but can start in root user.
this is the log .
Code: |
➜ ~ obs
debug: Found portal inhibitor
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/locale/zh-CN.ini
info: Using preferred locale 'zh-CN'
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/
warning: ReadOne on org.freedesktop.portal.Settings returned an invalid reply
info: Platform: Wayland
info: CPU Name: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
info: CPU Speed: 4367.540MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 23993MB Total, 15515MB Free
info: Kernel Version: Linux 6.6.47-gentoo-x86_64
info: Distribution: Gentoo "2.17"
info: Desktop Environment: KDE
info: Session Type: wayland
info: Qt Version: 6.8.1 (runtime), 6.8.1 (compiled)
info: Portable mode: false
info: OBS 31.0.0 (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 AMD AMD Radeon RX 580 2048SP (radeonsi, polaris10, LLVM 18.1.8, DRM 3.54, 6.6.47-gentoo-x86_64)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 24.2.8, 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: 默认
id: default
info: ---------------------------------
info: [pipewire] Available capture sources:
info: [pipewire] - Monitor source
info: [pipewire] - Window source
info: FFmpeg VAAPI H264 encoding not supported
info: FFmpeg VAAPI AV1 encoding not supported
info: FFmpeg VAAPI HEVC encoding not supported
info: ---------------------------------
info: Loaded Modules:
info: text-freetype2.so
info: rtmp-services.so
info: obs-x264.so
info: obs-vst.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-filters.so
info: obs-ffmpeg.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: ---------------------------------
info: ---------------------------------
info: Available Encoders:
info: Video Encoders:
info: - obs_x264 (x264)
info: Audio Encoders:
info: - ffmpeg_aac (FFmpeg AAC)
info: - ffmpeg_opus (FFmpeg Opus)
info: - ffmpeg_pcm_s16le (FFmpeg PCM (16位))
info: - ffmpeg_pcm_s24le (FFmpeg PCM (24位))
info: - ffmpeg_pcm_f32le (FFmpeg PCM (32位浮点))
info: - ffmpeg_alac (FFmpeg ALAC (24位))
info: - ffmpeg_flac (FFmpeg FLAC (16位))
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.6) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor' (default)
info: [Loaded global audio device]: '桌面音频'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.6) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor' (default)
info: [Loaded global audio device]: '麦克风/Aux'
info: PipeWire initialized
info: Switched to scene '场景'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene '场景':
info: - source: '屏幕采集(PipeWire)' (pipewire-desktop-capture-source)
info: ------------------------------------------------
info: [pipewire] Screencast session created
info: [pipewire] Asking for monitor
info: [pipewire] source selected, setting up screencast
info: [pipewire] Server version: 1.2.6
info: [pipewire] Library version: 1.2.6
info: [pipewire] Header version: 1.2.6
[1] 13871 trace trap obs
|
_________________ 跪敷衽以陈辞兮,耿吾既得此中正
驷玉虬以椉鹥兮,溘埃风余上征 |
|
Back to top |
|
|
loravis n00b
Joined: 29 Dec 2024 Posts: 4
|
Posted: Tue Jan 14, 2025 9:37 am Post subject: |
|
|
So it simply doesn't open at all? Are there any more log messages being printed after "info: [pipewire] Header version: 1.2.6"? Surely there would have to be an error message somewhere. |
|
Back to top |
|
|
FranciscoJaimes n00b
Joined: 15 Jan 2025 Posts: 24 Location: Mexico
|
Posted: Wed Jan 15, 2025 9:33 pm Post subject: |
|
|
It seems like OBS works as root but fails for the common user due to a permissions issue, possibly with Wayland or PipeWire. To resolve this, try the following:
Ensure your user is part of the necessary groups (like video, audio, and render).
Check permissions on the OBS config files and make sure your user has access.
Try running OBS with sudo (to test if it's a user-specific issue), or reconfigure your PipeWire/Wayland setup for your user.
If the issue persists, you might need to check for missing dependencies or conflicts introduced during the system update. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|