virtualhid license check runs only once at startup and is never retried when the network is not up yet
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
The license check is tied to Sunshine's startup and the Web UI troubleshooting refresh, which the payload does not name by file. Start by finding where the virtualhid license validation runs at startup and where the Web UI refresh calls into it. Done would mean a failed check caused by network unavailability is retried in the background or on client connect, while a truly invalid license still disables gamepads. Expect a design decision on retry policy before coding.
由索引模型根据 Issue 内容生成。
描述
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- I have read the documentation
Is your issue present in the latest beta/pre-release?
I'm too lazy to test
Describe the Bug
Sunshine validates the virtualhid (libvirtualhid) gamepad license only once, at startup.
When Sunshine starts at boot (as a service) before the network is available, the check
fails and every gamepad driver stays disabled for the whole session. The license is never
re-validated once the network comes up.
To get gamepads back I have to log in manually, open the Web UI
(Troubleshooting → virtualhid license) and refresh the validation, or restart the service.
Expected Behavior
Gamepads should work after a normal boot, without any manual action, as long as the
license is valid.
In particular:
- A failed check caused by the license server being unreachable (no network, DNS not
ready, timeout) should not be treated the same as a license that is actually invalid. - In that case Sunshine should retry the validation automatically: periodically in the
background until it succeeds, and/or when a client connects.
Additional Context
No response
Host Operating System
Windows
Operating System Version
11
Architecture
amd64/x86_64
Package
Windows - msi installer (recommended)
GPU Type
AMD
GPU Model
9060 XT
GPU Driver/Mesa Version
26.10.1
Capture Method
No response
Apps
Log output
Online logs
No response
- 主要语言
- C++
- 星标
- 43k
- 派生
- 2.4k
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 111
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LizardByte/Sunshine 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
LizardByte/Sunshine#6051 ·
维护者通常 1 天内回复
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the token可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
LizardByte/Sunshine#5467 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
LizardByte/Sunshine#6048 ·
维护者通常 1 天内回复
-
KWin + VA-API: Black screen on RX 6700 XT with EGL_BAD_PARAMETER (0x300C); memory-buffer workaround causes high latency可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
LizardByte/Sunshine#6009 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 4/5 1-2 天 新手友好度 45/100
LizardByte/Sunshine#6002 ·
维护者通常 1 天内回复
查看 LizardByte/Sunshine 的全部 Issue
相似的 Issue
-
go perft exits when EvalFile is unavailable可能已有人在做 @Muawiya-contact 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
official-stockfish/Stockfish#7292 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
arvidn/libtorrent#9149 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Niko1221/Strata#5560 · 2 条评论 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
hyprwm/xdg-desktop-portal-hyprland#453 · 1 条评论 ·