Game crashes when I switching display mode in DirectX #5708
-
I found that the game will crash when switching display mode between boardless fullscreen/windowed and exclusive fullscreen. It only happens in DirectX mode, other surfaces work properly. 2023-03-27.01-00-39.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Please provide logs from when the crash occurs. |
Beta Was this translation helpful? Give feedback.
-
Excerpt from the log, looks like a problem with 2023-03-27 01:24:52 [error]: An unhandled error has occurred.
2023-03-27 01:24:52 [error]: SharpGen.Runtime.SharpGenException: HRESULT: [0x80070005], Module: [General], ApiCode: [E_ACCESSDENIED/General access denied error], Message: [Access is denied.
2023-03-27 01:24:52 [error]: ]
2023-03-27 01:24:52 [error]: at SharpGen.Runtime.Result.ThrowFailureException()
2023-03-27 01:24:52 [error]: at Vortice.DXGI.IDXGIFactory.CreateSwapChain(IUnknown device, SwapChainDescription desc)
2023-03-27 01:24:52 [error]: at Veldrid.D3D11.D3D11Swapchain.recreateSwapchain()
2023-03-27 01:24:52 [error]: at osu.Framework.Graphics.Veldrid.VeldridRenderer.set_AllowTearing(Boolean value) in E:\osu!source\osu-framework\osu.Framework\Graphics\Veldrid\VeldridRenderer.cs:line 41
2023-03-27 01:24:52 [error]: at osu.Framework.Graphics.Rendering.Renderer.osu.Framework.Graphics.Rendering.IRenderer.set_AllowTearing(Boolean value) in E:\osu!source\osu-framework\osu.Framework\Graphics\Rendering\Renderer.cs:line 1098
2023-03-27 01:24:52 [error]: at osu.Framework.Platform.GameHost.DrawFrame() in E:\osu!source\osu-framework\osu.Framework\Platform\GameHost.cs:line 484
2023-03-27 01:24:52 [error]: at osu.Framework.Threading.GameThread.processFrame() in E:\osu!source\osu-framework\osu.Framework\Threading\GameThread.cs:line 451 /cc @ppy/team-client |
Beta Was this translation helpful? Give feedback.
-
Bumping to issue #5712. |
Beta Was this translation helpful? Give feedback.
Bumping to issue #5712.