phiea opened a new issue, #12957:
URL: https://github.com/apache/cloudstack/issues/12957

   ### 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
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to