cancel
Showing results for 
Search instead for 
Did you mean: 

AI Discussions

mijo
Journeyman III

Unable to make rocm work on Linux

I've just built a new pc with a Ryzen 7 9700x, a Radeon RX 7600xt and a Linux Mint 22.1 OS (based on Ubuntu 24.01). I want to install Rocm on my GPU to run local LLMs on apps like GPT4all or LMstudio and I've followed these instructions: https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/native_linux/install-radeon.html

The installation process seems to be completed without any error, but when a run the post-install verification checks indicated in that web, I get this:

 

~ grups

user adm cdrom sudo dip video plugdev users lpadmin sambashare render

 

~ dkms status
amdgpu/6.10.5-2095006.24.04, 6.8.0-51-generic, amd64: installed

 

~ clinfo

Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3635.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns

Platform Name AMD Accelerated Parallel Processing
Number of devices 0

NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) AMD Accelerated Parallel Processing
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No devices found in platform [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 platform

ICD loader properties
ICD loader Name OpenCL ICD Loaderns
ICD loader Vendor OCL Icd free softwarens
ICD loader Version 2.3.2ns
ICD loader Profile OpenCL 3.0ns

 

~ rocminfo

the command rocminfo wasn't found. You can install it with sudo apt install rocminfo

 

~ sudo apt install rocminfo

rocminfo is already in its newest version

 

 

What's going wrong?

 

Thank you for your help

 

 

 

0 Likes
1 Reply