大网数据广告活动
启动与系统组件

Error when DDA-capable app is run against GPU

· 52CE 我爱测

Describes an issue in which an error is generated when a Desktop Duplication API-capable application is run against a discrete GPU on a computer that is running Windows 8.1.

This article provides a solution to an error that occurs when a Desktop Duplication API-capable application is run against a discrete GPU.

Applies to:   Windows 8.1
Original KB number:   3019314

Symptoms

Consider the following scenario:

  • You have a computer that is running Windows 8.1.
  • You have a Desktop Duplication API (DDA)-capable application, and it calls the DDA to duplicate the desktop image.
  • The display adapter on the computer is running under the Microsoft Hybrid system.

In this scenario, when the application tries to duplicate the desktop image against the discrete GPU on a Microsoft Hybrid system, the application may not run correctly, or it may generate one of the following errors:

Failed to create windows swapchain with 0x80070005

CDesktopCaptureDWM: IDXGIOutput1::DuplicateOutput failed: 0x887a0004

Cause

This issue occurs because the DDA does not support being run against the discrete GPU on a Microsoft Hybrid system. By design, the call fails together with error code DXGI_ERROR_UNSUPPORTED in such a scenario.

Resolution

To work around this issue, run the application on the integrated GPU instead of on the discrete GPU on a Microsoft Hybrid system.

More information

When this issue occurs, the IDXGIOutput1::DuplicateOutput method fails and returns an error code DXGI_ERROR_UNSUPPORTED.

For example, this DXGI desktop duplication sample is affected by this issue.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。