Wine 4.0.2 Stable Released!

The WineHQ team announced the 4.0.2 Stable version today, after the Wine 4.14 Development release.

Wine 4.0 Stable Released!

Wine 4.0.2 Stable Version and Innovations

The Stable version of Wine is a version that has been continuously developed for nearly 1 year and contains almost 6,000 serious changes. The main improvements in the stable release are:

  • Vulkan support.
  • Direct3D 12 support.
  • Game controllers support.
  • High DPI support on Android.

After browsing the changes in the stable version of Wine, you can install Wine on your Linux computer.

How to Download

You can download Wine to your Linux computer by visiting one of the links below.

What’s New

The Wine Stable version incorporates numerous innovations. These innovations include;


  1. The first support for Direct3D 12 was applied. Direct3D 12 support requires a vkd3d library and a Vulkan graphics card.
  2. Multi-Threaded Command Stream is enabled by default.
  3. OpenGL core contents are always used by default. In the previous version, they were already used by default for Direct3D 10 and 11 applications on AMD and Intel graphics cards. This was extended to all graphics cards and to all versions of Direct3D up to 12.
  4. Among others, the following remarkable features of Direct3D 10 and 11 are implemented:
  5. Multisample textures and views as well as multisample analysis.
  6. Shading per sample.
  7. Support for 1D tissues.
  8. Draws without creating target views or depth / template views.
  9. Multiple views and scissors rectangles per draw.
  10. Depth cropping control.
  11. Depth bias tightening.
  12. Flow output without geometry shaders.
  13. A few more talent queries.
  14. A few more source formats.
  15. The above-mentioned is depth slant clamp lam feature requires the OpenGL extension ARB_polygon_offset_clamp / EXT_polygon_off et_clamp. All Direct3D 10+-compatible hardware must be able to support this extension, but we have noticed that some NVIDIA “Legacy Drivers” didn’t support it. We encourage affected users to discover whether the Free Software Nouveau drivers meet their needs.
  16. Various Direct3D 11 interfaces have been updated to version 11.2 and several DXGI interfaces to version 1.6. This allows applications that require newer interfaces to start working.
  17. In Direct3D, the first steps were taken in the better-tuned locking path. This will be an ongoing effort to make better use of modern high-core number processors.
  18. Support for using the correct swap range applies to both DXGI and DirectDraw applications.
  19. Application configurable frame delay is applied for Direct3D 9Ex and DXGI applications.
  20. S3TC compressed 3D textures are supported. S3TC compressed 2D textures are already supported if OpenGL drivers are provided.
  21. ARB_query_buffer_object When the OpenGL extension is available, query results can be queried with a low delay, resulting in modest performance improvement in special cases.
  22. The validation and use restrictions of the Direct3D 8 and 9 resource pool have improved blit constraints.
  23. The Direct3D graphics card database recognizes more graphics cards.
  24. The new HKEY_CURRENT_USER \ Software \ Wine \ Direct3D registry key:
  25. “MultisampleTextures” (REG_DWORD) Support for multi-instance textures (0x1, default), or disable (0x0) support.
  26. “Renderer” (REG_SZ) The back-end API to be targeted. Possible values ​​are “gl” for OpenGL (default) and “gdi” for GDI.
  27. Deprecated HKEY_CURRENT_USER \ Software \ Wine \ Direct3D registry key: “DirectDrawRenderer” This was replaced with the above “Renderer” setting.
  28. Removed HKEY_CURRENT_USER \ Software \ Wine \ Direct3D registry key: “StrictDrawOrdering” This feature was previously removed in favor of the multithreaded command stream feature and completely removed.


  1. A full Vulcan drive that uses oltenVK is applied to the host Vulcan libraries under X11 or macOS.
  2. As an alternative to the SDK installer, a built-in Vulkan-1 installer is provided.
  3. Icons in PNG format are supported, allowing high-resolution 256×256 icons to be loaded.
  4. Standard icons include 256×256 to take advantage of PNG support.
  5. Many Direct2D interfaces have been updated to version 1.2.
  6. By default, using the X11 image of an ARGB image is supported.
  7. The old 16-bit DIB.DRV driver is implemented using the DIB engine.
  8. The polygon drawing in the DIB engine is much faster for large polygons.
  9. Paper sizes A0, A1, and A2 are supported for common printers.
  10. Arrows are supported in GdiPlus.
  11. The new HKEY_CURRENT_USER \ Software \ Wine \ Direct2D registry key: “max_version_factory” (REG_DWORD)
    Limit the interface version of the ID2D1Factory interface to the specified version. 0x0 for ID2D1Factory, 0x1 for ID2D1Factory1 and so on. By default, there is no limitation.


  1. Support for running DOS binary files under Wine has been removed. When prompted to run a DOS binary, an external instance of DOSBox is started. This still does not apply to Win16 binaries that are internally supported.
  2. All CPU control and debugging records are accessible from kernel drivers, including 64-bit.
  3. Events, semaphores, mutexes, and timers are implemented in kernel mode for device drivers.
  4. WaitOnAddress synchronization policies are supported.
  5. The reported processor information accurately distinguishes the logical and physical CPU core to support the hyper-thread.
  6. Detailed platform information can be queried on Linux platforms.
  7. Various debugger APIs support a 32-bit Wow64 to manage the process from a 64-bit process context.
  8. Application settings, compatibility information, and execution levels are recognized in application notifications.
  9. Various file I / O completion modes are applied.
  10. Debug recordings are supported in NetBSD.

   User interface

  1. The infrastructure was implemented to determine the DPI awareness and to scale the non-DPI-aware applications. However, actual scaling of the window content is only supported on Android at this point. Scaling is disabled by default and can be enabled by setting the “DpiScalingVer” value under HKEY_CURRENT_USER \ Control Panel \ Desktop.
  2. Window class redirection is supported, which provides support for Common Controls version 6 features for standard USER controls, such as buttons.
  3. Standard USER controls the version 6 features, including Button, List Box, Combo Box, Edit and Static support, themes.
  4. The standard Task Dialog box is implemented, including support for icons, hyperlinks, progress bars, and other various UI elements.
  5. Migration headings are supported in version 6 of the edit control.

   Desktop Integration

  1. Exporting MIME-type file associations to the local desktop can be disabled with a check box under the Desktop Integration tab in winecfg. It can be configured programmatically by setting “Enable” under. HKEY_CURRENT_USER \ Software \ Wine \ FileOpenAssociations.
  2. The File Dialog can display file properties such as size, time, and attribute.
  3. The File Dialog box optionally shows the Places toolbar on the left.
  4. The Public Shell folder is used to track the behavior of the latest Windows versions instead of AllUsersProfile.
  5. The Shell File Browser supports keyboard shortcuts for renaming shell folders (F2 key) and deleting (Delete key).
  6. Many standard icons are added to the Shell library.
  7. Shell Autocomplete is supported.
  8. In desktop mode, the taskbar is not displayed on top of full-screen windows.
  9. Additional names are provided for standard cursors to better match existing X11 cursor themes.

   Input Devices

  1. HID game controllers are supported on XInput and Raw Input APIs.
  2. An SDL driver has been implemented so that SDL game controllers can be used over the HID interface.

   Internet and Network

  1. JScript has an ECMAScript-compatible mode that supports some features not available in the old mode.
    JavaScript feature accessors are supported.
  2. The HTML style object has been rewritten to support standard-compliant mode.
  3. HTML documents follow the X-UA Compatible HTTP header, which allows web pages to request a specific compatibility mode. The hkey_current_user \ software \ wine \ mshtml \ compatmode key can be used to override the requested mode.
  4. MSHTML allows limited SVG support by supporting non-HTML elements.
  5. A number of new HTML APIs are supported.
  6. The proxy server can be configured via the Internet Control Panel application.
  7. Flow I / O is applied in web services.
  8. The Web Devices API (WSDAPI) is applied, including sending and receiving various message types.
  9. More system information is reported through WBEM including CPU, BIOS, video controller, and network adapter features.


  1. Asymmetric encryption keys and RSA and ECDSA signature verification are supported.
  2. GCM and ECB encryption chaining modes are supported.
  3. Optimal Asymmetric Encryption Fill (OAEP) is supported in RSA encryption.
  4. A Kerberos security provider that supports Kerberos authentication is applied.
  5. A selection dialog box is applied for public key certificates.
  6. If possible, GnuTLS is used in macOS instead of the CommonCrypto framework.

   Text and Fonts

  1. The character tables are based on the 11.0.0 version of Unicode Standard.
  2. The new sub-pixel font representation of FreeType> = 2.8.1 is supported.
  3. When a font face is missing, FontConfig is queried to provide possible assignments.
  4. The font selected in the console emulator is scaled according to the display DPI.
  5. Memory font resources are supported in DirectWrite.
  6. The built-in Wingdings font contains clock images.


  1. Windows Media Player interfaces are implemented and support media playback.
  2. An MP3 decoder is provided as DirectX Media Object.


  1. The boot loader is implemented in macOS for better address space layout compatibility.
  2. The command key can be mapped to Ctrl by setting the “LeftCommandIsCtrl” or “RightCommandIsCtrl” values​​under HKEY_CURRENT_USER \ Software \ Wine \ Mac Driver.
  3. The App Nap energy saving feature is disabled by default in GUI operations. It can be reactivated by setting the value “EnableAppNap” under HKEY_CURRENT_USER \ Software \ Wine \ Mac Driver.


  1. Setting the mouse cursor is supported using APIs in Android> = 7.
  2. The new version of the Android graphics buffer separator API is supported to enable graphics support in Android >> 8.
  3. Android x86-64 platforms are also supported in 64-bit mode, but WoW64 mode is not yet supported in WineHQ packages.

   ARM Platforms

  1. Stubborn COM proxies are implemented in ARM.
  2. The Windows call rule for Variadic functions is supported in ARM64.
  3. Exception handling and debugging are better supported on ARM64 platforms.
  4. The MinGW toolchain is supported for cross-assembly to ARM64.

   Built-in Applications

  1. The ping program provides real ping functionality using IcmpSendEcho.
  2. The SchTasks task scheduler program can create and delete tasks.
  3. The RegEdit registry editor has a hex editor developed for binary values.
  4. FOR loops are processed correctly in the Command Translator.
  5. The XCopy program supports the / k (hide attributes) option.


  1. Japanese 106 keyboard is supported properly.
  2. Translation of time zone names is supported.
  3. There is a partial translation into the Sinhala language.
  4. More locale is supported in the Resource Compiler (wrc) and Message Compiler (wmc).

   Development Tools

  1. “winedbg” supports debugging WoW64 operations.
  2. In Gdb proxy mode, “winedbg” supports a –port option to specify the port used to connect to gdb.
  3. “winegcc” uses better heuristic scanning to find the appropriate lib directory for 32/64-bit cross assemblies.
  4. “winegcc” supports the creation of local subsystem libraries.
  5. “winegcc” also looks for inclusion at the highest level, which includes the directory of the installation prefix.
  6. “winebuild” supports a -mfpu option to determine the FPU architecture on ARM platforms.
  7. “winedump” supports discarding SLTG format typelibs.

   IDL Compiler

  1. Application Configuration Files (ACF) are supported.
  2. Asynchronous interfaces are supported.
  3. Type and method serialization are supported by using the encoding / decoding attributes.
  4. The default value () attribute is supported for pointer types.
  5. The created files are always specific to the target platform. Using the CPU-manufacturer-os platform, the target can be specified in the same way as other tools.
  6. Intertwining of markers and arrays works correctly.
  7. The correct size and alignment are created for encapsulated unions.
  8. __Int32 type is supported.
  9. The -Robust command-line option is recognized (but ignored) for compatibility with the Microsoft IDL compiler.
  10. Multiple typelibs can be created into a single source file.


  1. Only 32-bit CIL .NET binary files are supported on 64-bit.
  2. The mono engine has been updated to 4.7.5 with some upstream Mono corrections.


  1. Typelib marshal reapplied. It creates format strings and then uses standard NDR marching routines; play on 64 bit and ARM platforms this wayışır.


  1. MSI custom actions run in a separate process, providing proper support for mixed 32/64 bit installers.
  2. Deferred installation procedures are supported in MSI.

   Build Infrastructure

  1. The test framework supports the creation of assistants in a test to allow test features that require an external library to be installed.
  2. The testing framework supports testing Windows core drivers.
  3. It is possible to create and run a WoW64 tree from within the Wine source directory. Previously a non-wood structure was required.
  4. A .editorconfig file is provided with recommended indentation parameters.


  1. Task Scheduler service and APIs are applied.
  2. The Windows Management Instrumentation service was applied.
  3. OPC Services (Open Packaging Rules used for Microsoft Office XML files) library is implemented.
  4. The HKEY_PERFORMANCE_DATA magic registry key is partially implemented.

   New Foreign Dependencies

  1. The Vulkan library is used to implement the Vulkan graphics driver.
  2. The Vkd3d library is used to implement Direct3D 12 on the Vulcan.
  3. The SDL library is used to support game controllers.
  4. The GSSAPI library is used to implement Kerberos authentication.

   Final Word

In this article, we have given brief information about the Wine 4.0.2 Stable version. Later, we have reviewed that its innovations have considerably more improvements than previous versions. Thanks for following us!

   Related Articles

How to Install Wine on Ubuntu 18.10
♦ How to Install and Use WineHQ on Ubuntu
How to Install WineHQ on Mac
How to Install Packet Tracer using WineHQ
How to Install Wine on Linux Mint

Add a Comment

Your email address will not be published. Required fields are marked *