<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 06/19/2015 02:22 PM, David Mansfield
wrote:<br>
</div>
<blockquote cite="mid:55845DE1.5090609@dm.cobite.com" type="cite">Hi
All,
<br>
<br>
We (4 of us in my company) have been very happy with spice over
the last year or so running with dual 1920x1200 monitors, for
which qxl-vga.vgamem_mb always needed to be set to 32 (default is
16) or Xorg-qxl doesn't get enough video ram. I even bumped it to
64MB and we can run a 3940x2160 and a 1920x1200 just fine.
<br>
<br>
This is set it libvirt domain xml like this:
<br>
<br>
<qemu:commandline>
<br>
<qemu:arg value='-global'/>
<br>
<qemu:arg value='qxl-vga.vgamem_mb=32'/>
<br>
</qemu:commandline>
<br>
<br>
</blockquote>
...<br>
<blockquote cite="mid:55845DE1.5090609@dm.cobite.com" type="cite">Has
qemu/libvirt changed somehow making this old syntax invalid?
<br>
<br>
</blockquote>
<br>
Argh. Reply to self. <br>
<br>
It HAS been added to the domain XML (and old syntax seems
overruled). There's the "vgamem" attribute, as in:<br>
<br>
<video><model type='qxl' ram='131072' vram='131072'
vgamem='32768' heads='1' /></video><br>
<br>
It's kinda mis-documented in the libvirt domain XML:<br>
<br>
"There is also optional attribute <code>vgamem</code> (<span
class="since">since 1.2.11 (QEMU only)</span>) to set the size of
VGA framebuffer for fallback mode of QXL device."<br>
<br>
Vgamem is needed even in non-fallback mode to support a large
(3840x1200 or larger) framebuffer. <br>
<br>
Thanks,<br>
David<br>
<br>
</body>
</html>