[Spice-devel] multi monitor setup ?

Alexandre DERUMIER aderumier at odiso.com
Sat Sep 14 06:25:01 PDT 2013


Hi, Thanks for the informations !
 


----- Mail original ----- 

De: "David Jaša" <djasa at redhat.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: spice-devel at lists.freedesktop.org 
Envoyé: Jeudi 12 Septembre 2013 14:42:57 
Objet: Re: [Spice-devel] multi monitor setup ? 

Hi Alexandre, 

Alexandre DERUMIER píše v Pá 30. 08. 2013 v 15:36 +0200: 
> Hi, 
> 
> I'm looking for documentation about multi monitor setup, and I can't find it. 
> 
> How do it work ? 

For Windows VMs, up to four qxl devices can be specified on the command 
line. Linux VMs will see 4 heads on the single qxl device. 

> 
> Do we need special qemu command line options ? (I don't use libvirt) 

You need to specify multiple devices for Windows VMs. This is what 
libvirt gives me (via 'virsh domxml-to-native qemu argv DOMAIN_XML'): 
<...> -vga qxl -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=33554432 -device qxl,id=video1,ram_size=67108864,vram_size=33554432 -device qxl,id=video2,ram_size=67108864,vram_size=33554432 -device qxl,id=video3,ram_size=67108864,vram_size=33554432 

For Linux VM, just one qxl device is OK but then it's advisable to 
increase the available RAM: 
<...> -vga qxl -global qxl-vga.ram_size=134217728 -global qxl-vga.vram_size=33554432 

If you don't turn off surfaces, then you should increase vram size to 
say 64 MB from current default of 32 MB. 

David 

> Or is it only a client side option ? 
> 
> Regards, 
> 
> Alexandre 
> _______________________________________________ 
> Spice-devel mailing list 
> Spice-devel at lists.freedesktop.org 
> http://lists.freedesktop.org/mailman/listinfo/spice-devel 

-- 

David Jaša, RHCE 

SPICE QE based in Brno 
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24 


More information about the Spice-devel mailing list