installer/install-fl-studio.sh sets up FL Studio on this Wine without building it: runtime libraries through the distribution's package manager, the prebuilt tarball from this repository's releases (SHA-256 checked), a prefix with Wine Mono and the Microsoft C++ runtime fix, the WebView2 settings, the FL installer, PipeASIO, and a launcher with menu entries. installer/build builds the tarball: Wine in Ubuntu 22.04, PipeASIO v1.7.0 in Debian 13 because it needs PipeWire 1.4.2.
7.6 KiB
Wine for FL Studio and its plugins
This branch is Wine 11.22 plus the fixes needed to run FL Studio 2026 and common
Windows plugins (JUCE 7 and 8 editors, Serum, WebView2-based apps, licence managers)
on Linux. Each fix is one commit on top of the wine-11.22 tag, so a single fix can be
read, reverted or cherry-picked on its own:
git log --reverse wine-11.22..fl-studio-11.22
git format-patch wine-11.22..fl-studio-11.22 # one .patch file per fix
Signed tags named fl-studio-11.22-N mark tested states of the branch. The previous
base, Wine 11.19, stays on the fl-studio branch and its fl-studio-11.19-N tags.
The fixes
| Commit subject | What it fixes |
|---|---|
| win32u: Re-present offscreen client surfaces after window updates | OpenGL plugin GUIs flickering. From Audion by ongohamza. |
| win32u: Do not present client surfaces while holding the user lock | A deadlock in the commit above when a Direct2D/Direct3D plugin window is dragged. |
| gdi32: Add opt-in protection against malformed DeleteObject calls, plus Always enable it | Effectrix crashing. First commit from Audion. |
| dxgi: Emulate IDXGIOutput::WaitForVBlank() | Frozen or black JUCE 7 plugin editors (Wine bug 56799). |
| dcomp: Import the Wine Staging v11.19 DirectComposition series | JUCE 8 editors that only render through DirectComposition. Wine Staging's series by Zhiyi Zhang (CodeWeavers), without its wineserver part. |
| dxgi: Implement composition swapchains, dcomp: Add a per-process compositor thread | The rest of DirectComposition support for JUCE 8 (soothe3 and similar). |
| d2d1: Dedupe triangulation vertices with the CDT comparator | Serum freezing FL (stack overflow triangulating a zero-area shape). |
| ntdll, wined3d and d2d1 performance commits | Slow plugin preset switching (Serum spent seconds per switch in state swaps and lock wake-ups). |
| server, win32u: Keep a top-level surface from flushing over child windows of other processes | WebView2 windows (FL Cloud, Splice) flashing on hover. |
| dwrite: Treat missing text from the source as the end of the text | A crash in apps whose text source returns no text one character early (Mastering The Mix Installer Manager). |
| wbemprox: Add MSFT_NetAdapter | wyDay TurboActivate failing with "Enable the network adapters" (error 28). |
| d2d1: Fix stroked joins and curves | Stray spikes and slabs on stroked Direct2D paths, such as the spectrum line in Mastering The Mix RESO. |
| winex11.drv: Do not raise a window that is activated again | FL's submenus (View → Toolbars) and their parent menu vanishing in a Wine virtual desktop while still taking clicks. |
| dwrite: Implement IDWriteFontSet::GetMatchingFonts() for a family name | An error where Windows returns the closest fonts of a family (FL Studio asks at startup). |
| avrt: Raise the thread priority for multimedia tasks | FL's "Pro Audio" mixing threads running at normal priority; they now get Wine's highest. |
| d2d1: Draw round joins and line caps | Round joins drawn as clamped miters and line caps ignored on Direct2D strokes. |
Patch files
patches/ holds the same fixes as plain diffs for applying to a stock Wine 11.22
source tree without git. Apply them in number order from the top of the tree:
for p in patches/[01][0-9]-*.patch; do patch -p1 < "$p"; done
patches/audion-flicker-fix.patch is the win32u user-lock fix. It goes on top of
Audion's flicker patch, so apply it only after that one. Two commits on the branch
have no file here: Audion's two patches (flicker and DeleteObject), which come from the
Audion project. The crypt32 fix that 11.19 needed for FL Studio's startup check is part
of Wine since 11.21 (merge request !11824), so this branch no longer carries it.
Installer
installer/install-fl-studio.sh sets up FL Studio on this Wine without building it: it
installs your distribution's runtime libraries (asking before it uses sudo), downloads
the prebuilt tarball from this repository's releases and checks its SHA-256, creates the
prefix with Wine Mono and the Microsoft C++ runtime fix, applies the WebView2 settings,
runs the FL Studio installer you downloaded, registers PipeASIO, and adds a launcher and
menu entries. Everything except the libraries goes under your home folder. Run it with
--help for the options, --dry-run to see each step first, or --uninstall.
The prebuilt tarball is built by installer/build/build.sh: Wine in an Ubuntu 22.04
container (glibc 2.35), PipeASIO v1.7.0 in a Debian 13 container, because it needs
PipeWire 1.4.2 or newer. PipeASIO therefore needs glibc 2.38 and PipeWire 1.4.2 at run
time; the installer skips it on older systems.
Building
Build out of tree and install into a private prefix, so nothing else on the system uses this Wine:
mkdir ../wine-fl-build && cd ../wine-fl-build
../wine-fl/configure --prefix="$HOME/.local/opt/wine-fl" --enable-archs=x86_64,i386 --disable-tests
make -j"$(nproc)" && make install
After the first install, update a single DLL by copying it from the build into
lib/wine/<arch>-windows/ (or x86_64-unix/ for Unix libraries) of the install
prefix. A full make install makes the next start update the Wine prefix, which
replaces Microsoft's msvcp140.dll with Wine's builtin one; plugins protected by PACE
then fail to load until the Visual C++ runtime is restored.
Licence
Wine is licensed under the LGPL 2.1 or later (see LICENSE); these changes are too.