Skip to content

About

Experimental native Direct3D 12 (D3D12) runtime on Linux without Vulkan or VKD3D translation. Direct NVIDIA RTX compute execution & GPU benchmarks.

Topics

Resources

Stars

30 stars

Watchers

3 watching

Forks

Repository files navigation

Native DX12 Linux

Native-DX12-Linux is an experimental Direct3D 12 runtime for Linux that executes directly on the GPU — completely bypassing Vulkan and VKD3D translation layers. Built around a direct shader pipeline (DXIL → NIR → NAK) and low-level NVIDIA RTX compute execution.

Help test and shape the next optimizations!

I strongly encourage anyone with a supported NVIDIA RTX GPU on Linux to download the benchmark and submit your results. Every single submission, including, full/partial runs or even failures provides critical real-world hardware data needed to guide next low-level compiler and runtime optimizations.

Andrew Kapica — GoblinFlash

AI-assisted development: This project uses AI tools to assist with research, implementation, testing, code review, and documentation. AI-assisted contributions are subject to the same technical review, testing, and licensing requirements as other contributions. See the contribution guidelines.

Download benchmark v0.1.5 How to run Results Experiments

Frequently Asked Questions (FAQ)

How does Native-DX12-Linux differ from VKD3D-Proton and DXVK?

Compatibility tools on Linux implement Direct3D APIs using Vulkan:

  • DXVK translates Direct3D 8/9/10/11 → Vulkan.
  • VKD3D-Proton translates Direct3D 12 → Vulkan.

Both are mature, game-oriented projects. A translation layer introduces an API boundary, but its actual performance cost depends on the workload, implementation, and driver. It cannot be assumed from the architecture alone.

Native-DX12-Linux does not use Vulkan or VKD3D in its experimental NVIDIA compute path. Shaders are compiled through DXIL → NIR → NAK, and compute work is submitted through native NVIDIA Linux driver interfaces. The project is an experimental, compute-focused subset of Direct3D 12, not a drop-in replacement for commercial games or a complete D3D12 implementation.

Experimental GPU Measurements — Campaign 019 (RTX 4060 Ti)

The campaign used a 16,384-sample, 256-bin histogram on an NVIDIA GeForce RTX 4060 Ti. Earlier dynamic-clock tests showed P8 power-state readings after Native runs, so the comparison was repeated with locked clocks (2310 MHz core / 9001 MHz memory). Recorded monitoring samples during the locked-clock campaign showed P0 / 2310 / 9001 MHz.

All 67 campaign runs completed, with bit-exact output validation reported by the campaign author. The following results are medians of four processes for each workload. Both paths report elapsed GPU time in nanoseconds (ns) for these results. At 1,000,000 ns and above, reports display ms to at most two decimal places.

Workload Variant 256×64 Native (ns) 256×64 NVIDIA Vulkan (ns) 16×1024 Native (ns) 16×1024 NVIDIA Vulkan (ns)
Empty Kernel (Baseline) 4,480 6,792 4,424 6,792
D4 (Reference) 5,032 8,160 10,864 15,680
Q8PL (Packed INT8 Opt.) 4,816 7,992 7,344 9,152

Measurement limitations: The Native and Vulkan timing windows differ, and Native buffers use VRAM while the Vulkan reference uses system memory. Therefore, the numbers above are independent experimental observations, not directly comparable execution times or evidence of a specific cross-API speedup. The empty-kernel measurements also include their respective measurement/submission brackets; they do not isolate API translation overhead. Independent review is pending.

Current Progress

Native GPU execution demonstrated; benchmark v0.1.5 available; community submissions underway

Current Work

DEVELOPMENT ACTIVE

NVIDIA RTX active: native GPU optimization, command submission, shader scheduling and performance experiments Goal: reduce unnecessary work, improve GPU execution efficiency and performance while preserving correct results Benchmark and community testing: collecting submissions and expanding hardware coverage D3D12 frontend: expanding the experimental native implementation and GPU integration

Hardware Roadmap

Roadmap: NVIDIA RTX active development; AMD Radeon CPU-side development; Intel Iris Xe early testbed. No completion percentages.

This roadmap shows development focus, not a percentage of Direct3D 12 completion. No delivery dates or full application compatibility are implied.

Explore the Project

The documented build environment is Ubuntu 26.04 x86-64. Hardware results belong to their recorded package revisions. The v0.1.5 release has CPU-side validation; it is not a new GPU qualification of every listed card.

License and Credits

Created by Andrew Kapica — GoblinFlash. Project-owned material is licensed under GPL-3.0-or-later. Third-party components retain their original licenses; see LICENSE and NOTICE.

Community Contributors

  • Hyrules — Benchmark testing, bug reports and valuable feedback.

Experimental project · Native compute subset only · Status updated 11 November 2026

About

Experimental native Direct3D 12 (D3D12) runtime on Linux without Vulkan or VKD3D translation. Direct NVIDIA RTX compute execution & GPU benchmarks.

Topics

Resources

Stars

30 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages