Repository navigation
OpenD2K 0.0.4.1 test build 4 for AMD (Windows)
Pre-release
Pre-release
Test build 4 for AMD graphics cards (issue #7). Not a regular release: use it only if OpenD2K 0.0.4 has problems on an AMD GPU. Everyone else: stay on 0.0.4. Windows only; plays together with 0.0.4 in multiplayer.
Fixes for all three AMD problems from #7:
- Vulkan freezes when switching to fullscreen: AMD's Vulkan driver switches a window that covers the whole screen to exclusive fullscreen on its own, and the game froze during that switch (a known AMD behaviour; mpv and Dolphin had the same). The game now tells Vulkan that exclusive fullscreen is not allowed, and always uses at least two frame buffers.
- 3D on Direct3D 12 draws no battlefield: the 3D shaders read some data buffers in a way NVIDIA tolerates but AMD does not (SDL issue #12200). Fixed.
- Large buildings missing with Direct3D 11: a failed texture upload was silently ignored. Uploads are now checked, retried in small strips, logged if they still fail, and a smaller image is drawn instead of nothing.
If something still goes wrong, these switches in settings.ini (Options → Open data folder) help narrow it down, one at a time:
vkExclusiveFullscreen=allow(for comparison: the old behaviour)fullscreenGap=1orfullscreenGap=-1fullscreenTopmost=onresizeFlush=hidemsaaAmdD3d12=off(3D on Direct3D 12)gpuDriver=direct3d12
The log line "AMD test switches:" records every setting in effect. Please report in #7 with your opend2k.log, even if everything works. Thank you!
Source: branch amd-test.