I gave that Xorg stuff a good even though I figured it might not work or worse cause some severe system issues (actually froze Zorin once with a bad config) but in the end it really didn't accomplish anything. Oh I even went as far as to rearrange my GPU's even though getting the AMD RX 6800 was just having none of it and I have to shimmy the switch with a plastic twist tie to get it out as it was jammed in there good. Sadly swapping the GPU's physical positions had no effect on their GPU order.
Other than that I did figure out how to get the driver working without sacrificing my AMD GPU's spot as primary. sudo prime-select intel
does something in /lib/modprobe.d
where it adds a blacklist for nvidia. I also came across this annoying thing which is why my Nvidia GPU kept trying to be first. So running these two commands I removed them and now the driver is active but it doesn't render anything which is great.
sudo rm /lib/modprobe.d/blacklist-nvidia.conf
sudo rm /lib/modprobe.d/nvidia-kms.conf
I still have no idea how to use the Nvidia GPU on a process though. It's running in compute mode so now it's just a matter of getting it to work with Mirror's Edge.
Mon Mar 17 22:45:08 2025
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:0B:00.0 N/A | N/A |
| 40% 34C P8 N/A / N/A | 6MiB / 981MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
I did try using export PHYSX_GPU_DEVICE="1"
before running Steam but whenever I go to launch Mirror's Edge it just crashes and says something about failing to find the primary display adapter.
So I found out all my work was pointless. Linux didn't get PhysX GPU acceleration until Physics SDK 3.3.2 as mentioned here.
https://news.softpedia.com/news/NVIDIA-Brings-GPU-Acceleration-Support-for-PhysX-on-Linux-461924.shtml
By the time that SDK was around GPU accelerated PhysX kinda became irrelevant as it ran decently on CPU's. Well this was a massive waste of time.