Hasty Briefsbeta

DXGI debugging: Microsoft put me on a list

6 hours ago
  • #DirectX
  • #Debugging
  • #ARM64
  • The author is working on ARM64 builds for Space Station 14, specifically focusing on a launcher that supports both ARM64 and x64.
  • The game client crashes on Windows ARM64, with logs cutting out after SDL initialization, indicating a native crash.
  • Debugging with WinDbg reveals an illegal instruction crash in USER32!GetDC, with WinDbg struggling due to ARM64EC confusion.
  • The issue is traced back to DXGI installing detours for 'Optimizations for windowed games', which breaks on ARM64.
  • The crash only occurs when the executable is named 'SS14.Loader.exe', suggesting Microsoft's optimization list is the culprit.
  • The author considers postponing official Windows ARM64 support until either the OpenGL on D3D12 or ARM64 DXGI detours bugs are fixed.
  • A temporary workaround involves disabling the 'Optimizations for windowed games' feature in Windows settings.