Skip to content
\nIn this case, \"3D controller\" is the PCI class.\n
  • Edit the gpudiscovery.sh script on the hosts and add the PCI class to the regex if it's missing.
    \n
    \n \n
    \n \n\n \n \n \n \n
    if [[ ! \"$PCI_CLASS\" =~ (3D\\ controller|Processing\\ accelerators) ]]; then
    \n
    \n
    \n
  • \n
  • Restart the cloudstack-agent service.
  • \n\n

    Also, ensure that you have pciutils & xmlstarlet installed on the hosts as well.

    \n

    If all this doesn't work, please share the output of the gpudiscovery.sh script on the host.

    ","upvoteCount":1,"url":"https://github.com/apache/cloudstack/discussions/12339#discussioncomment-15360329"}}}
    Discussion options

    You must be logged in to vote

    @TheKunalSen This is probably because nvidia rtx 3060 is a consumer grade GPU and the type of device is probably something other than 3D controller or Processing accelerators.

    To make it work,

    1. Execute the below command to check the pci class of the nvidia GPU card
      sudo lspci -nnm | grep -i nvidia
      01:00.0 "3D controller [0302]" "NVIDIA Corporation [10de]" "GA107M [GeForce RTX 3050 Ti Mobile] [25a0]" -ra1 -p00 "Dell [1028]" "Device [0b19]"
      In this case, "3D controller" is the PCI class.
    2. Edit the gpudiscovery.sh script on the hosts and add the PCI class to the regex if it's missing.
      if [[ ! "$PCI_CLASS" =~ (3D

    Replies: 1 comment 8 replies

    Comment options

    You must be logged in to vote
    8 replies
    @tatay188
    Comment options

    @TheKunalSen
    Comment options

    @tatay188
    Comment options

    @vishesh92
    Comment options

    @TheKunalSen
    Comment options

    Answer selected by TheKunalSen
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Category
    Q&A
    Labels
    None yet
    5 participants