nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
519 stars 25 forks source link

[flatpak] libobs.so.0: cannot open shared object file: No such file or directory #219

Closed LunasShade closed 1 month ago

LunasShade commented 1 month ago

Describe the bug Plugin don`t work (flatpak version). I have both com.obsproject.Studio.Plugin.OBSVkCapture and org.freedesktop.Platform.VulkanLayer.OBSVkCapture.

System (please complete the following information):

OBS log:

debug: Found portal inhibitor
debug: Attempted path: /app/bin/../share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /app/bin/../share/obs/obs-studio/themes
debug: Attempted path: /app/bin/../share/obs/obs-studio/themes/
info: Platform: Wayland
info: CPU Name: 13th Gen Intel(R) Core(TM) i9-13900KS
info: CPU Speed: 5603.940MHz
info: Physical Cores: 24, Logical Cores: 32
info: Physical Memory: 128517MB Total, 107977MB Free
info: Kernel Version: Linux 6.10.0-1-cachyos-eevdf
info: Flatpak Branch: stable
info: Flatpak Arch: x86_64
info: Flatpak Runtime: runtime/org.kde.Platform/x86_64/6.6
info: App Extensions:
info:  - com.obsproject.Studio.Plugin.Gstreamer
info:  - com.obsproject.Studio.Plugin.MoveTransition
info:  - com.obsproject.Studio.Plugin.OBSVkCapture
info:  - com.obsproject.Studio.Plugin.TransitionTable
info:  - com.obsproject.Studio.Locale
info: Runtime Extensions:
info:  - org.freedesktop.Platform.GL.default
info:  - org.freedesktop.Platform.GL.nvidia-555-58-02
info:  - org.freedesktop.Platform.openh264
info:  - org.freedesktop.Platform.VulkanLayer.OBSVkCapture
info:  - org.gtk.Gtk3theme.Catppuccin-Mocha
info:  - org.kde.PlatformTheme.QGnomePlatform
info:  - org.kde.WaylandDecoration.QAdwaitaDecorations
info:  - org.kde.Platform.Locale
info:  - org.freedesktop.Platform.GL.default
info: Flatpak Framework Version: 1.15.8
info: Desktop Environment: GNOME (GNOME)
info: Session Type: wayland
info: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
info: Portable mode: false
info: OBS 30.2.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 NVIDIA Corporation NVIDIA GeForce RTX 4090/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 555.58.02, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
    base resolution:   1920x1080
    output resolution: 1920x1080
    downscale filter:  Lanczos
    fps:               60/1
    format:            NV12
    YUV mode:          Rec. 709/Partial
info: NV12 texture support enabled
info: P010 texture support not available
info: Audio monitoring device:
    name: Standard
    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'
info: [pipewire] Available capture sources:
info: [pipewire]     - Monitor source
info: [pipewire]     - Window source
info: [obs-browser]: Version 2.23.5
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+g17f8588+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_av1_supported
info: FFmpeg VAAPI AV1 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.5.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 103002
info: [obs-websocket] [obs_module_load] Module loaded.
error: os_dlopen(/app/plugins/lib/obs-plugins/linux-vkcapture.so->/app/plugins/lib/obs-plugins/linux-vkcapture.so): libobs.so.0: cannot open shared object file: No such file or directory

error: os_dlopen(/app/plugins/lib/obs-plugins/linux-vkcapture.so->/app/plugins/lib/obs-plugins/linux-vkcapture.so): libobs.so.0: cannot open shared object file: No such file or directory

warning: Module '/app/plugins/lib/obs-plugins/linux-vkcapture.so' not loaded
error: os_dlopen(/app/plugins/lib/obs-plugins/move-transition.so->/app/plugins/lib/obs-plugins/move-transition.so): libobs-frontend-api.so.0: cannot open shared object file: No such file or directory

error: os_dlopen(/app/plugins/lib/obs-plugins/move-transition.so->/app/plugins/lib/obs-plugins/move-transition.so): libobs-frontend-api.so.0: cannot open shared object file: No such file or directory

warning: Module '/app/plugins/lib/obs-plugins/move-transition.so' not loaded
error: os_dlopen(/app/plugins/lib/obs-plugins/obs-gstreamer.so->/app/plugins/lib/obs-plugins/obs-gstreamer.so): libobs.so.0: cannot open shared object file: No such file or directory

error: os_dlopen(/app/plugins/lib/obs-plugins/obs-gstreamer.so->/app/plugins/lib/obs-plugins/obs-gstreamer.so): libobs.so.0: cannot open shared object file: No such file or directory

warning: Module '/app/plugins/lib/obs-plugins/obs-gstreamer.so' not loaded
error: os_dlopen(/app/plugins/lib/obs-plugins/transition-table.so->/app/plugins/lib/obs-plugins/transition-table.so): libobs-frontend-api.so.0: cannot open shared object file: No such file or directory

error: os_dlopen(/app/plugins/lib/obs-plugins/transition-table.so->/app/plugins/lib/obs-plugins/transition-table.so): libobs-frontend-api.so.0: cannot open shared object file: No such file or directory

warning: Module '/app/plugins/lib/obs-plugins/transition-table.so' not loaded
info: ---------------------------------
info:   Loaded Modules:
info:     linux-pipewire-audio.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-websocket.so
info:     obs-webrtc.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-qsv11.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:     image-source.so
info:     frontend-tools.so
info: ---------------------------------
info: ---------------------------------
info: Available Encoders:
info:   Video Encoders:
info:   - ffmpeg_svt_av1 (SVT-AV1)
info:   - ffmpeg_aom_av1 (AOM AV1)
info:   - jim_nvenc (NVIDIA NVENC H.264)
info:   - jim_hevc_nvenc (NVIDIA NVENC HEVC)
info:   - jim_av1_nvenc (NVIDIA NVENC AV1)
info:   - obs_x264 (x264)
info:   Audio Encoders:
info:   - ffmpeg_aac (FFmpeg AAC)
info:   - ffmpeg_opus (FFmpeg Opus)
info:   - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
info:   - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
info:   - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
info:   - ffmpeg_alac (FFmpeg ALAC (24-bit))
info:   - ffmpeg_flac (FFmpeg FLAC (16-bit))
info:   - libfdk_aac (libfdk AAC)
info: ==== Startup complete ===============================================
nowrep commented 1 month ago

Flatpak needs to be rebuilt against new OBS release. @SuNNjek

SuNNjek commented 1 month ago

@nowrep The flatpak build is currently failing, probably because the libobs changes aren't in the release yet. Could you create a new release that includes those fixes?

nowrep commented 1 month ago

1.5.1 released now.