DuoStream / Duo

An HDR-compatible multiseat streaming solution based around RdpWrap, Sunshine, Moonlight, and a variety of custom driver and library patches
440 stars 1 forks source link

Built-in Gamepad Detection on Rog Ally X #151

Closed gattostivalato closed 1 month ago

gattostivalato commented 3 months ago

Update Aug 28

Ok, it seems to be a jailing issue.

When I connect to the session, joy.cpl on my main PC (non-Sunshine instance) detects the controller correctly.

Per https://github.com/DuoStream/Duo/issues/35#issuecomment-1938694334 , I have 2 "Nefarius Virtual Gamepad Emulation Bus" entries:

Original Post

Hi there, been a while!

I recently got a Rog Ally X, and I'm struggling with gamepad detection on my Duo instance. This is only for the built-in controller, if I dock the Ally and use a Switch Pro controller, there's no issue.

Steps to reproduce:

Standalone, non-Steam Games

  1. Launch Moonlight via Armory Crate, using the Gamepad profile
  2. Choose Desktop as application to launch
  3. Start game from Desktop shortcut using touch screen
  4. Controls are unresponsive

Steam Games

  1. Launch Moonlight via Armory Crate, using the Gamepad profile
  2. Choose Steam as application to launch. Steam starts in Big Picture
  3. Controls are unresponsive, unless switching to Desktop profile via Ally's Command Center
  4. Select game to launch
  5. In the game's tab, click on the controller icon
  6. Get message: No controller is connected

Alternatively: launching a Steam Game via Moonlight shortcut directly results in unresponsive controls in the game itself (presumably since Steam doesn't detect the controller).

Couple possibly notable things:

[2024:08:24:22:13:08]: Info: Sunshine version: 0.0.0.cd309912
[2024:08:24:22:13:08]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:13:08]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:13:08]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:13:08]: Info: Compiling shaders...
[2024:08:24:22:13:08]: Info: Compiled shaders
[2024:08:24:22:13:34]: Info: ViGEmBus device instance path: ROOT\SYSTEM\0002
[2024:08:24:22:13:34]: Warning: Gamepad x360 is disabled due to gamepads.vigem-not-available
[2024:08:24:22:13:34]: Warning: Gamepad ds4 is disabled due to gamepads.vigem-not-available
[2024:08:24:22:13:34]: Warning: No gamepad input is available
[2024:08:24:22:13:34]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:08:24:22:13:34]: Info: Trying encoder [nvenc]
[2024:08:24:22:13:34]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:08:24:22:13:34]: Info: Set GPU preference: 1
[2024:08:24:22:13:34]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:13:34]: Info: Active GPU has HAGS disabled
[2024:08:24:22:13:34]: Info: Using realtime GPU priority
[2024:08:24:22:13:34]: Info: Display refresh rate [120Hz]
[2024:08:24:22:13:34]: Info: Requested frame rate [60fps]
[2024:08:24:22:13:34]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:13:34]: Info: Requesting mode change to 1920x1080@60 using the SDR colorspace
[2024:08:24:22:13:34]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:13:34]: Info: Color depth: 8-bit
[2024:08:24:22:13:34]: Info: Color range: [JPEG]
[2024:08:24:22:13:34]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:13:34]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:13:34]: Info: Color depth: 8-bit
[2024:08:24:22:13:34]: Info: Color range: [JPEG]
[2024:08:24:22:13:34]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:13:34]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:13:34]: Info: Color depth: 8-bit
[2024:08:24:22:13:34]: Info: Color range: [JPEG]
[2024:08:24:22:13:34]: Error: NvEnc: encoding format is not supported by the gpu
[2024:08:24:22:13:34]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:13:34]: Info: Active GPU has HAGS disabled
[2024:08:24:22:13:34]: Info: Using realtime GPU priority
[2024:08:24:22:13:34]: Info: Display refresh rate [120Hz]
[2024:08:24:22:13:34]: Info: Requested frame rate [60fps]
[2024:08:24:22:13:34]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:13:34]: Info: Requesting mode change to 1920x1080@60 using the HDR colorspace
[2024:08:24:22:13:34]: Info: SDR color coding [Rec. 709]
[2024:08:24:22:13:34]: Info: Color depth: 10-bit
[2024:08:24:22:13:34]: Info: Color range: [JPEG]
[2024:08:24:22:13:34]: Info: NvEnc: created encoder P1 10-bit two-pass rfi
[2024:08:24:22:13:34]: Info: 
[2024:08:24:22:13:34]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:08:24:22:13:34]: Info: 
[2024:08:24:22:13:34]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024:08:24:22:13:34]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024:08:24:22:13:34]: Info: Configuration UI available at [https://localhost:56908]
[2024:08:24:22:13:35]: Info: Registered Sunshine mDNS service
[2024:08:24:22:13:37]: Info: Completed UPnP port mappings to 192.168.178.106 via http://192.168.178.1:49000/igddesc.xml
[2024:08:24:22:13:55]: Info: Encoder reenumeration is required
[2024:08:24:22:13:55]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:08:24:22:13:55]: Info: Trying encoder [nvenc]
[2024:08:24:22:13:55]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:13:55]: Info: Active GPU has HAGS disabled
[2024:08:24:22:13:55]: Info: Using realtime GPU priority
[2024:08:24:22:13:55]: Info: Display refresh rate [120Hz]
[2024:08:24:22:13:55]: Info: Requested frame rate [60fps]
[2024:08:24:22:13:55]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:13:55]: Info: Requesting mode change to 1920x1080@60 using the SDR colorspace
[2024:08:24:22:13:55]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:13:55]: Info: Color depth: 8-bit
[2024:08:24:22:13:55]: Info: Color range: [JPEG]
[2024:08:24:22:13:55]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:13:55]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:13:55]: Info: Color depth: 8-bit
[2024:08:24:22:13:55]: Info: Color range: [JPEG]
[2024:08:24:22:13:55]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:13:55]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:13:55]: Info: Color depth: 8-bit
[2024:08:24:22:13:55]: Info: Color range: [JPEG]
[2024:08:24:22:13:55]: Error: NvEnc: encoding format is not supported by the gpu
[2024:08:24:22:13:56]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:13:56]: Info: Active GPU has HAGS disabled
[2024:08:24:22:13:56]: Info: Using realtime GPU priority
[2024:08:24:22:13:56]: Info: Display refresh rate [120Hz]
[2024:08:24:22:13:56]: Info: Requested frame rate [60fps]
[2024:08:24:22:13:56]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:13:56]: Info: Requesting mode change to 1920x1080@60 using the HDR colorspace
[2024:08:24:22:13:56]: Info: SDR color coding [Rec. 709]
[2024:08:24:22:13:56]: Info: Color depth: 10-bit
[2024:08:24:22:13:56]: Info: Color range: [JPEG]
[2024:08:24:22:13:56]: Info: NvEnc: created encoder P1 10-bit two-pass rfi
[2024:08:24:22:13:56]: Info: 
[2024:08:24:22:13:56]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:08:24:22:13:56]: Info: 
[2024:08:24:22:13:56]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024:08:24:22:13:56]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024:08:24:22:13:56]: Info: Executing [Desktop]
[2024:08:24:22:13:56]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:13:56]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:13:56]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:13:56]: Info: CLIENT CONNECTED
[2024:08:24:22:13:56]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:13:56]: Info: Active GPU has HAGS disabled
[2024:08:24:22:13:56]: Info: Using realtime GPU priority
[2024:08:24:22:13:56]: Info: Display refresh rate [120Hz]
[2024:08:24:22:13:56]: Info: Requested frame rate [120fps]
[2024:08:24:22:13:56]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:13:56]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:13:56]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:13:56]: Info: Color depth: 8-bit
[2024:08:24:22:13:56]: Info: Color range: [MPEG]
[2024:08:24:22:13:56]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:13:56]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:13:58]: Info: Creating virtual touch input device
[2024:08:24:22:14:07]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:16:43]: Info: CLIENT DISCONNECTED
[2024:08:24:22:16:55]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:16:55]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:16:55]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:16:55]: Info: CLIENT CONNECTED
[2024:08:24:22:16:55]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:16:55]: Info: Active GPU has HAGS disabled
[2024:08:24:22:16:55]: Info: Using realtime GPU priority
[2024:08:24:22:16:55]: Info: Display refresh rate [120Hz]
[2024:08:24:22:16:55]: Info: Requested frame rate [120fps]
[2024:08:24:22:16:55]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:16:55]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:16:55]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:16:55]: Info: Color depth: 8-bit
[2024:08:24:22:16:55]: Info: Color range: [MPEG]
[2024:08:24:22:16:55]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:16:55]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:16:55]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:18:07]: Info: CLIENT DISCONNECTED
[2024:08:24:22:24:01]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:24:01]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:24:01]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:24:01]: Info: CLIENT CONNECTED
[2024:08:24:22:24:01]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:24:01]: Info: Active GPU has HAGS disabled
[2024:08:24:22:24:01]: Info: Using realtime GPU priority
[2024:08:24:22:24:01]: Info: Display refresh rate [120Hz]
[2024:08:24:22:24:01]: Info: Requested frame rate [120fps]
[2024:08:24:22:24:01]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:24:01]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:24:02]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:24:02]: Info: Color depth: 8-bit
[2024:08:24:22:24:02]: Info: Color range: [MPEG]
[2024:08:24:22:24:02]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:24:02]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:24:02]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:25:41]: Info: Creating virtual touch input device
[2024:08:24:22:25:43]: Info: CLIENT DISCONNECTED
[2024:08:24:22:25:56]: Info: Executing: ["H:\Steam\steamapps\common\Palworld\Palworld.exe"] in ["H:\Steam\steamapps\common\Palworld"]
[2024:08:24:22:25:57]: Info: "H:\Steam\steamapps\common\Palworld\Palworld.exe" running with PID 31996
[2024:08:24:22:25:57]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:25:57]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:25:57]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:25:57]: Info: CLIENT CONNECTED
[2024:08:24:22:25:57]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:25:57]: Info: Active GPU has HAGS disabled
[2024:08:24:22:25:57]: Info: Using realtime GPU priority
[2024:08:24:22:25:57]: Info: Display refresh rate [120Hz]
[2024:08:24:22:25:57]: Info: Requested frame rate [120fps]
[2024:08:24:22:25:57]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:25:57]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:25:57]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:25:57]: Info: Color depth: 8-bit
[2024:08:24:22:25:57]: Info: Color range: [MPEG]
[2024:08:24:22:25:57]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:25:57]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:26:19]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:26:33]: Info: Creating virtual touch input device
[2024:08:24:22:26:55]: Info: CLIENT DISCONNECTED
[2024:08:24:22:27:09]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:27:09]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:27:09]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:27:09]: Info: CLIENT CONNECTED
[2024:08:24:22:27:09]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:27:09]: Info: Active GPU has HAGS disabled
[2024:08:24:22:27:09]: Info: Using realtime GPU priority
[2024:08:24:22:27:09]: Info: Display refresh rate [120Hz]
[2024:08:24:22:27:09]: Info: Requested frame rate [120fps]
[2024:08:24:22:27:09]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:27:09]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:27:09]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:27:09]: Info: Color depth: 8-bit
[2024:08:24:22:27:09]: Info: Color range: [MPEG]
[2024:08:24:22:27:09]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:27:10]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:27:10]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:27:32]: Info: CLIENT DISCONNECTED
[2024:08:24:22:27:58]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:27:58]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:27:58]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:27:58]: Info: CLIENT CONNECTED
[2024:08:24:22:27:58]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:27:58]: Info: Active GPU has HAGS disabled
[2024:08:24:22:27:58]: Info: Using realtime GPU priority
[2024:08:24:22:27:58]: Info: Display refresh rate [120Hz]
[2024:08:24:22:27:58]: Info: Requested frame rate [120fps]
[2024:08:24:22:27:58]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:27:58]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:27:58]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:27:58]: Info: Color depth: 8-bit
[2024:08:24:22:27:58]: Info: Color range: [MPEG]
[2024:08:24:22:27:58]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:27:58]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:27:58]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:28:02]: Info: Creating virtual touch input device
[2024:08:24:22:28:19]: Info: CLIENT DISCONNECTED
[2024:08:24:22:28:43]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:28:43]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:28:43]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:28:43]: Info: CLIENT CONNECTED
[2024:08:24:22:28:43]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:28:43]: Info: Active GPU has HAGS disabled
[2024:08:24:22:28:43]: Info: Using realtime GPU priority
[2024:08:24:22:28:43]: Info: Display refresh rate [120Hz]
[2024:08:24:22:28:43]: Info: Requested frame rate [120fps]
[2024:08:24:22:28:43]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:28:43]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:28:43]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:28:43]: Info: Color depth: 8-bit
[2024:08:24:22:28:43]: Info: Color range: [MPEG]
[2024:08:24:22:28:43]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:28:43]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:28:43]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:31:28]: Info: CLIENT DISCONNECTED
[2024:08:24:22:31:40]: Info: Successfully requested the app to exit. Waiting up to 5 seconds for it to close.
[2024:08:24:22:31:45]: Warning: App did not fully exit within the timeout. Terminating the app's remaining processes.
[2024:08:24:22:31:51]: Info: Executing: [cmd /c "steam.exe" -master_ipc_name_override InstanceName -userchooser InstanceName -gamepadui] in ["C:\Program Files (x86)\Steam"]
[2024:08:24:22:31:51]: Info: cmd /c "steam.exe" -master_ipc_name_override InstanceName -userchooser InstanceName -gamepadui running with PID 32876
[2024:08:24:22:31:52]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:31:52]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:31:52]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:31:52]: Info: CLIENT CONNECTED
[2024:08:24:22:31:52]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:31:52]: Info: Active GPU has HAGS disabled
[2024:08:24:22:31:52]: Info: Using realtime GPU priority
[2024:08:24:22:31:52]: Info: Display refresh rate [120Hz]
[2024:08:24:22:31:52]: Info: Requested frame rate [120fps]
[2024:08:24:22:31:52]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:31:52]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:31:52]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:31:52]: Info: Color depth: 8-bit
[2024:08:24:22:31:52]: Info: Color range: [MPEG]
[2024:08:24:22:31:52]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:31:52]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:32:03]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:32:21]: Info: Creating virtual touch input device
[2024:08:24:22:34:01]: Info: CLIENT DISCONNECTED
[2024:08:24:22:34:05]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:34:05]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:34:05]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:34:05]: Info: CLIENT CONNECTED
[2024:08:24:22:34:05]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:34:05]: Info: Active GPU has HAGS disabled
[2024:08:24:22:34:05]: Info: Using realtime GPU priority
[2024:08:24:22:34:05]: Info: Display refresh rate [120Hz]
[2024:08:24:22:34:05]: Info: Requested frame rate [120fps]
[2024:08:24:22:34:05]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:34:05]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:34:05]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:34:05]: Info: Color depth: 8-bit
[2024:08:24:22:34:05]: Info: Color range: [MPEG]
[2024:08:24:22:34:05]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:34:05]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:34:09]: Info: Creating virtual touch input device
[2024:08:24:22:34:43]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:34:48]: Info: CLIENT DISCONNECTED
[2024:08:24:22:48:13]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:48:13]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:48:13]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:48:13]: Info: CLIENT CONNECTED
[2024:08:24:22:48:13]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:48:13]: Info: Active GPU has HAGS disabled
[2024:08:24:22:48:13]: Info: Using realtime GPU priority
[2024:08:24:22:48:13]: Info: Display refresh rate [120Hz]
[2024:08:24:22:48:13]: Info: Requested frame rate [120fps]
[2024:08:24:22:48:13]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:48:13]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:48:13]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:48:13]: Info: Color depth: 8-bit
[2024:08:24:22:48:13]: Info: Color range: [MPEG]
[2024:08:24:22:48:14]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:48:14]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:48:17]: Info: Creating virtual touch input device
[2024:08:24:22:48:25]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:48:57]: Info: CLIENT DISCONNECTED
[2024:08:24:22:50:32]: Info: Web UI: [127.0.0.1] -- not authorized
[2024:08:24:22:50:33]: Info: Web UI: [127.0.0.1] -- not authorized
[2024:08:24:22:55:46]: Info: Successfully requested the app to exit. Waiting up to 5 seconds for it to close.
[2024:08:24:22:55:52]: Warning: App did not fully exit within the timeout. Terminating the app's remaining processes.
[2024:08:24:22:55:56]: Info: Executing [Desktop]
[2024:08:24:22:55:56]: Info: Video encryption enabled
[2024:08:24:22:55:56]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:22:55:56]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:22:55:56]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:22:55:56]: Info: CLIENT CONNECTED
[2024:08:24:22:55:57]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:22:55:57]: Info: Active GPU has HAGS disabled
[2024:08:24:22:55:57]: Info: Using realtime GPU priority
[2024:08:24:22:55:57]: Info: Display refresh rate [120Hz]
[2024:08:24:22:55:57]: Info: Requested frame rate [120fps]
[2024:08:24:22:55:57]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:22:55:57]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:22:55:57]: Info: SDR color coding [Rec. 601]
[2024:08:24:22:55:57]: Info: Color depth: 8-bit
[2024:08:24:22:55:57]: Info: Color range: [MPEG]
[2024:08:24:22:55:57]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:22:55:57]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:22:56:00]: Info: Creating virtual touch input device
[2024:08:24:22:56:08]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:22:59:53]: Info: CLIENT DISCONNECTED
[2024:08:24:23:01:09]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:23:01:09]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:23:01:09]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:23:01:09]: Info: CLIENT CONNECTED
[2024:08:24:23:01:09]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:23:01:09]: Info: Active GPU has HAGS disabled
[2024:08:24:23:01:09]: Info: Using realtime GPU priority
[2024:08:24:23:01:09]: Info: Display refresh rate [120Hz]
[2024:08:24:23:01:09]: Info: Requested frame rate [120fps]
[2024:08:24:23:01:09]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:23:01:09]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:23:01:09]: Info: SDR color coding [Rec. 601]
[2024:08:24:23:01:09]: Info: Color depth: 8-bit
[2024:08:24:23:01:09]: Info: Color range: [MPEG]
[2024:08:24:23:01:09]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:23:01:09]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024:08:24:23:01:10]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:23:01:40]: Info: Creating virtual touch input device
[2024:08:24:23:02:38]: Info: CLIENT DISCONNECTED
[2024:08:24:23:03:45]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2024:08:24:23:03:45]: Info: nvprefs: No need to modify application profile settings
[2024:08:24:23:03:45]: Info: nvprefs: No need to modify global profile settings
[2024:08:24:23:03:45]: Info: CLIENT CONNECTED
[2024:08:24:23:03:45]: Info: 
Device Description : NVIDIA GeForce RTX 3090 Ti
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002203
Device Video Mem   : 24313 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16326 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:08:24:23:03:45]: Info: Active GPU has HAGS disabled
[2024:08:24:23:03:45]: Info: Using realtime GPU priority
[2024:08:24:23:03:45]: Info: Display refresh rate [120Hz]
[2024:08:24:23:03:45]: Info: Requested frame rate [120fps]
[2024:08:24:23:03:45]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2024:08:24:23:03:45]: Info: Requesting mode change to 1920x1080@120 using the SDR colorspace
[2024:08:24:23:03:45]: Info: SDR color coding [Rec. 601]
[2024:08:24:23:03:45]: Info: Color depth: 8-bit
[2024:08:24:23:03:45]: Info: Color range: [MPEG]
[2024:08:24:23:03:45]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:08:24:23:03:45]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:08:24:23:04:17]: Info: CLIENT DISCONNECTED
[2024:08:24:23:04:23]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
Black-Seraph commented 1 month ago

There really isn't much I can do when both Armory Crate and Sunshine fight for control over the Gamepad interface via multiple separate ViGEmBus fork bus devices.

This is a environmental problem that isn't directly related to Duo and as such not something Duo can fix.

That aside, I don't own a ROG Ally X, so I simply can't verify or even debug this issue.

My suggestion: Get rid of Armory Crate, uninstall all ViGEmBus hub devices and do a clean install of ViGEmBus, then retry.

Toggling Moonlight's "Gamepad Always Present" setting might help in this particular case as well.