[SOLVED] linux Mint (Ubuntu, Debian) SPICE display resolution

Jul 20, 2022
130
6
18
I'm running Linux Mint in a guest VM. Having trouble changing the SPICE display resolution. I've tried everything that I could think of, after much reading on the topic.

I have the VM hardware option set to SPICE with 64MB of storage:
Screenshot from 2022-07-19 23-16-33.png
I have the vdagent task running in the guest:
Pic2.png
I have restarted the guest many times.
After restarting the guest VM, selecting the SPICE console and logging in to the guest, I get this notification:
Pic3.png
I launch the driver manager, but it doesn't find anything that needs to be installed.
I then go to the display hardware settings:
Pic4.png
If I try to make any changes and click on Apply, this is what I get:
Pic5.png
Then, my host screen usually gets messed up, and I have to reboot the guest and try again.
Does anybody know what's going on here?
Thanks a million.
 
i don't know about mint, but on debian at least there is the 'xserver-xorg-video-qxl' package that could help
alternatively you could try to use the virtio gpu instead (should also enable spice for recent pve installations)
what kernel does the guest use? also can you post the complete vm config? (qm config ID)
 
  • Like
Reactions: EllyMae
I changed it to Virtio-GPU, and it's working great! And, yes, it did enable SPICE.

Kernel: 5.15.0-41-generic x86_64

The VM config is below.

Thank you so much for your help. :)

root@leghorn:~# qm config 100
agent: 1,fstrim_cloned_disks=1
audio0: device=ich9-intel-hda,driver=spice
bios: seabios
boot: order=scsi4
cores: 4
ide0: local:iso/linuxmint-20.3-cinnamon-64bit-edge.iso,media=cdrom,size=2384M
memory: 8192
meta: creation-qemu=6.2.0,ctime=1658243031
name: bullwinkle
net0: virtio=72:85:7D:00:EC:1E,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi4: /dev/disk/by-id/ata-ST3500413AS_W2A6CYDP,size=488386584K
scsi5: /dev/disk/by-id/ata-WDC_WD10EZEX-00BN5A0_WD-WCC3F1HHFXV4,size=976762584K
scsi7: /dev/disk/by-id/ata-WDC_WD20EZRX-22D8PB0_WD-WCC4M1XF1NHL,size=1953514584K
scsi8: /dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_1TB_S6S1NG0RA02805R,size=976762584K
scsihw: virtio-scsi-pci
smbios1: uuid=19149226-696f-4f44-bfe0-f4289a7142ff
sockets: 1
spice_enhancements: foldersharing=1,videostreaming=all
unused0: local-lvm:vm-100-disk-0
usb0: host=2-9,usb3=1
vga: virtio,memory=64
vmgenid: 4a987aea-6c46-4cba-9e88-7b703c7e6a3d
root@leghorn:~#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!