Steam Deck OLED pictured in Valve’s press artwork.
Gear / The story

VKD3D-Proton 3.2 fixes a common source of launch-day bugs on Linux

The Direct3D 12 translator rebuilds how a shader branches and rejoins. Here’s what the rewrite could change on Steam Deck and how it reaches players.

GeekRadar4 min read

One shader can be enough to stop a Windows game before its first scene on a Steam Deck. The GPU may have the power to draw that scene. First, though, the game’s Direct3D 12 instructions have to make sense to a Linux graphics driver. VKD3D-Proton 3.2, released December 4, rewrites a part of that translation that the maintainers kept finding at the root of bugs in new releases.

VKD3D-Proton is the part of Valve’s Proton compatibility stack that implements Direct3D 12 over Vulkan. A fix here can change what happens the first time someone presses Play, especially when a new game arrives before developers have had a chance to write a workaround for it. The release gives players on SteamOS and desktop Linux a reason to watch compatibility reports. The project’s release notes leave the size of any improvement to testing game by game.

A simplified shader example. The painted-metal and glass paths converge before the shared reflection is added.
A simplified shader example. The painted-metal and glass paths converge before the shared reflection is added.

The translator has to preserve the decisions a shader makes

A shader is a program that runs on a GPU. It might calculate how light falls on a wet road or choose which detail to draw on a distant surface. Windows games using Direct3D 12 can ship those instructions as DirectX Intermediate Language, or DXIL. The DXIL-to-SPIR-V translator rewrites them into a form a Vulkan driver can use on the Linux side. The same program can contain branches and loops, so reproducing individual operations is only part of the job.

Think of a shader that shades painted metal in one branch and glass in another, then uses the result of either branch to add the same reflection. It matters where the branches rejoin and which value survives to the next calculation. The SPIR-V specification describes how to mark such a merge. Version 3.2 replaces the code that rebuilds this structure for the target format. A better translation can help a driver accept the shader and preserve what the game asked it to draw.

The change is shared across games. When a new title hits a pattern the translator already understands, its developers and players can benefit without waiting for somebody to diagnose the same pattern again. For more on the division of work between the graphics interface and the driver, see our DirectX 12 and Vulkan comparison.

Follow the Proton version Steam actually uses

The December 4 release is a new version of one component. Steam distributes that component inside Proton builds, which follow their own schedule. The December 4 Bleeding Edge source snapshot already points to the 3.2 revision. Valve’s latest stable release listed on GitHub, Proton 11.0-3 from November 24, points to an earlier revision. The source records show what each build is based on. What Steam has delivered to a given device is a separate check.

For a game you already own, the relevant version is the one Steam actually selects for it. Our Far Cry 5 HDR coverage shows the sort of title-specific fix Valve calls out when it publishes a packaged update. Before buying a particular release for a Steam Deck OLED, check the game’s current compatibility details and reports from players using the same build. Valve’s compatibility criteria also cover controls, legibility and the behavior of launchers. Those checks still matter when the graphics translator does its job.

This update works on the step before a frame-rate chart can tell you anything. Its most welcome result may be a game that opens on Friday night, with nobody having to spend the weekend figuring out why it didn’t.