You are not logged in.

#1 2022-12-16 22:28:31

fermyon
Member
Registered: 2022-02-02
Posts: 3

Rusticl does not work with AMD Radeon RX 6700 XT GPU

I already installed the packages mentioned in the issue https://bugs.archlinux.org/task/76845?p … pencl-mesa. The rusticl platform shows up in clinfo, but it lists no devices.

❯ clinfo -l
Platform #0: Clover
`-- Device #0: AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.12-zen1-1-zen)
Platform #1: rusticl

In case it is relevant, I have also installed: ocl-icd, mesa, mesa-utils, opencl-mesa, vulkan-mesa-layers, libva-mesa-driver, lib32-mesa

Is this even supposed to work? This article https://www.phoronix.com/news/Rusticl-Outperformed-ROCm suggests that it should support my GPU.

Offline

#2 2022-12-17 00:21:12

angel6700
Member
Registered: 2009-09-06
Posts: 23

Re: Rusticl does not work with AMD Radeon RX 6700 XT GPU

Hello,

I have read this bug report: https://bugs.archlinux.org/task/76845?p … pencl-mesa
You may be missing these dependencies: spirv-tools" and/or spirv-llvm-translator

For  me it wen better after that, but still not working. rustcl is not detecting my card  (Radeon RX590)

  Platform Name                                   rusticl
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [MESA]
  clCreateContext(NULL, ...) [default]            Success [MESA]
  clCreateContext(NULL, ...) [other]              
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon RX 590 Series (polaris10, LLVM 14.0.6, DRM 3.48, 6.0.12-arch1-1)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon RX 590 Series (polaris10, LLVM 14.0.6, DRM 3.48, 6.0.12-arch1-1)
  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)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD Radeon RX 590 Series (polaris10, LLVM 14.0.6, DRM 3.48, 6.0.12-arch1-1)

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.3.1
  ICD loader Profile                              OpenCL 3.0

Offline

#3 2022-12-17 14:24:53

fermyon
Member
Registered: 2022-02-02
Posts: 3

Re: Rusticl does not work with AMD Radeon RX 6700 XT GPU

Thanks for your reply. As mentioned in my post, I have already installed the spirv-tools and spirv-llvm-translator. Before installing, I got no output from clinfo. With these packages, I get the same output as you. But it seems the issue is not just for me.

Offline

#4 2022-12-20 10:19:24

angel6700
Member
Registered: 2009-09-06
Posts: 23

Re: Rusticl does not work with AMD Radeon RX 6700 XT GPU

Hello,

I'm sorry for not paying attention to your first link pointing exactly at the location as the one I posted..

After reading around about the subject. My guess is that radeonsi driver is not implemented into mesa 22.3 , look at this:
https://gitlab.freedesktop.org/mesa/mes … ests/19232

I'm not sure it is merged into the branch which is used here.

Edited: I mean radeonsi driver for rusticl.

Last edited by angel6700 (2022-12-20 16:51:40)

Offline

#5 2022-12-21 17:55:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,048

Re: Rusticl does not work with AMD Radeon RX 6700 XT GPU

Very interesting & useful link, thanks .

It indicates the support for radeonsi on rusticl hasn't been merged to main sofar and thus is not even in aur mesa-minimal-git or lordheavy's mesa-git (aur mesa-git doesn't include rusticl yet) .

Since mesa branches off stable versions from main and usually only backports fixes, even if this code makes is to main soon it's unlikely to land in stable before the next major version (probably 23.0) is branched off in a few months.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB