Windows error 0x887A0005, -2005270523

Detailed Error Information

DXGI_ERROR_DEVICE_REMOVED[1]

MessageThe GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
Declared inwinerror.h

HRESULT analysis[2]

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

Questions

6votes
2answers

How to properly use a hardware accelerated Media Foundation Source Reader to decode a video?

I'm in the process of writing a hardware accelerated h264 decoder using Media Foundation's Source Reader, but have encountered a problem. I followed this tutorial and supported myself with Windows SDK Media Foundation samples. -------------------------------------------------------------------------------- My app seems to work fine when hardware acceleration is turned off, but it doesn't [...] read more
c++
com
directx
hardware-acceleration
ms-media-foundation
2votes
2answers

MF SinkWriter Write Sample Failed

I'm trying to encode the ID3D11Texture2D to mp4 using MediaFoundation. Below is my current code. Initializing Sink Writer private int InitializeSinkWriter(String outputFile, int videoWidth, int videoHeight) { IMFMediaType mediaTypeIn = null; IMFMediaType mediaTypeOut = null; IMFAttributes attributes = null; int hr = 0; if (Succeeded(hr)) hr = (int)MFExtern.MFCreateAttributes(out attributes, 1); [...] read more
c#
directx
ms-media-foundation
sharpdx
dxgi
1vote
1answer

Attempting a "minimum viable" SharpDX 12 setup; error 0x887A0005 "device removed"

The goal: Write "minimum viable", no frills or extras code that sets up SharpDX 12 (a C# wrapper around DirectX 12), creates a window, and executes a present loop that clears the screen to RGBA (0, 0, 1, 1). The expectation: Having followed a DirectX 12 setup tutorial as best [...] read more
c#
windows
winforms
sharpdx
directx-12
1vote
2answers

Exception in SharpDX.dll

I'm working on a school project with four others. We're writing a game in C# and Monogame. They pass around the source code without any problems, but I cannot run the program. I get this error on 1 out of 5 computers. I've been researching, but can't seem to find [...] read more
c#
exception
gpu
monogame
0votes
0answers

DirectX realtime graphics with SharpDX on WPF

I have realtime graphics in WPF application with DirectX on SharpDX. I use Direct2D1, Direct Composition, SwapCain. Its perfectly works with 1 object on window, but if i add more one (9), then there are problems: in debug after 1-2 min or if I actively move window between monitors, I [...] read more
c#
.net
graphics
directx
sharpdx
0votes
0answers

unity build crashes on loadscene

am trying to run my unity build but it crashes when i try to change the scene and sometimes it crashes when i start the build , but i have no error it works fine in the editor here is the error log file : i checked the Don't destroyOnLoad [...] read more
c#
unity3d
dll
0votes
0answers

Networking app not running on Hololens emulator

NetworkingHololens in the application name and I'm trying to use the SharingService to manipulate a cube over the network. When I run other apps(without the networking capability), it runs fine on the HoloLens emulator, but when I run this or any other networking app, the following error shows up after [...] read more
hololens
hololens-emulator
0votes
0answers

Mixed Reality Capture Hololens Failure - Failed capturing photo (hr = 0x887A0005)

Currently working on a feature in our Hololens application that allows the user to take Mixed Reality Capture photos on command. My first stab at this involved verbatim copy and pasting the code snippets from this tutorial: https://developer.microsoft.com/en-us/windows/holographic/locatable_camera_in_unity Specifically, only the snippets in sections "Common Set Up for PhotoCapture" and [...] read more
c#
unity3d
hololens
0votes
1answer

Error message while loading sprites

Before the game starts, I load all my sprites(more than 500 .xnb files), but then I always get this error message: > An exception of type 'SharpDX.SharpDXException' occurred in SharpDX.DLL but > was not handled in user code Additional information: HRESULT: [0x887A0005], > Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], > Message: The [...] read more
c#
monogame
0votes
1answer

Capture a photo

I have problem with capturing a photo. I have tried to solve this for 3 days, I hope that you will help me with this. My xaml : <CaptureElement x:Name="capturePreview" Stretch="Uniform" Grid.Column="0" Height="200" Width="300" VerticalAlignment="Center" HorizontalAlignment="Center"/> <Image x:Name="imagePreivew" Stretch="Uniform" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Stretch"/> <StackPanel Orientation="Horizontal"> <Button Click="InitCameraBtn_Click" Content="Initialize Camera" /> <Button [...] read more
c#
xaml
windows-phone-8.1
0votes
1answer

No SystemOutOfMemoryException

My App suddenly crashes at one point (reproducible) when run on a 512mb phone emulator (only have a 920 to test). There wasn't any exception, it just went black. I then ran the analysis tool on the application and found out the memory reaches its limit at the point the [...] read more
crash
windows-phone-8
out-of-memory
0votes
1answer

Memory management in window phone 8

My app need to load image from web each time with provided category and it is working, the problem is memory, Image loaded in memory not being remove when next category image load and hence memory increases and the app closing with the following message- The program '[4036] TaskHost.exe' has [...] read more
memory-management
windows-phone-8
0votes
1answer

DirectX Crash On Minimize

I have a simple DirectX program that crashes when I minimize & then unminimize. These are the event cases I cover: case WM_SIZING: case WM_SIZE: if(engine.isReady()) engine.resizeDevice(); if(engine.isReady()) engine.draw(); break; The resize is roughly: deviceContext->OMSetRenderTargets(0, NULL, NULL); ... deviceInterface->CreateRenderTargetView( ... ); ... deviceContext->RSSetViewports(1, &vp); ... deviceContext->OMSetRenderTargets(1, &renderTargetInterface, NULL); When I [...] read more
c++
windows
resize
directx
directx-11

Comments

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