Lxc console --type=vga freezes with high resolution displays

I’ve been having an issue where using lxc console --type=vga <vm-instance> spawns a viewer that almost immediately freezes if done from a high-resolution display. The only way to exit is to kill the command via the console.

This happens with both of the recommended SPICE clients, virt-viewer and spice-client-gtk. I think it’s VM agnostic since I’ve tried it with different Ubuntu Desktop versions and also a Windows VM, both fresh and old. I’m using version 6.6. The host system is Questing.

Lowering my host resolution to 2560x1440 or lower resolves it. I also don’t have this issue in the web browser graphical console.

Monitoring my host system and VM system resources, it doesn’t seem like I’m hitting any limits. It might have to do with memory allocation to the virtual GPU driver, but I’m not entirely sure that’s the cause or how to change it anyway.

Any ideas? Thanks.

Hi,

Please can you open an issue on https://github.com/canonical/lxd/issues

Also worth testing if still an issue on the latest/edge channel, as this uses QEMU 10.

1 Like

Unfortunately, the latest/edge channel doesn’t resolve this. I’ve created an issue here: `lxc console --type=vga` freezes with high resolution displays · Issue #17606 · canonical/lxd · GitHub

1 Like