Originally posted by ernstp
View Post
Announcement
Collapse
No announcement yet.
Radeon ROCm 5.0 Released With Some RDNA2 GPU Support
Collapse
X
-
Originally posted by ernstp View Post
Yeah I mean that as a slight tweak to the ROCm install instructions! If you follow them you will see what I mean.
EDIT:
@Maxzor thanks for the link, I will have a look.
EDIT2:
I had a look. Garbage, just like half a years ago when I checked last time.
It says (attached picture)
Chances that these .deb files and repository will work with my 5.15 Debian Testing are minimal. Last time I spend a few days trying it, no luck.Last edited by piorunz; 11 February 2022, 12:10 PM.
Comment
-
Originally posted by LumielGR View Post
Man, you are fast, I haven't even released the package yet :P
Thank you for the package!
- Likes 2
Comment
-
Originally posted by piorunz View Post
Of course, I already told you the results. This package does not exist in Debian.
https://packages.debian.org/search?s...ds=rocm-opencl
The official install instructions are arguably still not great, but chances that ROCm works with your 5.15 kernel are sky high (it works here)!
Generally the ROCm documentation/press release teams are wayy too conservative when talking about "official support", and at the same time the support team is not reactive enough in the github issues. But the stack, given a bit of involvement, works suprprisingly well.Last edited by Maxzor; 11 February 2022, 12:30 PM.
Comment
-
Originally posted by piorunz View Post
Of course, I already told you the results. This package does not exist in Debian.
https://packages.debian.org/search?s...ds=rocm-opencl
Edit: here https://rocmdocs.amd.com/en/latest/I...de.html#ubuntu for example.
Then go the path of upstream kernel and install rocm-opencl.Last edited by ernstp; 11 February 2022, 12:33 PM.
- Likes 1
Comment
-
Originally posted by ernstp View Post
You have to follow the installation guide for Ubuntu of course!
Edit: here https://rocmdocs.amd.com/en/latest/I...de.html#ubuntu for example.
Then go the path of upstream kernel and install rocm-opencl.
Code:[FONT=monospace][COLOR=#000000]$ sudo apt install rocm-dkms [/COLOR] Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: rocm-dkms : Depends: rocm-dev but it is not going to be installed Depends: rock-dkms but it is not installable[/FONT]
rock-dkms does not exist in ROCm 5.0 repository, see for yourself:
So I tried ROCm 4.5.2 (repository https://repo.radeon.com/rocm/apt/4.5.2/)
Same result.
Code:[FONT=monospace][COLOR=#000000]The following packages have unmet dependencies: [/COLOR] rocm-dkms : Depends: rocm-dev but it is not going to be installed Depends: rock-dkms but it is not installable [COLOR=#ff5454][B]E: [/B][/COLOR][COLOR=#000000]Unable to correct problems, you have held broken packages.[/COLOR][/FONT]
Code:[FONT=monospace][COLOR=#000000]$ sudo apt install rocm-dev [/COLOR] Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: openmp-extras : Depends: libstdc++-5-dev but it is not installable or libstdc++-7-dev but it is not installable Depends: libgcc-5-dev but it is not installable or libgcc-7-dev but it is not installable rocm-gdb : Depends: libpython3.8 but it is not installable rocm-llvm : Depends: python but it is not installable Depends: libstdc++-5-dev but it is not installable or libstdc++-7-dev but it is not installable Depends: libgcc-5-dev but it is not installable or libgcc-7-dev but it is not installable Recommends: gcc-multilib but it is not going to be installed Recommends: g++-multilib but it is not going to be installed [COLOR=#ff5454][B]E: [/B][/COLOR][COLOR=#000000]Unable to correct problems, you have held broken packages.[/COLOR][/FONT]
I checked, packages:
Code:libstdc++-7-dev libgcc-5-dev libgcc-7-dev libpython3.8
Comment
-
Originally posted by piorunz View Post...Last edited by Maxzor; 11 February 2022, 01:03 PM.
- Likes 1
Comment
-
Originally posted by vein View Post
HAha...ok I was too fast, I hadn't updated my system in a while and got an update on the package now and saw it was now using the rocm... but as I get it..it is not 5.0.0..bu the old version runs good on my fury card
Thank you for the package!
p.s You also need `opencl-amd-dev` package if you want ML libraries and OpenCL / HIP SDK.
- Likes 3
Comment
-
Originally posted by ernstp View Post
I added http://repo.radeon.com/rocm/apt/debian/
And then, don't install rocm-dkms, install rocm-opencl....
Code:[FONT=monospace][COLOR=#000000]$ sudo apt install rocm-opencl rocm-opencl-runtime [/COLOR] Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: comgr hsa-rocr hsa-rocr-dev hsakmt-roct-dev libdrm-dev libpciaccess-dev rocm-core rocm-device-libs rocm-language-runtime rocm-ocl-icd Recommended packages: libdrm-amdgpu-amdgpu1 The following NEW packages will be installed: comgr hsa-rocr hsa-rocr-dev hsakmt-roct-dev libdrm-dev libpciaccess-dev rocm-core rocm-device-libs rocm-language-runtime rocm-ocl-icd rocm-opencl rocm-opencl-runtime 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.[/FONT]
But... My GPU is still not visible.
Code:$ clinfo Number of platforms 1 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 2.2 AMD-APP (3406.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, ...) No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform clCreateContext(NULL, ...) [default] No platform clCreateContext(NULL, ...) [other] 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
Comment
Comment