Distro News

Experimental Wine port brings 64-bit Windows apps to OpenBSD

Key Takeaway

An experimental Wine port for OpenBSD works around the OS's GSBASE restriction to run 64-bit Windows applications including The Witcher 3.

Summary

OpenBSD developer Thomas Frohwein has submitted an experimental Wine port to the OpenBSD mailing list, with contributions from Andrii and Fabien. The port overcomes OpenBSD's refusal to let applications set GSBASE directly by using a software workaround with the %gs prefix. It successfully runs numerous 64-bit Windows applications and games, though 32-bit support via WoW64 remains non-functional and the port has not yet been accepted into the official OpenBSD ports collection.

How the OpenBSD Wine port works

  • Core workaround: Uses %gs prefix to generate instructions, circumventing OpenBSD's prohibition on direct GSBASE manipulation by userland applications
  • 64-bit only: WoW64 (32-bit Windows app compatibility) does not work; port is strictly for 64-bit Windows software
  • D3D12 via Vulkan: The Witcher 3 requires vkd3d-proton for D3D12-to-Vulkan translation
  • Test suite disabled: Built-in Wine tests are off; some require X server access, others hang (though real-world game testing has not shown this issue)
  • Security recommendation: Frohwein advises running Wine under a separate unprivileged user account pending further security restrictions

Why it matters

If accepted into OpenBSD's official ports, this would substantially expand software availability on a platform historically limited by its small application ecosystem and strict security model.

Original reference: linuxiac.com →