[Proposal & Call for Contributors] Community qualification of gfx803 (Polaris / RX 570–580) in TheRock

Linux-first, upstream-oriented: TheRock build → native HIP runtime → core libraries → Kubernetes DRA validation.

I’m Hsiu-Chi Tsai (@thc1006). I have been contributing to AMD’s Kubernetes DRA driver, particularly around device discovery, stable identity, recovery, CDI/checkpoint handling, and VFIO lifecycle correctness.

I would like to organize a community qualification effort for gfx803-class Polaris GPUs, initially focusing on Radeon RX 570 and RX 580 systems running Linux.

This is not a request for AMD to immediately declare production support, and it is not intended to become another collection of architecture override workarounds. The goal is to establish a reproducible, upstream-oriented baseline in TheRock, identify blockers component by component, contribute focused fixes and tests, and document the actual level of support.

Why now

AMD has consolidated GPU architecture bring-up and qualification work under TheRock. The current development support matrix includes several older GCN targets, but gfx803 is not currently represented.

There has been substantial community interest in Polaris support, but that demand has not yet been converted into a single engineering effort
with explicit owners, qualification gates, reproducible test results and narrowly scoped upstream changes.

I would like to help create that structure.

Proposed qualification stages

1. Kernel and KFD enumeration

  • The amdgpu driver binds successfully.
  • KFD exposes the GPU topology.
  • rocminfo enumerates the physical gfx803 device.
  • PCIe topology, atomic-operation requirements, IOMMU behavior, and board-specific differences are recorded.

2. Native HIP baseline

  • The current toolchain can target gfx803.
  • hipGetDeviceCount, hipMalloc, and hipMemcpy succeed.
  • A native --offload-arch=gfx803 vector-add kernel passes repeatedly.
  • Qualification does not rely on HSA_OVERRIDE_GFX_VERSION or replacing
    prebuilt libraries from unrelated releases.

Workarounds may still be useful for diagnosing blockers, but they should not count as passing the baseline.

3. Core library matrix

At minimum, record build and runtime status for:

  • rocBLAS
  • rocFFT
  • rocRAND
  • rocPRIM / hipCUB

Each component should be classified explicitly as supported, build failure, runtime failure, excluded by design, or not yet tested.

The initial goal does not need to include every ROCm library or complete PyTorch qualification.

4. Reproducible testing

  • Publish a hardware and software matrix for RX 570 and RX 580 boards.
  • Add small CI-friendly smoke tests where hardware-independent testing is possible.
  • Record the exact TheRock commit, kernel, OS, PCI IDs, and test commands for every result.
  • Keep failures separated by kernel/KFD, runtime/compiler, library, and framework layer.

5. Kubernetes DRA validation

Once the host ROCm baseline passes:

  • Verify that the AMD Kubernetes DRA driver publishes the device in a ResourceSlice.
  • Allocate it through a ResourceClaim.
  • Confirm that only the requested DRM nodes are exposed to the Pod.
  • Run rocminfo and the native HIP smoke test inside the Pod.
  • Exercise claim release, plugin restart, kubelet restart, and node reboot paths.

Initial scope

  • Linux first
  • gfx803-class RX 570 / RX 580 hardware
  • Community-qualified and experimental
  • Correctness and reproducibility before performance
  • No commitment requested for immediate production support
  • Unsupported components documented explicitly rather than hidden

What I am prepared to own

I can maintain the public qualification matrix, coordinate hardware test reports, investigate failures across the stack, submit focused PRs, add regression tests, and implement the Kubernetes DRA end-to-end validation.

I will keep implementation details and patches in GitHub. This forum topic would remain the coordination point and public progress summary, rather than becoming a second issue tracker.

Contributors needed

I am looking for:

  • RX 570 and RX 580 owners who can provide hardware-backed test results
  • TheRock build and packaging contributors
  • HIP, ROCR, LLVM, and ROCm library contributors
  • AMD maintainers who can help define acceptance gates and route component-specific changes

Hardware volunteers should include the exact GPU model, PCI IDs, VRAM, CPU, motherboard, kernel, Linux distribution, and whether the GPU is connected directly or through a riser.

Questions for AMD maintainers

  1. Would a community-maintained gfx803 target be acceptable in TheRock?
  2. What minimum build and runtime gates should be met before gfx803 can be listed in SUPPORTED_GPUS.md, initially without Sanity Tested or Release Ready status?
  3. Which ROCm components should be explicitly excluded from the first baseline?
  4. Who should review the first TheRock architecture/build changes?
  5. Is there an existing public CI or qualification pattern that this effort should reuse?

My proposed first milestone is intentionally small:

Current TheRock + native gfx803 HIP vector-add + reproducible RX 580
test result, without architecture override or binary substitution.

If that milestone is viable, we can expand the matrix one component at a time and eventually validate the full allocation path through Kubernetes DRA.

Now, the picture is clean :grinning_face:

The bad news, that official rocm version for rx580 is unsupported. And this call require a lot of resources to support.

But, the good news - I started to learn gpu from rx580 too :slight_smile:

You can check such portal that have a lot of materials about such gpus:

May be this article about passthrough this gpu to the vm on proxmox may help you with your idea to try dra:

1 Like

Note me if you decide to try it, I’d like to know about your results :wink:

1 Like

Thanks, Dear @Danila_Permogorskii. I agree with both points: RX 580 is not officially supported by current ROCm releases, and restoring a complete, production-qualified stack would require substantial ongoing resources.

That is why I am proposing a narrower community qualification effort, rather than asking AMD to immediately promise official production support.

I found that TheRock already provides an optional custom-target hook for out-of-tree architecture bring-up. My first experiment will therefore be small and measurable:

  1. register gfx803 as a local experimental target;
  2. build the minimal compiler and core runtime subset;
  3. verify rocminfo;
  4. run a native --offload-arch=gfx803 HIP vector-add;
  5. only then evaluate libraries and Kubernetes DRA.

The Vulkan article is useful evidence that Polaris still has practical value, although it validates a different backend from ROCm/HIP. The Proxmox guide may become useful later for VFIO isolation testing, while the first phase needs the GPU bound to amdgpu/KFD.

Do you still have access to an RX 570 or RX 580? If so, would you be willing to run a small reproducible inventory and smoke-test script once I publish it?

I will tag you when the first build notes and test package are ready.

Thanks for offering to follow the results.

So, good news for you there. Check you possibility to translate from russian into your browser.

I still have these gpus (rx580 spaphire), but they’re just sitting on the shelf

1 Like

In short, you should look for community built docker images