12-08-2023, 08:11 PM
I have used dual AMD rx6800 on Win11 and it worked fine. Just recently tried same config on Ubuntu 22.04.1 and stuck.
Followed AMD instructions to install AMD drivers and ROCM.
All went fine, then downloaded the latest hashcat and built, no errors. But when i tried to benchmark it failed.
Followed AMD instructions to install AMD drivers and ROCM.
Code:
sudo apt update
wget https://repo.radeon.com/amdgpu-install/23.20.00.48/ubuntu/jammy/amdgpu-install_5.7.00.48.50700-1_all.deb
sudo apt install ./amdgpu-install_5.7.00.48.50700-1_all.deb
sudo amdgpu-install -y --usecase=graphics,rocm
sudo usermod -a -G render,video $LOGNAME
All went fine, then downloaded the latest hashcat and built, no errors. But when i tried to benchmark it failed.
Code:
dem@xeon:~/Documents/hashcat$ sudo ./hashcat -b
hashcat (v6.2.6-846-g4d412c8e0) starting in benchmark mode
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.
HIP API (HIP 5.7.31921)
=======================
* Device #1: AMD Radeon RX 6800, 16332/16368 MB, 30MCU
* Device #2: AMD Radeon RX 6800, 16340/16368 MB, 30MCU
OpenCL API (OpenCL 2.1 AMD-APP (3590.0)) - Platform #1 [Advanced Micro Devices, Inc.]
=====================================================================================
* Device #3: AMD Radeon RX 6800, skipped
* Device #4: AMD Radeon RX 6800, skipped
OpenCL API (OpenCL 2.0 pocl 1.8 Linux, None+Asserts, RELOC, LLVM 11.1.0, SLEEF, DISTRO, POCL_DEBUG) - Platform #2 [The pocl project]
=====================================================================================================================================
* Device #5: pthread-Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz, skipped
Benchmark relevant options:
===========================
* --backend-devices-virtual=1
* --optimized-kernel-enable
-------------------
* Hash-Mode 0 (MD5)
-------------------
hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION
lld: error: undefined hidden symbol: __ockl_get_group_id
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_memset)
>>> referenced 7 more times
lld: error: undefined hidden symbol: __ockl_get_local_size
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_memset)
>>> referenced 7 more times
lld: error: undefined hidden symbol: __ockl_get_local_id
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_decompress)
>>> referenced by /home/dem/Documents/hashcat/comgr-00af85/input/LLVMBitcode.bc.o:(gpu_memset)
>>> referenced 7 more times
* Device #1: Kernel /home/dem/Documents/hashcat/OpenCL/shared.cl build failed.
* Device #1: Kernel /home/dem/Documents/hashcat/OpenCL/shared.cl build failed.