Unsucessfuly trying to configure a dual monitor setup

Hey there.

Currently I’m trying to run a dual monitor setup where my second monitor is working (connected to my mobo) and my primary monitor is black (connected to GPU). I’m using a Nvidia 2080 Super and a i5 4690.

in xrandr we can see only one the onboard GPU is being identified. Probably because I’ve passed the PCI-E GPU using PCI passthrough via OVMF guide from archlinux wiki.

What I want to accomplish is having 2 setups. One is my main SO which is manjaro to study and work and the other a windows virtualization for gaming with friends and stuff.

The first setup it would be ideal to have two monitors (in windows this configurations was easy to achieve). One primary and other secondary.

Once I turn on the windows virtualization only my primary monitor would work in order to play games (here I don’t need two monitors but it would be nice to have).

I thought it would be possible to use all nvidia maybe? Or once I switch to all Nvidia my screens wouldn’t display any images because my PCI is passthrough to OVMF?

Thanks in advance for any comments on this…

xrandr result:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI-2 disconnected (normal left inverted right x axis y axis)

lspci | grep VGA result:

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)

Hello,

A quote from here:
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Isolating_the_GPU

Warning: Once you reboot after this procedure, whatever GPU you have configured will no longer be usable on the host until you reverse the manipulation. Make sure the GPU you intend to use on the host is properly configured before doing this - your motherboard should be set to display using the host GPU.

If your iGPU has only one port, then there will be only one Monitor attached to host.
Your guest installed system will deal with the dGPU 100% and you can do anything about it from host system.

Please also take note that nVidia has put restrictions (on purpose) on using their Graphics cards in a PCI-Passthrough setup.
Somehow they don’t want people to use it like that.
I tried the same in the past with no luck, because the windows driver would error out…

  • 2 monitors with one nVidia card is possible, but not using virtualisation: you need a dual boot solution
  • If you want to do this using virtualisation, that is possible as well, but then you’d need 2 nVidia cards and 3 monitors…

:man_shrugging:

What do you use for the virtualization?

Perhapst this howto is at any help. I know it says mint/ubuntu but most if not all settings apply for Manjaro to.

Again… it was posible in the past, but the newer nvidia drivers (in windows) error out when used with passthgrough.
At least that happened back when i tried it using 2 nVidia cards with one setup with PCI-Passthrough…
Anyway i advice you to use non-nVidia cards for this setup…

1 Like

So?
If that is the case use the drivers that still work with passthrough. Or is that not possible in Windows? I mean to install older drivers>?

Nope was not possible with Win10…

Okay strange system… Well oke sorry