Andrzej Janik
Andrzej Janik
On the host I just followed the official instructions (https://rocm.docs.amd.com/en/docs-5.7.1/deploy/linux/os-native/install.html). Same for the container, but not using every package. You can check ZLUDA's devcontainer (https://github.com/vosen/ZLUDA/blob/master/.devcontainer/Dockerfile-common) for the exact commands. `cat...
AFAIK version reported by amdgpu is the kernel version it has been backported from. In my case (on host): ``` vosen@bunker:~$ apt show amdgpu-dkms Package: amdgpu-dkms Version: 1:6.2.4.50701-1664922.22.04 Priority: optional...
This is probably fine, tho I'd remove amdgpu-dkms in the container. The "Is a directory" error is probably because you skipped the space between "cat" and "/sys/module/amdgpu/version"? Does it work...
Does it happen with every scene? Can you try Blender test scenes from here: http://download.blender.org/demo/test/cycles_benchmark_20160228.zip and rendering e.g. benchmark/bmw27/bmw27_gpu.blend using command line like this with HIP debugging: ``` AMD_LOG_LEVEL=3 LD_LIBRARY_PATH=":$LD_LIBRARY_PATH"...
> Some of the code could've been done better, but well, at least now it works properly Yes, te vprintf code is not very good. And difficult to test properly:...
For quick tests I usually use geekbench 5 (https://www.geekbench.com/legacy/, 6 does not support CUDA anymore): `geekbench_x86_64 --compute CUDA`
ROCm: https://rocm.docs.amd.com/en/latest/deploy/linux/install_overview.html
Try troubleshooting steps: https://github.com/vosen/ZLUDA/blob/master/TROUBLESHOOTING.md
``` note: /usr/bin/ld: cannot find -lamdhip64 /usr/bin/ld: cannot find -lrocsolver /usr/bin/ld: cannot find -lrocblas ``` You need to install ROCm: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/. Steps depend on your particular distro, but make sure...
Going by the log, you've built ZLUDA successfully, the warnings in the log are harmless. Binaries should be now located in `target\release`. Are you seeing some other issues not captured...