I am new to unRAID and KVM virtualisation (not Linux though) and currently in the trial period, trying to determine whether I can achieve my desired setup with unRAID (which I truly hope).
TL;DR: I have a few questions regarding the support for Vega/ Radeon VII GPUs when passing them through to VMs which can be found at the end of the post. The next two paragraphs are a description of my desired setup and references of my own research giving context to my questions.
My desired setup includes running Windows (for gaming) and macOS (must be a current version for development and testing purposes) as VMs with GPU passthrough (I also intend to run Linux, but it does not seem to put any constraints on GPU choice). I currently have an RX580 which works fine in this setup, but upgrading the card is on my wishlist for the coming months. From what I found, the GPU card series listed here are the most recent ones suitable for my use case, since macOS is the least compatible of the OSes I want to run. Most importantly Nvidia GPUs seem to be out of the question for current versions of macOS with no Nvidia web drivers on the horizon. So AMD it is?
In my research of AMD GPU compatibility I came across the GPU reset bug affecting Vega cards, but the info out there seems somewhat conflicting. On the one hand, reports here in the forum indicate that the bug is present for Vega 64 (as of February 4th 2019) and Radeon VII (as of June 23rd 2019) respectively. In the same thread are reports that RX580 doesn't work which I cannot confirm from my own testing with my RX580 Nitro+, so I am unsure how reliable the info in the thread is. On the other hand, there apparently is a kernel patch for version 4.19 (which is the kernel version in unRAID 6.7.2) and someone seems to have had success using this patch with a Radeon VII (albeit on Ubuntu). Also, independently of the reset bug there seems to be a bug with the AMD drivers, where the latest version that can be installed on Windows VMs is 18.9.3 (current version would be 19.6.3).
Long story short: Since upgradability seems important when deciding to purchase an OS, is there anybody who can confirm
whether there has been success running Vega or Radeon VII GPUs with VM shutdown/reset working properly in unRAID?
whether unRAID is running a kernel with the aforementioned reset bug patch by default?
if not 2, then whether there is an easy way to build a custom kernel with the patch? (The official info seems a bit outdated and includes as prerequisite "... a current kernel to match your chosen unRAID release [...] and who knows what else".)
whether anyone here was able to install newer drivers for Radeon VII on Windows VMs, since version 18.9.3 predates this card? (Yes, the patch success post indicates there are drivers for Windows 10, but the ones shipping with Windows or via Windows update rendered HDMI audio for my RX580 unusable so any additional info is highly appreciated!)
Thanks in advance to everybody helping an unRAID noob to figure this GPU passthrough stuff out!
All the best