Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enter to Full Screen will crash #2

Open
qzhan15 opened this issue May 23, 2016 · 3 comments
Open

Enter to Full Screen will crash #2

qzhan15 opened this issue May 23, 2016 · 3 comments

Comments

@qzhan15
Copy link

qzhan15 commented May 23, 2016

No description provided.

@discosultan
Copy link

Just to provide some more insight, the DX debug layer shows the following errors for the crash:

DXGI ERROR: IDXGISwapChain::Present: The application has not called ResizeBuffers or re-created the SwapChain after a fullscreen or windowed transition. Flip model swapchains (DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL and DXGI_SWAP_EFFECT_FLIP_DISCARD) are required to do so. [ MISCELLANEOUS ERROR #117: ]
D3D12 ERROR: ID3D12Resource::<final-release>: An ID3D12Resource object (0x00000224C9D9C660:'Unnamed ID3D12Resource Object') is being final-released before all GPU operations using the object have completed.  This is invalid and can result in application instability. [ EXECUTION ERROR #921: OBJECT_DELETED_WHILE_STILL_IN_USE]
D3D12 ERROR: ID3D12Resource::<final-release>: An ID3D12Resource object (0x00000224C9D18AA0:'Unnamed ID3D12Resource Object') is being final-released before all GPU operations using the object have completed.  This is invalid and can result in application instability. [ EXECUTION ERROR #921: OBJECT_DELETED_WHILE_STILL_IN_USE]
D3D12 ERROR: ID3D12DescriptorHeap::<final-release>: An ID3D12DescriptorHeap object (0x00000224C9D97BA0:'Unnamed ID3D12DescriptorHeap Object') is being final-released before all GPU operations using the object have completed.  This is invalid and can result in application instability. [ EXECUTION ERROR #921: OBJECT_DELETED_WHILE_STILL_IN_USE]
D3D12 ERROR: ID3D12RootSignature::<final-release>: An ID3D12RootSignature object (0x00000224C9D18710:'Unnamed ID3D12RootSignature Object') is being final-released before all GPU operations using the object have completed.  This is invalid and can result in application instability. [ EXECUTION ERROR #921: OBJECT_DELETED_WHILE_STILL_IN_USE]
DXGI ERROR: IDXGISwapChain::Release: Swapchain Released while fullscreen. Switch it to the windowed state first. [ MISCELLANEOUS ERROR #66: ]

@hermestrimegistus
Copy link

It doesnt crash for me. Can you post pstack?

@Kamikaze1991
Copy link

hi, i resolve these crash.... in the method OnResize in d3dapp.cpp.... change SwapChainFlag to 0 in the buffer resize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants