Skip to content

Windows 10: Game crashes on ALT+Tab #28

@xezon

Description

@xezon

Game crashes with ALT+Tab on Windows 10.

Potentially caused by broken resource management on lost device.

See "Responding to a Lost Device"
https://docs.microsoft.com/en-us/windows/win32/direct3d9/lost-devices

DirectX is very susceptible to crashing if the device reset is not recreating every single resource. Knowing Game ALT+Tab works in other Windows version, the problem could be as simple as a missing event or an event coming too late for the game to handle properly.

Appears to be fixed with d3d8to9.dll
https://github.com/crosire/d3d8to9

Default Desktop 2560x1440, Game 1024x768 = No crash on ALT+Tab

Default Desktop 2560x1440, Game 2560x1440 = Crash on ALT+Tab

d3d8to9.dll Desktop 2560x1440, Game 1024x768 = No crash on ALT+Tab

d3d8to9.dll Desktop 2560x1440, Game 2560x1440 = No crash on ALT+Tab

Metadata

Metadata

Assignees

Labels

BugSomething is not working rightCriticalSeverity: Minor < Major < Critical < BlockerExecutableIs game code related

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions