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

core: fails to compile on win32 #1257

Closed
hordurj opened this issue Aug 25, 2024 · 1 comment
Closed

core: fails to compile on win32 #1257

hordurj opened this issue Aug 25, 2024 · 1 comment
Labels
bug Something isn't working needs-triage Issues that need triaging

Comments

@hordurj
Copy link
Contributor

hordurj commented Aug 25, 2024

Build fails on win32 after PR1254 and later.

On win32/d3d12 sprite example fails on frame 2048.
Following error is reported to the debug view.
[38812] D3D12: Removing Device.
[38812] D3D12 ERROR: ID3D12Device::RemoveDevice: Device removal has been triggered for the following reason (DXGI_ERROR_DEVICE_HUNG: The Device took an unreasonable amount of time to execute its commands, or the hardware crashed/hung. As a result, the TDR (Timeout Detection and Recovery) mechanism has been triggered. The current Device Context was executing commands when the hang occurred. The application may want to respawn and fallback to less aggressive use of the display hardware). [ EXECUTION ERROR #232: DEVICE_REMOVAL_PROCESS_AT_FAULT]

This error does not occur if vsync is enabled.
It does not occur when compiled with -Doptimized=ReleaseFast

This might indicate there is some race condition causing memory corruption.
It starts failing on this commit 984d4de

@hordurj hordurj added bug Something isn't working needs-triage Issues that need triaging labels Aug 25, 2024
hordurj added a commit to hordurj/mach that referenced this issue Aug 25, 2024
slimsag pushed a commit that referenced this issue Aug 25, 2024
@slimsag
Copy link
Member

slimsag commented Aug 25, 2024

Temporary fix merged, filed #1259 and #1260 as follow ups

@slimsag slimsag closed this as completed Aug 25, 2024
fautore pushed a commit to fautore/mach that referenced this issue Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issues that need triaging
Projects
None yet
Development

No branches or pull requests

2 participants