Skip to content

KVM Support for Navi21 (v620) #6

Open

Description

@Lyky35

Please add support for v620 and bring new life into this e-waste.

Thank You!
Regards

Activity

  1. krlc commented on May 28, 2025

    @krlc

    I second that! Such good hardware being underutilized, so much wasted potential.

  2. tkiblin commented on May 28, 2025

    @tkiblin

    I agree, we have some V620's sitting idle and this would be awesome to put them to use.

  3. jbrukardt commented on May 29, 2025

    @jbrukardt

    Have multiple racks full of these from a cloud-gaming center that would be excellent if supported.

  4. neggles commented on May 29, 2025

    @neggles

    dupe of #1, see discussion there (tl;dr: "we're working on it but can't promise anything")

  5. amd-mwevers commented on May 29, 2025

    @amd-mwevers

    Hello, V620 is a datacenter GPU that AMD sells to cloud service providers and channel partners. We provide partners with closed source host software including KVM host drivers. Authorized AMD partners can get in touch with their AMD account reps to get access to host software for this device. AMD doesn't provide drivers or support for these GPUs outside of that context.

    As a couple of other AMDers have noted in other threads, the product team is aware of the demand for KVM SR-IOV and passthrough drivers. AMD is trending towards open sourcing our software and drivers, so this request aligns with our general strategy. Unfortunately I can't make public statements about the timing or availability of KVM drivers for RDNA, but keep your eyes on this project for future updates.

  6. cebarks commented on May 30, 2025

    @cebarks

    I found this which seems to suggest v620 is supported by GIM? or is the GIM that is mentioned in that the closed source version? https://rocm.docs.amd.com/en/latest/how-to/system-optimization/w6000-v620.html

  7. Lyky35 commented on May 30, 2025

    @Lyky35
    Author

    Hello, V620 is a datacenter GPU that AMD sells to cloud service providers and channel partners. We provide partners with closed source host software including KVM host drivers. Authorized AMD partners can get in touch with their AMD account reps to get access to host software for this device. AMD doesn't provide drivers or support for these GPUs outside of that context.

    As a couple of other AMDers have noted in other threads, the product team is aware of the demand for KVM SR-IOV and passthrough drivers. AMD is trending towards open sourcing our software and drivers, so this request aligns with our general strategy. Unfortunately I can't make public statements about the timing or availability of KVM drivers for RDNA, but keep your eyes on this project for future updates.

    Thank you for taking your time to respond, this is far more than what we have gotten in years. We would really love amd if they allowed us (enthusiasts) to have some nice things for a change. I will, and many others will watch this repo with great expectations.

    Regards

  8. nato444 commented on Jun 2, 2025

    @nato444

    I have a large amount of V620s that would benefit from having KVM SR-IOV support. It would be great!

  9. cb88 commented on Aug 28, 2025

    @cb88

    Hello, V620 is a datacenter GPU that AMD sells to cloud service providers and channel partners.

    There is an enormous amount of "cloud" virtualization that occurs at the mid sized to SMB level. Ignoring entire markets is embarrassing. See the fall of VmWare after Broadcom ignored exactly this market. The small market is often where the mindshare for larger markets is gained. It's very likely entire larger corporations are ignoring this product because software isn't provided at the same level of openness and quality as the rest of AMD's offerings.

  10. jon-hotaisle commented on Aug 28, 2025

    @jon-hotaisle

    @cb88 Not to get into a huge debate here, but Broadcom raised VMware prices, which was the cause of the fall. It had nothing to do with hardware being supported or anyone being ignored.

    Mark also responded above. AMD isn't ignoring things.

  11. cb88 commented on Aug 28, 2025

    @cb88

    @cb88 Not to get into a huge debate here, but Broadcom raised VMware prices, which was the cause of the fall. It had nothing to do with hardware being supported or anyone being ignored.

    Mark also responded above. AMD isn't ignoring things.

    It's a big picture issue dont' get caught up in nit picking. October 3rd, 2024... that is when this should have been up and available.

  12. nato444 commented on Oct 23, 2025

    @nato444

    @amd-mwevers @amd-guangren Is there any ETA to share for KVM support for V620 GPUs? Or perhaps a general roadmap of some kind? Thanks!

  13. FlorianHeigl commented on Dec 1, 2025

    @FlorianHeigl

    Hello, V620 is a datacenter GPU that AMD sells to cloud service providers and channel partners. We provide partners with closed source host software including KVM host drivers. Authorized AMD partners can get in touch with their AMD account reps to get access to host software for this device. AMD doesn't provide drivers or support for these GPUs outside of that context.

    I am gonna just state the obvious here. I'm not writing this to be a PITA or to offend at all, but to put it out in clear words that need to be said.

    • the apparent best way forward is for AMD to change this policy
    • understandably, that should only be once these providers and partners don't rely on the card for competitive advantages any longer
    • which, given the card's age, is likely already the case
    • it is neccessary since until then there's no incentive to get into any relationship. If I have to go via channels to use a product, then I'd still be incentivized to go with the other vendor, where this is a much easier endeavour of just putting the money into their -very- open hands
    • for AMD the proposition is different: does it want a much larger market share for free or not :-)

    Time is ticking since now "the community" is already starting to really revive the Mi50 etc. ecosystem.
    AMD should be a part of that move and support it while it's cheap and gets reputation up.

  14. amd-mwevers commented on Dec 1, 2025

    @amd-mwevers

    Hello,

    The challenge with supporting V620 with KVM is that these devices were never supposed to be 'out in the wild' - they were sold to specific cloud customers and a few resellers who were provided closed source KVM host software to go with the devices. I understand that several hundred of these devices were sold via the grey market - for example, devices that were damaged in shipping which were meant to be destroyed, but were instead repaired and sold at retail - but it has never been AMD's intention that V620 be sold / supported as a retail product. While we want to make all customers happy, providing support for grey market retail products is not in the company's best interest. If you acquired the devices from a legitimate AMD reseller, that is a different story - please contact your reseller to get the closed source V620 KVM host driver. Radeon PRO V710 is actually in a similar situation as V620 but due to the larger number of smaller resellers, and the fact that they are in active production, AMD decided to make the MxGPU driver for V710 public.

    The recently launched AMD Radeon AI PRO R9700 (https://www.youtube.com/watch?v=efQPFhZmhAo) was launched on October 27th via retail channels and is intended for enterprise AI and graphics use cases. It supports KVM only at the moment, although we are reviewing ESXi support. It does not support SR-IOV, but it supports other multi-user frameworks such as Windows Server multi-session and Docker containers.
    A passively cooled variant intended for servers (Radeon AI PRO 9700S) was announced on Friday and is coming 'shortly'. https://www.techpowerup.com/343404/amd-plans-to-release-radeon-ai-pro-r9700s-and-r9600d-graphics-cards

    I can't make any statements at this point about future SR-IOV support, I can only state that it is not present in the R9700S.

  15. FlorianHeigl commented on Dec 1, 2025

    @FlorianHeigl
  16. Lyky35 commented on Dec 1, 2025

    @Lyky35
    Author

    kvm support - you can pretty much passthrough any amd, nv card. But all cards do work if you put in some work.

    sr-iov is the desirable feature every pro-user wants - well as long as windows is relevant, and that may not last... and if we can use native linux for everything, we no longer will need it. *(if amd wants to behave akin to nv, you guys can limit how many vgpu's we can create from single gpu - and make one driver/firmware stack public and other for enterprise.)

    At this point, I can clearly say since AMD doesn't want to release EoSL gpu sriov driver to the public, Intel B60 seems like best choice for sr-iov gpu on the market that doesn't cost kidney, and most important works without any shenanigan's. *(and thats sad, that we have to go for intel.)

  17. nochristrequired commented on Dec 1, 2025

    @nochristrequired

    @amd-mwevers Can you please help clarify what's preventing AMD from releasing gim support for the V620, if such support already exists today and is simply not included in the open source gim repo? What's the harm with including a few extra firmware blobs and simply releasing "as-is" without warranty. The only thing I can think of would be partner agreements (prevent competition and/or force cloud customers to go through AMD, which I think they'd do anyway since they're requesting the product).

    Also, I'm not trying to invalidate your statements regarding gray market sales, but I did want to mention that the V620s I've purchased through unofficial channels were brand new (in bulk packaging) and these sellers state that they have hundreds of them like this.

    Folks are buying them with the impression that they can be used with SR-IOV capabilities out-of-the-box and then finding a sour experience. It also doesn't help that MxGPU was always marketed as being an "open" alternative to NVIDIA. I can point you to AMD's own literature. Folks (such as myself) have used vfio pass-through on retail cards for many years and that's also a poor experience (with FLR bugs, needing to use display dongles, and overall friction) where as the V620 is well suited for this task from a firmware / driver standpoint.

  18. missmah commented on Dec 19, 2025

    @missmah

    Is there any ETA for mi50/mi60/mi100 KVM SR-IOV support? Thanks!

  19. valpackett commented on Dec 19, 2025

    @valpackett

    It's a real shame none of the three PCIe GPU vendors want to make SR-IOV a standard feature and are still playing these market segmentation and exclusivity games. We (@QubesOS) would like to have the option to use SR-IOV everywhere, including all laptop iGPUs.

  20. Robert-ReviewInProgress commented on Sep 4, 2026

    @Robert-ReviewInProgress

    Update: significant progress testing Radeon Pro V620 / Navi21 with the open-source GIM driver

    I’ve spent the last several days porting and instrumenting the current open-source GIM driver against a physical Radeon Pro V620 (1002:73a1, VF 1002:73ae) on a Proxmox/KVM host. I got considerably further than I expected.

    What is working

    • GIM successfully identifies the V620 and its SR-IOV capability.

    • The card reports 12 total VFs.

    • GIM reads the GPU-IOV/VSEC configuration correctly.

    • I can assign roughly 30 GB of framebuffer to a VF.

    • I can successfully create a real PCI VF (1002:73ae).

    • Mailbox/interrupt initialization works.

    • The hardware scheduler initializes and the world switch becomes live.

    • A standard Linux amdgpu guest driver detects the VF.

    • Host ↔ VF initialization messaging works.

    • The REQ_INIT_DATA handshake succeeds.

    • The VF successfully reaches:

      VF0 entered full access mode.

    Immediately afterward, however, the guest fails while reading IP discovery:

     amdgpu: get invalid ip discovery binary signature
     amdgpu: [drm] *ERROR* discovery failed: -22
     amdgpu: Fatal error during GPU init
    

    I verified that the host does write the valid IP discovery table into the expected framebuffer location:

     table_off=0x77dff0000
     src[0..1]=28211407 00010001
    

    I then instrumented the running guest amdgpu driver with a kprobe and confirmed that the guest is requesting the addresses I independently calculated. So this does not appear to be a simple framebuffer-offset error.

    The interesting result
    I compared the same live hardware register through the PF MMIO aperture and the VF MMIO aperture.
    With the VF running:

     VF-BAR = 0x00000000     PF-BAR = 0x00000060
     VF-BAR = 0x00000000     PF-BAR = 0x00000060
     VF-BAR = 0x00000000     PF-BAR = 0x00000060
    

    The PF path returns live hardware values while the VF-side register aperture remains zero.
    I also verified the standard PCIe SR-IOV controls:

     IOVCtl: Enable+ Migration- Interrupt- MSE+ ARIHierarchy+
    

    and tested the VF command register:

     before:       0x0000
     write:        0x0006
     read-back:    0x0004
    

    Bus Master Enable persists while VF Memory Space Enable is governed centrally through the PF SR-IOV capability, as expected.

    Current working theory / question
    I do not think this proves that VF register virtualization is physically absent from Navi21. What it does appear to show is that the public GIM initialization path I currently have is not enabling the V620 VF MMIO/register aperture in the way the guest driver expects. The question I’m hoping someone familiar with AMD GPU virtualization can answer is:

    What Navi21/V620-specific initialization is required to make the per-VF MMIO/register aperture functional?

    Possibilities I have not been able to rule out include:

    • an undocumented NBIO register sequence,
    • a PSP/firmware command,
    • ASIC-specific initialization that existed in AMD's older/private V620 GIM implementation,
    • another vendor-specific SR-IOV enablement step,
    • or an actual hardware/firmware limitation.

    I also compared multiple V620 VBIOS builds, including a Tencent-tagged image. My card identifies itself as:

     113-D6030500-100
     AMD_NAVI21_D60305_GLXL_A1_GDDR6_32GB_ZT
    

    while another public V620 image contains:

     AMD_NAVI21_D60304_GLXE_A1_GDDR6_32GB_TENCENT
    

    I have not cross-flashed these cards because I do not have enough evidence that VBIOS is responsible for this behavior, and the board/subsystem differences make that unnecessarily risky. For context, this investigation is now roughly 70 documented test stages, including several experiments that hard-locked the host while I was probing unverified register paths. I reverted those unsafe experiments. If an AMD engineer or anyone who has worked with the original V620 MxGPU/GIM implementation can clarify what enables VF register/MMIO decode on Navi21, even just confirming whether an additional proprietary initialization step exists, that would be extremely helpful. I’m happy to provide logs, patches, register traces, or specific test results if useful.

    Thanks you in advance to anyone who can help me continue to move this forward for the linux community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions