Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2797

WLS ROCm install problems: possibly no GPU devices

$
0
0

I've been trying to instal ROCm but when running command rocminfo I get this outcome:

libkmod: ERROR ../libkmod/libkmod-module.c:1657 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directoryError: could not get list of modules: No such file or directoryROCk module is NOT loaded, possibly no GPU devices

And when running command clinfo command after installing it, I get this outcome, with 0 devices:

Number of platforms                               1  Platform Name                                   AMD Accelerated Parallel Processing  Platform Vendor                                 Advanced Micro Devices, Inc.  Platform Version                                OpenCL 2.2 AMD-APP (3361.0)  Platform Profile                                FULL_PROFILE  Platform Extensions                             cl_khr_icd cl_amd_event_callback  Platform Host timer resolution                  100ns  Platform Extensions function suffix             AMD  Platform Name                                   AMD Accelerated Parallel ProcessingNumber of devices                                 0NULL platform behavior  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  AMD Accelerated Parallel Processing  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   AMD Accelerated Parallel Processing  clCreateContext(NULL, ...) [default]            No devices found in platform  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platformICD loader properties  ICD loader Name                                 OpenCL ICD Loader  ICD loader Vendor                               OCL Icd free software  ICD loader Version                              2.2.11  ICD loader Profile                              OpenCL 2.1        NOTE:   your OpenCL library only supports OpenCL 2.1,                but some installed platforms support OpenCL 2.2.                Programs using 2.2 features may crash                or behave unexepectedly

I'm working on a Windows device with Ubuntu 18.04 LTS. Kernel version 5.5.0. And I have AMD Radeon Vega 8 Graphics.The installation of ROCm was made as follows:I downloaded Kernel 5.5

wget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.debwget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.debwget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.debwget kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb sudo dpkg -i linux-headers-5.0.0*.deb linux-image-unsigned-5.0.0*.deb linux-modules-5.0.0*.deb

I rebooted the system and then downloaded and installed amdgpu-install:

$ sudo apt-get update$ wget https://repo.radeon.com/amdgpu-install/21.40/ubuntu/bionic/amdgpu-install-21.40.40500-1_all.deb$ sudo apt-get install ./amdgpu-install-21.40.40500-1_all.deb$ sudo apt-get update$ sudo amdgpu-install --usecase=opencl,rocm --no-dkms

Rebooted one more time. And added myself to the video group:

sudo usermod -a -G video $LOGNAME

I didn't get any error messages until running clinfo and rocminfo. Can somebody tell me what am I doing wrong?P.D: I'm trying to get ROCm OpenCl to use my GPU with GROMACS


Viewing all articles
Browse latest Browse all 2797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>