Sunday, April 6th 2025
NVIDIA PhysX and Flow Made Fully Open-Source
NVIDIA late last week committed NVIDIA PhysX SDK and NVIDIA Flow as open-source software under the BSD-3 license. This includes the GPU source code—the specific way PhysX leverages CUDA and GPU compute acceleration, and should make it easier for game developers to understand and implement PhysX, including its various interactive 3D effects such as rigid body dynamics, fluid simulation, and deformable objects. More importantly, a deeper understanding of PhysX makes it possible for modders to develop fallbacks for their older 32-bit game titles that use PhysX to work with newer generations of GPUs, such as the RTX 50-series "Blackwell." It should come especially handy when NVIDIA is trying to push Remix—its first-party initiative to refurbish older games with modern graphics and higher resolution visual assets.
Source:
Wccftech

108 Comments on NVIDIA PhysX and Flow Made Fully Open-Source
As for Flow? Don't particularly care for it.
as far as nvidia goes, i dont feel like paying 1.5x the cost for 35% more performance. 7900xtx gets along just fine. id rather just buy the highest end amd card.
doesnt help the majority of the games that feature heavy raytracing are slop right now. gaming industry isnt in the best place creatively, but i dont want to derail the conversation on that.
backwards compatibility is always useful. retro-gaming is a pretty big hobby.
But what do I know, I just wrote a replacement planetarium for some game in cpu physx. I wish the gpu route had been available when I started, honestly.
The PhysX integrated in Unity has been multithreaded for years. You can see it first hand in the profiler.
When I started using Unity it was one of the things I was pleasantly surprised about. I had previously developed my own physics engine, that had a massive amount of effort put into optimisation, but it still couldn't match PhysX even though is faster thread for thread, as it was singlethreaded and PhysX is multithreaded.
Incidentally, Unity 2019 is when I had to move to Unity, and I'm 99% sure PhysX was already multithreaded then.
As I said it was one of the things that impressed me the most about Unity, the CPU PhysX implementation. Both the broadphase and narrowphase are very efficient. Even on very slow ARM CPUs, it's capable of hundreds of simultaneous collisions, even upping the fixed update to 100hz. It's remarkably close performance wise to the DOTS implementation of Havok.
Unity's render pipeline could still do with some work, ideally merging DOTS and GOs, but the physics is excellent, even if it's essentially Nvidia's work ;)
Is KSP where your knowledge of PhysX in Unity comes from? It's possible KSP used a version of PhysX before it became multithreaded.
If you're interested, I'll show you a demo of PhysX's speed in current Unity.
Although they updated the Unity version in KSP 2 and it did not exactly do better, but that whole project was kind of a joke...Nah it's all good I take your word for it. I'm glad things have improved.
the reason it looks like a minute amount of processing is because theres thousands of cores been thrown at the task, cores designed for abusive math patterns.
its probably possible to implement nvcuda on top of microsofts DOZEN, which is now the only way to get a 32bit opencl device on blackwell. (via d3d12 compute)
New SCALE tool enables CUDA applications to run on AMD GPUs
[INDENT]Spectral Compute has introduced SCALE, a new toolchain that allows CUDA programs to run directly on AMD GPUs without modifications to the code, reports Phoronix. SCALE can automatically compile existing CUDA code for AMD GPUs, which greatly simplifies transition of software originally developed for Nvidia hardware to other platforms without breaking any end user license agreements.[/INDENT][INDENT]www.tomshardware.com/tech-industry/new-scale-tool-enables-cuda-applications-to-run-on-amd-gpus[/INDENT]
scale-lang.com/
github.com/spectral-compute
IIRC After buying out PhysX, (to keep it away from AMD etc)
Nvidia implemented PhysX via an API running on CUDA-enabled GeForce GPUs.
ie: With Scale; PhysX will (or would have) run on AMD and Intel GPUs, without Nvidia being ...'nice'.
So IMHO what's happening here is;
Nvidia is trying to make lemonade out of this lemon by trying to convince the world that they're good guys.
(and coincidentally shut down Scale..? = vindictive)
They are not, so they and their hardware is not in any systems I build, except when insisted upon by clients.
[INDENT]"...It even mimics the Nvidia CUDA Toolkit runtime, making it easier for developers to port their existing CUDA programs to AMD hardware.[/INDENT]
[INDENT]SCALE has undergone extensive testing with a variety of software, including Blender, Llama-cpp, XGboost, FAISS, GOMC, STDGPU, Hashcat, and Nvidia Thrust, and has proven that it works stably and correctly.."[/INDENT]
[INDENT]www.tomshardware.com/tech-industry/new-scale-tool-enables-cuda-applications-to-run-on-amd-gpus[/INDENT]
So am wondering:
Isn't it the app or game's source that contains the PhysX instructions?
ie: Run the app/game source code through Scale and wallah! ?