mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-28 19:32:48 +01:00
feat(doctor): check what a recording leans on
`doctor` says what the machine can do for a recording: which komorebi runs and how it logs, whether the screen can be captured and played back, the displays and their scale, and the host clock. Probes measure one thing: the clock across a sleep, a short capture, a decode, whether komorebi would tile a window of ours.
This commit is contained in:
1 parent
3e30d81bc5
commit
e3a1f01fd7
6 files changed
+1647
-3
No files matched your search
@@ -44,7 +44,8 @@ directory; a session recorded on one OS can be investigated on the other. What d
|
||||
|
||||
Start komorebi with `komorebi.exe --log-level debug` before recording a bug. (`RUST_LOG=debug` also
|
||||
prints every dependency's log; `RUST_LOG=komorebi=debug` does not.)
|
||||
`komorebi-recorder record --no-video` records without the screen.
|
||||
`komorebi-recorder doctor` says what the machine can do, and `komorebi-recorder record --no-video` records without the
|
||||
screen.
|
||||
The recorder window keeps itself out of the video (Windows 10 version 2004 or later).
|
||||
|
||||
## Before you record
|
||||
@@ -100,6 +101,19 @@ display (or no Screen Recording permission), or when what is on the screen must
|
||||
nothing about displays. A session made this way has no video, so video time `00:00.000` is the moment the recording
|
||||
started, and there is nothing for `frames` to show.
|
||||
|
||||
### Checking your setup
|
||||
|
||||
```
|
||||
komorebi-recorder doctor # what this machine can do for a recording
|
||||
komorebi-recorder doctor --json # the same, for a bug report
|
||||
```
|
||||
|
||||
`doctor` says which komorebi is running (binary, version and commit, log level, whether it answers a state query and
|
||||
where its log is), whether the screen can be captured and played back, whether `ffmpeg` is there, the displays and
|
||||
their scale, and the host clock. Anything wrong is listed at the end in plain words. `doctor --probe clock|capture|decode`
|
||||
measures one thing instead; `--probe clock` shows what the clock does while the machine sleeps (put it to sleep while it
|
||||
runs).
|
||||
|
||||
## Docking, sleep and lock
|
||||
|
||||
The set of displays, and whether ScreenCaptureKit streams stay alive, changes underneath a laptop all the time. The
|
||||
|
||||
Reference in new issue
Block a user