<div dir="ltr">I think I was able to mitigate the issue by ejecting the GPU and switching to qemu emulated graphics before the shutdown and then reverting this process after a restart. I am fairly sure it all started with 17.12.02 version of Radeon drivers. 17.10.02 seems to be working fine. Did we get the reset bug back via a software upgraded and even on the cards where it did not happen before?</div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-26 14:06 GMT-08:00 Nick S <span dir="ltr"><<a href="mailto:nick.kvmhv@gmail.com" target="_blank">nick.kvmhv@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have several RX 480 cards that I use to run virtual machines and one of them is getting bugged intermittently after several virtual machine restarts. When it happens, the screen either turns off or turns light grey and Windows 7 or 10 just BSOD repeatedly when starting. The only thing that helps consistently is restarting the entire PC. Once I was able to fix the card by doing the following:<div><br></div><div><div>1) Pull and reinsert the PCIE 6 pin power cable from it</div><div>2) Unbind card from vfio driver</div><div>3) echo "1" > /sys/bus/pci/devices/MY:CARD:<wbr>NUMBER/remove</div><div>4) echo "1" > /sys/bus/pci/rescan</div></div><div><br></div><div>Just steps 2 through 4 do not seem to help and I am a bit hesitant messing with cables on a running PC. </div><div><br></div><div>Question: is there a way to reset the card without a restart? I get this situation fairly infrequently, but still it is a bit annoying. Also, would it make sense to add my card to pci-quirks.c where it handles older cards? There is no polaris cards there as far as I can see.</div><div><br></div><div><br></div></div>
</blockquote></div><br></div>