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

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

Open
3 tasks done
xoniq opened this issue Mar 24, 2024 · 7 comments
Open
3 tasks done
Labels
input:controller Gamepad issue

Comments

@xoniq
Copy link

xoniq commented Mar 24, 2024

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
@xoniq
Copy link
Author

xoniq commented Mar 25, 2024

To do some tinkering, I removed sunshine and VGiEmBus entirely, no configs, and issue still persists.

Then I found out in the device manager that as soon as I connect with Moonlight to Sunshine that a Xbox 360 controller is created, so that part works.

However the controller shows a exclamation mark, and I cannot resolve that. Even with driver installer suites. Tried everything there.

So Sunshine connects with VGiEmBus but after that no response from controller.

Steam Link still work as expected.

@ReenigneArcher
Copy link
Member

Try reinstalling vigembus (it may require a few attempts), following each one by a restart.

If that doesn't work, try downgrading vigembus.

@xoniq
Copy link
Author

xoniq commented Mar 25, 2024

Thanks for replying. I tried 3 versions, installed it multiple times, including fully reinstall everything, but I keep only seeing the controller appear in the devices panel from windows, but with an exclamation mark. On the newest version of vigembus the controller doesn’t show up there at all. So it does something.

@ReenigneArcher ReenigneArcher added the input:controller Gamepad issue label Mar 27, 2024
@Cabbagec
Copy link

Cabbagec commented Apr 8, 2024

Same, tried with multiple versions of vigembus and sunshine, with no luck. I wanted to stream to moonlight on steam deck, the controller wouldn't show up in device manager or in steam controller settings at all. But sunshine didn't even complain anything about this in the log. Thanks for your dedication anyway, I can still steam with keyboard and mouse without issues.

@TheN00r
Copy link

TheN00r commented Apr 29, 2024

Had a similar problem on moonlight embedded. In my case a firmware update to my Xbox Wireless Controller seems to have changed the hardware id code from 050000005e040000200b000013050000 to 050000005e040000130b000020050000. Adding this code to the controller database has worked for me. By the look of the two codes, two identifier numbers seems to have been swapped around. Perhaps a Microsoft oopsie? Might be the case for series x as well. Have you updated the firmware recently?

@NiBa97
Copy link

NiBa97 commented May 5, 2024

Had a similar problem on moonlight embedded. In my case a firmware update to my Xbox Wireless Controller seems to have changed the hardware id code from 050000005e040000200b000013050000 to 050000005e040000130b000020050000. Adding this code to the controller database has worked for me. By the look of the two codes, two identifier numbers seems to have been swapped around. Perhaps a Microsoft oopsie? Might be the case for series x as well. Have you updated the firmware recently?

I have the same issue, can you elaborate how I can add the code to the controller database? Thanks!

@xoniq
Copy link
Author

xoniq commented May 5, 2024

I have the same issue, can you elaborate how I can add the code to the controller database? Thanks!

Wonder it too for my notes. Eventually I reinstalled Windows, and everything is working fine now. So I wonder what caused it eventually.

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

5 participants