AMD GPU driver issue
#1
hello,
I am playing with Ubuntu for some weeks now  and want to go feather. I have an AMD RX 480 and try cracking with it but I have problems with the drivers.
Most time I followed the introduction "I may have the wrong driver installed, what should I do?" (only with point 4 I am not sure). So I installed ROCm and "/opt/rocm/bin/rocminfo" show me my RX480 (gfx803) but when i try to run the hashcat-benchmark following issue appears:
Code:
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

Cannot find an OpenCL ICD loader library.

You are probably missing the native OpenCL runtime or driver for your platform.

* AMD GPUs on Linux require this runtime and/or driver:
 "RadeonOpenCompute (ROCm)" Software Platform (1.6.180 or later)
* Intel CPUs require this runtime and/or driver:
 "OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
* Intel GPUs on Linux require this runtime and/or driver:
 "OpenCL 2.0 GPU Driver Package for Linux" (2.0 or later)
* NVIDIA GPUs require this runtime and/or driver:
 "NVIDIA Driver" (367.x or later)
What can i do?
Reply
#2
do you have a icd loader installed?
Reply
#3
I don't think so. How can I check?
Reply
#4
apt-get install ocl-icd-libopencl1 should do the trick I think.
Reply
#5
Icd loader is installed but the problem still exists.
Reply
#6
It's not installed correctly if you get that error message.
Reply
#7
But why should I need icd when I have Rocm?
Why hashcat does not find Rocm/ my Gpu?
Reply
#8
Even with rocm we still need OpenCL runtime and the OpenCL runtime needs the OpenCL ICD.
Reply