Skip to content

Sunshine shows ViGEmBus is not installed or running #2270

Description

@shanyan-wcx

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 nightly release?

  • This issue is present in the nightly release

Describe the Bug

屏幕截图 2024-03-15 212341

Reinstalling Sunshine did not solve the problem, but it seems to have no impact on my streaming. How should I fix this problem?

Expected Behavior

Don't show this error again.

Additional Context

No response

Host Operating System

Windows

Operating System Version

win11 23H2

Architecture

64 bit

Sunshine commit or version

0.22.2

Package

Windows - installer

GPU Type

Nvidia

GPU Model

4070ti

GPU Driver/Mesa Version

551.76

Capture Method (Linux Only)

No response

Config

av1_mode = 3
address_family = both
encoder = nvenc
hevc_mode = 3
resolutions = [
    352x240,
    480x360,
    858x480,
    1280x720,
    1920x1080,
    2560x1080,
    3440x1440,
    1920x1200,
    3840x2160,
    3840x1600,
    2720x1260
]
upnp = enabled
global_prep_cmd = [{"do":"MultiMonitorTool.exe /disable LLT1101 /enable LNX0000","undo":"MultiMonitorTool.exe /disable LNX0000 /enable LLT1101","elevated":"true"},{"do":"rundll32 HDRController.dll,DisableGlobalHDRState","undo":"","elevated":"true"},{"do":"rundll32 HDRController.dll,EnableGlobalHDRState","undo":"","elevated":"true"}]

Apps

No response

Relevant log output

[2024:03:15:21:11:36]: Info: Sunshine version: 0.22.2
[2024:03:15:21:11:36]: Info: nvprefs: No need to modify application profile settings
[2024:03:15:21:11:36]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024:03:15:21:11:37]: Info: Compiling shaders...
[2024:03:15:21:11:37]: Info: System tray created
[2024:03:15:21:11:37]: Info: Compiled shaders
[2024:03:15:21:11:37]: Fatal: ViGEmBus is not installed or running. You must install ViGEmBus for gamepad support!
[2024:03:15:21:11:37]: Info: Trying encoder [nvenc]
[2024:03:15:21:11:37]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:03:15:21:11:37]: Info: Set GPU preference: 1
[2024:03:15:21:11:37]: Info: 
Device Description : NVIDIA GeForce RTX 4070 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002782
Device Video Mem   : 11996 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16304 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2024:03:15:21:11:37]: Info: Active GPU has HAGS enabled
[2024:03:15:21:11:37]: Info: Using realtime GPU priority
[2024:03:15:21:11:37]: Info: Desktop resolution [2560x1440]
[2024:03:15:21:11:37]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:15:21:11:37]: Info: Display refresh rate [164.999Hz]
[2024:03:15:21:11:37]: Info: Requested frame rate [60fps]
[2024:03:15:21:11:37]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.6875,0.300781]
Green Primary      : [0.263672,0.65625]
Blue Primary       : [0.140625,0.0791016]
White Point        : [0.313477,0.330078]
Min Luminance      : 0.0156 nits
Max Luminance      : 1015.27 nits
Max Full Luminance : 766.148 nits
[2024:03:15:21:11:37]: Info: SDR color coding [Rec. 601]
[2024:03:15:21:11:37]: Info: Color depth: 8-bit
[2024:03:15:21:11:37]: Info: Color range: [JPEG]
[2024:03:15:21:11:37]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:03:15:21:11:37]: Info: SDR color coding [Rec. 601]
[2024:03:15:21:11:37]: Info: Color depth: 8-bit
[2024:03:15:21:11:37]: Info: Color range: [JPEG]
[2024:03:15:21:11:37]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:03:15:21:11:37]: Info: SDR color coding [Rec. 601]
[2024:03:15:21:11:37]: Info: Color depth: 8-bit
[2024:03:15:21:11:37]: Info: Color range: [JPEG]
[2024:03:15:21:11:37]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:03:15:21:11:37]: Info: 
Device Description : NVIDIA GeForce RTX 4070 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002782
Device Video Mem   : 11996 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16304 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2024:03:15:21:11:37]: Info: Active GPU has HAGS enabled
[2024:03:15:21:11:37]: Info: Using realtime GPU priority
[2024:03:15:21:11:37]: Info: Desktop resolution [2560x1440]
[2024:03:15:21:11:37]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:15:21:11:37]: Info: Display refresh rate [164.999Hz]
[2024:03:15:21:11:37]: Info: Requested frame rate [60fps]
[2024:03:15:21:11:37]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.6875,0.300781]
Green Primary      : [0.263672,0.65625]
Blue Primary       : [0.140625,0.0791016]
White Point        : [0.313477,0.330078]
Min Luminance      : 0.0156 nits
Max Luminance      : 1015.27 nits
Max Full Luminance : 766.148 nits
[2024:03:15:21:11:37]: Info: SDR color coding [Rec. 709]
[2024:03:15:21:11:37]: Info: Color depth: 10-bit
[2024:03:15:21:11:37]: Info: Color range: [JPEG]
[2024:03:15:21:11:37]: Info: NvEnc: created encoder P1 10-bit two-pass rfi
[2024:03:15:21:11:37]: Info: SDR color coding [Rec. 709]
[2024:03:15:21:11:37]: Info: Color depth: 10-bit
[2024:03:15:21:11:37]: Info: Color range: [JPEG]
[2024:03:15:21:11:37]: Info: NvEnc: created encoder P1 10-bit two-pass rfi
[2024:03:15:21:11:37]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:03:15:21:11:37]: Info: 
[2024:03:15:21:11:37]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:03:15:21:11:37]: Info: 
[2024:03:15:21:11:37]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024:03:15:21:11:37]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024:03:15:21:11:37]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2024:03:15:21:11:37]: Info: Configuration UI available at [https://localhost:47990]
[2024:03:15:21:11:38]: Info: Registered Sunshine mDNS service
[2024:03:15:21:11:39]: Error: UPNP_GetSpecificPortMappingEntry() failed: 501
[2024:03:15:21:11:40]: Error: UPNP_GetSpecificPortMappingEntry() failed: 501
[2024:03:15:21:11:40]: Error: UPNP_GetSpecificPortMappingEntry() failed: 501
[2024:03:15:21:11:40]: Error: UPNP_GetSpecificPortMappingEntry() failed: 501
[2024:03:15:21:11:40]: Info: Opening UI from system tray
[2024:03:15:21:11:40]: Info: Resolved user-provided command 'https://localhost:47990' to '"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument https://localhost:47990'
[2024:03:15:21:11:40]: Info: https://localhost:47990 running with PID 13828
[2024:03:15:21:11:40]: Info: Opened url [https://localhost:47990]
[2024:03:15:21:11:40]: Error: UPNP_GetSpecificPortMappingEntry() failed: 501
[2024:03:15:21:11:41]: Error: UPNP_GetSpecificPortMappingEntry() failed: 501
[2024:03:15:21:11:41]: Info: Completed UPnP port mappings to 192.168.0.110 via http://192.168.0.1:1900/igd.xml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions