clCreateContext(): CL_OUT_OF_HOST_MEMORY
#1
Hello everyone,

I got clCreateContext(): CL_OUT_OF_HOST_MEMORY trying to run hashcat. the OS is Windows Server 2019.

I installed opencl runtime for Intel.

when check dxdiag->display, device name is unknown. 

Could some please let me know what is wrong with it and possibly the resolution.


C:\Users\Desktop\hashcat-6.1.1>hashcat -I
hashcat (v5.1.0) starting...

OpenCL Info:

Platform ID #1
  Vendor  : Intel(R) Corporation
  Name    : Intel(R) OpenCL
  Version : OpenCL 2.1 WINDOWS

  Device ID #1
    Type          : CPU
    Vendor ID      : 8
    Vendor        : Intel(R) Corporation
    Name          : Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz
    Version        : OpenCL 2.1 (Build 0)
    Processor(s)  : 6
    Clock          : 2600
    Memory        : 28671/114687 MB allocatable
    OpenCL Version : OpenCL C 2.0
    Driver Version : 2020.11.11.0.13_160000
Reply
#2
(03-04-2021, 06:31 PM)tinvu1991 Wrote: C:\Users\Desktop\hashcat-6.1.1>hashcat -I
hashcat (v5.1.0) starting...

your folder says hashcat 6.1.1 and hashcat -I says hahscat 5.1.0? so...

where did you downloaded this version? try latest beta https://hashcat.net/beta/

and second, win server 2019 on a "real" server, i think such baldes will not have any suitable graphiccard, so cracking cpu only? what was your command line running hashcat? (without plain hashes)

CL_OUT_OF_HOST_MEMORY

are you using a ram disk? any other processes filling up the ram?

my output for a similar cpu,

OpenCL Platform ID #1
  Vendor..: Intel(R) Corporation
  Name....: Intel(R) OpenCL
  Version.: OpenCL 2.1

  Backend Device ID #2 (Alias: #3)
    Type...........: CPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
    Version........: OpenCL 2.1 (Build 0)
    Processor(s)...: 48
    Clock..........: 2100
    Memory.Total...: 130722 MB (limited to 32680 MB allocatable in one block)
    Memory.Free....: 130658 MB

    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 18.1.0.0920
Reply
#3
(03-04-2021, 08:07 PM)Snoopy Wrote:
(03-04-2021, 06:31 PM)tinvu1991 Wrote: C:\Users\Desktop\hashcat-6.1.1>hashcat -I
hashcat (v5.1.0) starting...

your folder says hashcat 6.1.1 and hashcat -I says hahscat 5.1.0? so...

where did you downloaded this version? try latest beta https://hashcat.net/beta/

and second, win server 2019 on a "real" server, i think such baldes will not have any suitable graphiccard, so cracking cpu only? what was your command line running hashcat? (without plain hashes)

CL_OUT_OF_HOST_MEMORY

are you using a ram disk? any other processes filling up the ram?

my output for a similar cpu,

OpenCL Platform ID #1
  Vendor..: Intel(R) Corporation
  Name....: Intel(R) OpenCL
  Version.: OpenCL 2.1

  Backend Device ID #2 (Alias: #3)
    Type...........: CPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
    Version........: OpenCL 2.1 (Build 0)
    Processor(s)...: 48
    Clock..........: 2100
    Memory.Total...: 130722 MB (limited to 32680 MB allocatable in one block)
    Memory.Free....: 130658 MB

    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 18.1.0.0920


I've tried all the versions available on hashcat with the same error. 

when I first tried there was an error asked me to install the GPU driver requirements. and I installed the intel OpenCL then I got the clCreateContext(): CL_OUT_OF_HOST_MEMORY error. 

since we have similar system, would you mind to shared which driver did you used for it to run?
Reply
#4
(03-05-2021, 12:04 AM)tinvu1991 Wrote:
(03-04-2021, 08:07 PM)Snoopy Wrote:
(03-04-2021, 06:31 PM)tinvu1991 Wrote: C:\Users\Desktop\hashcat-6.1.1>hashcat -I
hashcat (v5.1.0) starting...

your folder says hashcat 6.1.1 and hashcat -I says hahscat 5.1.0? so...

where did you downloaded this version? try latest beta https://hashcat.net/beta/

and second, win server 2019 on a "real" server, i think such baldes will not have any suitable graphiccard, so cracking cpu only? what was your command line running hashcat? (without plain hashes)

CL_OUT_OF_HOST_MEMORY

are you using a ram disk? any other processes filling up the ram?

my output for a similar cpu,

OpenCL Platform ID #1
  Vendor..: Intel(R) Corporation
  Name....: Intel(R) OpenCL
  Version.: OpenCL 2.1

  Backend Device ID #2 (Alias: #3)
    Type...........: CPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
    Version........: OpenCL 2.1 (Build 0)
    Processor(s)...: 48
    Clock..........: 2100
    Memory.Total...: 130722 MB (limited to 32680 MB allocatable in one block)
    Memory.Free....: 130658 MB

    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 18.1.0.0920


I've tried all the versions available on hashcat with the same error. 

when I first tried there was an error asked me to install the GPU driver requirements. and I installed the intel OpenCL then I got the clCreateContext(): CL_OUT_OF_HOST_MEMORY error. 

since we have similar system, would you mind to shared which driver did you used for it to run?

opencl_runtime_18.1_x64_setup.msi can/should be found on intel website if not tell me

this is the version i use for opencl on cpu, GPU is something different, depending on your system graphiccards vendor (im using nvidia so plain nvidia drivers just up to date + nvidia cuda toolkit)

i think hashcat skips cpu only by default, therefore i use -D 1,2 (CPU and GPU)
Reply