DXVK 3.2: Improved Frame Pacing and Memory Management for Direct3D-Spielen on Linux
A new version of the Vulkan-based translation layer for Direct3D, DXVK 3.2, has been released. This update focuses on supporting the VK_EXT_present_timing Vulkan extension, which allows for more precise control over the timing of individual frame delivery. Additionally, the release includes changes to memory management and various fixes for Direct3D applications, which is particularly significant for Windows games running on Linux via components like Valve's Proton.
Precise Frame Delivery Over Higher Average FPS
A high average frame rate does not guarantee smooth motion. If individual frames are delivered at inconsistent intervals, even a game with high FPS can appear jittery. This issue is especially noticeable when the game's frame rate does not match the monitor's refresh rate. With the introduction of VK_EXT_present_timing, DXVK gains a Vulkan interface that improves the scheduling and feedback of frame delivery. This requires support from both the graphics driver and the compositor. The extension is particularly useful in full-screen games operating at a refresh rate different from the current monitor configuration, or when using DXVK's built-in frame rate limiter (adjustable via the dxvk.maxFrameRate parameter). This timing support helps distribute frames more evenly across the specified interval—for example, aiming for a consistent 16.67 ms gap between frames when limited to 60 FPS.
DXVK also utilizes the timing feedback from the Vulkan extension to implement DXGI Frame Statistics. This allows Windows applications to query frame delivery information through this interface, potentially improving compatibility with applications that rely on such data for their own timing control.
Memory Management and Internal Changes
The update also addresses how graphics resources and available VRAM are handled. Inefficient memory management can cause stutters, especially in games where textures and other assets exceed the physical available memory, forcing frequent transfers between VRAM and system RAM. While the exact impact of DXVK 3.2 on these scenarios remains to be quantified through detailed measurements—which would need to look at frametimes and percentiles rather than just average FPS—the changes aim to reduce pipeline delays. Furthermore, the Descriptor Buffer path introduced in DXVK 2.7 is now considered deprecated and is slated for removal in a future version. This is a technical implementation change regarding how resource information is provided to Vulkan shaders and is not a feature directly visible to players.
For Steam users, it is important to note that the release of DXVK 3.2 does not mean all Proton versions are updated immediately. Proton uses its own tuned component versions, and the integration of these changes into a regular Proton release depends on Valve's testing and compatibility verification.