Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(linux): revert ort to download-binaries, fixes #2506

Louis Beaumontb32af82af832
diff --git a/crates/screenpipe-audio/Cargo.toml b/crates/screenpipe-audio/Cargo.toml
index 15c5626f4..f11a2641f 100644
--- a/crates/screenpipe-audio/Cargo.toml
+++ b/crates/screenpipe-audio/Cargo.toml
@@ -90,10 +90,9 @@ rand = "0.9.0"
[target.'cfg(target_os = "linux")'.dependencies]
libpulse-binding = { version = "2.28", optional = true }
libpulse-simple-binding = { version = "2.28", optional = true }
-# Use load-dynamic on Linux so we don't bundle ONNX Runtime (or its CUDA providers) into the AppImage.
-# The user's system onnxruntime lib is loaded at runtime instead.
-ort = { version = "=2.0.0-rc.6", default-features = false, features = ["ndarray", "half", "load-dynamic"] }
-ort-sys = { version = "=2.0.0-rc.6", default-features = false, features = ["load-dynamic"] }
+# Bundle ONNX Runtime on Linux (same as macOS). load-dynamic was tried but
+# broke systems without a system-installed libonnxruntime.so (see #2506).
+ort = { version = "=2.0.0-rc.6", features = ["download-binaries"] }
# Windows COM API for querying the "Default Communications Device" role.
# MS Teams/Zoom route audio to the eCommunications endpoint, which may