core: win32 backend requires vsync=.triple or it will stall on 2048th' frame, unsure why #1259

Open
opened 2024-08-25 16:56:54 +00:00 by emidoots · 2 comments
emidoots commented 2024-08-25 16:56:54 +00:00 (Migrated from github.com)

Needs debugging.

https://github.com/hexops/mach/pull/1258/files#diff-c03659dc4af60ec5392d6014dce3314fd1eb5f68181c212366ec53a20ba4a82eR133

the final problem ,which I have not figured out what is causing is that d3d12 fails with an error when presenting frame 2048. There must be something that is not being released somewhere, it is always on frame 2048.

Needs debugging. https://github.com/hexops/mach/pull/1258/files#diff-c03659dc4af60ec5392d6014dce3314fd1eb5f68181c212366ec53a20ba4a82eR133 > the final problem ,which I have not figured out what is causing is that d3d12 fails with an error when presenting frame 2048. There must be something that is not being released somewhere, it is always on frame 2048.
hordurj commented 2024-09-03 19:05:46 +00:00 (Migrated from github.com)

This is still happening on my machine but less frequently. Saw it happen after 4096 and 8192 frames and 6x2048 frames. I have been able to get the error in my own program I am working on and once the "hardware check" example. I will investigate further.

The windows debug output is
[29572] 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 is still happening on my machine but less frequently. Saw it happen after 4096 and 8192 frames and 6x2048 frames. I have been able to get the error in my own program I am working on and once the "hardware check" example. I will investigate further. The windows debug output is [29572] 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]
ronald-mz commented 2024-10-21 17:42:01 +00:00 (Migrated from github.com)

@slimsag @hordurj Are y'all still able to replicate this error after https://github.com/hexops/mach/pull/1289?

@slimsag @hordurj Are y'all still able to replicate this error after https://github.com/hexops/mach/pull/1289?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#1259
No description provided.