[Spice-devel] qxl-vga.vgamem_mb and large monitors
David Mansfield
spice at dm.cobite.com
Fri Jun 19 12:48:18 PDT 2015
On 06/19/2015 02:22 PM, David Mansfield wrote:
> Hi All,
>
> 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.
>
> This is set it libvirt domain xml like this:
>
> <qemu:commandline>
> <qemu:arg value='-global'/>
> <qemu:arg value='qxl-vga.vgamem_mb=32'/>
> </qemu:commandline>
>
...
> Has qemu/libvirt changed somehow making this old syntax invalid?
>
Argh. Reply to self.
It HAS been added to the domain XML (and old syntax seems overruled).
There's the "vgamem" attribute, as in:
<video><model type='qxl' ram='131072' vram='131072' vgamem='32768'
heads='1' /></video>
It's kinda mis-documented in the libvirt domain XML:
"There is also optional attribute |vgamem| (since 1.2.11 (QEMU only)) to
set the size of VGA framebuffer for fallback mode of QXL device."
Vgamem is needed even in non-fallback mode to support a large (3840x1200
or larger) framebuffer.
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150619/9f0b9074/attachment.html>
More information about the Spice-devel
mailing list