0 Replies Latest reply on May 5, 2018 7:15 AM by hypert

    amdgpu-pro-install 18.10 --headless misses dkms and libdrm

    hypert

      On as fresh Ubuntu Server 16.04.4 setup, with all packages up-to-date, trying to install amdgpu-pro with the --headless parameter fails because several required packages are not selected for installation. Actually, the installation script terminates successfully, and only reports a warning:

      WARNING: amdgpu dkms failed for running kernel
      

       

      After reboot, no OpenCL devices are reported by /opt/amdgpu-pro/bin/clinfo and it actually core dumps:

      terminate called after throwing an instance of 'cl::Error'
        what():  clGetPlatformIDs
      Aborted (core dumped)
      

       

      Installing of the following packages, followed by a reboot, fixes the issue:

      apt install amdgpu-dkms libdrm-amdgpu-amdgpu1 libdrm-amdgpu1 libdrm2-amdgpu
      

       

      Please fix your installation script, adding all the necessary packages as dependency on the --headless install.