Troubleshooting & FAQ
Ports, permissions, GPU power policy, and the rough edges the repo already knows about.
UDP 47700–47702 · SCREEN RECORDING · ACCESSIBILITY
On this page
- Firewall and ports
- Windows reserved port ranges
- macOS permissions
- Windows SmartScreen
- Tailscale: direct or relayed
- Multi-GPU and displays
- GPU power policy
- Known rough edges
- FAQ
- Does Planck need administrator rights on Windows?
- Do I need a PIN between my own devices on Tailscale?
- Which ports does Planck use?
- Can I host or stream on Linux?
- Can I stream H.264?
- Does Planck support 4:4:4 chroma?
- Does Planck support HDR10?
- Is telemetry on by default?
- Does Planck collect my screen, audio or input?
Firewall and ports
A host listens on three UDP ports. Allow all three through the host's firewall; QUIC runs over UDP, so a TCP rule does not help.
| Port | Carries | Change with |
|---|---|---|
| UDP 47700 | Discovery | -discovery-port, discoveryPort |
| UDP 47701 | QUIC control | -listen, controlPort |
| UDP 47702 | Media | -media-port, mediaPort |
New-NetFirewallRule -DisplayName "Planck host" -Direction Inbound -Protocol UDP -LocalPort 47700-47702 -Action Allow-media-port 0 picks any free port, which a fixed firewall rule will not cover. Discovery beacons stay on the local network: across a router, pass -discovery-addrs ip:port on the client or connect to the host's address.
Windows reserved port ranges
Hyper-V, WSL and WinNAT can reserve blocks of UDP ports. Inside a reserved block, a bind fails withWSAEACCES even though no program owns the port. List the reserved ranges:
netsh int ipv4 show excludedportrange protocol=udpIf 47700 to 47702 fall inside a range, move all three of the host's ports out of it, and point the client at the new control port. -discovery-port 0 turns discovery off instead.
planck-host -listen :41000 -media-port 41001 -discovery-port 41002
# on the client, connect to the moved control port
planck-client -headless -connect host:41000 -pin 123456The standalone planck-host ignores the ports in host.json: it uses 47701, 47702 and 47700 unless you pass the flags, so keep the flags in whatever starts it. Hosting from the desktop app reads controlPort, mediaPort and discoveryPortfrom host.json, so set them there to make the move permanent for the app.
macOS permissions
A Mac that hosts needs two permissions before a stream works. Grant them in System Settings › Privacy & Security.
| Permission | Side | Without it |
|---|---|---|
| Screen Recording | Host | ScreenCaptureKit cannot capture the display |
| Accessibility | Host | Keyboard and mouse from the client are refused (ErrNotTrusted) |
| System audio recording | Host | The stream has no sound |
| Microphone | Client | Your microphone is not sent to the host |
| Local Network | Both | LAN discovery cannot find hosts |
Planck's own wording for Screen Recording is that it "captures this Mac's screen only while it hosts a stream for a device you paired." After changing a permission, quit and reopen Planck.
Windows SmartScreen
Windows builds are unsigned for now, so SmartScreen will prompt before the first run. ChooseMore info, check that the file came from the planck.gg download or the GitHub release, then Run anyway. Compare the file against SHA256SUMS.txt on the release page if you want to be sure:
Get-FileHash .\planck-0.1.0-windows-x64-setup.exe -Algorithm SHA256Tailscale: direct or relayed
Over Tailscale, a stream is only as good as the tailnet path. A direct WireGuard path costs about 0.15 ms of minimum RTT and 60 bytes per packet over the LAN, and Planck caps it at 100 Mbps. A relayed (DERP) path is capped at 20 Mbps.
tailscale ping <host>- When both machines share a LAN, connect over the LAN: it is the fastest path, and Planck prefers it.
- If the ping reports DERP, open UDP for Tailscale on both ends' routers or firewalls so it can find a direct path.
Multi-GPU and displays
DXGI Desktop Duplication can only capture on the GPU that drives the display. On a machine with two GPUs, Planck captures and encodes on the one with the monitor, even when the other is faster.
- To encode on a GPU with no monitor, give it one:
-vdd on -vdd-gpu 4080creates a SudoVDA virtual display on that GPU, at the client's size. SudoVDA is a separate driver. - Planck removes the virtual display when the session ends. After a hard kill, SudoVDA's watchdog removes it about 2.3 s later.
- Encoding on a different GPU than the one that captured does not pay off: D3D11 cross-adapter sharing fails, and staging copies cost 2 to 15 ms per frame.
- Capture above the display's refresh rate is not possible; a 60 Hz monitor caps real capture at 60 fps.
GPU power policy
Fed one frame at a time, an NVIDIA GPU can stay in its idle P8 state. On the test host that made NVENC take 2.95 ms p50 and 70.6 ms p99 at 1080p120, against 1.41 ms p50 when boosted. Planck sets an NVIDIA driver profile for planck-host.exe and planck-client.exe with power management mode "Prefer maximum performance", through NVAPI.
- If encode latency is high on NVIDIA, check the NVIDIA Control Panel's program settings for those two executables.
- AMD AMF on the RX 6700 XT showed encode p99 of 4.3 to 23.5 ms and spikes up to 219 ms, all inside the driver's output call. Raising GPU priority did not fix it.
Known rough edges
- H.264 has no decoder on either client.
- The Windows client presents 8-bit; HDR10 output is macOS only.
- PIN pairing has no PAKE, so a recorded exchange could be brute-forced offline.
- Direct-to-display presentation on macOS is not finished; windowed present adds 8 to 10 ms.
- Virtual audio and virtual display drivers are experimental and not part of any release.
- Linux has no capture, encode or desktop window.
FAQ
Does Planck need administrator rights on Windows?
No. The installer is per-user and installs no drivers, so it runs without administrator rights. Its first dialog can offer an install for all users instead.
Do I need a PIN between my own devices on Tailscale?
No, when both devices belong to the same Tailscale user and the client connects over the tailnet. A client on a LAN address still pairs with the PIN while requirePINForLAN is on, which is the default.
Which ports does Planck use?
UDP 47700 for discovery, UDP 47701 for the QUIC control connection, and UDP 47702 for media, all on the host.
Can I host or stream on Linux?
Not yet. Linux builds run planck-host and planck-client -headless from the command line, but there is no capture backend, encoder or desktop window, so a Linux machine can neither host nor show a stream.
Can I stream H.264?
No. NVENC can encode H.264, but neither client has an H.264 decoder. Use HEVC, the default, or AV1.
Does Planck support 4:4:4 chroma?
Yes, on encoders that report it: NVIDIA NVENC and Intel oneVPL. AMD AMF and Apple VideoToolbox encode 4:2:0 only.
Does Planck support HDR10?
On a macOS client, where both ends and the host desktop have HDR. The Windows client decodes 10-bit HEVC and AV1 but presents 8-bit.
Is telemetry on by default?
Yes. Planck sends four anonymous signals to TelemetryDeck. Turn them off in Settings › General › Anonymous usage telemetry, with "telemetryEnabled": false in client.json, or with planck-host -no-telemetry.
Does Planck collect my screen, audio or input?
No. The telemetry payload has no field for screen content, audio, input, clipboard, names, addresses or PINs.