docs: streaming a real monitor, and the CLI that names one
The console grew a "Streamed screen" card and the host grew a PUNKTFUNK_CAPTURE_MONITOR knob and a list-monitors command, and the docs knew about none of it — a control with no explanation anywhere. virtual-displays.md gets the feature section: what it is for, that the monitor is never touched, that its resolution wins and a client scales, that a bad name is a hard error rather than a different screen, and that there is no chooser dialog on any of the four backends (which is what makes it work unattended). Plus the three troubleshooting entries the shape of the feature predicts: settings that do nothing while mirroring, a console card the env var has locked, and a pin that names no head. host-cli.md documents list-monitors and mirror-test; configuration.md gets the knob, including that it outranks the console on purpose; running-as-a-service.md gets the desktop-session drop-in and states that the host needs nothing exported to find its session. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,6 +86,33 @@ hosts from another machine with `punktfunk-probe --discover`. Where multicast do
|
||||
Docker/VLAN setups), pass `--no-mdns` (or set `PUNKTFUNK_MDNS=0`) and add the host in the client by
|
||||
address instead.
|
||||
|
||||
## `list-monitors`
|
||||
|
||||
`punktfunk-host list-monitors` prints the **physical** monitors this host's compositor has, by
|
||||
connector name — which is how you name one for [Streamed
|
||||
screen](/docs/virtual-displays#stream-a-real-monitor-instead) (in the console, or as
|
||||
`PUNKTFUNK_CAPTURE_MONITOR`).
|
||||
|
||||
```sh
|
||||
punktfunk-host list-monitors
|
||||
```
|
||||
|
||||
```
|
||||
Kwin:
|
||||
HDMI-A-1 1920x1080@60 at +0,+0 scale 1 Dell U2412M [primary]
|
||||
DP-2 2560x1440@144 at +1920,+0 scale 1 ACME 27 [PINNED]
|
||||
```
|
||||
|
||||
Tags flag what's worth knowing before you pick: `primary`, `disabled` (nothing to stream), `punktfunk
|
||||
virtual display` (one of ours, not a real head), and `PINNED` for the one currently selected. Linux
|
||||
only — it reads the live compositor, so run it in (or with the environment of) the session you want
|
||||
to stream.
|
||||
|
||||
`punktfunk-host mirror-test --monitor <CONNECTOR> [--seconds N] [--cpu]` then proves the whole path —
|
||||
mirror, capture, frames — with no client involved. It reports the first frame, the frame count and
|
||||
the negotiated size. Screen recording is damage-driven, so move the mouse on the host while it runs;
|
||||
an idle desktop legitimately yields almost nothing.
|
||||
|
||||
## `detect-conflicts`
|
||||
|
||||
`punktfunk-host detect-conflicts` reports other Moonlight-compatible hosts (Sunshine, Apollo, and
|
||||
|
||||
Reference in New Issue
Block a user