Question How can I setup a dedicated PhysX card on Linux?

arcsharp

Reputable
Jun 2, 2021
4
0
4,510
So I have an old NVIDIA GTX 650 on hand so I figured it would be cool to use it for Mirror's Edge for all those fancy physics though that's all I want it to do. Have it be a physics processor and have my main GPU which is an AMD RX 6800 handle all the rendering. The main problems I'm facing is I have no idea how to get it working under Proton and my GPU order is backwards when I have the drivers loaded for the NVIDIA GPU. NVIDIA wants to be primary which makes things difficult. I'm currently using Zorin OS 17.2. Here's how my GPU's show in lspci.

04:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1)
0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c3)

Since I'm on Wayland any Xorg solutions simply won't do and using NVIDIA's prime-select is really only useful for making my AMD GPU primary again as the moment I use the command sudo prime-select nvidia I have my GTX 650 wanting to take primary. I did find this in the PhysX documentation for configuration which might be useful once I have the GPU order issue figured out. Since the old NVIDIA control panel isn't a thing on Linux this might be the only way to tell the NVIDIA GPU to offload PhysX to my GTX 650. The real question is if we can get that exported variable to work under something like Proton.
export PHYSX_GPU_DEVICE="1"
Source: https://github.com/NVIDIA-Omniverse...entation/platformreadme/linux/README_LINUX.md