ZLUDA project enables PhysX effects on Radeon graphics cards

PhysX effects simulating realistic physics are a good example of the risks associated with proprietary technologies in games. Nvidia kept them as an exclusive feature available only on GeForce graphics cards for years, only to ditch support on the new RTX 5000 series, causing the effects to stop working. Ironically, this may have been the catalyst for an independent emulation effort that, years later, brings them to Radeon GPUs.

The open-source ZLUDA project has existed for several years. It creates an emulation layer (or alternative implementation) with near-native performance that allows applications programmed for the CUDA framework—which Nvidia exclusively offers only for its own GPUs—to run freely on other GPUs. ZLUDA was originally sponsored by AMD and later by other companies as well, but its developer, Andrzej Janik, is currently working on it only in his spare time (official backing may have become problematic for various companies due to the risk of legal action).

In ZLUDA version 6, Andrzej Janik has now added support for games using CUDA-based PhysX through 32-bit libraries—precisely the games that Nvidia has stopped supporting. Although Nvidia partially reversed course in December by restoring partial support for selected popular titles, that solution is not universal. With ZLUDA, a broader range of games could eventually work again— on competing Radeon graphics cards, ironically. In those older games, Radeon GPUs would gain both higher performance and access to various special effects that until now were exclusively locked to older Nvidia GPUs.

For now, however, this support is not yet complete. It is currently in a pre-alpha state and serves more as a proof of concept, while support is also incomplete (Janik notes that fluid simulation effects, for example, do not yet work entirely correctly). The implementation can already run Nvidia’s showcase demos on Radeon GPU, and he has also successfully launched and benchmarked the 2010 game Mafia II. Acceleration through ZLUDA increased its frame rate from 26.2 FPS to 80.2 FPS (with ZLUDA acceleration enabled).

Benchmark akcelerace PhysX pomocí ZLUDA ve hře Mafia II (Zdroj: Andrzej Janik)
Benchmark of PhysX acceleration using ZLUDA in Mafia II (Source: Andrzej Janik)

For everyday use, however, it will probably be necessary to wait until this initial support reaches a more stable ZLUDA release and undergoes further improvements. Besides PhysX, this version of ZLUDA also adds basic texture handling support, enabling Blender rendering acceleration besides PhysX. It also improves operation under Windows, but ZLUDA supports Linux too and is designed to work under Wine and Proton (for running the affected games on Linux).

ZLUDA does not require any modifications to software—the goal is for original games and applications using CUDA to run unchanged. The developer is primarily targeting recent Radeon GPUs (RDNA architecture and newer), but not exclusively AMD hardware, meaning the project could also be usable on Intel GPUs in theory. Actual usability depends on the drivers and architecture of the specific GPU.

ZLUDA is by no means focused solely on running games that use CUDA, but rather on supporting a broad range of CUDA-based applications. In the past, for example, it focused on AI acceleration (although without active sponsorship from commercial users, that is probably a lower priority now). Only time will tell how comprehensive and robust the project’s CUDA software compatibility becomes—and whether any threat from Nvidia’s legal department could arise in the future.

Sources: Andrzej Janik, Tom’s Hardware

English translation and edit by Jozef Dudáš


Contents

Multi-frame generation coming to Radeon GPUs, drivers show

Last year, Nvidia introduced multi-frame generation that inserts 2, 3, or even 5 AI-interpolated “fake” frames between real frames (though only for GeForce RTX 5000-series cards—with users of older GPUs out of luck). Since then, Intel has also introduced multi-frame generation, but it has never been available on Radeon graphics cards. That now appears to be changing, as AMD seems to be preparing the feature for an upcoming driver release. Read more “Multi-frame generation coming to Radeon GPUs, drivers show” »

Geekbench benchmark leak reveals Zen 6 core performance

It has been two years since AMD released Zen 5 Ryzen CPUs, and the launch of the next-gen Zen 6 CPUs should slowly be approaching—or at least we hope so. So far, there have not been many leaks indicating what kind of performance to expect, but this week a Geekbench database entry appeared showing a processor that appears to be a laptop Zen 6 sample—a Medusa APU. However, the performance scores raise more questions than answers. Read more “Geekbench benchmark leak reveals Zen 6 core performance” »

AMD confirms development of little “LP” core for Zen 6

When AMD came back nine years ago with the Zen core, its strategy was to eliminate the split between big and little (Bobcat and Jaguar) cores and cover the entire market with a single, balanced architecture. Intel, on the other hand, moved to hybrid (big.LITTLE) CPUs. AMD is apparently going there too, now. It has used classic and compact cores where both shared the same architecture so far, but now there will be a separate low-power core. Read more “AMD confirms development of little “LP” core for Zen 6″ »

Leave a Reply

Your email address will not be published. Required fields are marked *