Multiple video card (GPU) drivers installation

Hi,

I have two different types of GPU on my machine, GeForce GT 710 and GeForce RTX 2080 Ti. I want to use GeForce GT 710 for display and GeForce RTX 2080 Ti for training models only.

In my OS config, I have

videoDrivers = [ "nvidia" ];

but I don’t think the driver is working well on GeForce GT 710, because its HDMI and DVI ports are not detected, though the card itself is detected.

My question is:
Is it possible to specify in the OS config which card uses which driver? How?

xrandr output:

Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+  69.93  
   2048x1280     60.00  
   1920x1200     59.88  
   1920x1080     60.00    59.94    50.00  
   1680x1050     59.95  
   1600x1200     60.00  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
USB-C-0 disconnected (normal left inverted right x axis y axis)

lspci | grep VGA output:

1a:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
68:00.0 VGA compatible controller: NVIDIA Corporation Device 1e04 (rev a1)

xrandr --listproviders output:

Providers: number : 1
Provider 0: id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 8 associated providers: 0 name:NVIDIA-0

nvidia-smi output:

Wed Feb 12 06:53:06 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.36       Driver Version: 440.36       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 710      Off  | 00000000:1A:00.0 N/A |                  N/A |
| N/A   37C    P8    N/A /  N/A |      1MiB /   981MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 208...  Off  | 00000000:68:00.0  On |                  N/A |
| 30%   30C    P8     9W / 250W |    855MiB / 11016MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0                    Not Supported                                       |
|    1      1838      G   ...z1anp50fn7s089-xorg-server-1.20.5/bin/X   428MiB |
|    1      2470      G   /run/current-system/sw/bin/kwin_x11           84MiB |
|    1      2474      G   /run/current-system/sw/bin/krunner             6MiB |
|    1      2476      G   /run/current-system/sw/bin/plasmashell       102MiB |
|    1      2582      G   /run/current-system/sw/bin/ksysguard           6MiB |
|    1      3112      G   ...uest-channel-token=17491777208328916935   165MiB |
|    1      5038      G   ...equest-channel-token=929724746644883490    55MiB |
+-----------------------------------------------------------------------------+

No, not at this moment.