<div dir="ltr"><div dir="ltr">Another difference is OS:<div><br></div><div>NUC is using Debian 10 with qemu 3.1.0, Linux kernel 4.19.194-2</div><div>Desktop is using Debian 11 with qemu 5.2.0, Linux kernel 5.10.40-1</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">gansteed <<a href="mailto:gansteed@gmail.com">gansteed@gmail.com</a>> 于2021年7月22日周四 上午9:53写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div> I'm using spice in virt-manager, but it's slow in video. I've been using spice in my NUC, with the same configuration, that's fluently. The biggest difference between my NUC and desktop is hardware is different. NUC is using a integrated graphics while desktop using a RTI RX 550/560(I don't remember).</div><div><br></div><div> Is there any suggestions to make the VM video performance faster?</div><div><br></div><div>Hardware of my desktop:</div><div><br></div><div>$ lspci | grep VGA<br>09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] (rev ff)<br></div><div>$ lscpu | grep 'Model name'<br>Model name: AMD Ryzen 7 5800X 8-Core Processor<br></div><div><br></div><div>XML of my VM:</div><div><br></div><div><domain type='kvm' id='13'><br> <name>win7</name><br> <uuid>5d9cee98-36b5-475e-a74d-4e8a19e74ba9</uuid><br> <metadata><br> <libosinfo:libosinfo xmlns:libosinfo="<a href="http://libosinfo.org/xmlns/libvirt/domain/1.0" target="_blank">http://libosinfo.org/xmlns/libvirt/domain/1.0</a>"><br> <libosinfo:os id="<a href="http://microsoft.com/win/7" target="_blank">http://microsoft.com/win/7</a>"/><br> </libosinfo:libosinfo><br> </metadata><br> <memory unit='KiB'>8388608</memory><br> <currentMemory unit='KiB'>8388608</currentMemory><br> <vcpu placement='static'>4</vcpu><br> <resource><br> <partition>/machine</partition><br> </resource><br> <os><br> <type arch='x86_64' machine='pc-q35-5.2'>hvm</type><br> <boot dev='hd'/><br> </os><br> <features><br> <acpi/><br> <apic/><br> <hyperv><br> <relaxed state='on'/><br> <vapic state='on'/><br> <spinlocks state='on' retries='8191'/><br> </hyperv><br> <vmport state='off'/><br> </features><br> <cpu mode='custom' match='exact' check='full'><br> <model fallback='forbid'>EPYC-Rome</model><br> <vendor>AMD</vendor><br> <feature policy='require' name='x2apic'/><br> <feature policy='require' name='tsc-deadline'/><br> <feature policy='require' name='hypervisor'/><br> <feature policy='require' name='tsc_adjust'/><br> <feature policy='require' name='erms'/><br> <feature policy='require' name='invpcid'/><br> <feature policy='require' name='pku'/><br> <feature policy='require' name='vaes'/><br> <feature policy='require' name='vpclmulqdq'/><br> <feature policy='require' name='fsrm'/><br> <feature policy='require' name='spec-ctrl'/><br> <feature policy='require' name='stibp'/><br> <feature policy='require' name='arch-capabilities'/><br> <feature policy='require' name='ssbd'/><br> <feature policy='require' name='xsaves'/><br> <feature policy='require' name='cmp_legacy'/><br> <feature policy='require' name='amd-ssbd'/><br> <feature policy='require' name='virt-ssbd'/><br> <feature policy='require' name='rdctl-no'/><br> <feature policy='require' name='skip-l1dfl-vmentry'/><br> <feature policy='require' name='mds-no'/><br> <feature policy='require' name='pschange-mc-no'/><br> <feature policy='disable' name='svm'/><br> <feature policy='require' name='topoext'/><br> <feature policy='disable' name='npt'/><br> <feature policy='disable' name='nrip-save'/><br> </cpu><br> <clock offset='localtime'><br> <timer name='rtc' tickpolicy='catchup'/><br> <timer name='pit' tickpolicy='delay'/><br> <timer name='hpet' present='no'/><br> <timer name='hypervclock' present='yes'/><br> </clock><br> <on_poweroff>destroy</on_poweroff><br> <on_reboot>restart</on_reboot><br> <on_crash>destroy</on_crash><br> <pm><br> <suspend-to-mem enabled='no'/><br> <suspend-to-disk enabled='no'/><br> </pm><br> <devices><br> <emulator>/usr/bin/qemu-system-x86_64</emulator><br> <disk type='file' device='disk'><br> <driver name='qemu' type='qcow2'/><br> <source file='/data/vms/win7.qcow2' index='1'/><br> <backingStore/><br> <target dev='vda' bus='virtio'/><br> <alias name='virtio-disk0'/><br> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/><br> </disk><br> <controller type='usb' index='0' model='ich9-ehci1'><br> <alias name='usb'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/><br> </controller><br> <controller type='usb' index='0' model='ich9-uhci1'><br> <alias name='usb'/><br> <master startport='0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/><br> </controller><br> <controller type='usb' index='0' model='ich9-uhci2'><br> <alias name='usb'/><br> <master startport='2'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/><br> </controller><br> <controller type='usb' index='0' model='ich9-uhci3'><br> <alias name='usb'/><br> <master startport='4'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/><br> </controller><br> <controller type='sata' index='0'><br> <alias name='ide'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/><br> </controller><br> <controller type='pci' index='0' model='pcie-root'><br> <alias name='pcie.0'/><br> </controller><br> <controller type='pci' index='1' model='pcie-root-port'><br> <model name='pcie-root-port'/><br> <target chassis='1' port='0x10'/><br> <alias name='pci.1'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/><br> </controller><br> <controller type='pci' index='2' model='pcie-root-port'><br> <model name='pcie-root-port'/><br> <target chassis='2' port='0x11'/><br> <alias name='pci.2'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/><br> </controller><br> <controller type='pci' index='3' model='pcie-root-port'><br> <model name='pcie-root-port'/><br> <target chassis='3' port='0x12'/><br> <alias name='pci.3'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/><br> </controller><br> <controller type='pci' index='4' model='pcie-root-port'><br> <model name='pcie-root-port'/><br> <target chassis='4' port='0x13'/><br> <alias name='pci.4'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/><br> </controller><br> <controller type='pci' index='5' model='pcie-root-port'><br> <model name='pcie-root-port'/><br> <target chassis='5' port='0x14'/><br> <alias name='pci.5'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/><br> </controller><br> <controller type='virtio-serial' index='0'><br> <alias name='virtio-serial0'/><br> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/><br> </controller><br> <interface type='network'><br> <mac address='52:54:00:3b:e8:0f'/><br> <source network='default' portid='4814d165-b576-4bfe-9e61-afd02fee8ca2' bridge='virbr0'/><br> <target dev='vnet12'/><br> <model type='virtio'/><br> <alias name='net0'/><br> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/><br> </interface><br> <serial type='pty'><br> <source path='/dev/pts/0'/><br> <target type='isa-serial' port='0'><br> <model name='isa-serial'/><br> </target><br> <alias name='serial0'/><br> </serial><br> <console type='pty' tty='/dev/pts/0'><br> <source path='/dev/pts/0'/><br> <target type='serial' port='0'/><br> <alias name='serial0'/><br> </console><br> <channel type='spicevmc'><br> <target type='virtio' name='com.redhat.spice.0' state='connected'/><br> <alias name='channel0'/><br> <address type='virtio-serial' controller='0' bus='0' port='1'/><br> </channel><br> <input type='mouse' bus='ps2'><br> <alias name='input0'/><br> </input><br> <input type='keyboard' bus='ps2'><br> <alias name='input1'/><br> </input><br> <graphics type='spice' port='5900' autoport='no' listen='127.0.0.1'><br> <listen type='address' address='127.0.0.1'/><br> <gl enable='no'/><br> </graphics><br> <video><br> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/><br> <alias name='video0'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/><br> </video><br> <memballoon model='virtio'><br> <alias name='balloon0'/><br> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/><br> </memballoon><br> </devices><br> <seclabel type='dynamic' model='apparmor' relabel='yes'><br> <label>libvirt-5d9cee98-36b5-475e-a74d-4e8a19e74ba9</label><br> <imagelabel>libvirt-5d9cee98-36b5-475e-a74d-4e8a19e74ba9</imagelabel><br> </seclabel><br> <seclabel type='dynamic' model='dac' relabel='yes'><br> <label>+64055:+64055</label><br> <imagelabel>+64055:+64055</imagelabel><br> </seclabel><br></domain><br><br></div></div>
</blockquote></div></div>