Hardware

AMDGPU kernel patches from Valve aim to reduce Proton stuttering

By One Percent LowsUpdated Covered by 5 outlets
★ Add us as a preferred source on Google

TL;DR

Natalie Vock from Valve sent a ten-patch rework for the AMDGPU driver to mailing lists on November 17 to reduce stuttering in games using sparse resources via a new AMDGPU_GEM_VA2 interface.

Natalie Vock from Valve sent a ten-patch rework for the AMDGPU kernel driver to mailing lists on November 17 to reduce stuttering in games that use sparse resources. The patches aim for a significant reduction in stuttering for Windows games running through Proton, specifically targeting frame-time consistency rather than average FPS.

Currently, the AMDGPU driver implicitly synchronizes partially resident texture mappings against all other submissions. Valve says this can cause heavy bursts of sparse updates to stall graphics and compute queues, resulting in visible hitches. The current process also requires a separate ioctl for every sparse binding change, which increases CPU overhead because the driver must move between user and kernel mode many times.

The new patch series introduces a VM update context to batch multiple mapping changes into a single operation. This is exposed through a new AMDGPU_GEM_VA2 interface, which will increase the driver minor version from 3.66 to 3.67 so Vulkan drivers can detect it. The update also allows applications to pass multiple sync objects, including timeline sync objects, to provide more precise synchronization.

These changes are not yet part of a released kernel, and it is unclear if they will be included in Linux 7.5. Users will also need matching changes in user-space Vulkan drivers like Mesa's RADV to see the benefits. Valve has not provided specific benchmarks or game titles, but the work is intended to help games that use virtual texturing or frequent memory mapping changes.

Every Proton release, with what changed in each, is in our Proton release log.

More on Steam and ValveAMDLinux gamingProton