[Spice-devel] 2K/4K resolutions not available?

Mike ipso at snappymail.ca
Wed Jun 10 15:37:09 PDT 2015


I'm trying to get 2K+ resolutions to work with SPICE/QXL and QEMU 2.2 
(Ubuntu Vivid) on the host and Ubuntu Trusty on the guest. Currently the 
highest resolution is 1920x1200... I tried increasing the QXL video 
memory to 128MB from 64MB, but that didn't seem to make a difference, is 
there something simple I'm missing perhaps?

Below is the QEMU command that I'm using:
---------------------------------------------------------------------------
/usr/bin/qemu-system-x86_64 -name DESKTOP_LINUX_SUPPORT2 -S -machine 
pc-i440fx-2.2,accel=kvm,usb=off -cpu 
SandyBridge,+invtsc,+pdpe1gb,+osxsave,+dca,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme 
-m 4096 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 
8d504c7b-616c-4283-a2aa-6636bb5ae598 -no-user-config -nodefaults 
-chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/DESKTOP_LINUX_SUPPORT2.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet 
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7 
-device 
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6 
-device 
ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 
-device 
ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive 
file=/var/lib/libvirt/images/DESKTOP_LINUX_SUPPORT2.qcow2,if=none,id=drive-virtio-disk0,format=qcow2 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 
-netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=29 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:c6:d3:7d,bus=pci.0,addr=0x3 
-chardev pty,id=charserial0 -device 
isa-serial,chardev=charserial0,id=serial0 -chardev 
spicevmc,id=charchannel0,name=vdagent -device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 
-spice port=5905,addr=0.0.0.0,disable-ticketing,seamless-migration=on 
-device 
qxl-vga,id=video0,ram_size=134217728,vram_size=134217728,vgamem_mb=32,bus=pci.0,addr=0x2 
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device 
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev 
spicevmc,id=charredir0,name=usbredir -device 
usb-redir,chardev=charredir0,id=redir0 -chardev 
spicevmc,id=charredir1,name=usbredir -device 
usb-redir,chardev=charredir1,id=redir1 -chardev 
spicevmc,id=charredir2,name=usbredir -device 
usb-redir,chardev=charredir2,id=redir2 -chardev 
spicevmc,id=charredir3,name=usbredir -device 
usb-redir,chardev=charredir3,id=redir3 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
---------------------------------------------------------------------------

Thanks.

-- 
Mike


More information about the Spice-devel mailing list