In an exciting development for gamers and Linux enthusiasts, a remarkable performance enhancement has been achieved for AMD’s RDNA 2 hardware using the RADV driver. A meticulous yet straightforward fix implemented by a Valve engineer has closed a performance gap that has persisted for nearly two years.
The Mesa 24.3 update addresses a critical issue within the RADV (Radeon Vulkan) driver that caused subpar performance compared to AMD’s proprietary AMDVLK/AMDGPU-PRO Vulkan driver. This discrepancy became apparent when enabling FSR 2 (FidelityFX Super Resolution 2) in various games. Fortunately, the resolution came through a relatively minor code adjustment by Samuel Pitoiset from Valve’s Linux driver team, who pinpointed and refined the source of the issue with only ten lines of code.
The RADV driver, known for being an open-source Vulkan driver for AMD GPUs on Linux, gained a following due to community involvement. However, it underperformed when utilizing FSR 2, unlike its AMDGPU-Pro counterpart, which leveraged optimizations directly from AMD. The crux of the problem was the inefficient handling of primitive culling with specific attributes in the RADV driver. Culling, a process that eliminates unnecessary elements like triangles and lines before rendering, is vital for performance enhancement by conserving resources.
Pitoiset’s contribution was in the meticulous alteration of AMD NIR code, ensuring primitives with a “zero” in the W position are effectively culled. This adjustment led to an unprecedented improvement—boosting performance by an astounding 228% on RDNA 2 GPUs with FSR 2 enabled.
This significant upgrade is now integrated into Mesa 24.3’s development version and promises to elevate the gaming experience on Linux systems, offering gamers a more optimized and seamless performance without the reliance on proprietary drivers.
With such enhancements, Linux and AMD users can look forward to a smoother and more efficient gaming experience, demonstrating the power and potential of open-source collaboration and innovation. The changes highlight the potential for community-driven solutions in overcoming complex technical challenges and optimizing hardware capabilities.





