Excessive vgamem required for rotated display
It seems that excessive vgamem is required for running a rotated (i.e. portrait) display. I'm using the qxldod driver version 0.19.
With standard horizontal layout I'm able to drive a 4K (3840x2160) fullscreen resolution using remote-viewer as the client using 32MB of allocated vgamem from qemu. However, my preferred monitor layout is using vertical orientation, with displays rotated on my Linux host. As a result, the effective desired resolution from a Windows guest is 2160x3840, however the same 32MB allocation for vgamem is insufficient. I'm also unable to get the full resolution with 64MB of vgamem - it seems to require 128MB of vgamem to provide the same resolution rotated as in non-rotated landscape mode.
I haven't investigated the driver details yet, but is this expected? Perhaps there's an issue only keying off expected memory usage with the vertical resolution?
The qemu specifics used for testing are qemu version 3.1.0 (Debian 1:3.1+dfsg-8~deb10u1), remote-viewer 7.0, a Windows 10 Pro guest at version 1903, and the following device arguments to the qemu process.
sufficient for 4K landscape -device qxl,id=video1,ram_size=67108864,vram_size=1048576,vram64_size_mb=0,vgamem_mb=32,max_outputs=1 minimum required for 4K portrait -device qxl,id=video2,ram_size=67108864,vram_size=1048576,vram64_size_mb=0,vgamem_mb=128,max_outputs=1