Hashcat does not recognize my Nvidia GPU
#1
As the title says, Hashcat does not recognize my Nvidia GPU when I test it with 'hashcat -I'.I have tried various methods that I found on the internet but the issue remains unresolved.Please suggest a solution for me.

My device detail : https://store.acer.com/en-sg/an16-41-r9k7
OS : The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) Linux
GPU : NVIDIA® GeForce RTX™4050 6GB (140W) GDDR6
CPU : AMD Ryzen™ 7 7840HS Processor

Logs ~

Code:
uname -a Linux Linux 6.6.9-amd64 #1 SMP PREEMPT_DYNAMIC The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) 6.6.9-1kali1 (2024-01-08) x86_64 GNU/Linux

Code:
sudo hashcat -I hashcat (v6.2.6) starting in backend information mode cuInit(): unknown error HIP Info: ========= HIP.Version.: 6.0.32831 Backend Device ID #1 (Alias: #2)   Name...........: AMD Radeon Graphics   Processor(s)...: 6   Clock..........: 2700   Memory.Total...: 512 MB   Memory.Free....: 424 MB   Local.Memory...: 64 KB   PCI.Addr.BDFe..: 0000:65:00.0 OpenCL Info: ============ OpenCL Platform ID #1   Vendor..: Advanced Micro Devices, Inc.   Name....: AMD Accelerated Parallel Processing   Version.: OpenCL 2.1 AMD-APP (3602.0)   Backend Device ID #2 (Alias: #1)     Type...........: GPU     Vendor.ID......: 1     Vendor.........: Advanced Micro Devices, Inc.     Name...........: AMD Radeon Graphics     Version........: OpenCL 2.0     Processor(s)...: 6     Clock..........: 2700     Memory.Total...: 512 MB (limited to 384 MB allocatable in one block)     Memory.Free....: 384 MB     Local.Memory...: 64 KB     OpenCL.Version.: OpenCL C 2.0     Driver.Version.: 3602.0 (HSA1.1,LC)     PCI.Addr.BDF...: 65:00.0 OpenCL Platform ID #2   Vendor..: The pocl project   Name....: Portable Computing Language   Version.: OpenCL 3.0 PoCL 5.0+debian  Linux, None+Asserts, RELOC, SPIR, LLVM 16.0.6, SLEEF, DISTRO, POCL_DEBUG   Backend Device ID #3     Type...........: CPU     Vendor.ID......: 1     Vendor.........: AuthenticAMD     Name...........: cpu-skylake-avx512-AMD Ryzen 7 7840HS w/ Radeon 780M Graphics     Version........: OpenCL 3.0 PoCL HSTR: cpu-x86_64-pc-linux-gnu-skylake-avx512     Processor(s)...: 16     Clock..........: 5137     Memory.Total...: 13252 MB (limited to 2048 MB allocatable in one block)     Memory.Free....: 6594 MB     Local.Memory...: 1024 KB     OpenCL.Version.: OpenCL C 1.2 PoCL     Driver.Version.: 5.0+debian

Code:
sudo nvidia-smi Tue Feb  6 20:12:57 2024      +-----------------------------------------------------------------------------+ | NVIDIA-SMI 525.147.05  Driver Version: 525.147.05  CUDA Version: 12.0    | |-------------------------------+----------------------+----------------------+ | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC | | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. | |                              |                      |              MIG M. | |===============================+======================+======================| |  0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A | | N/A  38C    P4    14W /  50W |      0MiB /  6141MiB |      0%      Default | |                              |                      |                  N/A | +-------------------------------+----------------------+----------------------+                                                                               +-----------------------------------------------------------------------------+ | Processes:                                                                  | |  GPU  GI  CI        PID  Type  Process name                  GPU Memory | |        ID  ID                                                  Usage      | |=============================================================================| |  No running processes found                                                | +-----------------------------------------------------------------------------+

Code:
clinfo Number of platforms                              2   Platform Name                                  AMD Accelerated Parallel Processing   Platform Vendor                                Advanced Micro Devices, Inc.   Platform Version                                OpenCL 2.1 AMD-APP (3602.0)   Platform Profile                                FULL_PROFILE   Platform Extensions                            cl_khr_icd cl_amd_event_callback   Platform Extensions function suffix            AMD   Platform Host timer resolution                  1ns   Platform Name                                  Portable Computing Language   Platform Vendor                                The pocl project   Platform Version                                OpenCL 3.0 PoCL 5.0+debian  Linux, None+Asserts, RELOC, SPIR, LLVM 16.0.6, SLEEF, DISTRO, POCL_DEBUG   Platform Profile                                FULL_PROFILE   Platform Extensions                            cl_khr_icd cl_pocl_content_size   Platform Extensions with Version                cl_khr_icd                                                      0x400000 (1.0.0)                                                   cl_pocl_content_size                                            0x400000 (1.0.0)   Platform Numeric Version                        0xc00000 (3.0.0)   Platform Extensions function suffix            POCL   Platform Host timer resolution                  0ns   Platform Name                                  AMD Accelerated Parallel Processing Number of devices                                0   Platform Name                                  Portable Computing Language Number of devices                                1   Device Name                                    cpu-skylake-avx512-AMD Ryzen 7 7840HS w/ Radeon 780M Graphics   Device Vendor                                  AuthenticAMD   Device Vendor ID                                0x1022   Device Version                                  OpenCL 3.0 PoCL HSTR: cpu-x86_64-pc-linux-gnu-skylake-avx512   Device Numeric Version                          0xc00000 (3.0.0)   Driver Version                                  5.0+debian   Device OpenCL C Version                        OpenCL C 1.2 PoCL   Device OpenCL C all versions                    OpenCL C                                                        0x400000 (1.0.0)                                                   OpenCL C                                                        0x401000 (1.1.0)                                                   OpenCL C                                                        0x402000 (1.2.0)                                                   OpenCL C                                                        0xc00000 (3.0.0)   Device OpenCL C features                        __opencl_c_3d_image_writes                                      0xc00000 (3.0.0)                                                   __opencl_c_images                                                0xc00000 (3.0.0)                                                   __opencl_c_atomic_order_acq_rel                                  0xc00000 (3.0.0)                                                   __opencl_c_atomic_order_seq_cst                                  0xc00000 (3.0.0)                                                   __opencl_c_atomic_scope_device                                  0xc00000 (3.0.0)                                                   __opencl_c_program_scope_global_variables                        0xc00000 (3.0.0)                                                   __opencl_c_generic_address_space                                0xc00000 (3.0.0)                                                   __opencl_c_subgroups                                            0xc00000 (3.0.0)                                                   __opencl_c_atomic_scope_all_devices                              0xc00000 (3.0.0)                                                   __opencl_c_read_write_images                                    0xc00000 (3.0.0)                                                   __opencl_c_fp64                                                  0xc00000 (3.0.0)                                                   __opencl_c_ext_fp32_global_atomic_add                            0xc00000 (3.0.0)                                                   __opencl_c_ext_fp32_local_atomic_add                            0xc00000 (3.0.0)                                                   __opencl_c_ext_fp32_global_atomic_min_max                        0xc00000 (3.0.0)                                                   __opencl_c_ext_fp32_local_atomic_min_max                        0xc00000 (3.0.0)                                                   __opencl_c_ext_fp64_global_atomic_add                            0xc00000 (3.0.0)                                                   __opencl_c_ext_fp64_local_atomic_add                            0xc00000 (3.0.0)                                                   __opencl_c_ext_fp64_global_atomic_min_max                        0xc00000 (3.0.0)                                                   __opencl_c_ext_fp64_local_atomic_min_max                        0xc00000 (3.0.0)                                                   __opencl_c_int64                                                0xc00000 (3.0.0)   Latest conformance test passed                  v2022-04-19-01   Device Type                                    CPU   Device Profile                                  FULL_PROFILE   Device Available                                Yes   Compiler Available                              Yes   Linker Available                                Yes   Max compute units                              16   Max clock frequency                            5137MHz   Device Partition                                (core)     Max number of sub-devices                    16     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 (device)    8   Preferred work group size multiple (kernel)    8   Max sub-groups per work group                  128   Sub-group sizes (Intel)                        1, 2, 4, 8, 16, 32, 64, 128, 256, 512   Preferred / native vector sizes                    char                                                16 / 16          short                                              16 / 16          int                                                16 / 16          long                                                8 / 8          half                                                0 / 0        (n/a)     float                                              16 / 16          double                                              8 / 8        (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              Yes     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                              13895766016 (12.94GiB)   Error Correction support                        No   Max memory allocation                          4294967296 (4GiB)   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                  No     Atomics                                      Yes   Unified Shared Memory (USM)                    (cl_intel_unified_shared_memory)   Host USM capabilities (Intel)                  USM access, USM atomic access   Device USM capabilities (Intel)                USM access, USM atomic access   Single-Device USM caps (Intel)                  USM access, USM atomic access   Cross-Device USM caps (Intel)                  (n/a)   Shared System USM caps (Intel)                  (n/a)   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                                        64 bytes   Atomic memory capabilities                      relaxed, acquire/release, sequentially-consistent, work-group scope, device scope, all-devices scope   Atomic fence capabilities                      relaxed, acquire/release, sequentially-consistent, work-item scope, work-group scope, device scope   Max size for global variable                    64000 (62.5KiB)   Preferred total size of global vars            1048576 (1024KiB)   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            268435456 pixels     Max 1D or 2D image array size                2048 images     Base address alignment for 2D image buffers  0 bytes     Pitch alignment for 2D image buffers          0 pixels     Max 2D image size                            16384x16384 pixels     Max 3D image size                            2048x2048x2048 pixels     Max number of read image args                128     Max number of write image args                128     Max number of read/write image args          128   Pipe support                                    No   Max number of pipe args                        0   Max active pipe reservations                    0   Max pipe packet size                            0   Local memory type                              Global   Local memory size                              1048576 (1024KiB)   Max number of constant args                    8   Max constant buffer size                        1048576 (1024KiB)   Generic address space support                  Yes   Max size of kernel argument                    1024   Queue properties (on host)                          Out-of-order execution                        Yes     Profiling                                    Yes   Device enqueue capabilities                    (n/a)   Queue properties (on device)                        Out-of-order execution                        No     Profiling                                    No     Preferred size                                0     Max size                                      0   Max queues on device                            0   Max events on device                            0   Command buffer capabilities                    kernel printf, simultaneous use, out of order     Required queue properties for command buffer      Out-of-order execution                        No     Profiling                                    No   Prefer user sync for interop                    Yes   Profiling timer resolution                      1ns   Execution capabilities                              Run OpenCL kernels                            Yes     Run native kernels                            Yes     Non-uniform work-groups                      No     Work-group collective functions              No     Sub-group independent forward progress        Yes     IL version                                    (n/a)     ILs with version                              (n/a)     SPIR versions                                (n/a)   printf() buffer size                            16777216 (16MiB)   Built-in kernels                                pocl.add.i8;org.khronos.openvx.scale_image.nn.u8;org.khronos.openvx.scale_image.bl.u8;org.khronos.openvx.tensor_convert_depth.wrap.u8.f32   Built-in kernels with version                  pocl.add.i8                                                      0x402000 (1.2.0)                                                   org.khronos.openvx.scale_image.nn.u8                            0x402000 (1.2.0)                                                   org.khronos.openvx.scale_image.bl.u8                            0x402000 (1.2.0)                                                   org.khronos.openvx.tensor_convert_depth.wrap.u8.f32              0x402000 (1.2.0)   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_command_buffer cl_pocl_pinned_buffers cl_khr_subgroups cl_intel_unified_shared_memory cl_khr_subgroup_ballot cl_khr_subgroup_shuffle cl_intel_subgroups cl_intel_required_subgroup_size cl_ext_float_atomics cl_khr_spir cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics   Device Extensions with Version                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)                                                   cl_khr_global_int32_base_atomics                                0x400000 (1.0.0)                                                   cl_khr_global_int32_extended_atomics                            0x400000 (1.0.0)                                                   cl_khr_local_int32_base_atomics                                  0x400000 (1.0.0)                                                   cl_khr_local_int32_extended_atomics                              0x400000 (1.0.0)                                                   cl_khr_3d_image_writes                                          0x400000 (1.0.0)                                                   cl_khr_command_buffer                                              0x9004 (0.9.4)                                                   cl_pocl_pinned_buffers                                            0x1000 (0.1.0)                                                   cl_khr_subgroups                                                0x400000 (1.0.0)                                                   cl_intel_unified_shared_memory                                  0x400000 (1.0.0)                                                   cl_khr_subgroup_ballot                                          0x400000 (1.0.0)                                                   cl_khr_subgroup_shuffle                                          0x400000 (1.0.0)                                                   cl_intel_subgroups                                              0x400000 (1.0.0)                                                   cl_intel_required_subgroup_size                                  0x400000 (1.0.0)                                                   cl_ext_float_atomics                                            0x400000 (1.0.0)                                                   cl_khr_spir                                                      0x801000 (2.1.0)                                                   cl_khr_fp64                                                      0x400000 (1.0.0)                                                   cl_khr_int64_base_atomics                                        0x400000 (1.0.0)                                                   cl_khr_int64_extended_atomics                                    0x400000 (1.0.0) 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]              Success [POCL]   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 NOTE: your OpenCL library only supports OpenCL 2.2, but some installed platforms support OpenCL 3.0. Programs using 3.0 features may crash or behave unexpectedly
Reply
#2
its mostly due to some mismatch of used driver and cudaversion, mostly newest driver but older cuda, try updaten cuda

see

https://docs.nvidia.com/deploy/cuda-comp...kit-driver
Reply