Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
hashcat Forum
Hashcat on VPS (CPU only) - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Hashcat on VPS (CPU only) (/thread-8881.html)



Hashcat on VPS (CPU only) - Nism0 - 01-13-2020

Hi folks,

I'm struggling a bit with running hashcat on VPS with KVM in CPU only mode.
I installed opencl from Intel and here are some major command's output:

clinfo:
Code:
Number of platforms                              2
  Platform Name                                  Intel(R) OpenCL
  Platform Vendor                                Intel(R) Corporation
  Platform Version                                OpenCL 1.2 LINUX
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_intel_vec_len_hint
  Platform Extensions function suffix            INTEL

  Platform Name                                  Clover
  Platform Vendor                                Mesa
  Platform Version                                OpenCL 1.1 Mesa 13.0.6
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            cl_khr_icd
  Platform Extensions function suffix            MESA

  Platform Name                                  Intel(R) OpenCL
Number of devices                                1
  Device Name                                    Common KVM processor
  Device Vendor                                  Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 (Build 37)
  Driver Version                                  1.2.0.37
  Device OpenCL C Version                        OpenCL C 1.2
  Device Type                                    CPU
  Device Profile                                  FULL_PROFILE
  Max compute units                              2
  Max clock frequency                            0MHz
  Device Partition                                (core)
    Max number of sub-devices                    2
    Supported partition types                    by counts, equally, by names (Intel)
  Max work item dimensions                        3
  Max work item sizes                            8192x8192x8192
  Max work group size                            8192
  Preferred work group size multiple              <getWGsizes:494: create context : error -2>
  Preferred / native vector sizes               
    char                                                1 / 16     
    short                                                1 / 8     
    int                                                  1 / 4     
    long                                                1 / 2     
    half                                                0 / 0        (n/a)
    float                                                1 / 4     
    double                                              0 / 0        (n/a)
  Half-precision Floating-point support          (n/a)
  Single-precision Floating-point support        (core)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                No
    Round to infinity                            No
    IEEE754-2008 fused multiply-add              No
    Support is emulated in software              No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support        (n/a)
  Address bits                                    64, Little-Endian
  Global memory size                              2101669888 (1.957GiB)
  Error Correction support                        No
  Max memory allocation                          525417472 (501.1MiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type            128 bytes
  Alignment of base address                      1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        524288
  Global Memory cache line                        64 bytes
  Image support                                  Yes
    Max number of samplers per kernel            480
    Max size for 1D images from buffer            32838592 pixels
    Max 1D or 2D image array size                2048 images
    Max 2D image size                            16384x16384 pixels
    Max 3D image size                            2048x2048x2048 pixels
    Max number of read image args                480
    Max number of write image args                480
  Local memory type                              Global
  Local memory size                              32768 (32KiB)
  Max constant buffer size                        131072 (128KiB)
  Max number of constant args                    480
  Max size of kernel argument                    3840 (3.75KiB)
  Queue properties                               
    Out-of-order execution                        Yes
    Profiling                                    Yes
    Local thread execution (Intel)                Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      1ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                               
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Device Extensions                              cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_intel_vec_len_hint

  Platform Name                                  Clover
Number of devices                                0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel(R) OpenCL
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  Success [INTEL]
  clCreateContext(NULL, ...) [default]            <checkNullCtx:2241: create context with device from default platform : error -2>
  clCreateContext(NULL, ...) [other]              <error: no devices in non-default plaforms>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices available in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices available in platform

ICD loader properties
  ICD loader Name                                OpenCL ICD Loader
  ICD loader Vendor                              OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1


lscpu:

Code:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:  0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):            1
NUMA node(s):          1
Vendor ID:            GenuineIntel
CPU family:            15
Model:                6
Model name:            Common KVM processor
Stepping:              1
CPU MHz:              2599.998
BogoMIPS:              5199.99
Hypervisor vendor:    KVM
Virtualization type:  full
L1d cache:            32K
L1i cache:            32K
L2 cache:              4096K
L3 cache:              16384K
NUMA node0 CPU(s):    0,1

hashcat -I

Code:
hashcat (v3.30) starting...

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

OpenCL Info:

Platform ID #1
  Vendor  : Intel(R) Corporation
  Name    : Intel(R) OpenCL
  Version : OpenCL 1.2 LINUX

  Device ID #1
    Type          : CPU
    Vendor ID      : 8
    Vendor        : Intel(R) Corporation
    Name          : Common KVM processor
    Version        : OpenCL 1.2 (Build 37)
    Processor(s)  : 2
    Clock          : 0
    Memory        : 501/2004 MB allocatable
    OpenCL Version : OpenCL C 1.2
    Driver Version : 1.2.0.37

Platform ID #2
  Vendor  : Mesa
  Name    : Clover
  Version : OpenCL 1.1 Mesa 13.0.6

Note, that I also tried HC 4 and 5 but none of this seemed to work.
I tried running a benchmark like this:

Code:
nism0@smoke:~$ hashcat -b -D1
hashcat (v3.30) starting in benchmark mode...

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Common KVM processor, 501/2004 MB allocatable, 2MCU

OpenCL Platform #2: Mesa, skipped or no OpenCL compatible devices found

Hashtype: MD4

clCreateContext(): CL_UNKNOWN_ERROR

Started: Mon Jan 13 14:53:03 2020
Stopped: Mon Jan 13 14:53:04 2020
nism0@smoke:~$

Any help would be apprecieated.


RE: Hashcat on VPS (CPU only) - blacktraffic - 01-13-2020

undeath edit: removed completely useless and excessive quote

I have to add "--force" on mine to get it to run on Intel at all... but I don't have hc 3.3 to test with I'm afraid.


RE: Hashcat on VPS (CPU only) - Nism0 - 01-13-2020

--force does not work either...


RE: Hashcat on VPS (CPU only) - philsmd - 01-13-2020

Why would you even think about using these old versions of hashcat ?

Do not use --force

uninstall all the non-vendor drivers (the open source drivers like Mesa/Pocl etc)

Try to fix the clinfo error first, clinfo clearly says it failed to use this device

Code:
clCreateContext(NULL, ...) [default]            <checkNullCtx:2241: create context with device from default platform : error -2>

clCreateContext failed with error code -2

even a tool as simple as clinfo failed to use your devices

What hardware do you even use ?

You should probably better test with release, or beta version from https://hashcat.net/beta), not with older versions of hashcat.


RE: Hashcat on VPS (CPU only) - dizcza - 06-12-2020

Dear hashcat folks,
I experience a similar issue with hashcat (master branch) on CPU-only VPS. Here is my OS & CPU info:
Code:
$ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

$ lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              2
On-line CPU(s) list: 0,1
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):          1
NUMA node(s):        1
Vendor ID:          GenuineIntel
CPU family:          15
Model:              6
Model name:          Common KVM processor
Stepping:            1
CPU MHz:            1795.672
BogoMIPS:            3591.34
Hypervisor vendor:  KVM
Virtualization type: full
L1d cache:          32K
L1i cache:          32K
L2 cache:            4096K
L3 cache:            16384K
NUMA node0 CPU(s):  0,1
Flags:              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti

In all three experiments below the master branch of hashcat is built and used.

1. Installing official Intel OpenCL CPU runtime (l_opencl_p_18.1.0.015) makes hashcat still complaining:
Code:
$ hashcat -m2500 -b
hashcat (v5.1.0-1861-g323e7463) 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.

Kernel /usr/local/share/hashcat/OpenCL/m02500-optimized.cl:
Optimized kernel requested but not needed - falling back to pure kernel

clCreateContext(): CL_DEVICE_NOT_AVAILABLE

Started: Fri Jun 12 09:08:03 2020
Stopped: Fri Jun 12 09:08:03 2020
Hashcat hangs at this point and I CTRL+C the execution. Also, clinfo hangs as well:
Code:
$ clinfo
Number of platforms                              1
  Platform Name                                  Intel(R) CPU Runtime for OpenCL(TM) Applications
  Platform Vendor                                Intel(R) Corporation
  Platform Version                                OpenCL 2.1 LINUX
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_image2d_from_buffer cl_intel_vec_len_hint
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix            INTEL

  Platform Name                                  Intel(R) CPU Runtime for OpenCL(TM) Applications
Number of devices                                1
  Device Name                                    Common KVM processor
  Device Vendor                                  Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.1 (Build 0)
  Driver Version                                  18.1.0.0920
  Device OpenCL C Version                        OpenCL C 2.0
  Device Type                                    CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                              2
  Max clock frequency                            0MHz
  Device Partition                                (core)
    Max number of sub-devices                    2
    Supported partition types                    by counts, equally, by names (Intel)
  Max work item dimensions                        3
  Max work item sizes                            8192x8192x8192
  Max work group size                            8192
  Preferred work group size multiple              <getWGsizes:671: create context : error -2>
  Max sub-groups per work group                  1
  Preferred / native vector sizes               
    char                                                1 / 16     
    short                                                1 / 8     
    int                                                  1 / 4     
    long                                                1 / 2     
    half                                                0 / 0        (n/a)
    float                                                1 / 4     
    double                                              0 / 0        (n/a)
  Half-precision Floating-point support          (n/a)
  Single-precision Floating-point support        (core)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                No
    Round to infinity                            No
    IEEE754-2008 fused multiply-add              No
    Support is emulated in software              No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support        (n/a)
  Address bits                                    64, Little-Endian
  Global memory size                              4136087552 (3.852GiB)
  Error Correction support                        No
  Max memory allocation                          1034021888 (986.1MiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                Yes
    Fine-grained buffer sharing                  Yes
    Fine-grained system sharing                  Yes
    Atomics                                      Yes
  Minimum alignment for any data type            128 bytes
  Alignment of base address                      1024 bits (128 bytes)
  Preferred alignment for atomics               
    SVM                                          64 bytes
    Global                                        64 bytes
    Local                                        0 bytes
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars            65536 (64KiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        524288 (512KiB)
  Global Memory cache line size                  64 bytes
  Image support                                  Yes
    Max number of samplers per kernel            480
    Max size for 1D images from buffer            64626368 pixels
    Max 1D or 2D image array size                2048 images
    Base address alignment for 2D image buffers  64 bytes
    Pitch alignment for 2D image buffers          64 pixels
    Max 2D image size                            16384x16384 pixels
    Max 3D image size                            2048x2048x2048 pixels
    Max number of read image args                480
    Max number of write image args                480
    Max number of read/write image args          480
  Max number of pipe args                        16
  Max active pipe reservations                    131071
  Max pipe packet size                            1024
  Local memory type                              Global
  Local memory size                              32768 (32KiB)
  Max number of constant args                    480
  Max constant buffer size                        131072 (128KiB)
  Max size of kernel argument                    3840 (3.75KiB)
  Queue properties (on host)                     
    Out-of-order execution                        Yes
    Profiling                                    Yes
    Local thread execution (Intel)                Yes
  Queue properties (on device)                   
    Out-of-order execution                        Yes
    Profiling                                    Yes
    Preferred size                                4294967295 (4GiB)
    Max size                                      4294967295 (4GiB)
  Max queues on device                            4294967295
  Max events on device                            4294967295
  Prefer user sync for interop                    No
  Profiling timer resolution                      1ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    Sub-group independent forward progress        No
    IL version                                    SPIR-V_1.0
    SPIR versions                                1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                               
  Device Extensions                              cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_image2d_from_buffer cl_intel_vec_len_hint

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              <checkNullCtx:2694: create context with device from non-default platform : error -2>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

2. I tried mesa-opencl-icd driver with no luck.
Code:
$ hashcat -m2500 -b
hashcat (v5.1.0-1855-g5775231c) 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.

Kernel /usr/local/share/hashcat/OpenCL/m02500-optimized.cl:
Optimized kernel requested but not needed - falling back to pure kernel

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

Started: Thu Jun 11 22:15:50 2020
Stopped: Thu Jun 11 22:15:50 2020

The output of clinfo:
Code:
$ clinfo
Number of platforms                              1
  Platform Name                                  Clover
  Platform Vendor                                Mesa
  Platform Version                                OpenCL 1.1 Mesa 20.0.4
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            cl_khr_icd
  Platform Extensions function suffix            MESA

  Platform Name                                  Clover
Number of devices                                0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) 
  clCreateContext(NULL, ...) [default]            No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

ICD loader properties
  ICD loader Name                                OpenCL ICD Loader
  ICD loader Vendor                              OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1
At least, both clinfo and hashcat commands do not hang.

3. At last, I tried pocl-opencl-icd driver. But hashcat complains about an outdated driver:
Code:
$ hashcat -m2500 -b
hashcat (v5.1.0-1861-g323e7463) 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.

Kernel /usr/local/share/hashcat/OpenCL/m02500-optimized.cl:
Optimized kernel requested but not needed - falling back to pure kernel

* Device #1: Outdated POCL OpenCL driver detected!

This OpenCL driver has been marked as likely to fail kernel compilation or to produce false negatives.
You can use --force to override this, but do not report related errors.

No devices found/left.

Started: Fri Jun 12 09:29:39 2020
Stopped: Fri Jun 12 09:29:39 2020

So I ran with --force flag and got the speed of
Code:
Speed.#1.........:      333 H/s (86.02ms) @ Accel:128 Loops:1024 Thr:1 Vec:4

The output of clinfo is
Code:
$ clinfo
Number of platforms                              1
  Platform Name                                  Portable Computing Language
  Platform Vendor                                The pocl project
  Platform Version                                OpenCL 1.2 pocl 1.4, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            cl_khr_icd
  Platform Extensions function suffix            POCL

  Platform Name                                  Portable Computing Language
Number of devices                                1
  Device Name                                    pthread-Common KVM processor
  Device Vendor                                  GenuineIntel
  Device Vendor ID                                0x6c636f70
  Device Version                                  OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-nocona
  Driver Version                                  1.4
  Device OpenCL C Version                        OpenCL C 1.2 pocl
  Device Type                                    CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                              2
  Max clock frequency                            1795MHz
  Device Partition                                (core)
    Max number of sub-devices                    2
    Supported partition types                    equally, by counts
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                            4096x4096x4096
  Max work group size                            4096

  Preferred work group size multiple              8
  Preferred / native vector sizes               
    char                                                16 / 16     
    short                                                8 / 8     
    int                                                  4 / 4     
    long                                                2 / 2     
    half                                                0 / 0        (n/a)
    float                                                4 / 4     
    double                                              2 / 2        (cl_khr_fp64)
  Half-precision Floating-point support          (n/a)
  Single-precision Floating-point support        (core)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                Yes
    Round to infinity                            Yes
    IEEE754-2008 fused multiply-add              No
    Support is emulated in software              No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support        (cl_khr_fp64)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                Yes
    Round to infinity                            Yes
    IEEE754-2008 fused multiply-add              Yes
    Support is emulated in software              No
  Address bits                                    64, Little-Endian
  Global memory size                              3102065664 (2.889GiB)
  Error Correction support                        No
  Max memory allocation                          1073741824 (1024MiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type            128 bytes
  Alignment of base address                      1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16777216 (16MiB)
  Global Memory cache line size                  64 bytes
  Image support                                  Yes
    Max number of samplers per kernel            16
    Max size for 1D images from buffer            67108864 pixels
    Max 1D or 2D image array size                2048 images
    Max 2D image size                            8192x8192 pixels
    Max 3D image size                            2048x2048x2048 pixels
    Max number of read image args                128
    Max number of write image args                128
  Local memory type                              Global
  Local memory size                              8388608 (8MiB)
  Max number of constant args                    8
  Max constant buffer size                        8388608 (8MiB)
  Max size of kernel argument                    1024
  Queue properties                               
    Out-of-order execution                        Yes
    Profiling                                    Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
  printf() buffer size                            16777216 (16MiB)
  Built-in kernels                                (n/a)
  Device Extensions                              cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Portable Computing Language
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  Success [POCL]
  clCreateContext(NULL, ...) [default]            Success [POCL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                Portable Computing Language
    Device Name                                  pthread-Common KVM processor
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  Success (1)
    Platform Name                                Portable Computing Language
    Device Name                                  pthread-Common KVM processor
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                Portable Computing Language
    Device Name                                  pthread-Common KVM processor

ICD loader properties
  ICD loader Name                                OpenCL ICD Loader
  ICD loader Vendor                              OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1

But I don't want to use the outdated POCL driver, obviously. What would you suggest to try else?

Thank you.


RE: Hashcat on VPS (CPU only) - philsmd - 06-12-2020

try latest beta version of hashcat from https://hashcat.net/beta/

if it's really an intel CPU, you should install the intel OpenCL runtime from: https://software.intel.com/content/www/us/en/develop/articles/opencl-drivers.html#cpu-section

if you really want to use POCL, use the latest version. Compile it like this (after uninstalling all the other drivers and older versions of POCL):
Code:
sudo apt install -y build-essential ocl-icd-libopencl1 cmake git pkg-config libclang-dev clang llvm make ninja-build ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev libhwloc-dev zlib1g zlib1g-dev clinfo dialog apt-utils

git clone https://github.com/pocl/pocl

cd pocl/
mkdir build/
cd build/
cmake ..
make
sudo make install


sudo cp pocl.icd /etc/OpenCL/vendors/

(see https://github.com/hashcat/hashcat/issues/2398#issuecomment-628732757)


RE: Hashcat on VPS (CPU only) - dizcza - 06-12-2020

Quote: try latest beta version of hashcat from https://hashcat.net/beta/

This is equivalent to building the hashcat master branch, isn't it? Anyway, I tried it and got the same results.

Quote:if it's really an intel CPU, you should install the intel OpenCL runtime from: https://software.intel.com/content/www/u...pu-section

This is exactly what I've done. Eventually, you need to download the 'l_opencl_p_18.1.0.015' file from their website. But then even clinfo fails to recognize the driver (it hangs). But, I mean, if my CPU is not Intel, what else could it be?

Quote:if you really want to use POCL, use the latest version. Compile it like this (after uninstalling all the other drivers and older versions of POCL):


Thank you, that worked out. I get the same benchmark speed though, but at least I don't need the --force flag. In the issue you quoted you said that POCL v1.5 with LLVM 9 works as fast as Intel and may be even faster. So I guess I'll stick to POCL for a while.