virtio-vga two monitors and spice

Uri Lublin ulublin at redhat.com
Sun Aug 11 09:20:12 UTC 2024


Hi Michael,

On Fri, Aug 2, 2024 at 3:53 PM Michael Lipp <mnl at mnl.de> wrote:

> Hi,
>
> when I start qemu with "-device virtio-vga,max_outputs=2" and connect
> using spice, I get two windows representing two monitors as expected.
>
> However, only one of these works. The other shows "Display output is not
> active.". xrandr says "Virtual-2 disconnected" (consistent but not
> helpful).
>
> Is this supposed to work? If so, what am I missing? Or do I have to use
> QXL in order to use two monitors?
>

It should work.
Works for me with Fedora 40 host and Fedora 38 guest.
Make sure the guest has enough memory.
Better have spice-vdagent installed.
Make sure both monitors are enabled either from inside the guest
(settings->displays)
or from the remote-viewer's monitor-icon at the top of the window.
Try to disable and enable the second monitor.

Uri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20240811/7583f530/attachment.htm>


More information about the Spice-devel mailing list