rusticl: Max memory allocation only 2GiB on 12GiB card
System information
System:
Host: zipdox-pc Kernel: 6.5.0-1-rt-amd64 arch: x86_64 bits: 64 compiler: gcc
v: 13.2.0 Desktop: Cinnamon v: 5.6.8 tk: GTK v: 3.24.38 dm: LightDM
Distro: Debian GNU/Linux trixie/sid
CPU:
Info: 6-core model: Intel Xeon E5-1650 v2 bits: 64 type: MT MCP
arch: Ivy Bridge rev: 4 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
Speed (MHz): avg: 3182 high: 4100 min/max: 1200/4100 cores: 1: 2842
2: 2682 3: 2043 4: 3492 5: 2985 6: 3492 7: 3408 8: 3224 9: 3323 10: 4100
11: 3188 12: 3405 bogomips: 83806
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s
lanes: 16 ports: active: DP-2,HDMI-A-1 empty: DP-1,DP-3 bus-ID: 05:00.0
chip-ID: 1002:73df
Display: x11 server: X.Org v: 1.21.1.8 with: Xwayland v: 23.2.0 driver: X:
loaded: amdgpu dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3360x1080 s-dpi: 96
Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,right
model: Acer CB242Y res: 1920x1080 dpi: 93 diag: 604mm (23.8")
Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: left model: Acer B193W
res: 1440x900 dpi: 90 diag: 472mm (18.6")
API: OpenGL v: 4.6 Mesa 23.2.0~rc3-2 renderer: AMD Radeon RX 6700 XT
(navi22 LLVM 15.0.7 DRM 3.54 6.5.0-1-rt-amd64) direct-render: Yes
Describe the issue
The ruscicl ICD only allows a max memory allocation of 2147483648 (2GiB).
Log files as attachment
- Output of
RUSTICL_ENABLE=radeonsi clinfo -d0:0
: https://gitlab.freedesktop.org/-/snippets/7686
Any extra information would be greatly appreciated
The Clover ICD allows 3221225472 (3GiB) to be allocated but it doesn't support Navi cards IIRC and spits out this error when tried:
fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': No such file or directory
Another issue told me to use rusticl instead.