Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Screen Recording randomly stops working #687

Closed
DmacMcgreg opened this issue Nov 15, 2024 · 9 comments
Closed

[bug] Screen Recording randomly stops working #687

DmacMcgreg opened this issue Nov 15, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@DmacMcgreg
Copy link
Contributor

describe the bug
Screenpipe Screen Recording status is stale, hasn't updated in over a day.

to reproduce

  1. Open the app
  2. Red status light
  3. 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

@DmacMcgreg DmacMcgreg added the bug Something isn't working label Nov 15, 2024
Copy link

linear bot commented Nov 15, 2024

@louis030195
Copy link
Collaborator

can you share logs?

@DmacMcgreg
Copy link
Contributor Author

@louis030195 Nothing noteworthy in the logs.

CleanShot 2024-11-18 at 08 19 57@2x
CleanShot 2024-11-18 at 08 20 06@2x

When I open the recorder logs, again, nothing noteworthy.
I've restarted the app, installed updates, restarted my computer.

@DmacMcgreg
Copy link
Contributor Author

DmacMcgreg commented Nov 18, 2024

@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.

@louis030195
Copy link
Collaborator

i mean backend logs
Screenshot 2024-11-18 at 9 34 19 AM

@DmacMcgreg
Copy link
Contributor Author

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

@DmacMcgreg
Copy link
Contributor Author

DmacMcgreg commented Nov 18, 2024

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

@DmacMcgreg
Copy link
Contributor Author

@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.

@DmacMcgreg
Copy link
Contributor Author

DmacMcgreg commented Nov 22, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants