Skip to content

Controller suddenly stopped working. Tried all the logical things, no movement. #2293

Description

@xoniq

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

Controller not working anymore since a few weeks out of the blue

I’m using Sunshine + Moonlight for as long as Sunshine exists and Moonlight back on Nvidia Game Steam. Recently I wanted to resume a game, but noticed that the controller doesn’t work anymore.

I’m using Moonlight on the Apple TV, I can use the controller to navigate to moonlight, select for example ‘Desktop’ on Moonlight. As soon as the desktop appears, it doesn’t do anything anymore. What I’ve tried on moonlight:

  • Gamepad tester website in desktop
  • Steam Big Picture mode (by default setup in Sunshine)
  • Any game I always played

Non works. What I’ve tried furthermore:

  • Remove ViGEmBus
  • Check for Sunshine updates (running v0.22.2)
  • Downgrade in steps to v0.22.0, v0.21.0, v0.20.0, etc.
  • At every downgrade a reboot, followed by reinstall of ViGEmBus, reboot etc.
  • Remove ViGEmBus
  • Switched back to v0.22.2 (warned about missing ViGEmBus)
  • Reinstalled ViGEmBus + reboot
  • No more warning, also no ViGEmBus connect warning in log
  • Still no response

Steam Link does work however, I find the quality and latency of link slightly inferior to Moonlight + Sunshine. So I want to fix it. Took my time today to spend many hours over it, normally I give advice in this sub, but now I’m the one who’s stuck.

  • PC: Windows 11 wired
  • Client: Apple TV 4K (latest with ethernet)
  • Controller: Xbox Series X controller
  • I also tried Moonlight on my Steam Deck, same issue, no response at all

Here is my Sunshine log after a fresh reboot, connectd with Moonlight, pressed a few buttons on my Xbox Series X controller, and closed it (again, no response in Windows on the controller)

Expected Behavior

The controller to work. Which it did for a long time.

Additional Context

No response

Host Operating System

Windows

Operating System Version

11

Architecture

64 bit

Sunshine commit or version

Latest

Package

Windows - installer

GPU Type

AMD

GPU Model

RX 6800

GPU Driver/Mesa Version

Latest

Capture Method (Linux Only)

No response

Config

.

Apps

No response

Relevant log output

[2024:03:23:16:12:54]: Info: Sunshine version: 0.22.2
[2024:03:23:16:12:54]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:03:23:16:12:54]: Info: Compiling shaders...
[2024:03:23:16:12:54]: Info: System tray created
[2024:03:23:16:12:54]: Info: Compiled shaders
[2024:03:23:16:12:54]: Info: Trying encoder [amdvce]
[2024:03:23:16:12:54]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:03:23:16:12:54]: Info: Set GPU preference: 1
[2024:03:23:16:12:54]: Info: 
Device Description : AMD Radeon RX 6800
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000073BF
Device Video Mem   : 16338 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 24545 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024:03:23:16:12:54]: Info: Active GPU has HAGS disabled
[2024:03:23:16:12:54]: Info: Using realtime GPU priority
[2024:03:23:16:12:54]: Info: Desktop resolution [3840x2160]
[2024:03:23:16:12:54]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:23:16:12:54]: Info: Display refresh rate [60Hz]
[2024:03:23:16:12:54]: Info: Requested frame rate [60fps]
[2024:03:23:16:12:54]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.150391,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.4665 nits
Max Luminance      : 486 nits
Max Full Luminance : 486 nits
[2024:03:23:16:12:54]: Info: SDR color coding [Rec. 601]
[2024:03:23:16:12:54]: Info: Color depth: 8-bit
[2024:03:23:16:12:54]: Info: Color range: [JPEG]
[2024:03:23:16:12:54]: Info: SDR color coding [Rec. 601]
[2024:03:23:16:12:54]: Info: Color depth: 8-bit
[2024:03:23:16:12:54]: Info: Color range: [JPEG]
[2024:03:23:16:12:54]: Info: SDR color coding [Rec. 601]
[2024:03:23:16:12:54]: Info: Color depth: 8-bit
[2024:03:23:16:12:54]: Info: Color range: [JPEG]
[2024:03:23:16:12:54]: Error: [av1_amf @ 000001fbce922240] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 30
[2024:03:23:16:12:54]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:03:23:16:12:55]: Info: 
Device Description : AMD Radeon RX 6800
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000073BF
Device Video Mem   : 16338 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 24545 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024:03:23:16:12:55]: Info: Active GPU has HAGS disabled
[2024:03:23:16:12:55]: Info: Using realtime GPU priority
[2024:03:23:16:12:55]: Info: Desktop resolution [3840x2160]
[2024:03:23:16:12:55]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:23:16:12:55]: Info: Display refresh rate [60Hz]
[2024:03:23:16:12:55]: Info: Requested frame rate [60fps]
[2024:03:23:16:12:55]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.150391,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.4665 nits
Max Luminance      : 486 nits
Max Full Luminance : 486 nits
[2024:03:23:16:12:55]: Info: SDR color coding [Rec. 709]
[2024:03:23:16:12:55]: Info: Color depth: 10-bit
[2024:03:23:16:12:55]: Info: Color range: [JPEG]
[2024:03:23:16:12:55]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:03:23:16:12:55]: Info: 
[2024:03:23:16:12:55]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:03:23:16:12:55]: Info: 
[2024:03:23:16:12:55]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:03:23:16:12:55]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:03:23:16:12:55]: Info: Configuration UI available at [https://localhost:47990]
[2024:03:23:16:12:55]: Info: Registered Sunshine mDNS service
[2024:03:23:16:13:04]: Error: A UPnP device has been found,  but it wasn't recognized as an IGD
[2024:03:23:16:13:04]: Info: Encoder reenumeration is required
[2024:03:23:16:13:04]: Info: Trying encoder [amdvce]
[2024:03:23:16:13:04]: Info: 
Device Description : AMD Radeon RX 6800
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000073BF
Device Video Mem   : 16338 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 24545 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024:03:23:16:13:04]: Info: Active GPU has HAGS disabled
[2024:03:23:16:13:04]: Info: Using realtime GPU priority
[2024:03:23:16:13:04]: Info: Desktop resolution [3840x2160]
[2024:03:23:16:13:04]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:23:16:13:04]: Info: Display refresh rate [60Hz]
[2024:03:23:16:13:04]: Info: Requested frame rate [60fps]
[2024:03:23:16:13:04]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.150391,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.4665 nits
Max Luminance      : 486 nits
Max Full Luminance : 486 nits
[2024:03:23:16:13:04]: Info: SDR color coding [Rec. 601]
[2024:03:23:16:13:04]: Info: Color depth: 8-bit
[2024:03:23:16:13:04]: Info: Color range: [JPEG]
[2024:03:23:16:13:05]: Info: SDR color coding [Rec. 601]
[2024:03:23:16:13:05]: Info: Color depth: 8-bit
[2024:03:23:16:13:05]: Info: Color range: [JPEG]
[2024:03:23:16:13:05]: Info: SDR color coding [Rec. 601]
[2024:03:23:16:13:05]: Info: Color depth: 8-bit
[2024:03:23:16:13:05]: Info: Color range: [JPEG]
[2024:03:23:16:13:05]: Error: [av1_amf @ 000001fbce983200] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 30
[2024:03:23:16:13:05]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:03:23:16:13:05]: Info: 
Device Description : AMD Radeon RX 6800
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000073BF
Device Video Mem   : 16338 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 24545 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024:03:23:16:13:05]: Info: Active GPU has HAGS disabled
[2024:03:23:16:13:05]: Info: Using realtime GPU priority
[2024:03:23:16:13:05]: Info: Desktop resolution [3840x2160]
[2024:03:23:16:13:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:23:16:13:05]: Info: Display refresh rate [60Hz]
[2024:03:23:16:13:05]: Info: Requested frame rate [60fps]
[2024:03:23:16:13:05]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.150391,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.4665 nits
Max Luminance      : 486 nits
Max Full Luminance : 486 nits
[2024:03:23:16:13:05]: Info: SDR color coding [Rec. 709]
[2024:03:23:16:13:05]: Info: Color depth: 10-bit
[2024:03:23:16:13:05]: Info: Color range: [JPEG]
[2024:03:23:16:13:05]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:03:23:16:13:05]: Info: 
[2024:03:23:16:13:05]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:03:23:16:13:05]: Info: 
[2024:03:23:16:13:05]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:03:23:16:13:05]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:03:23:16:13:05]: Info: Executing [Desktop]
[2024:03:23:16:13:05]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:03:23:16:13:05]: Info: CLIENT CONNECTED
[2024:03:23:16:13:05]: Info: Gamepad 0 will be Xbox 360 controller (auto-selected by client-reported type)
[2024:03:23:16:13:05]: Info: 
Device Description : AMD Radeon RX 6800
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000073BF
Device Video Mem   : 16338 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 24545 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024:03:23:16:13:05]: Info: Active GPU has HAGS disabled
[2024:03:23:16:13:05]: Info: Using realtime GPU priority
[2024:03:23:16:13:05]: Info: Desktop resolution [3840x2160]
[2024:03:23:16:13:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:23:16:13:05]: Info: Display refresh rate [60Hz]
[2024:03:23:16:13:05]: Info: Requested frame rate [60fps]
[2024:03:23:16:13:05]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.150391,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.4665 nits
Max Luminance      : 486 nits
Max Full Luminance : 486 nits
[2024:03:23:16:13:05]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:03:23:16:13:05]: Info: SDR color coding [Rec. 601]
[2024:03:23:16:13:05]: Info: Color depth: 8-bit
[2024:03:23:16:13:05]: Info: Color range: [MPEG]
[2024:03:23:16:14:20]: Info: CLIENT DISCONNECTED

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