FERRAMENTAS LINUX: AMD Mesa NGG Upgrades: Next-Gen Geometry Boosts RadeonSI & RADV Performance

segunda-feira, 7 de julho de 2025

AMD Mesa NGG Upgrades: Next-Gen Geometry Boosts RadeonSI & RADV Performance

 

Radeon

AMD Mesa developer Marek Olšák enhances Next-Gen Geometry (NGG) support for RadeonSI & RADV drivers, optimizing clipping/culling and shader performance for RDNA GPUs on Linux. Latest patches ahead of Mesa 25.2.

NGG Pipeline Optimizations for RDNA GPUs

Renowned AMD Mesa contributor Marek Olšák is spearheading critical upgrades to the Next-Gen Geometry (NGG) pipeline in the open-source RadeonSI (OpenGL) and RADV (Vulkan) drivers. These optimizations target modern RDNA-based Radeon GPUs under Linux, refining geometry processing efficiency and rendering performance.

Key Merged Improvements (Mesa 25.2)

  1. Clip/Cull Distance Optimization: NGG geometry shaders now support optional culling against clip/cull distances, reducing unnecessary vertex processing.

  2. Shader Export Skipping: NGG vertex/tessellation/geometry (VS/TES/GS) shaders can bypass cull distance exports, improving throughput.

  3. LLVM LDS Code Removal: The fourth patchset eliminates legacy LLVM LDS linking, streamlining memory access.


Why does this matter? These changes reduce overhead for geometry-heavy workloads, directly benefiting games and pro applications leveraging AMD’s RDNA architecture.


Upcoming RADV Vulkan Driver Enhancements

The third patchset (under review) introduces "major changes" to RADV’s NGG implementation, including:

  • Expanded culling/clipping optimizations

  • Lower-latency geometry processing

  • Hardware-specific tuning for RDNA2/RDNA3 GPUs


Patchset 4: RadeonSI Overhaul & LDS Cleanup

The final patchset (MR pending) delivers structural improvements:

  • LLVM LDS Linking Removal: Eliminates legacy code, reducing memory fragmentation.

  • RadeonSI-Specific Tweaks: Optimizes NGG for OpenGL’s geometry shader workflows.


Expected Impact: Early testing suggests measurable FPS gains in Vulkan titles like Cyberpunk 2077 and Dota 2, though benchmarks await full integration.


 AMD’s Linux Driver Shift

With Radeon Software for Linux deprecating its proprietary Vulkan driver, RADV’s open-source alternative gains urgency. Olšák’s work ensures:

✅ Performance parity with Windows drivers

✅ Faster adoption of Vulkan extensions (e.g., mesh shaders)

✅ Long-term maintainability via Mesa’s collaborative model


FAQs: AMD NGG & Mesa 25.2

Q: How do NGG improvements affect gamers?
A: Smofter framerates in geometry-intensive scenes (e.g., crowds, particle effects).

Q: When will patches ship to users?

A: Target is Mesa 25.2’s Q3 2024 release.

Q: Which GPUs benefit most?

A: RDNA1/2/3 (RX 5000/6000/7000 series).


Nenhum comentário:

Postar um comentário