mac-mini wired to LAN: update IPs and revert WiFi moonlight/sunshine configs
- mac-mini: lan_ip 192.168.8.174 → 192.168.178.182 (wired en0) - ludo-mini: add lan_ip (192.168.178.181) and ssh user (dtoro) - Investigation doc: mark Ethernet wiring resolved, add wired-era settings - Moonlight: bitrate 60→80 Mbps, framepacing off - Sunshine: bitrate 40→80 Mbps, fec 2→5%, packetsize 1024→1316
This commit is contained in:
@@ -325,7 +325,7 @@ hosts:
|
|||||||
kind: workstation
|
kind: workstation
|
||||||
os: macos
|
os: macos
|
||||||
role: dev
|
role: dev
|
||||||
lan_ip: 192.168.8.174
|
lan_ip: 192.168.178.182
|
||||||
mesh:
|
mesh:
|
||||||
netbird:
|
netbird:
|
||||||
fqdn: mac-mini-234-17.netbird.selfhosted
|
fqdn: mac-mini-234-17.netbird.selfhosted
|
||||||
@@ -338,12 +338,12 @@ hosts:
|
|||||||
kind: workstation
|
kind: workstation
|
||||||
os: linux
|
os: linux
|
||||||
role: dev
|
role: dev
|
||||||
|
lan_ip: 192.168.178.181
|
||||||
mesh:
|
mesh:
|
||||||
netbird:
|
netbird:
|
||||||
fqdn: ludo-mini.netbird.selfhosted
|
fqdn: ludo-mini.netbird.selfhosted
|
||||||
# ssh.user defaults to root; uncomment + set to the actual login user
|
ssh:
|
||||||
# before relying on `homelab ssh ludo-mini` or netbird-ssh INTO this host.
|
user: dtoro
|
||||||
# ssh: { user: ludo }
|
|
||||||
netbird-vps:
|
netbird-vps:
|
||||||
kind: external
|
kind: external
|
||||||
os: linux
|
os: linux
|
||||||
|
|||||||
@@ -40,31 +40,45 @@ Moonlight/Sunshine streams real-time video over UDP. Any jitter spike or dropout
|
|||||||
### mac-mini — Moonlight (via `defaults write`)
|
### mac-mini — Moonlight (via `defaults write`)
|
||||||
|
|
||||||
| Setting | Before | After | Rationale |
|
| Setting | Before | After | Rationale |
|
||||||
|---------|--------|-------|-----------|
|
||---------|--------|-------|-----------|
|
||||||
| bitrate | 57 Mbps | 25 Mbps | Reduce to a level WiFi can sustain consistently |
|
|| bitrate | 57 Mbps | 25 Mbps | Reduce to a level WiFi can sustain consistently |
|
||||||
| framepacing | off (0) | on (1) | Smooths frame timing over variable latency |
|
|| framepacing | off (0) | on (1) | Smooths frame timing over variable latency |
|
||||||
| fps | 30 | 60 | Restored to game-appropriate value |
|
|| fps | 30 | 60 | Restored to game-appropriate value |
|
||||||
|
|
||||||
|
### mac-mini — Moonlight (current, wired — 2026-06-04)
|
||||||
|
|
||||||
|
| Setting | WiFi value | Wired value | Rationale |
|
||||||
|
||---------|-----------|-------------|-----------|
|
||||||
|
|| bitrate | 60 Mbps | 80 Mbps | Wired 1 GbE can sustain comfortably |
|
||||||
|
|| framepacing | on (1) | off (0) | Wired latency is consistent, no smoothing needed |
|
||||||
|
|| fps | 60 | 60 | Unchanged |
|
||||||
|
|
||||||
### ludo-mini — Sunshine (via SSH)
|
### ludo-mini — Sunshine (via SSH)
|
||||||
|
|
||||||
| Setting | Before | After | Rationale |
|
| Setting | WiFi value | Wired value | Rationale |
|
||||||
|---------|--------|-------|-----------|
|
||---------|-----------|-------------|-----------|
|
||||||
| bitrate | 80 Mbps | 40 Mbps | Match Moonlight's reduced bitrate ceiling |
|
|| bitrate | 40 Mbps | 80 Mbps | Wired can handle full bandwidth |
|
||||||
| fec_percentage | 5 | 2 | Less forward-error-correction overhead over WiFi |
|
|| fec_percentage | 2 | 5 | Restored to default — wired has no dropout concern |
|
||||||
| packetsize | (default) | 1024 | Smaller packets = less WiFi retransmit cost |
|
|| packetsize | 1024 | 1316 | Restored to default (Ethernet MTU) |
|
||||||
|
|
||||||
Sunshine restarted after changes; confirmed active.
|
Sunshine restarted after changes; confirmed active.
|
||||||
|
|
||||||
|
## Resolution
|
||||||
|
|
||||||
|
### 2026-06-04 — mac-mini wired to LAN
|
||||||
|
|
||||||
|
mac-mini plugged into Ethernet (en0, 192.168.178.182). This definitively resolves the WiFi jitter that caused streaming instability. All WiFi-era conservative settings reverted to appropriate wired values on both ends.
|
||||||
|
|
||||||
## Open questions
|
## Open questions
|
||||||
|
|
||||||
1. **Ethernet wiring** — mac-mini has an active en0 port. Plugging it into the same switch/router as ludo-mini would eliminate WiFi jitter entirely. This is the definitive fix.
|
~~1. **Ethernet wiring** — mac-mini has an active en0 port. Plugging it into the same switch/router as ludo-mini would eliminate WiFi jitter entirely. This is the definitive fix.~~ **RESOLVED** — mac-mini now wired via en0.
|
||||||
2. **WiFi alternatives** — If wiring is impractical, a WiFi 6 (802.11ax) USB adapter or Thunderbolt-to-Ethernet adapter would help, but wired Ethernet is the only reliable solution for game streaming.
|
2. **WiFi alternatives** — If wiring is impractical, a WiFi 6 (802.11ax) USB adapter or Thunderbolt-to-Ethernet adapter would help, but wired Ethernet is the only reliable solution for game streaming.
|
||||||
3. **Netbird route** — `192.168.8.0/24` is routed over Netbird `utun100`. If Moonlight ever falls back to that subnet (ludo-mini's 192.168.8.133 LAN IP), traffic tunnels unnecessarily. Moonlight correctly uses 192.168.178.181, so this is not currently an issue.
|
3. **Netbird route** — `192.168.8.0/24` is routed over Netbird `utun100`. If Moonlight ever falls back to that subnet (ludo-mini's 192.168.8.133 LAN IP), traffic tunnels unnecessarily. Moonlight correctly uses 192.168.178.181, so this is not currently an issue.
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### 2026-06-03 — Initial investigation and mitigations
|
### 2026-06-04 — mac-mini wired to LAN, configs reverted from WiFi mitigations
|
||||||
- Diagnosed WiFi jitter as root cause of unstable Sunshine/Moonlight streaming
|
- mac-mini connected via en0 (wired Ethernet, 192.168.178.182), WiFi mitigations no longer needed
|
||||||
- Applied Moonlight bitrate reduction (57→25 Mbps), frame pacing, fps fix
|
- Moonlight: bitrate 60→80 Mbps, framepacing disabled
|
||||||
- Applied Sunshine bitrate reduction (80→40 Mbps), fec_percentage (5→2), packetsize (1024)
|
- Sunshine: bitrate 40→80 Mbps, fec_percentage 2→5, packetsize restored to default (1316)
|
||||||
- Documented findings and open questions
|
- First root cause in investigation (Open questions #1) resolved
|
||||||
Reference in New Issue
Block a user