Repository navigation
Wine 11.21 for Macron (11.21-macron.18)
Wine 11.21's Mac driver (winemac.so, x86_64), wined3d.dll (i386 and x86_64), wow64cpu.dll (x86_64), opengl32 (opengl32.so, x86_64; opengl32.dll, i386 and x86_64) wineboot.exe (x86_64), avrt.dll (i386 and x86_64), wineserver and winecoreaudio.so with Macron's patches, as an overlay for Gcenx's wine-devel 11.21 build. Unpack it over that Wine tree. It lets DXMT present Direct3D frames to a window, lets OpenGL start on Apple's software renderer when AllowSoftwareRendering is set, stops Direct3D games from mapping (in 32-bit, copying) whole vertex buffers on every draw, fixes a crash when an OpenGL context is freed off the main thread, switches between 32-bit and 64-bit code with iret, sends a program's OpenGL calls to Wine's Unix side in batches instead of one at a time, and writes Direct3D streaming uploads (NOOVERWRITE and DISCARD locks, DrawPrimitiveUP) into buffers without waiting for the GPU, which Apple's OpenGL over Metal otherwise does on every one, keeps wineboot from showing its wait window while it updates a prefix, and gives a thread that a game registers for audio (AvSetMmThreadCharacteristics) time-critical priority, and runs wineserver, which every wake-up of a Windows thread passes through, at the top of the application priority band instead of behind the game's own threads, and asks a game for sound when CoreAudio has taken some, with a reserve the game is not told about, instead of from a timer of its own (what CoreAudio asked for and did not get is logged once a minute).
wine-11.21-macron.18-overlay-osx64.tar.xz: SHA-256d096ab2b7b5d64724905396bf28b0036b0c8ece22df38b2b285b850349c02f05- Source: Wine
wine-11.21(https://gitlab.winehq.org/wine/wine/-/tree/wine-11.21), built from https://github.com/wine-mirror/wine/archive/wine-11.21.tar.gz (SHA-256046cb0519b7d385be7912304910ccde9e3c0268ebdce7ef35a3c14446cfb8029) with these patches, attached below and in the archive:0001-winemac.drv-Export-macdrv_functions-for-DXMT.patch0002-winemac.drv-Fall-back-to-the-software-renderer.patch0003-wined3d-Upload-buffer-maps-through-heap-memory-when-maps-are-copied.patch0004-wined3d-Run-the-command-stream-on-the-application-thread-in-WoW64.patch0005-winemac.drv-Don-t-retain-an-OpenGL-context-that-is-being-freed.patch0006-wow64cpu-Switch-between-32-bit-and-64-bit-code-with-iret.patch0007-opengl32-Queue-calls-that-return-nothing-and-replay-them-in-one-Unix-call.patch0008-wined3d-Upload-buffer-maps-through-heap-memory-without-persistent-maps.patch0009-wined3d-Write-streaming-buffer-uploads-unsynchronized.patch0010-wined3d-Map-CPU-only-buffers-on-the-client-thread-and-upload-through-COPY_WRITE.patch0011-wined3d-Run-the-command-stream-on-its-own-thread-in-WoW64-again.patch0013-wineboot-Don-t-show-the-wait-window.patch0014-avrt-Give-a-thread-registered-for-audio-time-critical-priority.patch0015-server-Run-at-the-top-of-the-application-priority-band-on-macOS.patch0016-winecoreaudio-Put-an-engine-between-a-shared-render-stream-and-CoreAudio.patch0017-winemac.drv-A-scale-between-Windows-pixels-and-Mac-points-other-than-2.patch0018-winecoreaudio-Give-the-thread-that-writes-an-event-driven-stream-a-time-constraint.patch0019-wined3d-Report-the-driver-versions-of-today-for-Windows-10-and-NVIDIA.patch
- Built by https://github.com/ThallesP/macron/actions/runs/44806684586 from 6d3c7c2.
Wine and these patches are licensed under the GNU LGPL 2.1 or later; the licence text is in the archive under share/doc/macron-wine/COPYING.LIB. What the patches do: runtime/wine/patches/README.md.
ABI check against Gcenx's build:
== Gcenx's winemac.so against an unpatched build of the same source
ok: symbols imported from ntdll.so and win32u.so (105 lines)
ok: system symbols are a subset of Gcenx's (416 of 419; Gcenx's also imports: _ceil _floor _round )
ok: exported symbols (2 lines)
ok: install name and linked libraries (16 lines)
ok: rpaths (2 lines)
ok: win32u.so exported symbols (506 lines)
note: __TEXT,__text differs (15008 vs 14860 lines of 16 bytes); compilers differ
note: Gcenx's targets minos 10.15, sdk 27.2; ours minos 10.15, sdk 26.5
== The patched winemac.so against the unpatched build
ok: imported symbols (521 lines)
ok: exported symbols (plus _macdrv_functions) (3 lines)
ok: install name and linked libraries (16 lines)
ok: rpaths (2 lines)
PASS: the patched winemac.so is a drop-in for Gcenx's
== wined3d.dll (coff-i386)
PASS: wined3d.dll exports the same 377 symbols as Gcenx's, patched and unpatched
== wined3d.dll (coff-x86-64)
PASS: wined3d.dll exports the same 377 symbols as Gcenx's, patched and unpatched
== wow64cpu.dll (coff-x86-64)
PASS: wow64cpu.dll exports the same 9 symbols as Gcenx's, patched and unpatched
== Gcenx's opengl32.so against an unpatched build of the same source
ok: symbols imported from ntdll.so and win32u.so (13 lines)
ok: system symbols are a subset of Gcenx's
ok: exported symbols (2 lines)
ok: install name and linked libraries (4 lines)
ok: rpaths (2 lines)
== The patched opengl32.so against the unpatched build
ok: imported symbols are a subset of the unpatched build's
ok: exported symbols (2 lines)
ok: install name and linked libraries (4 lines)
ok: rpaths (2 lines)
PASS: the patched opengl32.so is a drop-in for Gcenx's
== opengl32.dll (coff-i386)
PASS: opengl32.dll exports the same 361 symbols as Gcenx's, patched and unpatched
== opengl32.dll (coff-x86-64)
PASS: opengl32.dll exports the same 361 symbols as Gcenx's, patched and unpatched
== wineboot.exe (coff-x86-64)
PASS: wineboot.exe imports the same 134 functions as Gcenx's, patched and unpatched
== avrt.dll (coff-i386)
PASS: avrt.dll exports the same 14 symbols as Gcenx's, patched and unpatched
== avrt.dll (coff-x86-64)
PASS: avrt.dll exports the same 14 symbols as Gcenx's, patched and unpatched
== Gcenx's wineserver against an unpatched build of the same source
ok: symbols imported from ntdll.so and win32u.so (0 lines)
ok: system symbols are a subset of Gcenx's
ok: install name and linked libraries (2 lines)
ok: rpaths (1 lines)
== The patched wineserver against the unpatched build
allowed new import: _mach_thread_self libSystem)
ok: imported symbols are a subset of the unpatched build's
ok: install name and linked libraries (2 lines)
ok: rpaths (1 lines)
PASS: the patched wineserver is a drop-in for Gcenx's
== Gcenx's winecoreaudio.so against an unpatched build of the same source
ok: symbols imported from ntdll.so and win32u.so (15 lines)
ok: system symbols are a subset of Gcenx's
ok: exported symbols (2 lines)
ok: install name and linked libraries (8 lines)
ok: rpaths (2 lines)
== The patched winecoreaudio.so against the unpatched build
allowed new import: ___stderrp libSystem)
allowed new import: _atoi libSystem)
allowed new import: _fprintf libSystem)
allowed new import: _getenv libSystem)
allowed new import: _mach_task_self_ libSystem)
allowed new import: _pthread_mach_thread_np libSystem)
allowed new import: _pthread_self libSystem)
allowed new import: _semaphore_create libSystem)
allowed new import: _semaphore_destroy libSystem)
allowed new import: _semaphore_signal libSystem)
allowed new import: _semaphore_timedwait libSystem)
allowed new import: _strcmp libSystem)
allowed new import: _strtol libSystem)
allowed new import: _thread_policy_set libSystem)
ok: imported symbols are a subset of the unpatched build's
ok: exported symbols (2 lines)
ok: install name and linked libraries (8 lines)
ok: rpaths (2 lines)
PASS: the patched winecoreaudio.so is a drop-in for Gcenx's