Code Monkey home page Code Monkey logo

Comments (2)

jvalecillos avatar jvalecillos commented on September 17, 2024

I noticed a similar behaviour of failing silently and not recording anything on SteamOS 3.4.11 (I don't know if it is relevant). In my case, I've found a combination of missing libraries with "undefined symbols".

For example this is what I see in the log, decky-recorder-std-err.log (for the future reader, since not documented by decky-loader, it's located at /home/deck/homebrew/logs/decky-recorder):

(gst-plugin-scanner:13355): GStreamer-WARNING **: 22:08:45.503: Failed to load plugin '/home/deck/homebrew/plugins/decky-recorder/bin/gstreamer-1.0/libgstfaac.so': libfaac.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13355): GStreamer-WARNING **: 22:08:45.526: Failed to load plugin '/home/deck/homebrew/plugins/decky-recorder/bin/gstreamer-1.0/libgstudp.so': /home/deck/homebrew/plugins/decky-recorder/bin/gstreamer-1.0/libgstudp.so: undefined symbol: g_string_free_and_steal
(gst-plugin-scanner:13355): GStreamer-WARNING **: 22:08:45.531: Failed to load plugin '/home/deck/homebrew/plugins/decky-recorder/bin/gstreamer-1.0/libgstdtls.so': libcrypto.so.3: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13355): GStreamer-WARNING **: 22:08:45.534: Failed to load plugin '/home/deck/homebrew/plugins/decky-recorder/bin/gstreamer-1.0/libgstvideofilter.so': /home/deck/homebrew/plugins/decky-recorder/bin/gstreamer-1.0/libgstvideofilter.so: undefined symbol: gst_navigation_event_set_coordinates

.... a bunch more warnings

WARNING: erroneous pipeline: no element "pipewiresrc"

Here's the full output: https://pastebin.com/i505T6yC

I think that the warnings are probably harmless and the main issue is with pipewiresrc (plugin?).

I tried the stable version, the testing version and also building the plugin myself.

This also is probably the same bug as in #20.

from decky-recorder-fork.

jvalecillos avatar jvalecillos commented on September 17, 2024

You were right @lonkelle. I checked the comment from @siglmf and, thanks to that, I could verify that the cause of the issue is the recorder using gst-launch-1.0 (included in gstreamer package) from SteamOS and the gst-plugins (plugins for gstreamer) from Archlinux Repository. The latter are always newer, because SteamOS doesn’t update that frequently.

The solution is to target specific versions of gstreamer plugin instead of downloading the latest available in Arch. I tested it for SteamOS 3.4.10 in here and it works as expected.

The recorder probably works on SteamOS 3.5 because Arch still ships the same major version, 1.22.x, but that could change at any moment. Here's what I found about the versions:

System / Repo GStreamer Version
SteamOS 3.4.10 1.20.4-1
SteamOS 3.5.7 1.22.3-6
Archlinux (2024-01-16) 1.22.8-2

One would need to tie together the plugin version with the backend libraries included on it. It would help also if Decky-Loader would have a mechanism to only install plugin versions compatible with the OS, or at least let you install an older version from UI (I think it is possible manually providing the URL).

I'll continue experimenting to see if I can find a solution that would work with both major versions of SteamOS.

from decky-recorder-fork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.