41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
# RTX 3060 (01:00.0). The Intel iGPU is renderD128 and owns the only physically
|
|
# connected output; this machine deliberately captures a virtual output on the
|
|
# NVIDIA card instead, so capture and NVENC happen without a cross-GPU copy.
|
|
adapter_name = /dev/dri/renderD129
|
|
|
|
# The single output created by hosts/mainframe/sway/headless.conf.
|
|
output_name = HEADLESS-1
|
|
|
|
# wlroots screencopy rather than a KMS grab. This is why the sunshine binary
|
|
# needs no cap_sys_admin here.
|
|
capture = wlr
|
|
|
|
encoder = nvenc
|
|
nvenc_preset = 1
|
|
nvenc_twopass = quarter_res
|
|
|
|
min_log_level = warning
|
|
|
|
# The web UI is reached from other machines on the LAN, so their Origin header
|
|
# names this host rather than localhost and Sunshine's CSRF check rejects it.
|
|
# Both spellings are listed because the browser sends whichever you typed.
|
|
# Comma-separated bare origins — not a JSON array; brackets and quotes are
|
|
# rejected entry by entry.
|
|
csrf_allowed_origins = https://10.0.0.2:47990,https://mainframe:47990,https://localhost:47990
|
|
|
|
# Web UI reachable from the LAN, not just this machine.
|
|
origin_web_ui_allowed = lan
|
|
|
|
# Emulate an Xbox 360 pad regardless of what the client actually holds.
|
|
# The default (auto) mirrors the client's controller, which for a DualSense
|
|
# means Sunshine creates a PlayStation-style HID pad. Steam Big Picture claims
|
|
# that pad through its own HID driver ("Controller 0 mapping uses xinput:
|
|
# false" in ~/.local/share/Steam/logs/controller.txt) and hands input to games
|
|
# only via the Steam Input API. Risk of Rain 2 uses Rewired/XInput and does not
|
|
# speak Steam Input, so it saw a grabbed device and nothing else: the pad works
|
|
# in the Steam UI and is dead the moment a game starts.
|
|
#
|
|
# x360 is the one type Wine's xinput maps directly, so Proton games get a
|
|
# working pad whether or not Steam Input is in the way.
|
|
gamepad = x360
|