spike: --resume for the runner, and run the matrix from a transient unit

Two attempts were reaped mid-run by agent lifecycle cleanup (exit 143 with no
error line); a nix-shell process tree of tens of minutes belongs in a systemd
transient unit, not an agent background process. --resume skips any cell whose
result file already exists, so a kill costs the cell in flight and nothing else.
This commit is contained in:
Hermenix committed 2026-10-11 16:25:38 +00:00
1 parent da14048010
commit bf0667303e
168 files changed
+1571 -32

No files matched your search

+101 -12
View File
@@ -50,6 +50,48 @@ struct Args {
frames: u32,
warmup: u32,
mode: Mode,
backend: BackendChoice,
}
/// Which constructor to use. `Grim::new()` auto-detects and prefers
/// `ext-image-copy-capture-v1`; the two forcing constructors exist so the
/// table can show what the protocol choice is worth instead of assuming.
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
enum BackendChoice {
Auto,
Wlr,
Ext,
}
impl BackendChoice {
fn open(self) -> Result<(Grim, &'static str), String> {
match self {
BackendChoice::Wlr => Grim::new_wlr()
.map(|grim| (grim, "zwlr-screencopy-v1"))
.map_err(|err| format!("Grim::new_wlr failed: {err}")),
BackendChoice::Ext => Grim::new_ext()
.map(|grim| (grim, "ext-image-copy-capture-v1"))
.map_err(|err| format!("Grim::new_ext failed: {err}")),
// new() prefers ext and falls back to wlr. The crate does not
// report which it chose, so we ask it the same question twice:
// if new_ext() succeeds, new() took ext.
BackendChoice::Auto => {
let probe = Grim::new_ext().is_ok();
Grim::new()
.map(|grim| {
(
grim,
if probe {
"ext-image-copy-capture-v1 (auto)"
} else {
"zwlr-screencopy-v1 (auto, ext unavailable)"
},
)
})
.map_err(|err| format!("Grim::new failed: {err}"))
}
}
}
}
struct Held {
@@ -96,14 +138,12 @@ fn run() -> Result<(), String> {
);
}
// Force zwlr-screencopy. Grim::new() prefers ext-image-copy-capture-v1,
// which is the dma-buf-capable path this machine must not take.
let mut grim = Grim::new_wlr().map_err(|err| {
format!(
"Grim::new_wlr failed ({err}). Refusing to fall back to \
ext-image-copy-capture-v1"
)
})?;
// Neither backend imports a dma-buf: grim-rs 0.2.0 creates a
// NamedTempFile and mmaps it inside every capture call, on both paths
// (see src/platform/wayland/capture.rs). So measuring both is honest on
// a machine with no GPU -- there is no zero-copy path to accidentally
// take, and the protocol choice is the only variable.
let (mut grim, protocol) = args.backend.open()?;
let outputs = grim.get_outputs().map_err(|err| err.to_string())?;
if outputs.is_empty() {
@@ -119,7 +159,7 @@ fn run() -> Result<(), String> {
}
eprintln!(
"grimrs-capture: route {ROUTE} protocol zwlr-screencopy-v1 \
"grimrs-capture: route {ROUTE} protocol {protocol} \
mode {} target {} warmup {} frames {}",
args.mode.as_str(),
args.target.label(),
@@ -216,8 +256,13 @@ fn run() -> Result<(), String> {
_ => None,
};
let opened = match args.backend {
BackendChoice::Auto => "Grim::new() (auto-detect)",
BackendChoice::Wlr => "Grim::new_wlr()",
BackendChoice::Ext => "Grim::new_ext()",
};
let mut notes = format!(
"grim-rs 0.2.0 via Grim::new_wlr(); copy target is a wl_shm buffer \
"grim-rs 0.2.0 via {opened}; copy target is a wl_shm buffer \
created inside each capture_* call, not a dma-buf the producer \
imports. Cursor not overlaid (the frozen argv has no cursor flag; \
hhstream-live's grim command passes -c). JPEG is Grim::to_jpeg, \
@@ -248,7 +293,7 @@ fn run() -> Result<(), String> {
let report = Report {
route: ROUTE,
language: "rust",
protocol: "zwlr-screencopy-v1",
protocol,
output: args.target.label().to_string(),
geometry: [width, height],
mode: args.mode.as_str(),
@@ -566,6 +611,7 @@ fn parse_args(args: impl IntoIterator<Item = String>) -> Result<Args, String> {
let mut frames: Option<u32> = None;
let mut warmup: Option<u32> = None;
let mut mode: Option<Mode> = None;
let mut backend = BackendChoice::Auto;
let mut json = false;
let mut index = 0;
while index < args.len() {
@@ -604,6 +650,19 @@ fn parse_args(args: impl IntoIterator<Item = String>) -> Result<Args, String> {
}
});
}
"--backend" => {
let value = need_value(&args, &mut index, "--backend")?;
backend = match value.as_str() {
"auto" => BackendChoice::Auto,
"wlr" => BackendChoice::Wlr,
"ext" => BackendChoice::Ext,
other => {
return Err(format!(
"--backend must be auto, wlr or ext, got {other:?}"
))
}
};
}
"--help" | "-h" => {
return Err(usage());
}
@@ -640,6 +699,7 @@ fn parse_args(args: impl IntoIterator<Item = String>) -> Result<Args, String> {
frames,
warmup,
mode,
backend,
})
}
@@ -662,7 +722,7 @@ fn parse_u32(value: &str, flag: &str) -> Result<u32, String> {
fn usage() -> String {
"usage: grimrs-capture (--output NAME | --all) --frames N --warmup W \
--mode raw|jpeg --json"
--mode raw|jpeg [--backend auto|wlr|ext] --json"
.to_string()
}
@@ -690,6 +750,23 @@ mod tests {
assert_eq!(all.mode, Mode::Jpeg);
}
#[test]
fn backend_defaults_to_the_crates_own_choice() {
// The default must be the crate's own auto-detect: forcing a backend
// is an experiment, not the route a production build would take.
let args = parse("--all --frames 1 --warmup 0 --mode raw --json").unwrap();
assert_eq!(args.backend, BackendChoice::Auto);
for (flag, want) in [
("wlr", BackendChoice::Wlr),
("ext", BackendChoice::Ext),
("auto", BackendChoice::Auto),
] {
let line = format!("--all --frames 1 --warmup 0 --mode raw --backend {flag} --json");
assert_eq!(parse(&line).unwrap().backend, want);
}
assert!(parse("--all --frames 1 --warmup 0 --mode raw --backend gpu --json").is_err());
}
#[test]
fn rejects_mixed_targets_and_missing_json() {
assert!(parse("--all --output x --frames 1 --warmup 0 --mode raw --json").is_err());
@@ -740,6 +817,12 @@ mod tests {
cpu_ms_per_frame: None,
bytes_p50: Some(100.5),
persistent: true,
rss_peak_mb: Some(12.5),
rss_peak_kb_raw: Some(12800),
system_cpu_ms_per_frame: Some(1.0),
compositor_cpu_ms_per_frame: Some(2.0),
machine_cpu_pct: Some(99.9),
frames_bytes_allocated_p50: Some(3686400),
notes: "n".to_string(),
};
let value = report.to_json();
@@ -758,6 +841,12 @@ mod tests {
"cpu_ms_per_frame",
"bytes_p50",
"persistent",
"rss_peak_mb",
"rss_peak_kb_raw",
"system_cpu_ms_per_frame",
"compositor_cpu_ms_per_frame",
"machine_cpu_pct",
"frames_bytes_allocated_p50",
"notes",
] {
assert!(value.get(key).is_some(), "missing {key}");
+22 -6
View File
@@ -24,14 +24,14 @@ import time
HERE = os.path.dirname(os.path.abspath(__file__))
PRODUCERS = os.path.join(HERE, "producers")
RUST = os.path.join(HERE, "..", "..", "001a-grim-rs", "target", "release", "grimrs-capture")
RUST = os.path.join(HERE, "001a-grim-rs", "target", "release", "grimrs-capture")
ROUTES = {
# name: (description, command builder)
"grim": (
"grim subprocess per frame (shipped)",
lambda o, cell, frames, warmup: [
sys.executable, os.path.join(HERE, "grim_producer.py"),
sys.executable, os.path.join(PRODUCERS, "grim_producer.py"),
*(["--all"] if cell["all"] else ["--output", o]),
"--frames", str(frames), "--warmup", str(warmup), "--mode", cell["mode"], "--json",
],
@@ -39,7 +39,7 @@ ROUTES = {
"py-screencopy": (
"pywayland in-process, zwlr-screencopy-v1",
lambda o, cell, frames, warmup: [
sys.executable, os.path.join(HERE, "wayland_producer.py"),
sys.executable, os.path.join(PRODUCERS, "wayland_producer.py"),
*(["--all"] if cell["all"] else ["--output", o]),
"--protocol", "screencopy",
"--frames", str(frames), "--warmup", str(warmup), "--mode", cell["mode"], "--json",
@@ -48,7 +48,7 @@ ROUTES = {
"py-ext": (
"pywayland in-process, ext-image-copy-capture-v1",
lambda o, cell, frames, warmup: [
sys.executable, os.path.join(HERE, "wayland_producer.py"),
sys.executable, os.path.join(PRODUCERS, "wayland_producer.py"),
*(["--all"] if cell["all"] else ["--output", o]),
"--protocol", "ext",
"--frames", str(frames), "--warmup", str(warmup), "--mode", cell["mode"], "--json",
@@ -99,6 +99,7 @@ def idle_control(seconds: float) -> dict:
"system_cpu_ms": None if system_ms is None else round(system_ms, 1),
"compositor_cpu_ms": None if compositor_ms is None else round(compositor_ms, 1),
"system_cpu_pct": None if system_ms is None else round(system_ms / window_ms * 100.0, 1),
"compositor_cpu_pct": None if compositor_ms is None else round(compositor_ms / window_ms * 100.0, 1),
}
@@ -114,6 +115,8 @@ def main() -> int:
parser.add_argument("--env", action="append", default=[], help="KEY=VALUE for the producers")
parser.add_argument("--control-seconds", type=float, default=0.0,
help="sample machine CPU with no captures for this long, as a control")
parser.add_argument("--resume", action="store_true",
help="skip any cell whose result file already exists (for re-running after a kill)")
args = parser.parse_args()
routes = {k: v for k, v in ROUTES.items() if not args.only or k in args.only}
@@ -125,7 +128,8 @@ def main() -> int:
print(f"control: sampling {args.control_seconds:.0f}s with nothing capturing...")
control = idle_control(args.control_seconds)
print(f" idle machine CPU: {control['system_cpu_pct']}% of one core "
f"(compositor {control['compositor_cpu_ms']} ms/s)")
f"({control['system_cpu_ms'] / control['window_ms'] * 1000:.0f} ms of CPU per second), "
f"compositor {control['compositor_cpu_pct']}% of one core")
with open(os.path.join(args.results, "control.json"), "w") as handle:
json.dump(control, handle, indent=2)
@@ -141,10 +145,22 @@ def main() -> int:
for run in range(1, args.runs + 1):
command = build(args.output, cell, args.frames, args.warmup)
label = f"{route}/{cell['name']}/run{run}"
stem = os.path.join(args.results, f"{route}.{cell['name']}.run{run}")
if args.resume and os.path.exists(stem + ".stdout"):
print(f" {label}: already measured, skipped (--resume)")
try:
with open(stem + ".stdout") as handle:
lines = [line for line in handle.read().splitlines() if line.startswith("{")]
if lines:
records.append({"route": route, "description": description,
"cell": cell["name"], "run": run, "rc": 0,
**json.loads(lines[-1])})
except (OSError, json.JSONDecodeError):
pass
continue
started = time.monotonic()
proc = subprocess.run(command, capture_output=True, text=True, env=env)
elapsed = time.monotonic() - started
stem = os.path.join(args.results, f"{route}.{cell['name']}.run{run}")
with open(stem + ".stdout", "w") as handle:
handle.write(proc.stdout)
with open(stem + ".stderr", "w") as handle:
+139
View File
@@ -0,0 +1,139 @@
#!/usr/bin/env python3
"""Turn results/results.json into the two pictures that decide this.
One chart per question, because they answer different things:
- **speed**: p50 frame time and sustained fps per route and cell -- which route is
quickest;
- **machine cost**: the compositor's CPU per frame per route -- which route leaves
the box able to render, which is the question the frame rate does not answer.
The idle control is drawn as a line on the cost chart so a reader can see how
much of the machine was busy before any capture happened.
nix-shell --run "python3 chart.py" # -> results/head-to-head.png
"""
from __future__ import annotations
import json
import os
import statistics
import sys
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt # noqa: E402
HERE = os.path.dirname(os.path.abspath(__file__))
RESULTS = os.path.join(HERE, "results")
LABELS = {
"grim": "grim (subprocess)",
"grim-rs": "grim-rs (Rust)",
"py-screencopy": "pywayland\nscreencopy",
"py-ext": "pywayland\next-copy-capture",
}
ORDER = ["grim", "grim-rs", "py-screencopy", "py-ext"]
CELLS = ["output-jpeg", "output-raw", "all-jpeg", "all-raw"]
def load() -> tuple[list[dict], dict | None]:
with open(os.path.join(RESULTS, "results.json")) as handle:
records = json.load(handle)
control = None
try:
with open(os.path.join(RESULTS, "control.json")) as handle:
control = json.load(handle)
except OSError:
pass
return records, control
def cell_value(records: list[dict], route: str, cell: str, key: str) -> float | None:
values = [
r.get(key)
for r in records
if r.get("route") == route and r.get("cell") == cell and r.get(key) is not None
]
if not values:
return None
return statistics.median(values)
def main() -> int:
records, control = load()
routes = [r for r in ORDER if any(rec.get("route") == r for rec in records)]
if not routes:
print("no successful runs in results.json", file=sys.stderr)
return 1
fig, axes = plt.subplots(1, 2, figsize=(15, 6.5), facecolor="#0f1115")
for axis in axes:
axis.set_facecolor("#0f1115")
for spine in axis.spines.values():
spine.set_color("#475569")
axis.tick_params(colors="#cbd5e1", labelsize=9)
axis.grid(axis="y", color="#1e293b", linewidth=0.8)
axis.set_axisbelow(True)
width = 0.8 / len(routes)
colours = ["#f87171", "#fbbf24", "#60a5fa", "#34d399"]
# -- left: speed ---------------------------------------------------------
axis = axes[0]
for index, route in enumerate(routes):
values, positions = [], []
for cell_index, cell in enumerate(CELLS):
value = cell_value(records, route, cell, "fps_sustained")
if value is None:
continue
values.append(value)
positions.append(cell_index + index * width)
axis.bar(positions, values, width, label=LABELS.get(route, route),
color=colours[index % len(colours)], edgecolor="#0f1115")
axis.set_title("speed — sustained frames per second", color="#e2e8f0", fontsize=12)
axis.set_xticks([i + 0.4 - width / 2 for i in range(len(CELLS))])
axis.set_xticklabels([c.replace("-", "\n") for c in CELLS], fontsize=8)
axis.set_ylabel("fps", color="#cbd5e1")
axis.legend(facecolor="#111827", edgecolor="#334155", labelcolor="#e2e8f0", fontsize=8)
# -- right: what it costs the compositor --------------------------------
axis = axes[1]
for index, route in enumerate(routes):
values, positions = [], []
for cell_index, cell in enumerate(CELLS):
value = cell_value(records, route, cell, "compositor_cpu_ms_per_frame")
if value is None:
continue
values.append(value)
positions.append(cell_index + index * width)
axis.bar(positions, values, width, label=LABELS.get(route, route),
color=colours[index % len(colours)], edgecolor="#0f1115")
axis.set_title("cost — the compositor's own CPU per frame (lower is better)",
color="#e2e8f0", fontsize=12)
axis.set_xticks([i + 0.4 - width / 2 for i in range(len(CELLS))])
axis.set_xticklabels([c.replace("-", "\n") for c in CELLS], fontsize=8)
axis.set_ylabel("ms of compositor CPU per frame", color="#cbd5e1")
if control and control.get("compositor_cpu_ms") is not None:
per_frame_note = (
f"idle control: machine {control['system_cpu_pct']}% of one core "
f"with nothing capturing"
)
axis.text(0.02, 0.95, per_frame_note, transform=axis.transAxes,
color="#94a3b8", fontsize=8, va="top")
axis.legend(facecolor="#111827", edgecolor="#334155", labelcolor="#e2e8f0", fontsize=8)
fig.suptitle("hhstream capture routes — 1280×720 container and 2560×720 stitched, "
"jpeg q80 and raw, moving screen, software rendering, no GPU",
color="#e2e8f0", fontsize=11)
fig.tight_layout(rect=(0, 0, 1, 0.95))
out = os.path.join(RESULTS, "head-to-head.png")
fig.savefig(out, dpi=140, facecolor="#0f1115")
print(out)
return 0
if __name__ == "__main__":
sys.exit(main())
@@ -257,6 +257,7 @@ class Capture:
self.globals: dict[str, tuple[int, int]] = {}
self._output_globals: list[tuple[int, int]] = []
self._output_names: dict[object, str] = {}
self._output_positions: dict[object, tuple[int, int]] = {}
self._output_proxies: list = []
self.shm = None
self.screencopy_mgr = None
@@ -266,6 +267,8 @@ class Capture:
self.wait_damage = wait_damage
self.sessions: list[OutputSession] = []
self.stage_ms = {"capture": 0.0, "encode": 0.0}
self._canvas: ctypes.Array | None = None
self._canvas_geometry: tuple[int, int] | None = None
self.registry.dispatcher["global"] = self._on_global
self.display.roundtrip()
@@ -281,12 +284,19 @@ class Capture:
output = self.registry.bind(name, wl.WlOutput, min(version, 4))
self._output_proxies.append(output) # a GC'd proxy stops delivering events
output.dispatcher["name"] = self._on_output_name
output.dispatcher["geometry"] = self._on_output_geometry
self.display.roundtrip()
self.outputs: list[tuple[str, object]] = [
(self._output_names.get(proxy, f"output-{index}"), proxy)
for index, proxy in enumerate(self._output_proxies)
]
# Sorted by position, not by registry order: `--all` stitches these
# left to right, and "the order the compositor announced its outputs"
# is not a promise about where they are on the desktop.
self.outputs: list[tuple[str, object]] = sorted(
(
(self._output_names.get(proxy, f"output-{index}"), proxy)
for index, proxy in enumerate(self._output_proxies)
),
key=lambda pair: (self._output_positions.get(pair[1], (1 << 30, 0)), pair[0]),
)
if not want_all:
wanted = set(names_wanted or [])
chosen = [pair for pair in self.outputs if pair[0] in wanted]
@@ -320,6 +330,12 @@ class Capture:
def _on_output_name(self, output, name: str) -> None:
self._output_names[output] = name
def _on_output_geometry(self, output, x: int, y: int, physical_width: int,
physical_height: int, subpixel: int, make: str,
model: str, transform: int) -> None:
"""Where this output is in the layout -- the stitch order for `--all`."""
self._output_positions[output] = (x, y)
def _pick_protocol(self, requested: str) -> str:
have_ext = (
"ext_image_copy_capture_manager_v1" in self.globals
@@ -392,14 +408,73 @@ class Capture:
return width, height
def jpeg(self, encoder: TurboJPEG) -> bytes | None:
"""Encode the first (or only) session's buffer -- the published frame."""
if len(self.sessions) != 1:
return None # stitching for --all is the caller's business
buffer = self.sessions[0].buffer
data, elapsed = encoder.compress(buffer.address, buffer.width, buffer.height, buffer.stride)
self.stage_ms["encode"] += elapsed
"""Encode the frame the wire would carry, stitching first if needed.
The first version of this returned ``None`` for `--all` and left the
stitch "to the caller" -- which no caller did, so the `--all --mode
jpeg` cell reported an encode of 0.0 ms and `bytes_p50: null` while
looking like a successful run. That cell is the one `hhstream`
publishes today, so the silent hole was in the only number that
decides anything.
The stitch is charged to the **encode** stage, not to capture: it is
work this route does to turn N output buffers into one image, and it
is exactly the work `grim -c` does inside its own process.
"""
if len(self.sessions) == 1:
buffer = self.sessions[0].buffer
data, elapsed = encoder.compress(
buffer.address, buffer.width, buffer.height, buffer.stride
)
self.stage_ms["encode"] += elapsed
return data
start = time.monotonic_ns()
width, height, stride, address = self._stitch()
stitch_ms = (time.monotonic_ns() - start) / 1e6
data, elapsed = encoder.compress(address, width, height, stride)
self.stage_ms["encode"] += stitch_ms + elapsed
self.stage_ms["stitch"] = self.stage_ms.get("stitch", 0.0) + stitch_ms
return data
def _stitch(self) -> tuple[int, int, int, int]:
"""Copy every output buffer side by side into one canvas.
Allocated once and reused, like the per-output buffers: a fresh
10 MB canvas per frame would be measuring the allocator. Rows are
copied one `memmove` at a time because the canvas stride is wider
than any single output's.
"""
width = sum(session.buffer.width for session in self.sessions)
height = max(session.buffer.height for session in self.sessions)
stride = width * 4
if self._canvas is None or self._canvas_geometry != (width, height):
self._canvas = ctypes.create_string_buffer(stride * height)
self._canvas_geometry = (width, height)
base = ctypes.addressof(self._canvas)
x_offset = 0
for session in self.sessions:
buffer = session.buffer
row_bytes = buffer.width * 4
for row in range(min(buffer.height, height)):
ctypes.memmove(
base + row * stride + x_offset * 4,
buffer.address + row * buffer.stride,
row_bytes,
)
x_offset += buffer.width
return width, height, stride, base
def buffer_bytes(self) -> int | None:
"""Every byte of frame buffer this route holds, canvas included."""
held = [session.buffer.size for session in self.sessions if session.buffer]
if not held:
return None
total = sum(held)
if self._canvas is not None:
total += len(self._canvas)
return total
def close(self) -> None:
for session in getattr(self, "sessions", []):
if session.buffer:
@@ -472,9 +547,7 @@ def main() -> int:
after = MachineSample(children=False)
finally:
protocol = client.protocol
buffer_bytes = (
client.sessions[0].buffer.size if client.sessions and client.sessions[0].buffer else None
)
buffer_bytes = client.buffer_bytes()
client.close()
if encoder:
encoder.close()
@@ -492,6 +565,7 @@ def main() -> int:
"stage_ms": {
"capture": round(client.stage_ms["capture"] / max(1, len(samples)), 3),
"encode": round(client.stage_ms["encode"] / max(1, len(samples)), 3),
"stitch": round(client.stage_ms.get("stitch", 0.0) / max(1, len(samples)), 3),
},
"fps_sustained": round(len(samples) / (sum(samples) / 1000.0), 2) if samples else 0.0,
"wall_ms": round(wall_ms, 2),
@@ -0,0 +1,7 @@
{
"window_ms": 10000.0,
"system_cpu_ms": 19970.0,
"compositor_cpu_ms": 2440.0,
"system_cpu_pct": 199.7,
"compositor_cpu_pct": 24.4
}
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
@@ -0,0 +1 @@
grimrs-capture: Grim::new failed: Wayland connection error: Failed to connect to Wayland: Could not find wayland compositor
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [3840, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 155.953, "p50": 253.061, "mean": 261.259, "p95": 352.999, "max": 411.194}, "fps_sustained": 3.83, "wall_ms": 52833.39, "bytes_p50": 484658, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); jpeg q80", "cpu_ms_per_frame": 13.539, "rss_peak_mb": 25.89, "rss_peak_kb_raw": 26516, "system_cpu_ms_per_frame": 525.85, "compositor_cpu_ms_per_frame": 248.85, "machine_cpu_pct": 199.1, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": null, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [3840, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 111.684, "p50": 272.962, "mean": 267.239, "p95": 350.362, "max": 407.041}, "fps_sustained": 3.74, "wall_ms": 53980.86, "bytes_p50": 484645, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); jpeg q80", "cpu_ms_per_frame": 13.547, "rss_peak_mb": 25.88, "rss_peak_kb_raw": 26496, "system_cpu_ms_per_frame": 537.45, "compositor_cpu_ms_per_frame": 254.8, "machine_cpu_pct": 199.1, "machine_cpu_pct_of_all_cores": 99.6, "frames_bytes_allocated_p50": null, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [3840, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 160.506, "p50": 289.442, "mean": 274.034, "p95": 346.834, "max": 487.686}, "fps_sustained": 3.65, "wall_ms": 55460.33, "bytes_p50": 8294416, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); ppm, unencoded", "cpu_ms_per_frame": 10.274, "rss_peak_mb": 33.0, "rss_peak_kb_raw": 33796, "system_cpu_ms_per_frame": 551.9, "compositor_cpu_ms_per_frame": 263.65, "machine_cpu_pct": 199.0, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": 11059200, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [3840, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 150.87, "p50": 273.251, "mean": 270.124, "p95": 366.63, "max": 428.842}, "fps_sustained": 3.7, "wall_ms": 54691.65, "bytes_p50": 8294416, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); ppm, unencoded", "cpu_ms_per_frame": 10.271, "rss_peak_mb": 32.98, "rss_peak_kb_raw": 33772, "system_cpu_ms_per_frame": 544.55, "compositor_cpu_ms_per_frame": 257.6, "machine_cpu_pct": 199.1, "machine_cpu_pct_of_all_cores": 99.6, "frames_bytes_allocated_p50": 11059200, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 104.583, "p50": 188.27, "mean": 189.603, "p95": 264.382, "max": 306.156}, "fps_sustained": 5.27, "wall_ms": 38212.27, "bytes_p50": 128234, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; jpeg q80", "cpu_ms_per_frame": 5.184, "rss_peak_mb": 18.42, "rss_peak_kb_raw": 18860, "system_cpu_ms_per_frame": 380.1, "compositor_cpu_ms_per_frame": 176.2, "machine_cpu_pct": 198.9, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": null, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 92.949, "p50": 188.046, "mean": 189.408, "p95": 279.249, "max": 338.971}, "fps_sustained": 5.28, "wall_ms": 38159.26, "bytes_p50": 128203, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; jpeg q80", "cpu_ms_per_frame": 5.17, "rss_peak_mb": 18.45, "rss_peak_kb_raw": 18896, "system_cpu_ms_per_frame": 379.6, "compositor_cpu_ms_per_frame": 176.45, "machine_cpu_pct": 199.0, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": null, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 94.756, "p50": 190.842, "mean": 190.342, "p95": 278.921, "max": 334.028}, "fps_sustained": 5.25, "wall_ms": 38368.45, "bytes_p50": 2764816, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; ppm, unencoded", "cpu_ms_per_frame": 4.015, "rss_peak_mb": 20.47, "rss_peak_kb_raw": 20960, "system_cpu_ms_per_frame": 381.85, "compositor_cpu_ms_per_frame": 176.6, "machine_cpu_pct": 199.0, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 106.937, "p50": 185.191, "mean": 190.014, "p95": 285.502, "max": 395.12}, "fps_sustained": 5.26, "wall_ms": 38287.79, "bytes_p50": 2764816, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; ppm, unencoded", "cpu_ms_per_frame": 4.019, "rss_peak_mb": 20.57, "rss_peak_kb_raw": 21068, "system_cpu_ms_per_frame": 381.05, "compositor_cpu_ms_per_frame": 177.25, "machine_cpu_pct": 199.0, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "all", "geometry": [3840, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 203.192, "p50": 266.026, "mean": 269.579, "p95": 300.953, "max": 454.156}, "stage_ms": {"capture": 269.568, "encode": 0.0}, "fps_sustained": 3.71, "wall_ms": 53916.04, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs", "cpu_ms_per_frame": 0.975, "rss_peak_mb": 25.11, "rss_peak_kb_raw": 25712, "system_cpu_ms_per_frame": 535.75, "compositor_cpu_ms_per_frame": 256.15, "machine_cpu_pct": 198.7, "machine_cpu_pct_of_all_cores": 99.4, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
@@ -0,0 +1,20 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 595, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 541, in main
geometry = client.grab()
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 400, in grab
session.grab_ext()
~~~~~~~~~~~~~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 218, in grab_ext
self.client.wait(lambda: self.ready or self.failed)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 388, in wait
self.display.dispatch(block=True)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/nix/store/i7d46siafmlrgcmj9nzvwj7y64p34yaz-python3-3.14.7-env/lib/python3.14/site-packages/pywayland/utils.py", line 30, in wrapper
return func(self, *args, **kwargs)
File "/nix/store/i7d46siafmlrgcmj9nzvwj7y64p34yaz-python3-3.14.7-env/lib/python3.14/site-packages/pywayland/client/display.py", line 197, in dispatch
raise RuntimeError(f"Failed with error: {err}")
RuntimeError: Failed with error: 32
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "all", "geometry": [3840, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 229.04, "p50": 288.141, "mean": 313.595, "p95": 460.58, "max": 755.788}, "stage_ms": {"capture": 313.584, "encode": 0.0}, "fps_sustained": 3.19, "wall_ms": 62719.22, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs", "cpu_ms_per_frame": 0.987, "rss_peak_mb": 24.45, "rss_peak_kb_raw": 25040, "system_cpu_ms_per_frame": 625.2, "compositor_cpu_ms_per_frame": 266.8, "machine_cpu_pct": 199.4, "machine_cpu_pct_of_all_cores": 99.7, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "all", "geometry": [3840, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 188.242, "p50": 265.407, "mean": 268.194, "p95": 314.972, "max": 410.274}, "stage_ms": {"capture": 268.183, "encode": 0.0}, "fps_sustained": 3.73, "wall_ms": 53638.97, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs", "cpu_ms_per_frame": 0.961, "rss_peak_mb": 24.37, "rss_peak_kb_raw": 24956, "system_cpu_ms_per_frame": 533.3, "compositor_cpu_ms_per_frame": 256.1, "machine_cpu_pct": 198.8, "machine_cpu_pct_of_all_cores": 99.4, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 21.124, "p50": 94.126, "mean": 90.838, "p95": 134.396, "max": 187.481}, "stage_ms": {"capture": 88.922, "encode": 1.866}, "fps_sustained": 11.01, "wall_ms": 18168.15, "bytes_p50": 103326, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 1.762, "rss_peak_mb": 28.93, "rss_peak_kb_raw": 29628, "system_cpu_ms_per_frame": 180.7, "compositor_cpu_ms_per_frame": 84.15, "machine_cpu_pct": 198.9, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 23.213, "p50": 96.28, "mean": 97.436, "p95": 141.415, "max": 355.361}, "stage_ms": {"capture": 95.535, "encode": 1.852}, "fps_sustained": 10.26, "wall_ms": 19487.58, "bytes_p50": 103324, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 1.781, "rss_peak_mb": 29.13, "rss_peak_kb_raw": 29828, "system_cpu_ms_per_frame": 194.0, "compositor_cpu_ms_per_frame": 86.35, "machine_cpu_pct": 199.1, "machine_cpu_pct_of_all_cores": 99.6, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 16.541, "p50": 89.632, "mean": 88.303, "p95": 114.885, "max": 185.604}, "stage_ms": {"capture": 88.293, "encode": 0.0}, "fps_sustained": 11.32, "wall_ms": 17660.7, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 0.319, "rss_peak_mb": 24.24, "rss_peak_kb_raw": 24824, "system_cpu_ms_per_frame": 175.85, "compositor_cpu_ms_per_frame": 83.85, "machine_cpu_pct": 199.1, "machine_cpu_pct_of_all_cores": 99.6, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 18.167, "p50": 92.244, "mean": 88.266, "p95": 116.585, "max": 151.53}, "stage_ms": {"capture": 88.255, "encode": 0.0}, "fps_sustained": 11.33, "wall_ms": 17653.3, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 0.323, "rss_peak_mb": 24.34, "rss_peak_kb_raw": 24928, "system_cpu_ms_per_frame": 175.65, "compositor_cpu_ms_per_frame": 82.8, "machine_cpu_pct": 199.0, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "all", "geometry": [3840, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 200.621, "p50": 259.203, "mean": 261.767, "p95": 302.952, "max": 362.039}, "stage_ms": {"capture": 261.755, "encode": 0.0}, "fps_sustained": 3.82, "wall_ms": 52353.56, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs", "cpu_ms_per_frame": 0.966, "rss_peak_mb": 25.06, "rss_peak_kb_raw": 25664, "system_cpu_ms_per_frame": 519.6, "compositor_cpu_ms_per_frame": 252.5, "machine_cpu_pct": 198.5, "machine_cpu_pct_of_all_cores": 99.2, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "all", "geometry": [3840, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 176.074, "p50": 264.922, "mean": 271.875, "p95": 327.255, "max": 511.364}, "stage_ms": {"capture": 271.862, "encode": 0.0}, "fps_sustained": 3.68, "wall_ms": 54375.15, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs", "cpu_ms_per_frame": 0.977, "rss_peak_mb": 24.95, "rss_peak_kb_raw": 25544, "system_cpu_ms_per_frame": 540.8, "compositor_cpu_ms_per_frame": 257.45, "machine_cpu_pct": 198.9, "machine_cpu_pct_of_all_cores": 99.5, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "all", "geometry": [3840, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 194.906, "p50": 261.786, "mean": 264.464, "p95": 293.799, "max": 450.128}, "stage_ms": {"capture": 264.452, "encode": 0.0}, "fps_sustained": 3.78, "wall_ms": 52892.93, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs", "cpu_ms_per_frame": 0.984, "rss_peak_mb": 24.41, "rss_peak_kb_raw": 24992, "system_cpu_ms_per_frame": 525.4, "compositor_cpu_ms_per_frame": 254.8, "machine_cpu_pct": 198.7, "machine_cpu_pct_of_all_cores": 99.3, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "all", "geometry": [3840, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 184.327, "p50": 260.217, "mean": 262.438, "p95": 287.182, "max": 360.502}, "stage_ms": {"capture": 262.426, "encode": 0.0}, "fps_sustained": 3.81, "wall_ms": 52487.83, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs", "cpu_ms_per_frame": 0.974, "rss_peak_mb": 24.37, "rss_peak_kb_raw": 24956, "system_cpu_ms_per_frame": 521.25, "compositor_cpu_ms_per_frame": 253.8, "machine_cpu_pct": 198.6, "machine_cpu_pct_of_all_cores": 99.3, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 25.228, "p50": 94.302, "mean": 93.329, "p95": 118.149, "max": 192.312}, "stage_ms": {"capture": 91.572, "encode": 1.734}, "fps_sustained": 10.71, "wall_ms": 18669.65, "bytes_p50": 103296, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 1.759, "rss_peak_mb": 28.89, "rss_peak_kb_raw": 29580, "system_cpu_ms_per_frame": 185.65, "compositor_cpu_ms_per_frame": 88.35, "machine_cpu_pct": 198.9, "machine_cpu_pct_of_all_cores": 99.4, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 20.868, "p50": 93.709, "mean": 89.637, "p95": 115.463, "max": 252.352}, "stage_ms": {"capture": 87.78, "encode": 1.816}, "fps_sustained": 11.16, "wall_ms": 17928.8, "bytes_p50": 103330, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 1.755, "rss_peak_mb": 28.88, "rss_peak_kb_raw": 29572, "system_cpu_ms_per_frame": 178.55, "compositor_cpu_ms_per_frame": 85.3, "machine_cpu_pct": 199.2, "machine_cpu_pct_of_all_cores": 99.6, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 19.868, "p50": 90.746, "mean": 85.65, "p95": 115.335, "max": 129.071}, "stage_ms": {"capture": 85.64, "encode": 0.0}, "fps_sustained": 11.68, "wall_ms": 17130.2, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 0.323, "rss_peak_mb": 24.54, "rss_peak_kb_raw": 25124, "system_cpu_ms_per_frame": 170.35, "compositor_cpu_ms_per_frame": 82.3, "machine_cpu_pct": 198.9, "machine_cpu_pct_of_all_cores": 99.4, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "zwlr-screencopy-v1", "output": "hh-chromium-qshilo", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 20.985, "p50": 93.245, "mean": 89.519, "p95": 115.008, "max": 152.947}, "stage_ms": {"capture": 89.509, "encode": 0.0}, "fps_sustained": 11.17, "wall_ms": 17904.07, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 0.324, "rss_peak_mb": 24.39, "rss_peak_kb_raw": 24972, "system_cpu_ms_per_frame": 178.0, "compositor_cpu_ms_per_frame": 86.15, "machine_cpu_pct": 198.8, "machine_cpu_pct_of_all_cores": 99.4, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
@@ -0,0 +1,936 @@
[
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "output-raw",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 94.756,
"p50": 190.842,
"mean": 190.342,
"p95": 278.921,
"max": 334.028
},
"fps_sustained": 5.25,
"wall_ms": 38368.45,
"bytes_p50": 2764816,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; ppm, unencoded",
"cpu_ms_per_frame": 4.015,
"rss_peak_mb": 20.47,
"rss_peak_kb_raw": 20960,
"system_cpu_ms_per_frame": 381.85,
"compositor_cpu_ms_per_frame": 176.6,
"machine_cpu_pct": 199.0,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "output-raw",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 106.937,
"p50": 185.191,
"mean": 190.014,
"p95": 285.502,
"max": 395.12
},
"fps_sustained": 5.26,
"wall_ms": 38287.79,
"bytes_p50": 2764816,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; ppm, unencoded",
"cpu_ms_per_frame": 4.019,
"rss_peak_mb": 20.57,
"rss_peak_kb_raw": 21068,
"system_cpu_ms_per_frame": 381.05,
"compositor_cpu_ms_per_frame": 177.25,
"machine_cpu_pct": 199.0,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "output-jpeg",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 104.583,
"p50": 188.27,
"mean": 189.603,
"p95": 264.382,
"max": 306.156
},
"fps_sustained": 5.27,
"wall_ms": 38212.27,
"bytes_p50": 128234,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; jpeg q80",
"cpu_ms_per_frame": 5.184,
"rss_peak_mb": 18.42,
"rss_peak_kb_raw": 18860,
"system_cpu_ms_per_frame": 380.1,
"compositor_cpu_ms_per_frame": 176.2,
"machine_cpu_pct": 198.9,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": null,
"resource_notes": ""
},
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "output-jpeg",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 92.949,
"p50": 188.046,
"mean": 189.408,
"p95": 279.249,
"max": 338.971
},
"fps_sustained": 5.28,
"wall_ms": 38159.26,
"bytes_p50": 128203,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --output; jpeg q80",
"cpu_ms_per_frame": 5.17,
"rss_peak_mb": 18.45,
"rss_peak_kb_raw": 18896,
"system_cpu_ms_per_frame": 379.6,
"compositor_cpu_ms_per_frame": 176.45,
"machine_cpu_pct": 199.0,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": null,
"resource_notes": ""
},
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "all-raw",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "all",
"geometry": [
3840,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 160.506,
"p50": 289.442,
"mean": 274.034,
"p95": 346.834,
"max": 487.686
},
"fps_sustained": 3.65,
"wall_ms": 55460.33,
"bytes_p50": 8294416,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); ppm, unencoded",
"cpu_ms_per_frame": 10.274,
"rss_peak_mb": 33.0,
"rss_peak_kb_raw": 33796,
"system_cpu_ms_per_frame": 551.9,
"compositor_cpu_ms_per_frame": 263.65,
"machine_cpu_pct": 199.0,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": 11059200,
"resource_notes": ""
},
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "all-raw",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "all",
"geometry": [
3840,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 150.87,
"p50": 273.251,
"mean": 270.124,
"p95": 366.63,
"max": 428.842
},
"fps_sustained": 3.7,
"wall_ms": 54691.65,
"bytes_p50": 8294416,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); ppm, unencoded",
"cpu_ms_per_frame": 10.271,
"rss_peak_mb": 32.98,
"rss_peak_kb_raw": 33772,
"system_cpu_ms_per_frame": 544.55,
"compositor_cpu_ms_per_frame": 257.6,
"machine_cpu_pct": 199.1,
"machine_cpu_pct_of_all_cores": 99.6,
"frames_bytes_allocated_p50": 11059200,
"resource_notes": ""
},
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "all-jpeg",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "all",
"geometry": [
3840,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 155.953,
"p50": 253.061,
"mean": 261.259,
"p95": 352.999,
"max": 411.194
},
"fps_sustained": 3.83,
"wall_ms": 52833.39,
"bytes_p50": 484658,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); jpeg q80",
"cpu_ms_per_frame": 13.539,
"rss_peak_mb": 25.89,
"rss_peak_kb_raw": 26516,
"system_cpu_ms_per_frame": 525.85,
"compositor_cpu_ms_per_frame": 248.85,
"machine_cpu_pct": 199.1,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": null,
"resource_notes": ""
},
{
"route": "grim-subprocess",
"description": "grim subprocess per frame (shipped)",
"cell": "all-jpeg",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1 (grim's client)",
"output": "all",
"geometry": [
3840,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 111.684,
"p50": 272.962,
"mean": 267.239,
"p95": 350.362,
"max": 407.041
},
"fps_sustained": 3.74,
"wall_ms": 53980.86,
"bytes_p50": 484645,
"persistent": false,
"notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); jpeg q80",
"cpu_ms_per_frame": 13.547,
"rss_peak_mb": 25.88,
"rss_peak_kb_raw": 26496,
"system_cpu_ms_per_frame": 537.45,
"compositor_cpu_ms_per_frame": 254.8,
"machine_cpu_pct": 199.1,
"machine_cpu_pct_of_all_cores": 99.6,
"frames_bytes_allocated_p50": null,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "output-raw",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 19.868,
"p50": 90.746,
"mean": 85.65,
"p95": 115.335,
"max": 129.071
},
"stage_ms": {
"capture": 85.64,
"encode": 0.0
},
"fps_sustained": 11.68,
"wall_ms": 17130.2,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 0.323,
"rss_peak_mb": 24.54,
"rss_peak_kb_raw": 25124,
"system_cpu_ms_per_frame": 170.35,
"compositor_cpu_ms_per_frame": 82.3,
"machine_cpu_pct": 198.9,
"machine_cpu_pct_of_all_cores": 99.4,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "output-raw",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 20.985,
"p50": 93.245,
"mean": 89.519,
"p95": 115.008,
"max": 152.947
},
"stage_ms": {
"capture": 89.509,
"encode": 0.0
},
"fps_sustained": 11.17,
"wall_ms": 17904.07,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 0.324,
"rss_peak_mb": 24.39,
"rss_peak_kb_raw": 24972,
"system_cpu_ms_per_frame": 178.0,
"compositor_cpu_ms_per_frame": 86.15,
"machine_cpu_pct": 198.8,
"machine_cpu_pct_of_all_cores": 99.4,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "output-jpeg",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 25.228,
"p50": 94.302,
"mean": 93.329,
"p95": 118.149,
"max": 192.312
},
"stage_ms": {
"capture": 91.572,
"encode": 1.734
},
"fps_sustained": 10.71,
"wall_ms": 18669.65,
"bytes_p50": 103296,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 1.759,
"rss_peak_mb": 28.89,
"rss_peak_kb_raw": 29580,
"system_cpu_ms_per_frame": 185.65,
"compositor_cpu_ms_per_frame": 88.35,
"machine_cpu_pct": 198.9,
"machine_cpu_pct_of_all_cores": 99.4,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "output-jpeg",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 20.868,
"p50": 93.709,
"mean": 89.637,
"p95": 115.463,
"max": 252.352
},
"stage_ms": {
"capture": 87.78,
"encode": 1.816
},
"fps_sustained": 11.16,
"wall_ms": 17928.8,
"bytes_p50": 103330,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 1.755,
"rss_peak_mb": 28.88,
"rss_peak_kb_raw": 29572,
"system_cpu_ms_per_frame": 178.55,
"compositor_cpu_ms_per_frame": 85.3,
"machine_cpu_pct": 199.2,
"machine_cpu_pct_of_all_cores": 99.6,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "all-raw",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "all",
"geometry": [
3840,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 194.906,
"p50": 261.786,
"mean": 264.464,
"p95": 293.799,
"max": 450.128
},
"stage_ms": {
"capture": 264.452,
"encode": 0.0
},
"fps_sustained": 3.78,
"wall_ms": 52892.93,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs",
"cpu_ms_per_frame": 0.984,
"rss_peak_mb": 24.41,
"rss_peak_kb_raw": 24992,
"system_cpu_ms_per_frame": 525.4,
"compositor_cpu_ms_per_frame": 254.8,
"machine_cpu_pct": 198.7,
"machine_cpu_pct_of_all_cores": 99.3,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "all-raw",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "all",
"geometry": [
3840,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 184.327,
"p50": 260.217,
"mean": 262.438,
"p95": 287.182,
"max": 360.502
},
"stage_ms": {
"capture": 262.426,
"encode": 0.0
},
"fps_sustained": 3.81,
"wall_ms": 52487.83,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs",
"cpu_ms_per_frame": 0.974,
"rss_peak_mb": 24.37,
"rss_peak_kb_raw": 24956,
"system_cpu_ms_per_frame": 521.25,
"compositor_cpu_ms_per_frame": 253.8,
"machine_cpu_pct": 198.6,
"machine_cpu_pct_of_all_cores": 99.3,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "all-jpeg",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "all",
"geometry": [
3840,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 200.621,
"p50": 259.203,
"mean": 261.767,
"p95": 302.952,
"max": 362.039
},
"stage_ms": {
"capture": 261.755,
"encode": 0.0
},
"fps_sustained": 3.82,
"wall_ms": 52353.56,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs",
"cpu_ms_per_frame": 0.966,
"rss_peak_mb": 25.06,
"rss_peak_kb_raw": 25664,
"system_cpu_ms_per_frame": 519.6,
"compositor_cpu_ms_per_frame": 252.5,
"machine_cpu_pct": 198.5,
"machine_cpu_pct_of_all_cores": 99.2,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, zwlr-screencopy-v1",
"cell": "all-jpeg",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "zwlr-screencopy-v1",
"output": "all",
"geometry": [
3840,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 176.074,
"p50": 264.922,
"mean": 271.875,
"p95": 327.255,
"max": 511.364
},
"stage_ms": {
"capture": 271.862,
"encode": 0.0
},
"fps_sustained": 3.68,
"wall_ms": 54375.15,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs",
"cpu_ms_per_frame": 0.977,
"rss_peak_mb": 24.95,
"rss_peak_kb_raw": 25544,
"system_cpu_ms_per_frame": 540.8,
"compositor_cpu_ms_per_frame": 257.45,
"machine_cpu_pct": 198.9,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, ext-image-copy-capture-v1",
"cell": "output-raw",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "ext-image-copy-capture-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 16.541,
"p50": 89.632,
"mean": 88.303,
"p95": 114.885,
"max": 185.604
},
"stage_ms": {
"capture": 88.293,
"encode": 0.0
},
"fps_sustained": 11.32,
"wall_ms": 17660.7,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 0.319,
"rss_peak_mb": 24.24,
"rss_peak_kb_raw": 24824,
"system_cpu_ms_per_frame": 175.85,
"compositor_cpu_ms_per_frame": 83.85,
"machine_cpu_pct": 199.1,
"machine_cpu_pct_of_all_cores": 99.6,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, ext-image-copy-capture-v1",
"cell": "output-raw",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "ext-image-copy-capture-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 18.167,
"p50": 92.244,
"mean": 88.266,
"p95": 116.585,
"max": 151.53
},
"stage_ms": {
"capture": 88.255,
"encode": 0.0
},
"fps_sustained": 11.33,
"wall_ms": 17653.3,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 0.323,
"rss_peak_mb": 24.34,
"rss_peak_kb_raw": 24928,
"system_cpu_ms_per_frame": 175.65,
"compositor_cpu_ms_per_frame": 82.8,
"machine_cpu_pct": 199.0,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, ext-image-copy-capture-v1",
"cell": "output-jpeg",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "ext-image-copy-capture-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 21.124,
"p50": 94.126,
"mean": 90.838,
"p95": 134.396,
"max": 187.481
},
"stage_ms": {
"capture": 88.922,
"encode": 1.866
},
"fps_sustained": 11.01,
"wall_ms": 18168.15,
"bytes_p50": 103326,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 1.762,
"rss_peak_mb": 28.93,
"rss_peak_kb_raw": 29628,
"system_cpu_ms_per_frame": 180.7,
"compositor_cpu_ms_per_frame": 84.15,
"machine_cpu_pct": 198.9,
"machine_cpu_pct_of_all_cores": 99.5,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, ext-image-copy-capture-v1",
"cell": "output-jpeg",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "ext-image-copy-capture-v1",
"output": "hh-chromium-qshilo",
"geometry": [
1280,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 23.213,
"p50": 96.28,
"mean": 97.436,
"p95": 141.415,
"max": 355.361
},
"stage_ms": {
"capture": 95.535,
"encode": 1.852
},
"fps_sustained": 10.26,
"wall_ms": 19487.58,
"bytes_p50": 103324,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame",
"cpu_ms_per_frame": 1.781,
"rss_peak_mb": 29.13,
"rss_peak_kb_raw": 29828,
"system_cpu_ms_per_frame": 194.0,
"compositor_cpu_ms_per_frame": 86.35,
"machine_cpu_pct": 199.1,
"machine_cpu_pct_of_all_cores": 99.6,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, ext-image-copy-capture-v1",
"cell": "all-raw",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "ext-image-copy-capture-v1",
"output": "all",
"geometry": [
3840,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 229.04,
"p50": 288.141,
"mean": 313.595,
"p95": 460.58,
"max": 755.788
},
"stage_ms": {
"capture": 313.584,
"encode": 0.0
},
"fps_sustained": 3.19,
"wall_ms": 62719.22,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs",
"cpu_ms_per_frame": 0.987,
"rss_peak_mb": 24.45,
"rss_peak_kb_raw": 25040,
"system_cpu_ms_per_frame": 625.2,
"compositor_cpu_ms_per_frame": 266.8,
"machine_cpu_pct": 199.4,
"machine_cpu_pct_of_all_cores": 99.7,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, ext-image-copy-capture-v1",
"cell": "all-raw",
"run": 2,
"rc": 0,
"language": "python",
"protocol": "ext-image-copy-capture-v1",
"output": "all",
"geometry": [
3840,
720
],
"mode": "raw",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 188.242,
"p50": 265.407,
"mean": 268.194,
"p95": 314.972,
"max": 410.274
},
"stage_ms": {
"capture": 268.183,
"encode": 0.0
},
"fps_sustained": 3.73,
"wall_ms": 53638.97,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs",
"cpu_ms_per_frame": 0.961,
"rss_peak_mb": 24.37,
"rss_peak_kb_raw": 24956,
"system_cpu_ms_per_frame": 533.3,
"compositor_cpu_ms_per_frame": 256.1,
"machine_cpu_pct": 198.8,
"machine_cpu_pct_of_all_cores": 99.4,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
},
{
"route": "pywayland-in-process",
"description": "pywayland in-process, ext-image-copy-capture-v1",
"cell": "all-jpeg",
"run": 1,
"rc": 0,
"language": "python",
"protocol": "ext-image-copy-capture-v1",
"output": "all",
"geometry": [
3840,
720
],
"mode": "jpeg",
"warmup": 10,
"frames": 200,
"frame_ms": {
"min": 203.192,
"p50": 266.026,
"mean": 269.579,
"p95": 300.953,
"max": 454.156
},
"stage_ms": {
"capture": 269.568,
"encode": 0.0
},
"fps_sustained": 3.71,
"wall_ms": 53916.04,
"bytes_p50": null,
"persistent": true,
"notes": "one connection, buffers reused, turbojpeg q80 in-process; 3 output(s); forcing a repaint per frame; stitched 3 outputs",
"cpu_ms_per_frame": 0.975,
"rss_peak_mb": 25.11,
"rss_peak_kb_raw": 25712,
"system_cpu_ms_per_frame": 535.75,
"compositor_cpu_ms_per_frame": 256.15,
"machine_cpu_pct": 198.7,
"machine_cpu_pct_of_all_cores": 99.4,
"frames_bytes_allocated_p50": 3686400,
"resource_notes": ""
}
]
@@ -0,0 +1,7 @@
{
"window_ms": 10000.0,
"system_cpu_ms": 17920.0,
"compositor_cpu_ms": 6900.0,
"system_cpu_pct": 179.2,
"compositor_cpu_pct": 69.0
}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 37.184, "p50": 63.692, "mean": 64.745, "p95": 84.754, "max": 97.661}, "fps_sustained": 15.45, "wall_ms": 13722.74, "bytes_p50": 258815, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); jpeg q80", "cpu_ms_per_frame": 6.062, "rss_peak_mb": 19.72, "rss_peak_kb_raw": 20192, "system_cpu_ms_per_frame": 137.15, "compositor_cpu_ms_per_frame": 47.35, "machine_cpu_pct": 199.9, "machine_cpu_pct_of_all_cores": 99.9, "frames_bytes_allocated_p50": null, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 35.371, "p50": 56.993, "mean": 61.547, "p95": 85.241, "max": 109.849}, "fps_sustained": 16.25, "wall_ms": 13006.45, "bytes_p50": 258815, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); jpeg q80", "cpu_ms_per_frame": 6.015, "rss_peak_mb": 19.74, "rss_peak_kb_raw": 20216, "system_cpu_ms_per_frame": 129.95, "compositor_cpu_ms_per_frame": 46.35, "machine_cpu_pct": 199.8, "machine_cpu_pct_of_all_cores": 99.9, "frames_bytes_allocated_p50": null, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 36.553, "p50": 56.179, "mean": 60.257, "p95": 86.708, "max": 129.015}, "fps_sustained": 16.6, "wall_ms": 12454.97, "bytes_p50": 2764816, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); ppm, unencoded", "cpu_ms_per_frame": 4.212, "rss_peak_mb": 20.54, "rss_peak_kb_raw": 21036, "system_cpu_ms_per_frame": 124.45, "compositor_cpu_ms_per_frame": 52.75, "machine_cpu_pct": 199.8, "machine_cpu_pct_of_all_cores": 99.9, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "grim-subprocess", "language": "python", "protocol": "zwlr-screencopy-v1 (grim's client)", "output": "all", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 31.631, "p50": 52.197, "mean": 53.412, "p95": 66.973, "max": 106.298}, "fps_sustained": 18.72, "wall_ms": 11219.4, "bytes_p50": 2764816, "persistent": false, "notes": "one grim process per frame, fork and encode inside the timed span; territory: --all (every output stitched); ppm, unencoded", "cpu_ms_per_frame": 4.265, "rss_peak_mb": 20.43, "rss_peak_kb_raw": 20916, "system_cpu_ms_per_frame": 112.1, "compositor_cpu_ms_per_frame": 45.4, "machine_cpu_pct": 199.8, "machine_cpu_pct_of_all_cores": 99.9, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
@@ -0,0 +1,10 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 192, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 111, in main
one_frame(argv)
~~~~~~~~~^^^^^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 72, in one_frame
raise RuntimeError(f"grim failed (exit {proc.returncode}); is WAYLAND_DISPLAY set?")
RuntimeError: grim failed (exit 1); is WAYLAND_DISPLAY set?
Whitespace-only changes.
@@ -0,0 +1,10 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 192, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 111, in main
one_frame(argv)
~~~~~~~~~^^^^^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 72, in one_frame
raise RuntimeError(f"grim failed (exit {proc.returncode}); is WAYLAND_DISPLAY set?")
RuntimeError: grim failed (exit 1); is WAYLAND_DISPLAY set?
Whitespace-only changes.
@@ -0,0 +1,10 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 192, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 111, in main
one_frame(argv)
~~~~~~~~~^^^^^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 72, in one_frame
raise RuntimeError(f"grim failed (exit {proc.returncode}); is WAYLAND_DISPLAY set?")
RuntimeError: grim failed (exit 1); is WAYLAND_DISPLAY set?
Whitespace-only changes.
@@ -0,0 +1,10 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 192, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 111, in main
one_frame(argv)
~~~~~~~~~^^^^^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/grim_producer.py", line 72, in one_frame
raise RuntimeError(f"grim failed (exit {proc.returncode}); is WAYLAND_DISPLAY set?")
RuntimeError: grim failed (exit 1); is WAYLAND_DISPLAY set?
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "all", "geometry": [1280, 720], "mode": "jpeg", "warmup": 10, "frames": 200, "frame_ms": {"min": 26.134, "p50": 53.679, "mean": 53.121, "p95": 71.219, "max": 87.846}, "stage_ms": {"capture": 49.302, "encode": 3.803, "stitch": 0.0}, "fps_sustained": 18.82, "wall_ms": 10624.64, "bytes_p50": 218019, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 2.041, "rss_peak_mb": 29.34, "rss_peak_kb_raw": 30048, "system_cpu_ms_per_frame": 106.15, "compositor_cpu_ms_per_frame": 38.7, "machine_cpu_pct": 199.8, "machine_cpu_pct_of_all_cores": 99.9, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "all", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 28.674, "p50": 50.052, "mean": 50.651, "p95": 66.015, "max": 80.998}, "stage_ms": {"capture": 50.644, "encode": 0.0, "stitch": 0.0}, "fps_sustained": 19.74, "wall_ms": 10130.39, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 0.278, "rss_peak_mb": 24.53, "rss_peak_kb_raw": 25116, "system_cpu_ms_per_frame": 101.3, "compositor_cpu_ms_per_frame": 35.35, "machine_cpu_pct": 200.0, "machine_cpu_pct_of_all_cores": 100.0, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
Whitespace-only changes.
@@ -0,0 +1 @@
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "all", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 28.289, "p50": 40.034, "mean": 41.43, "p95": 58.108, "max": 76.787}, "stage_ms": {"capture": 41.423, "encode": 0.0, "stitch": 0.0}, "fps_sustained": 24.14, "wall_ms": 8286.13, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 0.27, "rss_peak_mb": 24.47, "rss_peak_kb_raw": 25060, "system_cpu_ms_per_frame": 82.6, "compositor_cpu_ms_per_frame": 33.45, "machine_cpu_pct": 199.4, "machine_cpu_pct_of_all_cores": 99.7, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
@@ -0,0 +1,13 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 595, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 521, in main
client = Capture(
args.protocol, args.output, args.all, wait_damage=args.wait_damage
)
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 305, in __init__
raise RuntimeError(
...<2 lines>...
)
RuntimeError: no such output: ['hh-chromium-nxopdz']; this compositor has ['Virtual-1']
Whitespace-only changes.
@@ -0,0 +1,13 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 595, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 521, in main
client = Capture(
args.protocol, args.output, args.all, wait_damage=args.wait_damage
)
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 305, in __init__
raise RuntimeError(
...<2 lines>...
)
RuntimeError: no such output: ['hh-chromium-nxopdz']; this compositor has ['Virtual-1']
Whitespace-only changes.
@@ -0,0 +1,13 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 595, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 521, in main
client = Capture(
args.protocol, args.output, args.all, wait_damage=args.wait_damage
)
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 305, in __init__
raise RuntimeError(
...<2 lines>...
)
RuntimeError: no such output: ['hh-chromium-nxopdz']; this compositor has ['Virtual-1']
Whitespace-only changes.
@@ -0,0 +1,13 @@
Traceback (most recent call last):
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 595, in <module>
sys.exit(main())
~~~~^^
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 521, in main
client = Capture(
args.protocol, args.output, args.all, wait_damage=args.wait_damage
)
File "/var/lib/hermes/worktrees/hhs-capture-speed/spikes/capture-speed/producers/wayland_producer.py", line 305, in __init__
raise RuntimeError(
...<2 lines>...
)
RuntimeError: no such output: ['hh-chromium-nxopdz']; this compositor has ['Virtual-1']
Loaded 100 of 168 files, more files were not shown because too many files have changed in this diff. Show more