Would be really cool if someone on the AMD side could help test your code.
As i’m sure AMD have a plentiful supply of AMD GPUs, and this additional support for their cards under linux is going to cost them basically nothing in terms of R&D seeing as you’re doing it - and as per the linux kernel submissions they make, they clearly already have linux developers for Polaris, Vega and Navi cards…
Has anyone you’ve spoken with at AMD indicated whether or not this may be possible?
Thank you for working on this issue. Do you know if the application works equally well with a macOS guest? A fast, modern GPU working with a macOS VM would be phenomenal!
Ordered a 5700xt. It’ll be here Aug 1st. Once it’s installed my Radeon 7 is totally free for testing. I’m more than willing to cover shipping both ways, and sign a piece of paper stating I wont hold you responsible if it dies or falls into the ocean blah blah. Is that something that would be helpful? I do need the card back but not for a while, and if it dies/gets lost I’ll just get another 5700xt when I need it
Thank you for spending the time and effort to work on this.
I know you would need hardware and time for development, but is there any technical reason this same method would not work on the RX 400 and RX 500 series cards?
I donated a bit to help you towards getting a new Navi card. If nobody else donates in the next days I guess I’ll donate the rest of your goal…
I appreciate you working to fix these issues, I have ran into them in the past as well… I don’t know why AMD doesn’t just fix this problem considering how long its been a thing now…
I am not under a NDA, the reset procedure however is not well documented and I am trying to get more information from AMD on exactly what the abbreviated register names mean.
I’m working on a hardware that switch off(PCIe hot swap -> reset GPU) the external 8pin connector power ,that is controlled by an Arduino(prototype) and host USB connection. Hardware: Sapphire RX-580 8G nitro. It’s working!! A software only solution would be nice!!
You also don’t need to really reboot your host once you shutdown the VM. You can reset the R7 by writing to a few /sys/bus/pci/… files and performing a suspend/resume. (That’s what I’m doing).