RX 6800 VFIO performance is trash

This page summarizes the projects mentioned and recommended in the original post on /r/VFIO

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • edk2

    EDK II

  • HW is: - MB: MSI X370 XPOWER GAMING TITANIUM - CPU: 1800X - GPU: PowerColor Red Devil RX 6800 [GUEST] - GPU: Gigabyte GTX 960 2GB (proprietary driver) [HOST] Software [GUEST]: - Win10, fully updated - Tried both WHQL (22.5.1) and the non-signed drivers (22.8.2) - no difference to speak of Software [HOST]: - Linux Gentoo, Kernel 5.19.9 (I tried Ubuntu kernel 5.19.5-051905, same exact performance) - /proc/cmdline: BOOT_IMAGE=/vmlinuz-5.19.9-gentoo root=UUID=<...cut...> ro rootfstype=ext4 video=vesafb:off,efifb:off nvme_core.default_ps_max_latency_us=5500 iommu=pt amd_iommu=on - QEMU 7.0.0-r3 - OVMF from https://github.com/tianocore/edk2/ repo, I tried the version built on 2022-02-03 and 2022-09-18 - both run same My QEMU config (I don't use libvirt): https://pastebin.com/ezvMvzjC After spending the last week trying to find a solution or a workaround, I've tried many different config tweaks and options, not a single one made difference. Config now looks like this: https://pastebin.com/R26geeFG

  • QEMU

    Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.

  • One thing to note with the QEMU options is that I plug VFIO GPU into ioh3420 PCIE root port, following this: https://github.com/qemu/qemu/blob/master/docs/pcie.txt . The doc says that plugging PCIE device into PCI bus should never be done. I've also tried pcie-root-port - didn't help. Tried plugging it directly too, GPU just cycles , powering off and on, displaying nothing, Device Manager says Code 43.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts