I have no monitor output, and I must set up gpu passthrough

After some more trial and error I was able to figure out how it works. For me, the setup works with proprietary nvidia drivers.

  1. After your guest is starting and detecting dGPU, you still need to configure Xorg. To do that, run X :1 -configure as root.
  2. Place generated xorg config into /etc/X11/xorg.conf.d/. You may or may not need to tweak the configuration.
  3. Restart display manager or just reboot.

@Ancient_Book_5182

1 Like