• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

NVIDIA Frees PhysX Source Code

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
47,301 (7.52/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
After Epic's Unreal Engine 4 and Unity 5 game engines went "free,"with their source-codes put up by their makes for anyone to inspect freely, NVIDIA decided to join the bandwagon of showering game developers with technical empowerment, by putting up the entire source-code of PhysX 3.3.3, including its cloth and destruction physics code, on GitHub. The move to put up free-code of PhysX appears to be linked to the liberation of Unreal Engine 4 code.

NVIDIA PhysX is the principal physics component of Unreal-driven game titles for several years now. There's a catch, though. NVIDIA is only freeing CPU-based implementation of PhysX, and not its GPU-accelerated one, which leverages NVIDIA's proprietary CUDA GPU compute technology. There should still be plenty for game devs and students in the field, to chew on. In another interesting development, the PhysX SDK has been expanded from its traditionally Windows roots to cover more platforms, namely OS X, Linux, and Android. Find instructions on how to get your hands on the code, at the source link.

View at TechPowerUp Main Site
 

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
47,301 (7.52/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
Many Thanks to RaCoon for the tip.
 
Joined
Feb 8, 2012
Messages
3,014 (0.64/day)
Location
Zagreb, Croatia
System Name Windows 10 64-bit Core i7 6700
Processor Intel Core i7 6700
Motherboard Asus Z170M-PLUS
Cooling Corsair AIO
Memory 2 x 8 GB Kingston DDR4 2666
Video Card(s) Gigabyte NVIDIA GeForce GTX 1060 6GB
Storage Western Digital Caviar Blue 1 TB, Seagate Baracuda 1 TB
Display(s) Dell P2414H
Case Corsair Carbide Air 540
Audio Device(s) Realtek HD Audio
Power Supply Corsair TX v2 650W
Mouse Steelseries Sensei
Keyboard CM Storm Quickfire Pro, Cherry MX Reds
Software MS Windows 10 Pro 64-bit
Who would have thought. I wonder if AMD can make a phsyx build that you can use with all older games.
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,473 (4.08/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
Who would have thought. I wonder if AMD can make a phsyx build that you can use with all older games.
It is the CPU code, you could always use that with AMD cards.
 
Joined
Feb 8, 2012
Messages
3,014 (0.64/day)
Location
Zagreb, Croatia
System Name Windows 10 64-bit Core i7 6700
Processor Intel Core i7 6700
Motherboard Asus Z170M-PLUS
Cooling Corsair AIO
Memory 2 x 8 GB Kingston DDR4 2666
Video Card(s) Gigabyte NVIDIA GeForce GTX 1060 6GB
Storage Western Digital Caviar Blue 1 TB, Seagate Baracuda 1 TB
Display(s) Dell P2414H
Case Corsair Carbide Air 540
Audio Device(s) Realtek HD Audio
Power Supply Corsair TX v2 650W
Mouse Steelseries Sensei
Keyboard CM Storm Quickfire Pro, Cherry MX Reds
Software MS Windows 10 Pro 64-bit
It is the CPU code, you could always use that with AMD cards.
So it says in the OP I didn't read entirely ... it is little less newsworthy if read entirely
 

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
47,301 (7.52/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
The operative term is "free source," not "open source." You can inspect the code, and learn how to code your project better, but not steal/modify the code. That's what's different between PhysX and Firefox now.
 
Joined
Jun 18, 2008
Messages
24 (0.00/day)
Processor AMD Ryzen 7 5800X3D
Motherboard MSI MEG B550 Unify-X
Cooling Custom watercooling
Memory 2X16GB G.Skill Ripjaws V Black 32GB DDR4-3200 CL14 @ 3900 CL16
Video Card(s) AMD Radeon RX 6900 XT
Storage NVME 1TB SSD + 2TB SSD + 6TB server grade HDD
Display(s) LG UltraGear 32GN600-B
Case Cooler Master HAF X
Power Supply Corsair RM850x
Mouse Logitech G402
Keyboard SKILLER SGK3
VR HMD Pico 4
Software Windows 10
I would be nice if it get's some proper optimization. On the CPU it always ran on a single thread without SSE or such, just to make it slower than Nvidia videocards. Let's be honest they only brought Ageia Physics for marketing purposes...

I hope everthing will get more mature and unified with DirectX12, no more GameWorks bullshit and such.
 
Joined
Mar 10, 2014
Messages
1,793 (0.45/day)
The operative term is "free source," not "open source." You can inspect the code, and learn how to code your project better, but not steal/modify the code. That's what's different between PhysX and Firefox now.

Not steal, yes. But you can modify and upload your changes to github, nvidia may or may not accept it upstream, but you can use your modifications in your project and offer it for others.
 
Joined
Nov 26, 2013
Messages
816 (0.20/day)
Location
South Africa
System Name Mroofie / Mroofie
Processor Inte Cpu i5 4460 3.2GHZ Turbo Boost 3.4
Motherboard Gigabyte B85M-HD3
Cooling Stock Cooling
Memory Apacer DDR3 1333mhz (4GB) / Adata DDR3 1600Mhz(8GB) CL11
Video Card(s) Gigabyte Gtx 960 WF
Storage Seagate 1TB / Seagate 80GB / Seagate 1TB (another one)
Display(s) Philips LED 24 Inch 1080p 60Hz
Case Zalman T4
Audio Device(s) Meh
Power Supply Antec Truepower Classic 750W 80 Plus Gold
Mouse Meh
Keyboard Meh
VR HMD Meh
Software Windows 10
Benchmark Scores Meh
I would be nice if it get's some proper optimization. On the CPU it always ran on a single thread without SSE or such, just to make it slower than Nvidia videocards. Let's be honest they only brought Ageia Physics for marketing purposes...

I hope everthing will get more mature and unified with DirectX12, no more GameWorks bullshit and such.
marketing purposes??
Have you seen flex ?
GTFO :)
 
Joined
Sep 15, 2007
Messages
3,946 (0.63/day)
Location
Police/Nanny State of America
Processor OCed 5800X3D
Motherboard Asucks C6H
Cooling Air
Memory 32GB
Video Card(s) OCed 6800XT
Storage NVMees
Display(s) 32" Dull curved 1440
Case Freebie glass idk
Audio Device(s) Sennheiser
Power Supply Don't even remember
I doubt nvidia will allow this to be used correctly. We already know that it can all be done on CPU and nvidia intentionally cripples the CPU only path.
 
Joined
Mar 10, 2014
Messages
1,793 (0.45/day)
I would be nice if it get's some proper optimization. On the CPU it always ran on a single thread without SSE or such, just to make it slower than Nvidia videocards. Let's be honest they only brought Ageia Physics for marketing purposes...

I hope everthing will get more mature and unified with DirectX12, no more GameWorks bullshit and such.

Afaik hardly so. And I think sse2 has been default since version 3, heck most of games that are using physx uses only cpu code path(all console games and some of the pc games too).
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.87/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
While full open sourcing of the PhysX code for CPU and GPU is really what we want, this move might finally be just enough to make it the de facto standard eventually.

How so? By developers studying the code, an open source API similar in concept to OpenGL could be written for both CPU and GPU (CUDA or otherwise) that would be useable by everyone. It would then be trivial to bundle it with games that use it.

The PhysX demos I've seen have been fantastic and really show what it can do, so this can't come soon enough.
 
Joined
Mar 9, 2012
Messages
98 (0.02/day)
Processor Core 2 Quad Q9550 @ 3.7 GHz
Motherboard Gigabyte GA-P35-S3L
Memory 8 GB DDR2-870
Video Card(s) Geforce GTX 1060 6GB
On the CPU it always ran on a single thread without SSE or such, just to make it slower than Nvidia videocards.

We already know that it can all be done on CPU and nvidia intentionally cripples the CPU only path.

How about you research a bit before posting. Read the links jabbadap posted.

"We" don't know. You read some unsubstantiated gibberish somewhere and decided it was the absolute truth. Nvidia is trying to compete with havok, which is CPU based. Do you REALLY think they'd cripple physX on CPUs, when the majority of physX games are CPU based, and there is no GPU-acceleration on consoles?

Well, you don't need to, since it's simply not true.

P.S. Since this is the internet, I'd have to point out that I'm neutral, but I hate it when misinformation keeps being repeated.
 
Joined
Oct 30, 2012
Messages
187 (0.04/day)
Processor Intel® Celeron® Processor G1101
Motherboard Supermicro® MBD-C7SIM-Q-B
Memory 8 GB Silicon Power SP004GBLTU133N02/W02
Video Card(s) Sapphire FirePro™ 2270 + AMD Radeon™ HD 8740
Storage 1000 GB Toshiba P300 HDWD110UZSVA
Display(s) 29" LG 29UM57-P
Case Chieftec LBX-02B-U3
Power Supply 650W XFX XXX Edition (P1-650X-XXB9)
Software Windows Server 2016

MxPhenom 216

ASIC Engineer
Joined
Aug 31, 2010
Messages
13,012 (2.49/day)
Location
Loveland, CO
System Name Ryzen Reflection
Processor AMD Ryzen 9 5900x
Motherboard Gigabyte X570S Aorus Master
Cooling 2x EK PE360 | TechN AM4 AMD Block Black | EK Quantum Vector Trinity GPU Nickel + Plexi
Memory Teamgroup T-Force Xtreem 2x16GB B-Die 3600 @ 14-14-14-28-42-288-2T 1.45v
Video Card(s) Zotac AMP HoloBlack RTX 3080Ti 12G | 950mV 1950Mhz
Storage WD SN850 500GB (OS) | Samsung 980 Pro 1TB (Games_1) | Samsung 970 Evo 1TB (Games_2)
Display(s) Asus XG27AQM 240Hz G-Sync Fast-IPS | Gigabyte M27Q-P 165Hz 1440P IPS | LG 24" IPS 1440p
Case Lian Li PC-011D XL | Custom cables by Cablemodz
Audio Device(s) FiiO K7 | Sennheiser HD650 + Beyerdynamic FOX Mic
Power Supply Seasonic Prime Ultra Platinum 850
Mouse Razer Viper v2 Pro
Keyboard Corsair K65 Plus 75% Wireless - USB Mode
Software Windows 11 Pro 64-Bit
What is Nvidia's reason for not making it open source? I feel like they are on their way to making it open source at this point.
 
Joined
Sep 7, 2011
Messages
2,785 (0.57/day)
Location
New Zealand
System Name MoneySink
Processor 2600K @ 4.8
Motherboard P8Z77-V
Cooling AC NexXxos XT45 360, RayStorm, D5T+XSPC tank, Tygon R-3603, Bitspower
Memory 16GB Crucial Ballistix DDR3-1600C8
Video Card(s) GTX 780 SLI (EVGA SC ACX + Giga GHz Ed.)
Storage Kingston HyperX SSD (128) OS, WD RE4 (1TB), RE2 (1TB), Cav. Black (2 x 500GB), Red (4TB)
Display(s) Achieva Shimian QH270-IPSMS (2560x1440) S-IPS
Case NZXT Switch 810
Audio Device(s) onboard Realtek yawn edition
Power Supply Seasonic X-1050
Software Win8.1 Pro
Benchmark Scores 3.5 litres of Pale Ale in 18 minutes.
LOL, obviously doesn't keep up with developments. MT has been available since 3.0 in 2011.


For those interested, the original NovodeX/PhysX coder, Pierre Terdiman, has a site where some more interesting background can be found ( use of AVX for the CPU functionality of PhysX etc)
 
Last edited:

OneMoar

There is Always Moar
Joined
Apr 9, 2010
Messages
8,800 (1.64/day)
Location
Rochester area
System Name RPC MK2.5
Processor Ryzen 5800x
Motherboard Gigabyte Aorus Pro V2
Cooling Thermalright Phantom Spirit SE
Memory CL16 BL2K16G36C16U4RL 3600 1:1 micron e-die
Video Card(s) GIGABYTE RTX 3070 Ti GAMING OC
Storage Nextorage NE1N 2TB ADATA SX8200PRO NVME 512GB, Intel 545s 500GBSSD, ADATA SU800 SSD, 3TB Spinner
Display(s) LG Ultra Gear 32 1440p 165hz Dell 1440p 75hz
Case Phanteks P300 /w 300A front panel conversion
Audio Device(s) onboard
Power Supply SeaSonic Focus+ Platinum 750W
Mouse Kone burst Pro
Keyboard SteelSeries Apex 7
Software Windows 11 +startisallback
with a source release its now possible to port PhysX to OpenCL meaning gpu acceleration on amd
 
Joined
Sep 15, 2007
Messages
3,946 (0.63/day)
Location
Police/Nanny State of America
Processor OCed 5800X3D
Motherboard Asucks C6H
Cooling Air
Memory 32GB
Video Card(s) OCed 6800XT
Storage NVMees
Display(s) 32" Dull curved 1440
Case Freebie glass idk
Audio Device(s) Sennheiser
Power Supply Don't even remember
How about you research a bit before posting. Read the links jabbadap posted.

"We" don't know. You read some unsubstantiated gibberish somewhere and decided it was the absolute truth. Nvidia is trying to compete with havok, which is CPU based. Do you REALLY think they'd cripple physX on CPUs, when the majority of physX games are CPU based, and there is no GPU-acceleration on consoles?

Well, you don't need to, since it's simply not true.

P.S. Since this is the internet, I'd have to point out that I'm neutral, but I hate it when misinformation keeps being repeated.

http://semiaccurate.com/2010/07/07/nvidia-purposefully-hobbles-physx-cpu/

*drops mic* :laugh:

Your theory is blown to shit.
 
Joined
Jan 31, 2012
Messages
2,671 (0.57/day)
Location
East Europe
System Name PLAHI
Processor I5-10400
Motherboard MSI MPG Z490 GAMING PLUS
Cooling 120 AIO IWONGOU
Memory 32GB Corsair LPX 2400 Mhz DDR4 CL14
Video Card(s) PNY QUADRO RTX A2000
Storage Intel 670P 512GB
Display(s) Philips 288E2A 28" 4K + 22" LG 1080p
Case Silverstone Raven 03 (RV03)
Audio Device(s) Creative Soundblaster Z
Power Supply Fractal Design IntegraM 650W
Mouse Logitech Triathlon
Keyboard REDRAGON MITRA
Software Windows 11 Home x 64
I think it's a good move. I've always liked PhysX, I've liked nVidia as well, so I am biased. In my particular case I only see PhysX in Warframe, which I used play of lately and Blacklight Retribution and may be Trine. I'd be happy to see wider adoption of it.
 
Joined
Feb 11, 2009
Messages
5,572 (0.96/day)
System Name Cyberline
Processor Intel Core i7 2600k -> 12600k
Motherboard Asus P8P67 LE Rev 3.0 -> Gigabyte Z690 Auros Elite DDR4
Cooling Tuniq Tower 120 -> Custom Watercoolingloop
Memory Corsair (4x2) 8gb 1600mhz -> Crucial (8x2) 16gb 3600mhz
Video Card(s) AMD RX480 -> RX7800XT
Storage Samsung 750 Evo 250gb SSD + WD 1tb x 2 + WD 2tb -> 2tb MVMe SSD
Display(s) Philips 32inch LPF5605H (television) -> Dell S3220DGF
Case antec 600 -> Thermaltake Tenor HTCP case
Audio Device(s) Focusrite 2i4 (USB)
Power Supply Seasonic 620watt 80+ Platinum
Mouse Elecom EX-G
Keyboard Rapoo V700
Software Windows 10 Pro 64bit
I think it's a good move. I've always liked PhysX, I've liked nVidia as well, so I am biased. In my particular case I only see PhysX in Warframe, which I used play of lately and Blacklight Retribution and may be Trine. I'd be happy to see wider adoption of it.

This is just about making people able to read the code, not suddenly use it etc.
See it has the hood of a car being locked shut for all these years and now being openable for those who want to take a peak at the engine.
They are not allowed to take the engine out or anything, just watch, dont touch.
 
Joined
Jul 10, 2011
Messages
798 (0.16/day)
Processor Intel
Motherboard MSI
Cooling Cooler Master
Memory Corsair
Video Card(s) Nvidia
Storage Western Digital/Kingston
Display(s) Samsung
Case Thermaltake
Audio Device(s) On Board
Power Supply Seasonic
Mouse Glorious
Keyboard UniKey
Software Windows 10 x64
The operative term is "free source," not "open source." You can inspect the code, and learn how to code your project better, but not steal/modify the code. That's what's different between PhysX and Firefox now.

But now Physx is x100 more open than Mantle.

This is just about making people able to read the code, not suddenly use it etc.
See it has the hood of a car being locked shut for all these years and now being openable for those who want to take a peak at the engine.
They are not allowed to take the engine out or anything, just watch, dont touch.

“This means that the entire UE4 community can now view and modify this PhysX code alongside the complete C++ source code for UE4. Modifications can be shared with NVIDIA who will review and incorporate accepted submissions into their main PhysX branch, which then flows into future versions of UE4.”


“Today we’re excited to announce an expansion of that partnership with NVIDIA providing all UE4 developers with not just binary but C++ source access to the CPU-based implementation of PhysX 3.3.3, including the clothing and destruction libraries, through Epic’s Unreal Engine repository on GitHub.”
 
Joined
Jan 13, 2009
Messages
424 (0.07/day)
What is Nvidia's reason for not making it open source? I feel like they are on their way to making it open source at this point.

I think they are just dangling a carrot to get devs to sign up for the Gameworks program. Seeing as how you have to do that to get the code.
 
Joined
Oct 2, 2004
Messages
13,791 (1.87/day)
Who cares? It's not like there aren't countless CPU physics engines... If they released GPU part I'd be impressed, but this way, meeeh...
 
Joined
Apr 19, 2012
Messages
12,062 (2.60/day)
Location
Gypsyland, UK
System Name HP Omen 17
Processor i7 7700HQ
Memory 16GB 2400Mhz DDR4
Video Card(s) GTX 1060
Storage Samsung SM961 256GB + HGST 1TB
Display(s) 1080p IPS G-SYNC 75Hz
Audio Device(s) Bang & Olufsen
Power Supply 230W
Mouse Roccat Kone XTD+
Software Win 10 Pro
But now Physx is x100 more open than Mantle.

Well, the new OpenGL Next from Kronos is a standardised version of Mantle, and is an open spec.
 
Joined
Jul 10, 2011
Messages
798 (0.16/day)
Processor Intel
Motherboard MSI
Cooling Cooler Master
Memory Corsair
Video Card(s) Nvidia
Storage Western Digital/Kingston
Display(s) Samsung
Case Thermaltake
Audio Device(s) On Board
Power Supply Seasonic
Mouse Glorious
Keyboard UniKey
Software Windows 10 x64
Top