OBS cannot run

jack9603301

New Member
After I execute the following command to compile OBS:

Bash:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib -DQt6GuiTools_DIR=/opt/qt6/lib/cmake/Qt6GuiTools -DENABLE_BROWSER=OFF -Wno-dev
make
sudo make install

run:

Bash:
obs --verbose

log:

Code:
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/locale/zh-CN.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/zh-CN.ini
info: Using preferred locale 'zh-CN'
debug: Attempted path: share/obs/obs-studio/themes/Acri.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Acri.qss
info: Command Line Arguments: --verbosn
info: Platform: Wayland
info: CPU Name: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
info: CPU Speed: 3800.281MHz
info: Physical Cores: 4, Logical Cores: 4
info: Physical Memory: 15760MB Total, 4644MB Free
info: Kernel Version: Linux 6.5.5-x86_64-lfs-12.0
info: Distribution: "Linux From Scratch" Unknown
info: Desktop Environment: Hyprland
info: Session Type: wayland
info: Qt Version: 6.6.0 (runtime), 6.6.0 (compiled)
info: Portable mode: false
info: OBS 30.0.0-rc2 (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
warning: queue 0x55f80b78b310 destroyed while proxies still attached:
  wl_registry@37 still attached
info: Initialized EGL 1.5
info: Loading up OpenGL on adapter Intel Mesa Intel(R) HD Graphics 530 (SKL GT2)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.2.1, shading language 4.60
info: ---------------------------------
info: video settings reset:
    base resolution:   1920x1080
    output resolution: 640x360
    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: 默认
    id: default
info: ---------------------------------
info: ---------------------------------
info:   Loaded Modules:
info: ---------------------------------
info: ==== Startup complete ===============================================
error: Service 'rtmp_common' not found
error: Failed to initialize service
warning: queue 0x55f80c098ef0 destroyed while proxies still attached:
  wl_registry@50 still attached
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 1231.1 ms
info:  ┣OBSApp::AppInit: 6.839 ms
info:  ┃ ┗OBSApp::InitLocale: 1.395 ms
info:  ┗OBSApp::OBSInit: 193.558 ms
info:    ┣obs_startup: 4.435 ms
info:    ┗OBSBasic::OBSInit: 118.553 ms
info:      ┣OBSBasic::InitBasicConfig: 0.105 ms
info:      ┣OBSBasic::ResetAudio: 0.357 ms
info:      ┣OBSBasic::ResetVideo: 117.681 ms
info:      ┃ ┗obs_init_graphics: 113.999 ms
info:      ┃   ┗shader compilation: 35.472 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.009 ms
info:      ┣OBSBasic::InitHotkeys: 0.04 ms
info:      ┣obs_load_all_modules2: 0.025 ms
info:      ┗OBSBasic::InitService: 0.033 ms
info: obs_hotkey_thread(25 ms): min=0 ms, median=0.001 ms, max=0.012 ms, 99th percentile=0.012 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.01 ms, median=0.039 ms, max=0.195 ms, 99th percentile=0.195 ms
info: obs_graphics_thread(16.6667 ms): min=0.063 ms, median=0.267 ms, max=4.163 ms, 99th percentile=4.163 ms, 100% below 16.667 ms
info:  ┣tick_sources: min=0 ms, median=0.002 ms, max=0.004 ms, 99th percentile=0.004 ms
info:  ┣output_frame: min=0.03 ms, median=0.13 ms, max=4.073 ms, 99th percentile=4.073 ms
info:  ┃ ┗gs_context(video->graphics): min=0.03 ms, median=0.129 ms, max=4.072 ms, 99th percentile=4.072 ms
info:  ┃   ┣render_video: min=0.019 ms, median=0.079 ms, max=2.359 ms, 99th percentile=2.359 ms
info:  ┃   ┃ ┗render_main_texture: min=0.015 ms, median=0.062 ms, max=2.347 ms, 99th percentile=2.347 ms
info:  ┃   ┗gs_flush: min=0.004 ms, median=0.02 ms, max=1.636 ms, 99th percentile=1.636 ms
info:  ┗render_displays: min=0.005 ms, median=0.023 ms, max=0.049 ms, 99th percentile=0.049 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.06 ms, median=25.133 ms, max=25.235 ms, 100% within ±2% of 25 ms (0% lower, 0% higher)
info: obs_graphics_thread(16.6667 ms): min=16.503 ms, median=16.663 ms, max=16.835 ms, 100% within ±2% of 16.667 ms (0% lower, 0% higher)
info: =================================================
info: Number of memory leaks: 735

Did I do anything wrong? The distribution version is a customized system based on Linux From Scratch 12.0
 

jack9603301

New Member
Hello, use this command
Bash:
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/obs-studio -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib -DQt6GuiTools_DIR=/opt/qt6/lib/cmake/Qt6GuiTools -DENABLE_BROWSER=ON -Wno-dev -DENABLE_PIPEWIRE=ON -DCEF_ROOT_DIR=../../cef_binary_119.4.3+gc76a3b9+chromium-119.0.6045.159_linux64 -DLINUX_PORTABLE=ON

seems to work fine
 
Top