Skip to content

Moonlight stream is crashing when i switch the game to full screen mode #290

@astar10239

Description

@astar10239

Describe the Bug

Hi,

I am using AWS EC2 with Windows 10 Server 2019 and AMD V520.

I am successfully streaming sunshine fine, but i have to run the game in window mode.

When i try to switch the game to full screen, Moonlight stream crashes and in the sunshine server i get this error

failed to create input shader [0x80070057]

A detailed log

--end relative mouse move packet--
[2022:07:31:11:17:57]: Debug: --begin keyboard packet--
keyAction [03]
keyCode [8020]
modifiers [00]
--end keyboard packet--
[2022:07:31:11:17:57]: Debug: --begin keyboard packet--
keyAction [04]
keyCode [8020]
modifiers [00]
--end keyboard packet--
[2022:07:31:11:17:57]: Debug: Detecting monitors...
[2022:07:31:11:17:57]: Debug:
====== ADAPTER =====
Device Name      : AMD Radeon Pro V520 MxGPU
Device Vendor ID : 0x00001002
Device Device ID : 0x00007362
Device Video Mem : 8011 MiB
Device Sys Mem   : 0 MiB
Share Sys Mem    : 4095 MiB

    ====== OUTPUT ======
[2022:07:31:11:17:57]: Debug:     Output Name       : \\.\DISPLAY2
    AttachedToDesktop : yes
    Resolution        : 1920x1080

[2022:07:31:11:17:57]: Debug:
====== ADAPTER =====
Device Name      : Microsoft Basic Render Driver
Device Vendor ID : 0x00001414
Device Device ID : 0x0000008C
Device Video Mem : 0 MiB
Device Sys Mem   : 0 MiB
Share Sys Mem    : 4095 MiB

    ====== OUTPUT ======
[2022:07:31:11:17:57]: Debug:
====== ADAPTER =====
Device Name      : Microsoft Basic Render Driver
Device Vendor ID : 0x00001414
Device Device ID : 0x0000008C
Device Video Mem : 0 MiB
Device Sys Mem   : 0 MiB
Share Sys Mem    : 4095 MiB

    ====== OUTPUT ======
[2022:07:31:11:17:57]: Info:
Device Description : AMD Radeon Pro V520 MxGPU
Device Vendor ID   : 0x00001002
Device Device ID   : 0x00007362
Device Video Mem   : 16011 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 4095 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2022:07:31:11:17:57]: Debug: Source format [DXGI_FORMAT_R8G8B8A8_UNORM]
[2022:07:31:11:17:57]: Error: Failed to create input shader resource view [0x80070057]
[2022:07:31:11:17:57]: Debug: --begin relative mouse move packet--
deltaX [0]
deltaY [1]
--end relative mouse move packet--
[2022:07:31:11:17:57]: Debug: --begin relative mouse move packet--
deltaX [1]
deltaY [1]
--end relative mouse move packet--
[2022:07:31:11:17:57]: Debug: Waiting for video to end...
[2022:07:31:11:17:57]: Debug: Waiting for audio to end...
[2022:07:31:11:17:57]: Debug: Waiting for control to end...
[2022:07:31:11:17:57]: Debug: Resetting Input...
[2022:07:31:11:17:57]: Debug: Removing references to any connections...
[2022:07:31:11:17:57]: Debug: Session ended
[2022:07:31:11:17:57]: Debug: Waiting for main listening thread to end...
[2022:07:31:11:17:57]: Debug: Waiting for main video thread to end...
[2022:07:31:11:17:57]: Debug: Waiting for main audio thread to end...
[2022:07:31:11:17:57]: Debug: Waiting for main control thread to end...
[2022:07:31:11:17:57]: Debug: All broadcasting threads ended
[2022:07:31:11:17:57]: Debug: TUNNEL :: NONE
[2022:07:31:11:17:57]: Debug: METHOD :: GET
[2022:07:31:11:17:57]: Debug: DESTINATION :: /serverinfo
[2022:07:31:11:17:57]: Debug: User-Agent -- Mozilla/5.0
[2022:07:31:11:17:57]: Debug: Accept-Language -- en-IN,*
[2022:07:31:11:17:57]: Debug: Accept-Encoding -- gzip, deflate
[2022:07:31:11:17:57]: Debug: Connection -- Keep-Alive
[2022:07:31:11:17:57]: Debug: Host -- ip:47989
[2022:07:31:11:17:57]: Debug:  [--]
[2022:07:31:11:17:57]: Debug: uuid -- 908e2c5d46454c82a6f9ae9e3b838d85
[2022:07:31:11:17:57]: Debug: uniqueid -- 0123456789ABCDEF
[2022:07:31:11:17:57]: Debug:  [--]
[2022:07:31:11:17:57]: Info: /CN=NVIDIA GameStream Client -- verfied
[2022:07:31:11:17:57]: Debug: TUNNEL :: HTTPS
[2022:07:31:11:17:57]: Debug: METHOD :: GET
[2022:07:31:11:17:57]: Debug: DESTINATION :: /serverinfo
[2022:07:31:11:17:57]: Debug: User-Agent -- Mozilla/5.0
[2022:07:31:11:17:57]: Debug: Accept-Language -- en-IN,*
[2022:07:31:11:17:57]: Debug: Accept-Encoding -- gzip, deflate
[2022:07:31:11:17:57]: Debug: Connection -- Keep-Alive
[2022:07:31:11:17:57]: Debug: Host -- ip:47984
 

Expected Behavior

No response

Additional Context

No response

Sunshine Host Operating System and Version

Windows 10

Architecture

Windows 2019 Server

Sunshine Version

0.14.0

GPU Type

AMD

GPU Model

AMD V520

GPU Driver/Mesa Version

Latest

Capture Method (Linux Only)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions