virtio-vga two monitors and spice

Michael Lipp mnl at mnl.de
Mon Aug 12 19:44:41 UTC 2024


Am 11.08.24 um 11:20 schrieb Uri Lublin:
> 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.
>
Thanks! Works for me as well now. I shouldn't have tried with spicy but 
with remote-viewer from the beginning.

  - Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20240812/8daab7fd/attachment.htm>


More information about the Spice-devel mailing list