blish-hud / Blish-HUD

A Guild Wars 2 overlay with extreme extensibility through compiled modules.
https://blishhud.com
MIT License
309 stars 60 forks source link

The GPU device instance has been suspended. #464

Open dlamkins opened 2 years ago

dlamkins commented 2 years ago

We do not properly recover from this issue like we should. Causes all further texture loading to fail and the application to crash. This is a very rare error.

00:55:01.9845 | WARN | BhModule.Community.Pathing.Utility.AttributeParsingUtil | Failed to load texture. System.InvalidOperationException: This image format is not supported ---> SharpDX.SharpDXException: HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. at SharpDX.Result.CheckError() at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut) at Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture() at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformSetData[T](Int32 level, T[] data, Int32 startIndex, Int32 elementCount) at Microsoft.Xna.Framework.Graphics.Texture2D.SetData[T](T[] data) at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformFromStream(GraphicsDevice graphicsDevice, Stream stream) at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream) --- End of inner exception stack trace --- at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream) at Blish_HUD.TextureUtil.FromStreamPremultiplied(GraphicsDevice graphics, Stream stream) in D:\a\Blish-HUD\Blish-HUD\Blish HUD_Utils\TextureUtil.cs:line 15 at BhModule.Community.Pathing.Utility.AttributeParsingUtil.d__19.MoveNext() in C:\Users\dade\source\repos\Pathing\Utility\AttributeParsingUtil.cs:line 110

dlamkins commented 2 years ago

0x887A0005 😬

dartungar commented 1 month ago

This error plagues me constantly. Like, BHud crashes every 30-60 minutes. Note that I am using integrated Intel Iris XE graphics.

jocropsey commented 5 days ago

I've got this issue too, it drives me nuts with its constant crashing. My graphics card is AMD Radeon RX