Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

DXGI_ERROR_INVALID_CALL/InvalidCall

$
0
0

@Green127_Studio wrote:

Hi,

Some of my player get a strange error and i don't know why...

Exception caught:
SharpDX.SharpDXException:
HRESULT: [0x887A0001],
Module: [SharpDX.DXGI],
ApiCode: [DXGI_ERROR_INVALID_CALL/InvalidCall],
Message: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect.
Enable the D3D debug layer in order to see details via debug messages.

This message is trowed by: GraphicsDeviceManager.ApplyChanges()

at SharpDX.Result.CheckError()
at SharpDX.DXGI.SwapChain.ResizeBuffers(Int32 bufferCount, Int32 width, Int32 height, Format newFormat, SwapChainFlags swapChainFlags)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.CreateSizeDependentResources()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset()
at .() in 127\Settings.cs:line 88

I use MonoGame 3.7.1.189, the DirectX template with HiDef profile.

The issue happened on those graphics cards:

Radeon RX 580 Series
GeForce GTX 980 Ti
NVIDIA GeForce GTX 1070 Ti 
GeForce GTX 1080 - GeForce GTX 1080
NVIDIA GeForce RTX 2070

Another similar one this time at Game.Run():

Exception caught:
SharpDX.SharpDXException:
HRESULT: [0x887A0001],
Module: [SharpDX.DXGI],
ApiCode: [DXGI_ERROR_INVALID_CALL/InvalidCall],
Message: Unknown
	at SharpDX.Result.CheckError()
	at SharpDX.DXGI.SwapChain.GetFullscreenState(RawBool& fullscreenRef, Output& targetOut)
	at SharpDX.DXGI.SwapChain.get_IsFullScreen()
	at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDispose()
	at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Dispose(Boolean disposing)
	at Microsoft.Xna.Framework.GraphicsDeviceManager.Dispose(Boolean disposing)
	at Microsoft.Xna.Framework.Game.Dispose(Boolean disposing)
	at Microsoft.Xna.Framework.Game.Dispose()
	at .() in 127\Program.cs:line 464

For most players everything works fine but some of them still get this errors and apparently their computer is up to date.

An idea of where this issue can come from?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles