Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RX 6800 #35

Closed
TheCherry opened this issue Jul 5, 2021 · 10 comments
Closed

RX 6800 #35

TheCherry opened this issue Jul 5, 2021 · 10 comments

Comments

@TheCherry
Copy link

Does that work for the RX 6800 too?

@gnif
Copy link
Owner

gnif commented Jul 5, 2021

The rx6800 does not need a reset fix.

@gnif gnif closed this as completed Jul 5, 2021
@labor4
Copy link

labor4 commented Jul 5, 2021

The rx6800 does not need a reset fix.

i was wondering this about the whole new 6000 series, but could only guess from the lack of negative claims. in times of shortage this is an uncertain conclusion to make.

is there a reset-bug-reported matrix for gpus somewhere? if not, would this be a good idea?

@gnif
Copy link
Owner

gnif commented Jul 5, 2021

The entire 6000 series are fine, this only affects Vega10, Vega20, and Navi10 GPUs.
See: https://www.reddit.com/r/Amd/comments/jehkey/will_big_navi_support_function_level_reset_flr/gcqdtt2?utm_source=share&utm_medium=web2x&context=3

@bobafetthotmail
Copy link

@labor4 You can follow level1techs on youtube (or in the forums). Wendell is very involved in the KVM/passthrough/Linux scene, he did testing and reports on 6000 series cards a few months ago.

@TheCherry
Copy link
Author

TheCherry commented Jul 15, 2021

The rx6800 does not need a reset fix.

This is not true. At the moment I have to start always a bash script or reboot the host, after I shutdown my Windows VM.
Else the VM can't attach the GPU and boot.

At the moment I use this script:

echo "1" | tee -a /sys/bus/pci/devices/0000\:2d\:00.1/remove
sleep 1
echo -n mem > /sys/power/state
sleep 1
echo "1" | tee -a /sys/bus/pci/rescan

But I have often to start it 2-3 times, before its work.

@gnif
Copy link
Owner

gnif commented Jul 15, 2021

This is an issue with your system then, rx6800 does not need any patches to allow it to restart, if it did even your workaround would not work as the result of a failed reset is a completely dead card that requires a full reboot to restore it.

@flamme-demon
Copy link

hi,

For my part I am with a 6700 on xpc-ng and I confirm that after reboot there is an error 43

@gnif
Copy link
Owner

gnif commented Jul 23, 2021

error 43

This is NOT the reset bug, the reset bug crashes the card out completely, making it fall off the PCIe BUS, breaking your system entirely.

@flamme-demon
Copy link

flamme-demon commented Jul 23, 2021

After shutting down or restarting the VM, the device is not usable at all until the physical machine is fully restarted or it is located.
Windows displays it as error 43, but for me it is no longer acceccible.

@gnif
Copy link
Owner

gnif commented Jul 23, 2021

Windows displays it as error 43

You can clearly still start a VM up with vfio-pci bound to the device even if non functional. I say again, this is NOT the reset bug, you have something else wrong with your system, perhaps a motherboard that isn't playing nice with VFIO/IOMMU, as is common.

The reset bug prevents the VM from even being able to start as vfio-pci tries and fails to reset the device resulting in a hung or completely broken PCIe device on the bus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants