Does MilkDrop run on Linux?

06 FAQ


Not natively. MilkDrop is a Windows program built on Direct3D 9, so on Linux it runs through Wine, with its graphics, shader compiler and audio translated or routed by hand; on ARM boards such as the Raspberry Pi it needs an x86 emulator as well.

Why it needs Wine

MilkDrop 2 is a plug-in for Winamp on Windows1, and MilkDrop 3 a standalone Windows program built on its code.2 Both draw with Direct3D 912, which Linux does not have, and both are built for x86 processors. Three parts of MilkDrop depend on Windows:

  • Graphics. Every frame is drawn through Direct3D 9.
  • Shaders. Since MilkDrop 2, a preset can carry two pixel shaders of its own, a warp shader and a composite shader, written in HLSL, Direct3D's shading language.3 MilkDrop compiles them while it runs, with Microsoft's D3DX 9 library.4
  • Audio. MilkDrop 3 listens to Windows' system audio or to an input device.2

MilkDrop 3 has an official guide for running it under Wine, and since version 3.35 its installer detects Wine and installs a Linux-compatible build of the program.5

What the official Wine setup involves

Wine is not an emulator: it answers a Windows program's calls to Windows with Linux equivalents.6 MilkDrop 3's guide asks for:

  • Wine 10.13 or newer, Wine Staging preferred, on a 64-bit system with WoW64.5
  • winetricks, to install Microsoft's D3DX 9 libraries and the Visual C++ 2019 runtime into Wine, which the guide says may take 5 to 10 minutes.5
  • A separate 32-bit Wine prefix if MilkDrop crashes at start.5

Its known issues include menu text (the F1 help and the L and M menus) that can look glitchy, with memorising the keyboard shortcuts as the workaround, and Direct3D texture warnings it describes as harmless.5

Graphics: Direct3D 9 on OpenGL, or on Vulkan

Wine's own Direct3D layer turns MilkDrop's drawing calls and shaders into OpenGL, run by Mesa or NVIDIA's driver; the guide calls the GLSL shader warnings this prints cosmetic. For speed it suggests Wine Staging, the STAGING_SHARED_MEMORY=1 setting, current GPU drivers, an optional MESA_GL_VERSION_OVERRIDE=4.5, and if needed a lower resolution or frame rate.5

DXVK is the alternative: a translation layer for Wine that runs Direct3D 8 to 11 on Vulkan.7 Steam's Proton, Valve's Wine-based tool for Windows games, uses it as its default renderer.8 MilkDrop 3's guide does not cover DXVK.5

Each translation layer is one more place where a preset can look or run differently than on Windows, and the whole setup has to be repeated on the next machine.

Audio: PulseAudio and PipeWire

Under Wine, MilkDrop hears the recording devices Wine gives it, not whatever Linux is playing. The guide has you route system audio to it with a PulseAudio or PipeWire loopback, managed in pavucontrol5:

  1. In winecfg's Audio tab, make sure PulseAudio is selected.5
  2. Start the music before starting MilkDrop.5
  3. In pavucontrol's Recording tab, set MilkDrop's input to the monitor of your speakers or headphones: the source that carries what that output plays. PipeWire desktops offer the same through pipewire-pulse, PipeWire's PulseAudio-compatible server, so pavucontrol works there too.

ARM boards and the Raspberry Pi

Wine translates a program's calls to Windows, not its processor instructions, so on its own it runs x86 Windows programs only on x86 processors. On an ARM board such as a Raspberry Pi, MilkDrop needs an x86 emulator underneath Wine, such as Box64 or FEX.910 Then the emulator translates every instruction, Wine every call to Windows, and Wine's graphics layer every Direct3D 9 call, all on a small board's CPU and GPU. MilkDrop 3's Linux guide does not cover ARM.5

Native ports: projectM and Butterchurn

projectM is the long-standing open-source reimplementation of MilkDrop: a C++ library that renders with OpenGL 3.3 or OpenGL ES 3.2.1112 Linux distributions package it, its own apps are development previews (the projectMSDL 2.0 pre-release, also on Steam), and Kodi and VLC carry third-party integrations.11

It rewrites MilkDrop's HLSL shaders into OpenGL's GLSL with a translator, and its maintainers list shaders that still translate incorrectly or render black.1314 It keeps MilkDrop 2's limits, q1 to q32 and four custom waves and shapes, and does not load MilkDrop 3's .milk2 double presets15, though it has supported MilkDrop 3's waveform modes since 2024.16 Many presets look close, but because each frame is built from the last, small differences compound.

Butterchurn is a WebGL implementation of MilkDrop that runs in a web browser.17 It visualizes audio the page plays or a microphone input17, so system audio still has to be routed to it, for example from a monitor source.

What a native Linux player has to solve

Playing MilkDrop presets on Linux without Wine means replacing every Windows piece with a Linux one:

  • A compiler for MilkDrop's HLSL. D3DX is Windows-only, so the player has to compile MilkDrop's shader dialect itself, the way D3DX compiled it.
  • Mesa or NVIDIA underneath. OpenGL or Vulkan, on AMD, Intel, NVIDIA and ARM graphics alike.
  • System audio, read directly from PipeWire or PulseAudio, with no routing to set up.
  • ARM64 builds, so boards like the Raspberry Pi need no emulator.
  • MilkDrop's quirks. Because each frame starts from the last, a half-texel offset or a function that rounds differently changes where an image drifts after a few seconds. Presets lean on MilkDrop's quirks, not only its features.

Sources (checked October 2026)

  1. MilkDrop 2 at geisswerks.com: the Winamp plug-in
  2. MilkDrop 3 on GitHub: README and release notes
  3. Ryan Geiss, MilkDrop Preset Authoring Guide: warp and composite shaders
  4. MilkDrop 2 source, plugin.cpp: shaders compiled with D3DXCompileShader
  5. MilkDrop 3: running on Linux with Wine
  6. WineHQ: what Wine is
  7. DXVK: Direct3D 8 to 11 on Vulkan, for Wine
  8. Proton: Valve's Wine-based tool for Steam, and its renderer options
  9. Box64: x86_64 emulator for ARM64 Linux, with Wine support
  10. FEX: x86 and x86-64 emulator for ARM64 Linux, used alongside Wine
  11. projectM README: the library and its end-user apps
  12. projectM build documentation: OpenGL requirements
  13. projectM 4.1.0 release notes: known issues
  14. projectM issue #761: HLSL-to-GLSL translation
  15. libprojectM MilkdropPreset/Constants.hpp: q variables, waves, shapes
  16. projectM pull request #754: MilkDrop 3 waveform modes
  17. Butterchurn: MilkDrop in WebGL

Download

Play MilkDrop presets natively on Linux

oolonGoo is built on a new engine, written in Rust for Vulkan, and runs on Linux itself: no Wine, no winetricks and no x86 emulator.

  • Its own compiler turns each preset's HLSL shaders straight into SPIR-V for Vulkan, following Direct3D 9's rules, with no GLSL translation step. MilkDrop 2 and MilkDrop 3 presets, .milk2 double presets included, each run in a mode tuned for the version they were written for, with compatibility quirks on by default.
  • It draws with Vulkan 1.3 on Mesa's RADV, ANV or NVK drivers, or on NVIDIA's.
  • It reads system audio straight from PipeWire, with no loopback to wire up; any ALSA input works too.
  • It builds for x86_64 and ARM64, including ARM boards with a Vulkan 1.3 driver: see the board list.

The Linux builds are new: oolonGoo is developed on macOS, so reports from Linux desktops are welcome in its issue tracker.

See how it compares with MilkDrop and projectM.

Version 0.1.0 · Free and open source · All downloads · Source on GitHub