Hello, for my project i need to connect some monitor on server with my vm.
My server runs vmware ESXi 7.0 U2 and runs a VM with Ubuntu 22.04 and an nvidia A2000 GPU give in passthrough.
whitout nvidia driver it’s work but when i install NVIDIA driver metapackage from nvidia-driver-515 only the vm screen can be use.
The second screen Acer V226HQL is detect but i can’t use it

log.txt (104.0 KB)
Please post the output of
xrandr --listproviders
The you can only create /etc/X11/xorg.conf using the nvidia gpu as primary device so external monitors will work but the vm console only displaying the text console.
how can i set the gpu as primary device ?
Create an xorg.conf
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:3:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
it’s works!! thank you so mutch for your help