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

Next-gen Radeon GPUs: RDNA 5 architecture clock targets leaked

2027 is approaching with new generations of GPUs, although they will be delayed compared to the previous two-year cycles. AMD has GPUs with the new RDNA 5 architecture coming, which could incorporate fairly major changes compared to today’s RDNA 4 based  GPUs, as well as a new manufacturing process. Thanks to the latter, clock speeds will apparently increase, although perhaps not by as much as one would have expected. Read more “Next-gen Radeon GPUs: RDNA 5 architecture clock targets leaked” »

AMD Chipset Cards Adding PCIe, SATA Lanes Emerge in China

Although chipsets are considered a specialized component characteristic of motherboards, a chipset is actually not all that critical (or even required at all) on AMD’s AM4 and AM5 desktop platforms. Chipsets such as the B650 are just bridges that expand PCIe 4.0 (and SATA) connectivity. And as it turns out, they can do this as add-in cards as well. You can even use one to add M.2 or SATA interfaces to an Intel processor. Read more “AMD Chipset Cards Adding PCIe, SATA Lanes Emerge in China” »

What can Instinct MI455X tell us about RDNA 5 GPUs? [Analysis]

Last month, AMD unveiled its CDNA 5 architecture-based Instinct MI455X AI accelerators. This matters even outside AI and server workloads, because CDNA 5 is now related to the RDNA 5 architecture that will power the next generation of Radeon gaming GPUs. Let’s take a look at what the new Instincts reveal about RDNA 5 and what else has leaked about this architecture. This includes one change that is rather surprising. Read more “What can Instinct MI455X tell us about RDNA 5 GPUs? [Analysis]” »

Leave a Reply

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