[bug] Screen Recording randomly stops working
describe the bug Screenpipe Screen Recording status is stale, hasn't updated in over a day.
to reproduce
- Open the app
- Red status light
- Stale screen recording status
expected behavior It shouldnt be stale
system info
- os: macos 14.6
- screenpipe version: latest
additional context Audio and UI monitoring is green I've tried the troubleshoot options
can you share logs?
@louis030195 Nothing noteworthy in the logs.
When I open the recorder logs, again, nothing noteworthy. I've restarted the app, installed updates, restarted my computer.
@louis030195 Screenpipe is basically completely unusable for me at this point since recording is still not working since the 14th. I've tried quitting all my apps and background apps, restarting the server, but still no luck. Happy to help debug.
i mean backend logs
2024-11-18T13:18:32.769646Z INFO screenpipe_server::resource_monitor: Runtime: 10s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 0%, NPU: N/A
2024-11-18T13:18:37.606470Z INFO screenpipe_audio::core: device: "MacBook Pro Microphone (input)"
2024-11-18T13:18:37.698534Z INFO screenpipe_audio::core: starting continuous recording for MacBook Pro Microphone (input) (30s segments)
2024-11-18T13:18:42.855219Z INFO screenpipe_server::resource_monitor: Runtime: 20s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 2%, NPU: N/A
2024-11-18T13:18:52.946539Z INFO screenpipe_server::resource_monitor: Runtime: 30s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 3%, NPU: N/A
2024-11-18T13:19:03.036477Z INFO screenpipe_server::resource_monitor: Runtime: 40s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 3%, NPU: N/A
2024-11-18T13:19:07.713514Z INFO screenpipe_audio::stt: device: MacBook Pro Microphone (input), resampling from 48000 Hz to 16000 Hz
2024-11-18T13:19:07.780833Z INFO screenpipe_audio::stt: device: MacBook Pro Microphone (input), total audio frames processed: 300, frames that include speech: 0, speech duration: 0ms, speech ratio: 0.00, min required ratio: 0.20
2024-11-18T13:19:07.834361Z INFO screenpipe_server::core: device MacBook Pro Microphone (input) received transcription Some("")
2024-11-18T13:19:07.834409Z INFO screenpipe_server::core: device MacBook Pro Microphone (input) inserting audio chunk: ""
2024-11-18T13:19:13.126756Z INFO screenpipe_server::resource_monitor: Runtime: 50s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 4%, NPU: N/A
2024-11-18T16:34:23.110085Z INFO screenpipe_server::resource_monitor: Runtime: 10s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 0%, NPU: N/A
2024-11-18T16:34:27.955876Z INFO screenpipe_audio::core: device: "MacBook Pro Microphone (input)"
2024-11-18T16:34:28.044708Z INFO screenpipe_audio::core: starting continuous recording for MacBook Pro Microphone (input) (30s segments)
2024-11-18T16:34:33.201779Z INFO screenpipe_server::resource_monitor: Runtime: 20s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 2%, NPU: N/A
2024-11-18T16:34:43.291469Z INFO screenpipe_server::resource_monitor: Runtime: 30s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 3%, NPU: N/A
2024-11-18T16:34:53.380466Z INFO screenpipe_server::resource_monitor: Runtime: 40s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 3%, NPU: N/A
2024-11-18T16:34:58.051242Z INFO screenpipe_audio::stt: device: MacBook Pro Microphone (input), resampling from 48000 Hz to 16000 Hz
2024-11-18T16:34:58.108263Z INFO screenpipe_audio::stt: device: MacBook Pro Microphone (input), total audio frames processed: 300, frames that include speech: 0, speech duration: 0ms, speech ratio: 0.00, min required ratio: 0.20
2024-11-18T16:34:58.196852Z INFO screenpipe_server::core: device MacBook Pro Microphone (input) received transcription Some("")
2024-11-18T16:34:58.196894Z INFO screenpipe_server::core: device MacBook Pro Microphone (input) inserting audio chunk: ""
2024-11-18T17:59:42.015046Z INFO screenpipe_server::resource_monitor: Runtime: 4856s, Total Memory: 1% (1 GB / 131 GB), Total CPU: 4%, NPU: N/A
Restarted server and got these logs:
2024-11-18T18:00:49.177097Z INFO screenpipe_server::resource_monitor: Runtime: 10s, Total Memory: 0% (0 GB / 131 GB), Total CPU: 0%, NPU: N/A 2024-11-18T18:00:55.027343Z INFO screenpipe: screenpipe already in PATH at: /opt/homebrew/bin/screenpipe 2024-11-18T18:00:55.027372Z INFO screenpipe: screenpipe is available and properly set in the PATH
_
__________________ ___ ____ ____ (_____ ___
/ / / / _ / _ / __ \ / __ / / __ / _
( / // / / __/ __/ / / / / // / / // / __/
//___// _/_// // / .// ./__/
// //
build ai apps that have the full context open source | runs locally | developer friendly
┌─────────────────────┬────────────────────────────────────┐ │ setting │ value │ ├─────────────────────┼────────────────────────────────────┤ │ fps │ 0.2 │ │ audio chunk duration│ 30 seconds │ │ video chunk duration│ 60 seconds │ │ port │ 3030 │ │ audio disabled │ false │ │ vision disabled │ false │ │ save text files │ false │ │ audio engine │ WhisperDistilLargeV3 │ │ ocr engine │ AppleNative │ │ vad engine │ Silero │ │ vad sensitivity │ High │ │ data directory │ /Users/d/.screenpipe │ │ debug mode │ false │ │ telemetry │ true │ │ local llm │ false │ │ use pii removal │ false │ │ ignored windows │ ["bit", ".env", "Item-0", "App ... │ │ included windows │ [] │ │ friend wearable uid │ not set │ │ ui monitoring │ true │ │ frame cache │ true │ ├─────────────────────┼────────────────────────────────────┤ │ languages │ │ │ │ all languages │ ├─────────────────────┼────────────────────────────────────┤ │ monitors │ │ │ │ id: 1 │ ├─────────────────────┼────────────────────────────────────┤ │ audio devices │ │ │ │ MacBook Pro Microphone (input) │ ├─────────────────────┼────────────────────────────────────┤ │ pipes │ │ │ │ no pipes available │ └─────────────────────┴────────────────────────────────────┘ you are using local processing. all your data stays on your computer.
warning: telemetry is enabled. only error-level data will be sent to highlight.io.
to disable, use the --disable-telemetry flag.
2024-11-18T18:00:55.327072Z INFO screenpipe: watching pid 12010 for auto-destruction
2024-11-18T18:00:55.327223Z ERROR screenpipe_vision::core: Failed to get monitor with id: 1. Exiting continuous_capture.
2024-11-18T18:00:55.327379Z INFO screenpipe_server::server: Server starting on 127.0.0.1:3030
2024-11-18T18:00:55.327484Z INFO screenpipe_vision::run_ui_monitoring_macos: starting ui monitoring...
2024-11-18T18:00:55.334903Z INFO screenpipe_audio::whisper: device = Metal(MetalDevice(DeviceId(1)))
2024-11-18T18:00:55.637380Z INFO screenpipe_audio::vad_engine: Initializing SileroVad...
2024-11-18T18:00:55.637451Z INFO screenpipe_audio::vad_engine: SileroVad Model downloaded to: "/Users/d/Library/Caches/screenpipe/vad/silero_vad.onnx"
2024-11-18T18:00:55.637830Z WARN screenpipe_vision::run_ui_monitoring_macos: ui monitoring error: /var/folders/b6/wfw4c_8j50q6h2_9z7j4xlqw0000gn/T/ui_monitoring_macos.swift:548:13: warning: will never be executed
2024-11-18T18:00:55.637840Z WARN screenpipe_vision::run_ui_monitoring_macos: ui monitoring error: if hasRelevantValue {
2024-11-18T18:00:55.637865Z WARN screenpipe_vision::run_ui_monitoring_macos: ui monitoring error: ^
2024-11-18T18:00:58.108667Z INFO screenpipe_server::server: streaming frames from 2024-11-18 05:01:00 UTC to 2024-11-18 17:58:39.059 UTC
2024-11-18T18:01:05.462662Z INFO
@louis030195 looks like it was the ui monitoring that was breaking things. I thought I turned it off, but I guess I needed to click the save and restart button.
@louis030195 It still happens randomly. Today it turned off a few times. I had to toggle on and off all the switches and restart my computer and the server a bunch of times before it started working again. UI monitoring was off the whole time.
Even right now actually I just checked and it stopped working again. After a restart of the server it starts working.
@louis030195 still having this issue. Unfortunately have not been able to use screenpipe since December 3rd. I've removed all the privacy settings, added them back, stopped and started dev server countless times, turned on and off all the AI settings, deleted and recreated the .screenpipe folder... nothing.
I upgraded from mac 14 to 15.1, and still nothing. This has been happening from even before you moved timeline and other pipes to the pipe store.
DM me on discord and I'll send you my full log.
Figured it out. I updated my old ffmpeg and screenpipe packages from homebrew that I guess I installed waaay back. Might want to check in case these are updated, since this seems like a potentially common problem once you have enough devs onboarded.
@louis030195 Again, the recording is stale since this afternoon. It says audio recording is fine, but it does not record anything for over 2 days... Happy to help you debug this. It is frustrating for someone who wants to help contribute to the ecosystem when it is so unstable.