Skip to content

GPU Discovery not detecting AMD Mi2xx GPUs #12957

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions