Windows error 0x887A0004, -2005270524

Detailed Error Information

DXGI_ERROR_UNSUPPORTED[1]

MessageThe specified device interface or feature level is not supported on this system.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)true
FacilityCode2170 (0x87a)
NameFACILITY_DXGI[1]
Error Code4 (0x0004)

Questions

6votes
1answer

Invalid Call on ReleaseFrame() in DesktopDuplication API

An user of my app is having some problem capturing the screen with the DesktopDuplication API. Upon starting the capture, the app crashes because the app is unable to release the frame of the OutputDuplication. User's PC details: Windows 10.0.18362.0, 64 bits Nvidia GeForce GTX 960, driver version 441.66 Error [...] read more
c#
sharpdx
desktop-duplication
4votes
2answers

DirectX11 Desktop duplication not working with NVIDIA

I'm trying too use DirectX desktop duplication API. I tried running exmaples from http://www.codeproject.com/Tips/1116253/Desktop-Screen-Capture-on-Windows-via-Windows-Desk And from https://code.msdn.microsoft.com/windowsdesktop/Desktop-Duplication-Sample-da4c696a Both of these are examples of screen capture using DXGI. I have NVIDIA GeForce GTX 1060 with Windows 10 Pro on the machine. It has Intelâ„¢ Core i7-6700HQ processor. These examples work perfectly [...] read more
c++
directx-11
2votes
1answer

Unity VM crash (looks like acceleration issue)

There is a problem with run Unity project on Hyper-V virtual machine. To make a long story short, my Unity project is working on my PC, but doesn't work on a VM. I described this in detail here: https://stackoverflow.com/q/65550732/5709159. I found a crash log where Unity wrote everything. Because there [...] read more
c#
c++
unity3d
virtual-machine
hyper-v
2votes
1answer

Linking Cuda (cudart.lib) makes DXGI DuplicateOutput1() fail

For an obscure reason my call to IDXGIOutput5::DuplicateOutput1() fail with error 0x887a0004 (DXGI_ERROR_UNSUPPORTED) after I added cudart.lib in my project. I work on Visual Studio 2019, my code for monitor duplication is the classic : hr = output5->DuplicateOutput1(this->dxgiDevice, 0, sizeof(supportedFormats) / sizeof(DXGI_FORMAT), supportedFormats, &this->dxgiOutputDuplication); And the only thing I tried [...] read more
c++
cuda
dxgi
desktop-duplication
2votes
2answers

DXGI 1.5 DuplicateOutput1 fails with DXGI_ERROR_UNSUPPORTED (0x887a0004)

For some reason DuplicateOutput1 fails where DuplicateOutput does not. #include <D3D11.h> #include <DXGI1_5.h> int main() { ID3D11Device *device; D3D_FEATURE_LEVEL levels[] = { D3D_FEATURE_LEVEL_11_1 }; D3D11CreateDevice(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, 0, levels, ARRAYSIZE(levels), D3D11_SDK_VERSION, &device, NULL, NULL); IDXGIDevice *dxDevice; device->QueryInterface<IDXGIDevice>(&dxDevice); IDXGIAdapter *adapter; dxDevice->GetAdapter(&adapter); IDXGIOutput *output; adapter->EnumOutputs(0, &output); IDXGIOutput5 *output5; output->QueryInterface<IDXGIOutput5>(&output5); IDXGIOutputDuplication *outputDuplication; auto [...] read more
dxgi
1vote
2answers

Can't go fullscreen under DirectX12

I have an app which uses DirectX12. I wanted to support fullscreen mode in my app. However, each time I called IDXGISwapChain::SetFullscreenState(), I got this error: > DXGI ERROR: IDXGISwapChain::GetContainingOutput: The swapchain's adapter does > not control the output on which the swapchain's window resides. The error code returned by [...] read more
c++
directx-12
dxgi
1vote
1answer

First Chance Exception

I am following a tutorial to learn game programming with DirectX11. When I run the sample code it gives me this error: First-chance exception at 0x76E12EEC in Chapter1.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x0307E824. HRESULT:0x887A0004 The problem appears to be in featureLevel and creationFlag in the following [...] read more
directx
directx-11
0votes
2answers

Windows Phone 8.1 emulator for DirectX landscape

July 16, 2014 update: I have converted the SharpDX "MiniCube" sample project to a Universal 8.1 project. It is 100% self-contained. It will demonstrate this issue. There is a "READ ME.txt" file included with information. You can download it here: Download SharpDX MiniCube Universal 8.1 project -------------------------------------------------------------------------------- My issue is [...] read more
c#
visual-studio-2013
directx
windows-phone-8.1
sharpdx

Comments

Krishna Rao

Hi, I have written DDAPI code in my project using AcquireNextFrame() API, its working fine in all aspects except 1366x768 resolution. When i change resolution from any resolution to 1366x768, screen was corrupting. i would appreciate if someone can help, how to resolve this issue.

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0