Virtual HID keeps reporting invalid license

Aperta
#249 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
embedded-iot

Direzione di ricerca

Start by tracing the Windows UMDF backend initialization and license validation path referenced by the log line [libvirtualhid] initialized windows-umdf backend; compare its startup validation with the manual refresh that reports the license as valid. The issue includes no source file or test names, so first locate those entry points and check the startup logs around license validation. Done when the license remains valid after reboot on the affected computer.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the Bug

On a yearly subscription, and using 2 computers, on one of them I currently I'm always getting an invalid license message when
booting the PC. When going to Sunshine and clicking on Refresh validation it is listed as valid, but then on the next reboot it happens again. The other computer works just fine:

[2026-12-04 22:21:10.771]: Info: Sunshine version: 2026.1202.222431 commit: caed55daad2f628645477323813fa4a8e85c028e
[2026-12-04 22:21:10.773]: Info: Package Publisher: LizardByte
[2026-12-04 22:21:10.773]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-12-04 22:21:10.773]: Info: Get support: https://app.lizardbyte.dev/support
[2026-12-04 22:21:10.773]: Info: config: 'gamepad_driver' = all
[2026-12-04 22:21:10.773]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2026-12-04 22:21:10.777]: Info: Currently available display devices:
[
{
"device_id": "{c220c50a-d714-5a13-8a51-612248c33269}",
"display_name": "\\.\DISPLAY1",
"edid": {
"manufacturer_id": "DEL",
"product_code": "D19F",
"serial_number": 827938906
},
"friendly_name": "AW2725DM",
"info": {
"hdr_state": "Disabled",
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 1000,
"numerator": 179845
}
},
"resolution": {
"height": 1440,
"width": 2560
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 100
}
}
},
"is_internal": false
}
]
[2026-12-04 22:21:11.002]: Info: nvprefs: No need to modify application profile settings
[2026-12-04 22:21:11.003]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2026-12-04 22:21:11.069]: Info: Compiling shaders...
[2026-12-04 22:21:11.279]: Info: Compiled shaders
[2026-12-04 22:21:11.365]: Info: [libvirtualhid] initialized windows-umdf backend
[2026-12-04 22:21:11.389]: Info: [libvirtualhid] created mouse 2
[2026-12-04 22:21:11.389]: Info: Virtual HID Driver license is not valid; using the ViGEmBus gamepad fallback
[2026-12-04 22:21:11.389]: Warning: ViGEmBus is not installed or running, so its limited Xbox 360 and DualShock 4 gamepad support is unavailable
[2026-12-04 22:21:11.390]: Warning: No gamepad input is available
[2026-12-04 22:21:11.391]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-12-04 22:21:11.391]: Info: Trying encoder [nvenc]
[2026-12-04 22:21:11.748]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:11.749]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:11.749]: Info: Using realtime GPU priority
[2026-12-04 22:21:11.749]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:11.751]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:11.751]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:11.751]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:11.751]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:11.751]: Info: Creating encoder [h264_nvenc]
[2026-12-04 22:21:11.751]: Info: Color coding: SDR (Rec. 601)
[2026-12-04 22:21:11.751]: Info: Color depth: 8-bit
[2026-12-04 22:21:11.751]: Info: Color range: JPEG
[2026-12-04 22:21:11.839]: Info: NvEnc: created encoder v1301 H.264 P1 async two-pass rfi
[2026-12-04 22:21:11.870]: Info: Creating encoder [hevc_nvenc]
[2026-12-04 22:21:11.870]: Info: Color coding: SDR (Rec. 601)
[2026-12-04 22:21:11.870]: Info: Color depth: 8-bit
[2026-12-04 22:21:11.870]: Info: Color range: JPEG
[2026-12-04 22:21:11.916]: Info: NvEnc: created encoder v1301 HEVC P1 async two-pass rfi sfe-auto
[2026-12-04 22:21:11.939]: Info: Creating encoder [av1_nvenc]
[2026-12-04 22:21:11.939]: Info: Color coding: SDR (Rec. 601)
[2026-12-04 22:21:11.939]: Info: Color depth: 8-bit
[2026-12-04 22:21:11.939]: Info: Color range: JPEG
[2026-12-04 22:21:11.984]: Info: NvEnc: created encoder v1301 AV1 P1 async two-pass rfi sfe-auto
[2026-12-04 22:21:12.185]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:12.185]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:12.185]: Info: Using realtime GPU priority
[2026-12-04 22:21:12.185]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:12.186]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:12.186]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:12.186]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:12.186]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:12.187]: Info: Creating encoder [h264_nvenc]
[2026-12-04 22:21:12.187]: Info: Color coding: SDR (Rec. 601)
[2026-12-04 22:21:12.187]: Info: Color depth: 8-bit
[2026-12-04 22:21:12.187]: Info: Color range: JPEG
[2026-12-04 22:21:12.223]: Info: NvEnc: created encoder v1301 H.264 P1 async yuv444 two-pass rfi
[2026-12-04 22:21:12.408]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:12.408]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:12.408]: Info: Using realtime GPU priority
[2026-12-04 22:21:12.408]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:12.410]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:12.410]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:12.410]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:12.410]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:12.410]: Info: Creating encoder [hevc_nvenc]
[2026-12-04 22:21:12.410]: Info: Color coding: SDR (Rec. 601)
[2026-12-04 22:21:12.410]: Info: Color depth: 8-bit
[2026-12-04 22:21:12.410]: Info: Color range: JPEG
[2026-12-04 22:21:12.447]: Info: NvEnc: created encoder v1301 HEVC P1 async yuv444 two-pass rfi sfe-auto
[2026-12-04 22:21:12.649]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:12.649]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:12.649]: Info: Using realtime GPU priority
[2026-12-04 22:21:12.649]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:12.650]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:12.650]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:12.650]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:12.650]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:12.651]: Info: Creating encoder [hevc_nvenc]
[2026-12-04 22:21:12.651]: Info: Color coding: SDR (Rec. 709)
[2026-12-04 22:21:12.651]: Info: Color depth: 10-bit
[2026-12-04 22:21:12.651]: Info: Color range: JPEG
[2026-12-04 22:21:12.691]: Info: NvEnc: created encoder v1301 HEVC P1 async 10-bit two-pass rfi sfe-auto
[2026-12-04 22:21:13.147]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:13.147]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:13.147]: Info: Using realtime GPU priority
[2026-12-04 22:21:13.147]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:13.148]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:13.148]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:13.149]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:13.149]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:13.149]: Info: Creating encoder [hevc_nvenc]
[2026-12-04 22:21:13.149]: Info: Color coding: SDR (Rec. 709)
[2026-12-04 22:21:13.149]: Info: Color depth: 10-bit
[2026-12-04 22:21:13.149]: Info: Color range: JPEG
[2026-12-04 22:21:13.270]: Info: NvEnc: created encoder v1301 HEVC P1 async yuv444 10-bit two-pass rfi sfe-auto
[2026-12-04 22:21:13.463]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:13.464]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:13.464]: Info: Using realtime GPU priority
[2026-12-04 22:21:13.464]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:13.465]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:13.465]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:13.465]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:13.465]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:13.465]: Info: Creating encoder [av1_nvenc]
[2026-12-04 22:21:13.465]: Info: Color coding: SDR (Rec. 601)
[2026-12-04 22:21:13.465]: Info: Color depth: 8-bit
[2026-12-04 22:21:13.465]: Info: Color range: JPEG
[2026-12-04 22:21:13.479]: Error: NvEnc: gpu doesn't support YUV444 encode
[2026-12-04 22:21:13.479]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2026-12-04 22:21:13.643]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:13.644]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:13.644]: Info: Using realtime GPU priority
[2026-12-04 22:21:13.644]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:13.645]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:13.645]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:13.645]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:13.645]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:13.645]: Info: Creating encoder [av1_nvenc]
[2026-12-04 22:21:13.645]: Info: Color coding: SDR (Rec. 709)
[2026-12-04 22:21:13.645]: Info: Color depth: 10-bit
[2026-12-04 22:21:13.645]: Info: Color range: JPEG
[2026-12-04 22:21:13.682]: Info: NvEnc: created encoder v1301 AV1 P1 async 10-bit two-pass rfi sfe-auto
[2026-12-04 22:21:13.847]: Info:
Device Description : NVIDIA GeForce RTX 5070 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002C05
Device Video Mem : 15995 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16225 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-12-04 22:21:13.847]: Info: Active GPU has HAGS enabled
[2026-12-04 22:21:13.847]: Info: Using realtime GPU priority
[2026-12-04 22:21:13.847]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.62997,0.328169]
Green Primary : [0.279304,0.597945]
Blue Primary : [0.145927,0.0556259]
White Point : [0.314294,0.330566]
Min Luminance : 0 nits
Max Luminance : 240 nits
Max Full Luminance : 240 nits
[2026-12-04 22:21:13.848]: Info: Desktop resolution [2560x1440]
[2026-12-04 22:21:13.849]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-12-04 22:21:13.849]: Info: Display refresh rate [179.845Hz]
[2026-12-04 22:21:13.849]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-12-04 22:21:13.849]: Info: Creating encoder [av1_nvenc]
[2026-12-04 22:21:13.849]: Info: Color coding: SDR (Rec. 709)
[2026-12-04 22:21:13.849]: Info: Color depth: 10-bit
[2026-12-04 22:21:13.849]: Info: Color range: JPEG
[2026-12-04 22:21:13.900]: Error: NvEnc: gpu doesn't support YUV444 encode
[2026-12-04 22:21:13.900]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2026-12-04 22:21:13.926]: Info:
[2026-12-04 22:21:13.927]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-12-04 22:21:13.927]: Info:
[2026-12-04 22:21:13.927]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-12-04 22:21:13.927]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-12-04 22:21:13.927]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2026-12-04 22:21:13.930]: Info: Starting system tray
[2026-12-04 22:21:13.931]: Info: [libvirtualhid] initialized windows-umdf backend
[2026-12-04 22:21:13.932]: Info: System tray thread initialized successfully
[2026-12-04 22:21:13.932]: Info: No main thread features enabled, skipping event loop
[2026-12-04 22:21:13.932]: Info: System tray thread started
[2026-12-04 22:21:13.940]: Info: Configuration UI available at [https://localhost:47990]
[2026-12-04 22:21:13.966]: Warning: Qt: Invalid curv table
[2026-12-04 22:21:13.966]: Warning: Qt: fromIccProfile: Invalid rTRC
[2026-12-04 22:21:13.978]: Info: Qt: QtTrayMenu: using Qt style "windows11"
[2026-12-04 22:21:14.015]: Info: System tray created
[2026-12-04 22:21:16.228]: Info: Registered Sunshine mDNS service
[2026-12-04 22:21:22.890]: Info: C:\Windows\system32\cmd.exe /d /v:off /c start "" https://localhost:47990/troubleshooting#virtualhid-license running with PID 18920
[2026-12-04 22:21:22.890]: Info: Opening url [https://localhost:47990/troubleshooting#virtualhid-license]
[2026-12-04 22:21:23.351]: Info: Web UI: [127.0.0.1] -- not authorized
[2026-12-04 22:21:33.039]: Info: [libvirtualhid] initialized windows-umdf backend

Expected Behavior

No response

Additional Context

No response

Lingua principale
C++
Stelle
129
Fork
40
Merge medio
1g 2h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LizardByte/libvirtualhid

Tutte le issue di LizardByte/libvirtualhid

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.