Fake Sparse Support Being Worked On For Intel's Open-Source Vulkan Driver

Written by Michael Larabel in Intel on 18 July 2023 at 06:06 AM EDT. 6 Comments
INTEL
While Intel Arc Graphics continue enjoying performance optimizations with the open-source Linux graphics driver stack, the major limitation facing Arc Graphics on Linux right now for gamers is the lack of sparse residency support that is needed for running many newer games on Linux with Intel graphics -- particularly newer Windows D3D12 titles running on Linux via Valve's Steam Play. It's been a long known limitation and will hopefully be addressed once the Intel Xe kernel driver is introduced, but at least as an interim solution there is now "fake" sparse support being implemented.

Felix Degrood of Intel's Portland Linux graphics driver crew has been working to implement "fake" sparse support for the ANV Mesa driver. Degrood notes that some DirectX 12 games require sparse resource support but don't actually make use of sparse resources. So this fake support is around advertising sparse support even if not fully implemented. Setting "fake_sparse=true" can be done then by users as an override or white-listed games in DriConf for known games needing sparse support but not depending upon sparse resources.

Elden Ring is one game now able to work with the Intel graphics driver on Linux via this fake sparse support. Other games are currently being analyzed for seeing what other titles will benefit from this fake sparse support.

Intel fakes sparse support


The Intel ANV fake sparse support hasn't yet been merged to Mesa but is available via this merge request. It also depends on this MR with the sparse residency compiler code. This is at least a nice stop-gap measure for some games while hopefully later this year we'll see the experimental Intel Xe DRM driver mainlined to the Linux kernel as that modern i915 alternative for newer generations of Intel graphics where we may see further performance improvements, better multi CPU architecture support, and the necessary kernel-side bits for proper sparse support.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week