You are not logged in.

#1 2019-04-18 16:32:41

a1837
Member
Registered: 2019-04-18
Posts: 3

Beignet not detect Intel GPU

I'm trying to run `hashcat` on GPU. However it outputs:

hashcat (v5.1.0) 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.

cl_get_gt_device(): error, unknown device: 2a42
clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

cl_get_gt_device(): error, unknown device: 2a42
clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

No devices found/left.

Started: Thu Apr 18 23:30:07 2019
Stopped: Thu Apr 18 23:30:08 2019

`sudo lspci -vnnn` shows: (if I understood correctly, this is the part about the GPU)

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Mobile 4 Series Chipset Integrated Graphics Controller [103c:3607]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at 90000000 (64-bit, non-prefetchable) [size=4M]
        Memory at 80000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 60f0 [size=8]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 3
        Kernel driver in use: i915
        Kernel modules: i915

`sudo clinfo` shows:

Number of platforms                               1
  Platform Name                                   Intel Gen OCL Driver
  Platform Vendor                                 Intel
  Platform Version                                OpenCL 2.0 beignet 1.4 (git-fc5f430c)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             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_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_intel_required_subgroup_size cl_intel_media_block_io cl_intel_planar_yuv cl_khr_gl_sharing
  Platform Extensions function suffix             Intel
cl_get_gt_device(): error, unknown device: 2a42

  Platform Name                                   Intel Gen OCL Driver
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver
cl_get_gt_device(): error, unknown device: 2a42
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   
  clCreateContext(NULL, ...) [default]            No devices found in platform
cl_get_gt_device(): error, unknown device: 2a42
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
cl_get_gt_device(): error, unknown device: 2a42
  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
cl_get_gt_device(): error, unknown device: 2a42
  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.12
  ICD loader Profile                              OpenCL 2.2

I tried installing `intel-opencl` and `intel-compute-runtime` as well, but they fail (with a somewhat-different error)

Offline

#2 2019-04-18 19:58:39

Silex89
Member
From: Osorno, Los Lagos - Chile
Registered: 2011-10-16
Posts: 179

Re: Beignet not detect Intel GPU

Does your system have more than one GPU?


"The way your heart sounds makes all the difference" John Myung

I love Dream Theater! ImL
Best Guitar Solo Ever

Offline

#3 2019-04-18 23:06:36

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 629

Re: Beignet not detect Intel GPU

I've got the same graphics as you do but I can't find any evidence that our stuff can run opencl to off load compute to the gpu.

https://software.intel.com/en-us/intel-opencl

I could certainly be wrong tho.

Edit: this may help

https://01.org/compute-runtime

Edit1: It seems as though our chipset cannot use opencl for bitcoin mining either.

Edit2: After reading about the architecture I think the point is moot anyway, the gma x4500 HD(?) graphics use system memory so there wouldn't really be anything to off-load to

Last edited by Zod (2019-04-19 00:41:40)

Offline

Board footer

Powered by FluxBB