You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
When attempting to use Sunshine for game streaming, I encountered the error Failed to create D3D11 device for DD test [0x887A0004]. This error persists despite following the troubleshooting steps provided in the documentation.
Reproduction Steps:
Start Sunshine with the command: .\sunshine.exe -0
Observe the error in the console output.
Expected Behavior
Expected Behavior:
Sunshine should initialize without errors and be ready to stream games using the NVIDIA NVENC encoder.
Actual Behavior:
Sunshine initialization fails with the error Failed to create D3D11 device for DD test [0x887A0004], which indicates an issue with DirectX 11 device creation.
Additional Context
The error logs suggest that the GPU preference setting and capture functionality may be compromised.
The issue occurs consistently, indicating a potential compatibility or configuration problem with the NVIDIA A10G GPU on the specified EC2 instance.
I have already attempted updating drivers, checking DirectX configurations, and verifying that the GPU supports the necessary features for Sunshine.
Host Operating System
Windows
Operating System Version
Windows Server 2022 Datacenter 64-bit (10.0, Build 20348) (20348.fe_release.210507-1500)
Architecture
64 bit
Sunshine commit or version
0.21.0
Package
Windows - installer
GPU Type
Nvidia
GPU Model
Tesla
GPU Driver/Mesa Version
537.70
Capture Method (Linux Only)
No response
Config
Nil
Apps
Nil
Relevant log output
[2023:11:16:02:02:04]: Error: nvprefs: Couldn't open undo file from previous improper termination, or confirm that there's no such file
[2023:11:16:02:02:04]: Info: nvprefs: No need to modify application profile settings
[2023:11:16:02:02:04]: Info: nvprefs: No need to modify global profile settings
[2023:11:16:02:02:04]: Info: Sunshine version: 0.21.0
[2023:11:16:02:02:04]: Info: Compiling shaders...
[2023:11:16:02:02:04]: Info: Compiled shaders
[2023:11:16:02:02:04]: Warning: Couldn't setup connection to ViGEm for gamepad support [E0000001][2023:11:16:02:02:04]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //[2023:11:16:02:02:04]: Info: Trying encoder [nvenc][2023:11:16:02:02:05]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:05]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:05]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:05]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:05]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:05]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:05]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:05]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:05]: Info: Using realtime GPU priority[2023:11:16:02:02:05]: Info: Desktop resolution [1024x768][2023:11:16:02:02:05]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:05]: Info: Display refresh rate [60Hz][2023:11:16:02:02:05]: Info: Requested frame rate [60fps][2023:11:16:02:02:05]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:05]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:05]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:05]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:05]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:05]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:05]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:06]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:06]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:06]: Info: Using realtime GPU priority[2023:11:16:02:02:06]: Info: Desktop resolution [1024x768][2023:11:16:02:02:06]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:06]: Info: Display refresh rate [60Hz][2023:11:16:02:02:06]: Info: Requested frame rate [60fps][2023:11:16:02:02:06]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:06]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:06]: Info: Color depth: 8-bit[2023:11:16:02:02:06]: Info: Color range: [JPEG][2023:11:16:02:02:06]: Info: NvEnc: created encoder P1 two-pass rfi[2023:11:16:02:02:06]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:06]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:06]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:06]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:06]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:06]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:06]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:06]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:06]: Info: Using realtime GPU priority[2023:11:16:02:02:06]: Info: Desktop resolution [1024x768][2023:11:16:02:02:06]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:06]: Info: Display refresh rate [60Hz][2023:11:16:02:02:06]: Info: Requested frame rate [60fps][2023:11:16:02:02:06]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:06]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:06]: Info: Color depth: 8-bit[2023:11:16:02:02:06]: Info: Color range: [JPEG][2023:11:16:02:02:06]: Info: NvEnc: created encoder P1 two-pass rfi[2023:11:16:02:02:07]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:07]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:07]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:07]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:07]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:07]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:07]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:07]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:07]: Info: Using realtime GPU priority[2023:11:16:02:02:07]: Info: Desktop resolution [1024x768][2023:11:16:02:02:07]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:07]: Info: Display refresh rate [60Hz][2023:11:16:02:02:07]: Info: Requested frame rate [60fps][2023:11:16:02:02:07]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:07]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:07]: Info: Color depth: 8-bit[2023:11:16:02:02:07]: Info: Color range: [JPEG][2023:11:16:02:02:07]: Error: NvEnc: encoding format is not supported by the gpu[2023:11:16:02:02:07]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:07]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:07]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:07]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:07]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:07]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:08]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:08]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:08]: Info: Using realtime GPU priority[2023:11:16:02:02:08]: Info: Desktop resolution [1024x768][2023:11:16:02:02:08]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:08]: Info: Display refresh rate [60Hz][2023:11:16:02:02:08]: Info: Requested frame rate [60fps][2023:11:16:02:02:08]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:08]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:08]: Info: Color depth: 8-bit[2023:11:16:02:02:08]: Info: Color range: [JPEG][2023:11:16:02:02:08]: Error: NvEnc: encoding format is not supported by the gpu[2023:11:16:02:02:08]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:08]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:08]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:08]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:08]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:08]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:08]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:08]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:08]: Info: Using realtime GPU priority[2023:11:16:02:02:08]: Info: Desktop resolution [1024x768][2023:11:16:02:02:08]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:08]: Info: Display refresh rate [60Hz][2023:11:16:02:02:08]: Info: Requested frame rate [60fps][2023:11:16:02:02:08]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:08]: Info: SDR color coding [Rec. 709][2023:11:16:02:02:08]: Info: Color depth: 10-bit[2023:11:16:02:02:08]: Info: Color range: [JPEG][2023:11:16:02:02:08]: Info: NvEnc: created encoder P1 10-bit two-pass rfi[2023:11:16:02:02:08]: Info: [2023:11:16:02:02:08]: Info: // Ignore any errors mentioned above, they are not relevant. //[2023:11:16:02:02:08]: Info: [2023:11:16:02:02:08]: Info: Found H.264 encoder: h264_nvenc [nvenc][2023:11:16:02:02:08]: Info: Found HEVC encoder: hevc_nvenc [nvenc][2023:11:16:02:02:08]: Info: Configuration UI available at [https://localhost:47990][2023:11:16:02:02:09]: Info: Registered Sunshine mDNS service[2023:11:16:02:02:50]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //[2023:11:16:02:02:50]: Info: Trying encoder [nvenc][2023:11:16:02:02:50]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:51]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:51]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:51]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:51]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:51]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:51]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:51]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:51]: Info: Using realtime GPU priority[2023:11:16:02:02:51]: Info: Desktop resolution [1024x768][2023:11:16:02:02:51]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:51]: Info: Display refresh rate [60Hz][2023:11:16:02:02:51]: Info: Requested frame rate [60fps][2023:11:16:02:02:51]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:51]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:51]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:51]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:51]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:51]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:51]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:51]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:51]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:51]: Info: Using realtime GPU priority[2023:11:16:02:02:51]: Info: Desktop resolution [1024x768][2023:11:16:02:02:51]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:51]: Info: Display refresh rate [60Hz][2023:11:16:02:02:51]: Info: Requested frame rate [60fps][2023:11:16:02:02:51]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:51]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:51]: Info: Color depth: 8-bit[2023:11:16:02:02:51]: Info: Color range: [JPEG][2023:11:16:02:02:51]: Info: NvEnc: created encoder P1 two-pass rfi[2023:11:16:02:02:52]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:52]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:52]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:52]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:52]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:52]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:52]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:52]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:52]: Info: Using realtime GPU priority[2023:11:16:02:02:52]: Info: Desktop resolution [1024x768][2023:11:16:02:02:52]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:52]: Info: Display refresh rate [60Hz][2023:11:16:02:02:52]: Info: Requested frame rate [60fps][2023:11:16:02:02:52]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:52]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:52]: Info: Color depth: 8-bit[2023:11:16:02:02:52]: Info: Color range: [JPEG][2023:11:16:02:02:52]: Info: NvEnc: created encoder P1 two-pass rfi[2023:11:16:02:02:52]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:52]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:52]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:52]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:52]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:52]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:53]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:53]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:53]: Info: Using realtime GPU priority[2023:11:16:02:02:53]: Info: Desktop resolution [1024x768][2023:11:16:02:02:53]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:53]: Info: Display refresh rate [60Hz][2023:11:16:02:02:53]: Info: Requested frame rate [60fps][2023:11:16:02:02:53]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:53]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:53]: Info: Color depth: 8-bit[2023:11:16:02:02:53]: Info: Color range: [JPEG][2023:11:16:02:02:53]: Error: NvEnc: encoding format is not supported by the gpu[2023:11:16:02:02:53]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:53]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:53]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:53]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:53]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:53]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:53]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:53]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:53]: Info: Using realtime GPU priority[2023:11:16:02:02:53]: Info: Desktop resolution [1024x768][2023:11:16:02:02:53]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:53]: Info: Display refresh rate [60Hz][2023:11:16:02:02:53]: Info: Requested frame rate [60fps][2023:11:16:02:02:53]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:53]: Info: SDR color coding [Rec. 601][2023:11:16:02:02:53]: Info: Color depth: 8-bit[2023:11:16:02:02:53]: Info: Color range: [JPEG][2023:11:16:02:02:53]: Error: NvEnc: encoding format is not supported by the gpu[2023:11:16:02:02:53]: Info: ddprobe.exe [1] [] returned: 0x887A0004[2023:11:16:02:02:53]: Info: ddprobe.exe [2] [] returned: 0x887A0004[2023:11:16:02:02:53]: Info: ddprobe.exe [3] [] returned: 0x887A0004[2023:11:16:02:02:53]: Info: ddprobe.exe [4] [] returned: 0x887A0004[2023:11:16:02:02:53]: Warning: Failed to set GPU preference. Capture may not work![2023:11:16:02:02:53]: Error: Failed to create D3D11 device for DD test [0x887A0004][2023:11:16:02:02:54]: Info: Device Description : NVIDIA A10GDevice Vendor ID : 0x000010DEDevice Device ID : 0x00002237Device Video Mem : 22617 MiBDevice Sys Mem : 0 MiBShare Sys Mem : 16204 MiBFeature Level : 0x0000B100Capture size : 1024x768Offset : 2304x0Virtual Desktop : 3328x800[2023:11:16:02:02:54]: Info: Active GPU has HAGS disabled[2023:11:16:02:02:54]: Info: Using realtime GPU priority[2023:11:16:02:02:54]: Info: Desktop resolution [1024x768][2023:11:16:02:02:54]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM][2023:11:16:02:02:54]: Info: Display refresh rate [60Hz][2023:11:16:02:02:54]: Info: Requested frame rate [60fps][2023:11:16:02:02:54]: Info: Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709Bits Per Color : 8Red Primary : [0,0]Green Primary : [0,0]Blue Primary : [0,0]White Point : [0,0]Min Luminance : 0 nitsMax Luminance : 0 nitsMax Full Luminance : 0 nits[2023:11:16:02:02:54]: Info: SDR color coding [Rec. 709][2023:11:16:02:02:54]: Info: Color depth: 10-bit[2023:11:16:02:02:54]: Info: Color range: [JPEG][2023:11:16:02:02:54]: Info: NvEnc: created encoder P1 10-bit two-pass rfi[2023:11:16:02:02:54]: Info: [2023:11:16:02:02:54]: Info: // Ignore any errors mentioned above, they are not relevant. //[2023:11:16:02:02:54]: Info: [2023:11:16:02:02:54]: Info: Found H.264 encoder: h264_nvenc [nvenc][2023:11:16:02:02:54]: Info: Found HEVC encoder: hevc_nvenc [nvenc][2023:11:16:02:02:54]: Info: Executing [Desktop][2023:11:16:02:02:55]: Info: nvprefs: Opened undo file from previous improper termination[2023:11:16:02:02:55]: Info: nvprefs: Restored OGL_CPL_PREFER_DXPRESENT for base profile[2023:11:16:02:02:55]: Info: nvprefs: Restored global profile settings from undo file - deleting the file[2023:11:16:02:02:55]: Info: nvprefs: No need to modify application profile settings[2023:11:16:02:02:55]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile[2023:11:16:02:02:55]: Info: CLIENT CONNECTED[2023:11:16:02:02:55]: Info: Steam audio drivers not found. This is expected if you don't have Steam installed.
[2023:11:16:02:02:55]: Info: ddprobe.exe [1] [] returned: 0x887A0004
[2023:11:16:02:02:56]: Info: ddprobe.exe [2] [] returned: 0x887A0004
[2023:11:16:02:02:56]: Info: ddprobe.exe [3] [] returned: 0x887A0004
[2023:11:16:02:02:56]: Info: ddprobe.exe [4] [] returned: 0x887A0004
[2023:11:16:02:02:56]: Warning: Failed to set GPU preference. Capture may not work!
[2023:11:16:02:02:56]: Error: Failed to create D3D11 device for DD test [0x887A0004]
[2023:11:16:02:02:56]: Error: DuplicateOutput() test failed [0x80070005]
[2023:11:16:02:02:57]: Error: DuplicateOutput() test failed [0x80070005]
[2023:11:16:02:02:57]: Info: ddprobe.exe [1] [] returned: 0x887A0004
[2023:11:16:02:02:57]: Info: ddprobe.exe [2] [] returned: 0x887A0004
[2023:11:16:02:02:57]: Info: ddprobe.exe [3] [] returned: 0x887A0004
[2023:11:16:02:02:57]: Info: ddprobe.exe [4] [] returned: 0x887A0004
[2023:11:16:02:02:57]: Warning: Failed to set GPU preference. Capture may not work!
[2023:11:16:02:02:57]: Error: Failed to create D3D11 device for DD test [0x887A0004]
[2023:11:16:02:02:57]: Info:
Device Description : NVIDIA A10G
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002237
Device Video Mem : 22617 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16204 MiB
Feature Level : 0x0000B100
Capture size : 1024x768
Offset : 2304x0
Virtual Desktop : 3328x800
[2023:11:16:02:02:57]: Info: Active GPU has HAGS disabled
[2023:11:16:02:02:57]: Info: Using realtime GPU priority
[2023:11:16:02:02:57]: Info: Desktop resolution [1024x768]
[2023:11:16:02:02:57]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:11:16:02:02:57]: Info: Display refresh rate [60Hz]
[2023:11:16:02:02:57]: Info: Requested frame rate [60fps]
[2023:11:16:02:02: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
[2023:11:16:02:02:57]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:11:16:02:02:57]: Info: SDR color coding [Rec. 709]
[2023:11:16:02:02:57]: Info: Color depth: 8-bit
[2023:11:16:02:02:57]: Info: Color range: [MPEG]
[2023:11:16:02:02:57]: Info: NvEnc: created encoder P1 two-pass rfi
[2023:11:16:02:03:05]: Info: CLIENT DISCONNECTED
The text was updated successfully, but these errors were encountered:
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
Environment:
Issue Description:
When attempting to use Sunshine for game streaming, I encountered the error Failed to create D3D11 device for DD test [0x887A0004]. This error persists despite following the troubleshooting steps provided in the documentation.
Reproduction Steps:
Start Sunshine with the command: .\sunshine.exe -0
Observe the error in the console output.
Expected Behavior
Expected Behavior:
Sunshine should initialize without errors and be ready to stream games using the NVIDIA NVENC encoder.
Actual Behavior:
Sunshine initialization fails with the error Failed to create D3D11 device for DD test [0x887A0004], which indicates an issue with DirectX 11 device creation.
Additional Context
The error logs suggest that the GPU preference setting and capture functionality may be compromised.
The issue occurs consistently, indicating a potential compatibility or configuration problem with the NVIDIA A10G GPU on the specified EC2 instance.
I have already attempted updating drivers, checking DirectX configurations, and verifying that the GPU supports the necessary features for Sunshine.
Host Operating System
Windows
Operating System Version
Windows Server 2022 Datacenter 64-bit (10.0, Build 20348) (20348.fe_release.210507-1500)
Architecture
64 bit
Sunshine commit or version
0.21.0
Package
Windows - installer
GPU Type
Nvidia
GPU Model
Tesla
GPU Driver/Mesa Version
537.70
Capture Method (Linux Only)
No response
Config
Apps
Nil
Relevant log output
The text was updated successfully, but these errors were encountered: