On Tue, Jan 22, 2019 at 12:47 PM John Mitchell <[email protected]> wrote:
> AMD consumer based GPU cards have a reset problem in a VM.  After using the 
> VM when you shutdown the VM the card doesn't reset properly.  It is reported 
> that this problem does not exist in the RX 5xx cards and older.

AMD messed up time and again (in all cards) by not connecting its PCIe
bridge reset to full card reset, instead relying on some command or a
series of commands beforehand.

The reset workaround magic is not yet implemented for Vega and up.
I've been working on that for some time and am very slowly
implementing required MMIO logging to grab only command accesses to
see how Windows driver installer hard resets the card, since that
actually works.
But the "recovery" soft reset after GPU crash does not, so there is
something missing.

As a nasty but secure workaround, you can enter S3 (suspend to ram)
which cuts power to the card, then issue resets to card side (GPU and
audio) of the PCIe bridge, and then rescan the card's bridge.
I'm pretty sure S3 will fail with Xen in many interesting ways on many
mainboards.

R.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/CAAmECqSqMQjg2TRdraf99%3D8OCQuy4BKkDGypjUhXegw-%3D2THUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to