Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunshine shows ViGEmBus is not installed or running #2270

Closed
3 tasks done
shanyan-wcx opened this issue Mar 15, 2024 · 5 comments
Closed
3 tasks done

Sunshine shows ViGEmBus is not installed or running #2270

shanyan-wcx opened this issue Mar 15, 2024 · 5 comments
Labels
input:controller Gamepad issue

Comments

@shanyan-wcx
Copy link

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
@ReenigneArcher
Copy link
Member

seems to have no impact on my streaming

Are you saying the gamepad works when passed from Moonlight to the host?

@shanyan-wcx
Copy link
Author

seems to have no impact on my streaming

Are you saying the gamepad works when passed from Moonlight to the host?

Sorry, gamepad cannot be used. It can only be used when simulating a mouse.

@ReenigneArcher
Copy link
Member

ReenigneArcher commented Mar 15, 2024

You need to install vigembus. https://github.com/nefarius/ViGEmBus/releases

Our installer is supposed to do this automatically, but it might not in all cases.

@shanyan-wcx
Copy link
Author

You need to install vigembus. https://github.com/nefarius/ViGEmBus/releases

Our installer is supposed to do this automatically, but it might not in all cases.

I am unable to install the latest ViGEmBus 1.22.0 due to the source file not being found. Finally, I installed 1.17.333 and successfully eliminated the error. Will the inability to use the latest version cause any issues?
屏幕截图 2024-03-15 232711

@ReenigneArcher
Copy link
Member

I think 1.17 or newer is fine.

I'm guessing their installer downloads something during install, and for some reason it can't. Maybe it's blocked in your country.

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
@ReenigneArcher ReenigneArcher added the input:controller Gamepad issue label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
input:controller Gamepad issue
Projects
None yet
Development

No branches or pull requests

2 participants