Skip to content

GPU Discovery not detecting AMD Mi2xx GPUs #12957

Closed

Description

@phiea

problem

I have the same problem as in issue #11701

lspci -nnm | grep AMD | grep 210
03:00.0 "Display controller [0380]" "Advanced Micro Devices, Inc. [AMD/ATI] [1002]" "Aldebaran/MI200 [Instinct MI210] [740f]" -r02 -p00 "Advanced Micro Devices, Inc. [AMD/ATI] [1002]" "Aldebaran/MI200 [Instinct MI210] [0c34]"
06:00.0 "Display controller [0380]" "Advanced Micro Devices, Inc. [AMD/ATI] [1002]" "Aldebaran/MI200 [Instinct MI210] [740f]" -r02 -p00 "Advanced Micro Devices, Inc. [AMD/ATI] [1002]" "Aldebaran/MI200 [Instinct MI210] [0c34]"

i allready tested the fix and it works like that.

i will send a patch asap.

versions

GPU : AMD Mi 210
Cloudstack : 4.22

The steps to reproduce the bug

/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/gpudiscovery.sh
{ "gpus": [

]}

What to do about it?

replace

        if [[ ! "$PCI_CLASS" =~ (3D\ controller|Processing\ accelerators) ]]; then
                continue
        fi

with

        if [[ ! "$PCI_CLASS" =~ (3D\ controller|Processing\ accelerators|Display\ controller) ]]; then
                continue
        fi

Activity

  1. boring-cyborg commented on Apr 2, 2026

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. phiea commented on Apr 3, 2026

    @phiea
    ContributorAuthor

    sent a PR #12959

  3. linked a pull request that will close this issueAdd Display controller to GPU class check #12959on Apr 3, 2026
  4. added this to the 4.23.0 milestone on Apr 8, 2026
  5. modified the milestones: 4.23.0, 4.22.1 on Apr 10, 2026
  6. sureshanaparti commented on Apr 10, 2026

    @sureshanaparti
    Contributor

    Fixed in #12981

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

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions