Home Gaming 🎮 The lethal weapon of Linux gaming is open source (and it...

🎮 The lethal weapon of Linux gaming is open source (and it crushes Windows)

13
0
Competitive video gaming on Linux has just crossed its last line of defense, and Windows users may be cringing. Seemingly nothing, it’s a little bomb that the developer Nicolas James shared in the columns of our colleagues at Phoronix: the publication of low_latency_layera completely free project that breaks down the most annoying barrier in modern gaming.

This framework enables ultra-fast latency reduction technologies Nvidia Reflex 2 et AMD Anti-Lag 2 on any GPUignoring the brand barriers imposed by manufacturers. Whether you have an AMD, Nvidia or Intel card, you will be able to activate the latency reduction option of your choice.

How open source breaks the monopoly of manufacturers

Developed by Korthos Software and published under the MIT license, low_latency_layer on GitHub comes in the form of an implicit Vulkan layer written in C++23. Concretely, the software discreetly intervenes between the game and your graphics driver to intercept system calls. By recreating device extensions in a software-agnostic manner VK_NV_low_latency2 et VK_AMD_anti_lagthe tool makes the game believe that the required hardware is present.

This technical feat resolves a historic injustice for players. The vast majority of competitive games integrate Nvidia’s Reflex technology, leaving owners of AMD or Intel cards in the lurch. Thanks to this layer, a Radeon card can now exploit the Reflex path of a game, while a GeForce card can activate AMD’s Anti-Lag if the latter is the only one offered by the developers. For Windows titles running through Proton, the tool partners with dxvk-nvapi to pass graphics commands without any friction.

Benchmarks that humiliate official Windows drivers

The first tests in real conditions published by the developers (carried out on a muscular configuration including a Ryzen 7 9800X3D and a Radeon RX 7900 XTX under Gentoo Linux) revealed spectacular results. Measured using the Nvidia Reflex hardware analyzer integrated into a screen clocked at 540 Hz, the measured latency drops below 6.6 millisecondsoutperforming proprietary drivers under Windows.

In Counter-Strike 2the open source implementation beats the figures recorded natively on Windows. On the title THE FINALSthe layer displays strictly identical, or even superior, performance to AMD’s proprietary DirectX 12 Anti-Lag 2.

Comparative latency performance (Click-to-Photon)

Title tested Solution Windows Propriétaire Solution Linux (low_latency_layer) Résultat 
Counter-Strike 2 Référence de base Windows 6,6 ms (à 540 Hz) Clear victory for Linux
THE FINALS Anti-Lag 2 DX12 natif Equivalent performances Perfect equality
Cyberpunk 2077 Native Anti-Lag 2 Mode Reflex émulé supérieur Linux Victory
Mesa Anti-Lag (Linux) N/A Ineffective original Mesa layer low_latency_layer l’écrase

The other major lesson from these tests concerns the native anti-lag layer of Mesa (the standard open source driver for Linux). The developers demonstrated that the latter behaved like a “no-op” (a function with no real effect), bringing no measurable gain and sometimes even being able to degrade responsiveness.