bastl Posted August 1, 2019 Share Posted August 1, 2019 (edited) Hey guys, everone who`s trying to passthrough a Vega 10 card to a VM will know this issue. Restarting a VM isn't possible without resetting the whole server. The card will stuck in a D3 power state until Unraid is rebootet. The early adopters of TR4 and AM4 might already know this guy from fixing some bugs which made it into the kernel and a lot of people using Unraid benefit from his work. He did it again and fixed the reset bug together with AMD for the mentioned cards. This might be a useful information for a couple users and might also be something @limetech is interested in to implement into the next releases. https://forum.level1techs.com/t/vega-10-and-12-reset-application/145666 Here is a short video from him showing that it is working right now with a MacOS Mojave VM. Edited August 1, 2019 by bastl 1 Quote Link to comment
limetech Posted August 1, 2019 Share Posted August 1, 2019 We can add this patch to upcoming Unraid 6.8, however note this caveat: From: https://gist.github.com/numinit/1bbabff521e0451e5470d740e0eb82fd#gistcomment-2973568 Quote To include this is to promote bad behaviour on AMD's part. Not only that, this is not a fix, if your guest VM crashes or fails to shutdown, or the guest AMDGPU driver crashes (which happens often) or your physical bios posts the AMD GPU before you can post it inside your VM, this patch does nothing. Quote Link to comment
bastl Posted August 1, 2019 Author Share Posted August 1, 2019 2 hours ago, limetech said: We can add this patch to upcoming Unraid 6.8, however note this caveat As long as you don't break something else with this patch I think the users will benefit from it. Having a VM in a state where you always have to restart the server to use your GPU again vs. a VM where "maybe" a driver crash can lead to the same issue?! Even if it's not the final solution and only a small improvement, it's still an improvement. As an early adopter of the TR4 platform I know this feeling, every slight improvement in stability is better than none. I'am not actual sure how many people in the Unraid community are still using the vega cards but every now and then people reporting this issue in the forums. I guess there is a demand for this especially for people with MacOS VMS. Nvidia web drivers for Mojave for example are still not available and maybe never will be and AMD cards kinda the only up to date cards that work on newer MacOS VMs. I don't know if you guys have some insights on the numbers how many people using these cards on unraid but I guess there are a couple. Btw. is there any timeline for the 6.7.3 release and more important for the 6.8? 😁 Quote Link to comment
contay Posted October 27, 2019 Share Posted October 27, 2019 On 8/1/2019 at 8:49 PM, bastl said: As an early adopter of the TR4 platform I know this feeling, every slight improvement in stability is better than none. I'am not actual sure how many people in the Unraid community are still using the vega cards Running TR myself with Radeon VII (x2) it would be nice indeed that these bugs are fixed RVII is passed trough nicely for both VM, but to restart VM I have to restart whole system since GPU goes to sleep (or something) when I shut the VM. Quote Link to comment
limetech Posted October 31, 2019 Share Posted October 31, 2019 Want to let you know we are going to remove this patch in next Unraid OS release 6.8.0-rc5. This is turning out to not be reliable. Quote Link to comment
contay Posted November 27, 2019 Share Posted November 27, 2019 On 10/31/2019 at 7:49 AM, limetech said: Want to let you know we are going to remove this patch in next Unraid OS release 6.8.0-rc5. This is turning out to not be reliable. Little late here. Any idea will there be actual fix later? Quote Link to comment
limetech Posted November 27, 2019 Share Posted November 27, 2019 5 minutes ago, contay said: Any idea will there be actual fix later? That question should be posed to AMD. 1 1 Quote Link to comment
methanoid Posted December 11, 2019 Share Posted December 11, 2019 Any update on this? https://www.youtube.com/watch?v=k-tnFzPaVBY seems to suggest that another patch for kernel has been released. Would be back to unRAID use if I could use my RX5700 properly with it Quote Link to comment
limetech Posted December 11, 2019 Share Posted December 11, 2019 2 hours ago, methanoid said: Any update on this? https://www.youtube.com/watch?v=k-tnFzPaVBY seems to suggest that another patch for kernel has been released. Would be back to unRAID use if I could use my RX5700 properly with it Find the patch and I'll consider adding it. Quote Link to comment
Shinobi Posted December 18, 2019 Share Posted December 18, 2019 (edited) gnif@level1techs is hard at work. The community has supported him along to get some AMD hardware (for PCI passthrough), a Radeon 5700 & now a Radeon VII. Best thing anyone can do is to support him more to make things fast on the AMD VFIO/passthrough side of things Edited December 18, 2019 by Shinobi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.