So I have 2 GPUs so I can drive 6 monitors.
I /was/ doing it previously with the onboard Intel card + hybrid/optimus. But I was running in to issues with OGL games. So I thought I’d throw a 2nd full GPU in and just use the nVidia drivers.
All 6 monitors show up in the display configuration, and I’m able to select their resolution, enable/disable them, move them around, etc.
But the 2 screens plugged in to the 2nd GPU just show a black screen. If I move the mouse over to them I can see the mouse.
If I change the order of the cards in /etc/environment then I can get the 2nd GPU working while the primary GPU stays dark other than the mouse.
/etc/environment
KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
nvidia-smi shows both cards.
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01 Driver Version: 565.57.01 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 RTX 3080 Ti Off | 00000000:01:00.0 On | N/A |
| 53% 32C P5 65W / 400W | 2157MiB / 12288MiB | 29% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
| 1 NVIDIA GeForce RTX 4060 Ti Off | 00000000:07:00.0 On | N/A |
| 0% 37C P8 7W / 160W | 58MiB / 8188MiB | 5% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
I’ve tried this before on other distros, and couldn’t get it to work, but then I saw this post:
And there’s a KDE dev in there saying it’s supported and should work… So I thought I’d ask here if anyone had any ideas.
I DID previously have optimus enabled on this install, so maybe that’s breaking multi-gpu stuff?
I also tried adding “nvidia_drm.modeset=1” to kernel options, but that didn’t change the behaviour.
Thanks in advance for any help!