LINUXMIND.DEVTHE GNU/LINUX WORLD

Mesa NVK lands TTU instructions: open NVIDIA ray-tracing inches closer

Flat illustration of a graphics card with light rays reflecting off a triangular wireframe mesh, on a cream background

The open-source NVIDIA Vulkan driver, NVK, took a concrete step toward hardware ray-tracing this weekend. A patch series merged into the Mesa 27.0-devel branch adds handling for NVIDIA’s Tree Traversal Unit (TTU) instructions to the NAK shader compiler, alongside new ray-tracing intrinsics in Mesa’s NIR intermediate representation. It is a foundation, not a finished feature — but it is the first time NVK can describe how to reach the card’s RT cores at all.

Why TTU is the missing piece

NVIDIA’s dedicated ray-tracing hardware only runs when the compiler knows how to emit the right low-level commands. Before this merge, NVK had no way to generate them, so ray-tracing was effectively out of reach on the fully open stack. The new code adds TTU directives to NAK, an additional compiler stage and basic hardware tests, as first reported by Phoronix. Everything points at two Vulkan extensions: VK_KHR_ray_query, which lets ordinary shaders query the scene, and VK_KHR_ray_tracing_pipeline, the full dedicated pipeline with its own specialised shader stages.

How much is still missing

  • Building acceleration structures.
  • Memory formats and pipeline management.
  • Synchronization and assorted hardware details.

Until all of that lands, NVK does not report the extensions as supported, and any application that needs ray-tracing keeps falling back to NVIDIA’s proprietary driver. Do not read this merge as “ray tracing works under NVK now” — it does not. The compiler groundwork is real, but the road to a working implementation is still measured in months, with 2027 as the realistic target.

The bigger picture

Open-source NVIDIA support has moved fast over the last couple of years: NVK reached Vulkan 1.4, and Turing-and-newer cards now default to it for OpenGL through Zink. Ray-tracing is the last big block still owned by the proprietary driver, and it is the one most likely to keep some users tied to it. This merge does not change that yet, but it is the first time the open compiler has had the vocabulary to express it — and that is usually the point where a feature stops being purely theoretical.

What changes for you

Nothing visible today, and that is the honest answer. If you are on a Turing card or newer, though, NVK is already your default driver for OpenGL through Zink since Mesa 25.1, and it now meets the requirements of Vulkan 1.4. That is why this work matters beyond a niche: every piece that lands in NVK narrows the gap with the proprietary stack, and the driver you already run is the one getting better.

For now, keep NVIDIA’s proprietary driver for games that actually use ray-tracing — NVK is not there yet. If you want to follow the progress, watch the Mesa 27.0 release notes rather than building mesa-git yourself: the TTU support is a foundation, and it will not hand you a usable feature until the acceleration-structure and pipeline pieces arrive too.




Leave a Reply

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