Hello everyone,
I'm using a Windows 11 virtual machine with 3D acceleration enabled.
Inside the VM, I have a D3D11 application that creates a SwapChain with
two back buffers and specifies Flip mode
(DXGI_SWAP_EFFECT_FLIP_DISCARD). Under this configuration, I observe
severe flickering in the application window.
Through code debugging, I’ve determined that the issue arises because
the application calls Present() too quickly, overwriting the back buffer
that the Desktop Window Manager (Dwm) is currently using for its own
Present().The problem can be reproduced using the examples "21 Picking"
and "28 Waves" from the following repository:
https://github.com/MKXJun/DirectX11-With-Windows-SDK
After reviewing the source code, I noticed that the functions
dxgiRotateResourceIdentities() and dxgiPresent() do not include any
synchronization logic to wait for Dwm’s composition to complete. Could
anyone provide insights on this issue? Is there a community or platform
plan to address this problem?
Any advice would be greatly appreciated!
_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev