masstic1es Posted December 15, 2016 Share Posted December 15, 2016 Hello all! I've been having some issues trying to get the audio stutter/static on my VM to clear out (audio is passed through the GPU HDMI, GTX 970). I've read through all the old postings and tried what was recommended in those, but I'm still having this issue. I've enabled MSI for my GPU, pinned my CPUs, isolated my CPUs, even disabled some of the C states in my bios (I had originally disabled all C states, but Unraid got stuck on booting kernal. So C1e and C6 are disabled, and it booted fine) Through Kodi I can play about 10-15 minutes of video before it starts stuttering. Through MPC-HC I can play audio pretty well, but audio/video get out of sync. Any and all help or pointing in the right direction would be greatly appreciated, as I'm going bonkers trying to figure this out . Thanks! <domain type='kvm'> <name>Windows 10</name> <uuid>6f60b2f0-f120-981a-2205-21b831b2fbbe</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='2'/> <vcpupin vcpu='1' cpuset='3'/> <vcpupin vcpu='2' cpuset='6'/> <vcpupin vcpu='3' cpuset='7'/> <emulatorpin cpuset='0,4'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/6f60b2f0-f120-981a-2205-21b831b2fbbe_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='2' threads='2'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows 10/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/Windows 10.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/virtio-win-0.1.126.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='nec-xhci'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:f0:2d:10'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <source mode='connect'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x0079'/> <product id='0x1803'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc52b'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc52f'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1934'/> <product id='0x5168'/> </source> </hostdev> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </memballoon> </devices> </domain> Quote Link to comment
masstic1es Posted December 15, 2016 Author Share Posted December 15, 2016 Update: turning Hyper V on got me about an hour of static/stutter free playtime. Which is better, every little thing I do has been improving it overall (it went from stuttering every 2 mins to now not starting until an hour in.) Just trying to get it to stop for good. Quote Link to comment
SpaceInvaderOne Posted December 15, 2016 Share Posted December 15, 2016 Try installing dlandon's tips and tweaks plugin and change the disk Cache 'vm.dirty_background_ratio' (%): to 2% and Disk Cache 'vm.dirty_ratio (%): to 3% Quote Link to comment
masstic1es Posted December 16, 2016 Author Share Posted December 16, 2016 Try installing dlandon's tips and tweaks plugin and change the disk Cache 'vm.dirty_background_ratio' (%): to 2% and Disk Cache 'vm.dirty_ratio (%): to 3% Audio stutter persistent 15 minutes in Quote Link to comment
masstic1es Posted December 16, 2016 Author Share Posted December 16, 2016 It's seems to be an overall slowdown on media. After leaving the vm on for a few hours, all of my media starts to slow down. Or play at normal speed but without audio. (This happened before I restarted kodi, but then slow audio) Sent from my SM-G930V using Tapatalk Quote Link to comment
masstic1es Posted December 17, 2016 Author Share Posted December 17, 2016 Follow up: got new gpu (1070), set up msi fix. for the most part the stutter is gone. It's happened for about a 2 min spurt in a TV series i'm currently watching. Maybe once an episode. Currently working on getting bluetooth to work properly. Oh this journey Quote Link to comment
masstic1es Posted December 18, 2016 Author Share Posted December 18, 2016 The audio issue seems to have disappeared. Except when my home theater receiver turns off. But also not every time... Lol, I'm gonna call this good for the time being. Sent from my SM-G930V using Tapatalk Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.