quick recap for those who’re not still up to it - first: hardware
- cpu: amd fx-8350
- board: asus crosshair v formula-z
- gpu1: nvidia 1030
- gpu2: amd r9 290x
So, after a lot of tinkering and already had my hardware considered to be not compatible cause I got confused by some message which turned out to be just an information, I finally got my qemu/kvm up and running to a point where I was able to use almost full native performance of my 290x. But, unfortunately, no happy end without some additional work:
Although I was able to passthrough my gpu using vfio I don’t seem to be so lucky for my cpu: For some reason, although I have set the config to copy cpu config from host, it falls back to the opteron g3 setting when the vm is running. Also, looking into device manager in the win10 guest, it does show how many “cores” I have set for the VM (tested 2, 4 and 6) taskmanager only shows 2 cores. Also the base desktop performance is quite bad. The initial extraction during the first setup step went pretty fast - but the 2nd step in which the system is configured for the first time took over half an hour. On real hardware the whole setup takes no more than 5-10 minutes from power up to working desktop.
As there aren’t a lot of options using virt-manager I’m sure I either made some mistakes (very likely) or my hardware indeed isn’t fully compatible with what’s required for running a qemu/kvm with pci passthrough. In fact it’s even worse than using VirtualBox on a win7 host - which, at least as far as I know, doesn’T even take full advantage of Hyper-V hardware virtualization but still does quite a lot in software emulation.
I did not yet tried to configure or start the vm via terminal but only graphical virt-manager. As there seem no differences between using pci passthrough or not I don’T think that these changes make any difference.
What bothers me the most is that no matter how many cores I assign to the vm the windows taskmanager still only shows 2 although the correct number is listed in device manager. I love tinkering with my hardware - so I don’t want to accept “it’s just not compatible” quite yet.
Oh, maybe there’s one thing I have to mention: As I still use win7 and the setup dvd I use lacks the required files for UEFI I have CSM enabled. To switch over to UEFI I would need to disable the configured RAID and also re-format my system-hdd to gpt. I only tried that once as it took me quite some time to get my raid back up working again re-use the existing array instead of re-formatting the drives which would had ended up in losing my data. Aside from that I don’T have a spare drive to format for gpt as I don’T want to trash my current win7 install. TLDR: I’m currently not prepared to test if switch from CSM to UEFI does make any difference - so it’S currently no option.