clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR Hashcat

Kak*_*ime 5 opencl archlinux hashcat

Zen Archlinux我正在尝试在我的内核版本上运行 hashcat 4.15.4-1-zen。我有一个 NVIDIA Geforce 920MX 和一个 Intel i6189DU。我安装了最新的nvidia-dkms驱动程序和opencl-nvidia软件包。我还安装了最新的 Hashcat 版本。

当我运行 hashcat 命令时,我收到此错误:clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR。我使用一个工具来确定可用的 openCL 平台clinfo,输出仅显示我的 CPU 平台,而不显示我的 GPU,但该hashcat命令仍然输出相同的错误。

有什么帮助吗?

bin*_*ils 7

各位 Archer,我找到了一种修复损坏的 hashcat 的方法,如您所见:

\n
    $ hashcat -b\n    hashcat (...) starting in benchmark mode...\n\n    clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR\n\n    ATTENTION! No OpenCL-compatible or CUDA-compatible platform found.\n    You are probably missing the OpenCL or CUDA runtime installation.\n\n    $ pacman -S clinfo\n    $ clinfo \n    Number of platforms                               0\n
Run Code Online (Sandbox Code Playgroud)\n

解决此问题的一种方法是安装 pocl(Portable OpenCL 是 OpenCL 的开源实现):

\n
    $ pacman -S pocl\n    $ clinfo\n    Number of platforms                               1\n      Platform Name                                   Portable Computing Language\n      Platform Vendor                                 The pocl project\n      ...\n\n    $ hashcat -b\n    hashcat (...) starting in benchmark mode...\n\n    OpenCL API (...) - Platform #1 [The pocl project]\n    =========================================================================================================================\n    * Device #1: pthread-Intel(R) ...\n\n    Benchmark relevant options:\n    ===========================\n    * --optimized-kernel-enable\n\n    Hashmode: 0 - MD5\n\n    Speed.#1.........:   ...\n    ...\n
Run Code Online (Sandbox Code Playgroud)\n

快乐破解!(\xcd\xa1\xc2\xb0\xcd\x9c\xca\x96\xcd\xa1\xc2\xb0)

\n