I succeded in getting KVM with VGA passthough on an AMD APU and MSI Radeon 390 after the advice given to me from my previous topic:
So now I have the latest Radeon driver installed and a basic Windows system running with a few games.
The issue though is when in-game. It plays flawlessly at better performance than my old system (probably because there was so many background processes sloing them down) but occasionally freezes for a few seconds. Say Geralt is mid-sentence and he freezes with this horrible buzzing sound in my headphones. Are there and settings I am missing, doing wrong or is it just an issue I'll have to deal with?
My QEMU Script:
QEMU_PA_SAMPLES=128 QEMU_AUDIO_DRV=pa qemu-system-x86_64 \ -serial none \ -parallel none \ -nodefaults \ -nodefconfig \ -enable-kvm \ -name Windows \ -cpu host,kvm=off,check \ -smp sockets=1,cores=4,threads=1 \ -m 6144 \ -rtc base=localtime \ -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/ovmf_code_x64.bin \ -drive if=pflash,format=raw,file=/usr/share/ovmf/x64/ovmf_vars_x64.bin \ -device vfio-pci,host=01:00.0,multifunction=on \ -device vfio-pci,host=01:00.1 \ -soundhw hda \ -netdev user,id=user.0 -device e1000,netdev=user.0 \ -usb -usbdevice host:046d:c537 -usbdevice host:2516:0011 \ -boot menu=on \ -nographic \ -vga none \ -device virtio-scsi-pci,id=scsi \ -device ide-cd,bus=ide.1,drive=virtiocd \ -drive file=/usr/share/virtio/virtio-win.iso,id=virtiocd,if=none \ -hda ./windows/win.qcow2
AMD A10 6800K MSI R9 390 8GB AsRock FM2A85X-ITX Arch Linux running Windows 8.1 with UEFI BIOS(s) from https://www.kraxel.org/repos/jenkins/edk2/
I can cope it most of the time, but it definitely is immmersion breaking and online games will be near unplayable if I lock mid game. I already have terrible ping times as it is! I'm also having trouble getting the pulseaudio to work as I have to run the script as root..
I also get a few blue screens (CRITICAL_PROCESS_ERROR) in which I can only fix by going into safe mode, uninstalling the graphics driver and rebooting. The graphics then reinstalls and I can reboot a few times until another
It can also be kind of random. It can restart after a blue screen and the system is working fine again..
Is this an issue with KVM or something I am doing wrong? I also
cannot get an arch linux guest to run. It completely freezes after a few of the bootup messages...