Register and share your invite link to earn from video plays and referrals.

sysxplore
@sysxplore
Linux, open source & security news, daily 🐧 Learn Linux → @fswlinux.
Joined May 2023
29 Following    93.2K Followers
Valve is working on a kernel fix for one of the most annoying problems in Linux gaming: stutter. Natalie Vock of Valve's Linux graphics driver team posted v2 of a 10-patch AMDGPU series today that reworks how the driver handles GPU virtual memory updates. The background: many newer Windows games lean heavily on "sparse bindings", mapping and unmapping chunks of GPU memory on the fly. Right now the AMDGPU driver syncs those updates against every other piece of GPU work and handles them one call at a time. In her words, heavy sparse binding load "can stall the gfx/compute submissions for quite a long while, leading to very noticeable stutters and hitches." Her fix adds a new AMDGPU_GEM_VA2 interface that batches many mapping changes into one call and uses explicit sync. The patch notes say apps that hammer sparse operations, "particularly some games running under Proton," should see "significant reductions in stuttering." There are no benchmark numbers yet. The series is about 1,100 lines of code and is up for review on the amd-gfx mailing list. v1 was posted back in May, so it's still unclear whether this lands in Linux 7.5.
Show more