So I've been using a kvm gpu pass-through windows for about 4 months now and I've run into a problem. I've been able to play almost any game i want close to native speeds, except for strategy games. (rome total war, planetary annihilation, war for the overworld).
my setup is:
mother board- Gigabyte GA-990FXA-UD3
cpu- 6300 amd fx 6 core
host graphics- some old amd, not sure witch one
guest graphics- gtx 970
the guest os is on an Samsung ssd in qcow2 format.
my qemu code:
#!/bin/bash
sudo qemu-system-x86_64 -enable-kvm -m 4G -cpu phenom,kvm=off \
-smp 4,sockets=1,cores=4,threads=1 \
-machine q35,accel=kvm \
-device qxl \
-bios /usr/share/seabios/bios.bin \
-vga none \
-drive file=/media/lance/windows/win-7.img,if=virtio,format=raw,media=disk \
-drive file=/dev/sdb,if=virtio,format=raw,media=disk \
-boot order=d \
-usbdevice host:0a5c:21e8 \-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port =1,chassis=1,id=root.1 \
-device vfio-pci,host=04:00.0,bus=root.1,addr=00.0,multifunctio n=on,x-vga=on \
-device vfio-pci,host=04:00.1,bus=root.1,addr=00.1,multifunctio n=on \
-rtc base=localtime \
let me know if I need to provide more info and any help or information would be greatly appreciated.
my setup is:
mother board- Gigabyte GA-990FXA-UD3
cpu- 6300 amd fx 6 core
host graphics- some old amd, not sure witch one
guest graphics- gtx 970
the guest os is on an Samsung ssd in qcow2 format.
my qemu code:
#!/bin/bash
sudo qemu-system-x86_64 -enable-kvm -m 4G -cpu phenom,kvm=off \
-smp 4,sockets=1,cores=4,threads=1 \
-machine q35,accel=kvm \
-device qxl \
-bios /usr/share/seabios/bios.bin \
-vga none \
-drive file=/media/lance/windows/win-7.img,if=virtio,format=raw,media=disk \
-drive file=/dev/sdb,if=virtio,format=raw,media=disk \
-boot order=d \
-usbdevice host:0a5c:21e8 \-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port =1,chassis=1,id=root.1 \
-device vfio-pci,host=04:00.0,bus=root.1,addr=00.0,multifunctio n=on,x-vga=on \
-device vfio-pci,host=04:00.1,bus=root.1,addr=00.1,multifunctio n=on \
-rtc base=localtime \
let me know if I need to provide more info and any help or information would be greatly appreciated.