hashcat / hashcat

World's fastest and most advanced password recovery utility
https://hashcat.net/hashcat/
20.91k stars 2.86k forks source link

NVIDIA GeForce RTX 4090 nvrtcCompileProgram(): NVRTC_ERROR_INVALID_OPTION #3916

Closed kernelzeroday closed 9 months ago

kernelzeroday commented 9 months ago

Describe the bug

NVIDIA-SMI 525.147.05 Driver Version: 525.147.05 CUDA Version: 12.0

nvrtcCompileProgram(): NVRTC_ERROR_INVALID_OPTION

nvrtc: error: invalid value for --gpu-architecture (-arch)

To Reproduce hashcat -b

Expected behavior No crash

Hardware/Compute device (please complete the following information): NVIDIA GeForce RTX 4090

Hashcat version (please complete the following information): (ins)$ cat /proc/version Linux version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 (ins)$ cat /etc/issue Ubuntu 22.04.3 LTS \n \l

(ins)$ hashcat --version v6.2.6-846-g4d412c8e0

Diagnostic output compute devices:

(ins)$ hashcat -b -m 0
hashcat (v6.2.6-846-g4d412c8e0) 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.

* Device #1: WARNING! Kernel exec timeout is not disabled.
             This may cause "CL_OUT_OF_RESOURCES" or related errors.
             To disable the timeout, see: https://hashcat.net/q/timeoutpatch
* Device #2: WARNING! Kernel exec timeout is not disabled.
             This may cause "CL_OUT_OF_RESOURCES" or related errors.
             To disable the timeout, see: https://hashcat.net/q/timeoutpatch
CUDA API (CUDA 12.0)
====================
* Device #1: NVIDIA GeForce RTX 4090, 23738/24214 MB, 128MCU

OpenCL API (OpenCL 3.0 CUDA 12.0.151) - Platform #1 [NVIDIA Corporation]
========================================================================
* Device #2: NVIDIA GeForce RTX 4090, skipped

Benchmark relevant options:
===========================
* --backend-devices-virtual=1
* --optimized-kernel-enable

-------------------
* Hash-Mode 0 (MD5)
-------------------

nvrtcCompileProgram(): NVRTC_ERROR_INVALID_OPTION

nvrtc: error: invalid value for --gpu-architecture (-arch)

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.

Started: Sat Dec  2 19:36:35 2023
Stopped: Sat Dec  2 19:36:36 2023
(ins)$ cat /proc/version
Linux version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov  2 18:01:13 UTC 2
(ins)$ cat /etc/issue
Ubuntu 22.04.3 LTS \n \l

(ins)$ apt search cuda | grep installed

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

cuda-keyring/unknown,now 1.1-1 all [installed]
libaccinj64-11.5/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcub-dev/jammy,jammy,now 1.15.0-3 all [installed,automatic]
libcublas11/jammy,now 11.7.4.6~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcublaslt11/jammy,now 11.7.4.6~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcudart11.0/jammy,now 11.5.117~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcufft10/jammy,now 11.1.1+~10.6.0.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcufftw10/jammy,now 11.1.1+~10.6.0.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcuinj64-11.5/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcupti-dev/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcupti-doc/jammy,jammy,now 11.5.114~11.5.1-1ubuntu1 all [installed,automatic]
libcupti11.5/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcurand10/jammy,now 11.1.1+~10.2.7.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcusparse11/jammy,now 11.7.0.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppc11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppial11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppicc11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppidei11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppif11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppig11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppim11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppist11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppisu11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppitc11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnpps11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvblas11/jammy,now 11.7.4.6~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvrtc-builtins11.5/jammy,now 11.5.119~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvrtc11.2/jammy,now 11.5.119~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvvm4/jammy,now 11.5.119~11.5.1-1ubuntu1 amd64 [installed,automatic]
libthrust-dev/jammy,jammy,now 1.15.0-1 all [installed,automatic]
nsight-compute/jammy,now 2021.3.1.4~11.5.1-1ubuntu1 amd64 [installed,automatic]
nsight-compute-target/jammy,now 2021.3.1.4~11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-cuda-dev/jammy,now 11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-cuda-gdb/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-cuda-toolkit/jammy,now 11.5.1-1ubuntu1 amd64 [installed]
nvidia-cuda-toolkit-doc/jammy,jammy,now 11.5.1-1ubuntu1 all [installed,automatic]
nvidia-profiler/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-visual-profiler/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
(ins)$ apt search nvidia | grep installed

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libaccinj64-11.5/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcublas11/jammy,now 11.7.4.6~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcublaslt11/jammy,now 11.7.4.6~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcudart11.0/jammy,now 11.5.117~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcufft10/jammy,now 11.1.1+~10.6.0.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcufftw10/jammy,now 11.1.1+~10.6.0.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcuinj64-11.5/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcupti-dev/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcupti-doc/jammy,jammy,now 11.5.114~11.5.1-1ubuntu1 all [installed,automatic]
libcupti11.5/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcurand10/jammy,now 11.1.1+~10.2.7.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcusolver11/jammy,now 11.3.2.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcusolvermg11/jammy,now 11.3.2.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libcusparse11/jammy,now 11.7.0.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppc11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppial11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppicc11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppidei11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppif11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppig11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppim11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppist11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppisu11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnppitc11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnpps11/jammy,now 11.5.1.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvblas11/jammy,now 11.7.4.6~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvidia-common-525/unknown,now 525.147.05-0ubuntu1 all [installed,automatic]
libnvidia-egl-wayland1/jammy,now 1:1.1.9-1.1 amd64 [installed,automatic]
libnvidia-ml-dev/jammy,now 11.5.50~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvjpeg11/jammy,now 11.5.4.107~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvrtc-builtins11.5/jammy,now 11.5.119~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvrtc11.2/jammy,now 11.5.119~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvtoolsext1/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
libnvvm4/jammy,now 11.5.119~11.5.1-1ubuntu1 amd64 [installed,automatic]
libvdpau-dev/jammy,now 1.4-3build2 amd64 [installed,automatic]
libvdpau1/jammy,now 1.4-3build2 amd64 [installed,automatic]
nsight-compute/jammy,now 2021.3.1.4~11.5.1-1ubuntu1 amd64 [installed,automatic]
nsight-compute-target/jammy,now 2021.3.1.4~11.5.1-1ubuntu1 amd64 [installed,automatic]
nsight-systems/jammy,now 2021.3.3.2~11.5.1-1ubuntu1 amd64 [installed,automatic]
nsight-systems-target/jammy,now 2021.3.3.2~11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-cuda-dev/jammy,now 11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-cuda-gdb/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-cuda-toolkit/jammy,now 11.5.1-1ubuntu1 amd64 [installed]
nvidia-cuda-toolkit-doc/jammy,jammy,now 11.5.1-1ubuntu1 all [installed,automatic]
nvidia-dkms-525/unknown,now 525.147.05-0ubuntu1 amd64 [installed,automatic]
nvidia-firmware-535-535.54.03/jammy-updates,jammy-security,now 535.54.03-0ubuntu0.22.04.1 amd64 [installed,auto-removable]
nvidia-firmware-535-535.86.05/jammy-updates,jammy-security,now 535.86.05-0ubuntu0.22.04.1 amd64 [installed,auto-removable]
nvidia-kernel-common-525/unknown,now 525.147.05-0ubuntu1 amd64 [installed,automatic]
nvidia-opencl-dev/jammy,now 11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-prime/jammy,jammy,now 0.8.17.1 all [installed,automatic]
nvidia-profiler/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
nvidia-visual-profiler/jammy,now 11.5.114~11.5.1-1ubuntu1 amd64 [installed,automatic]
nvtop/jammy,now 1.2.2-1 amd64 [installed]
screen-resolution-extra/jammy,jammy,now 0.18.2 all [installed,automatic]
ubuntu-drivers-common/jammy-updates,now 1:0.9.6.2~0.22.04.6 amd64 [installed,automatic]
vdpau-driver-all/jammy,now 1.4-3build2 amd64 [installed,automatic]
xserver-xorg-video-nouveau/jammy,now 1:1.0.17-2build1 amd64 [installed,automatic]
(ins)$ nvidia-smi
Sat Dec  2 19:37:45 2023
+-----------------------------------------------------------------------------+
| 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:05:00.0 Off |                  Off |
|  0%   43C    P8    21W / 450W |     89MiB / 24564MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      8005      G   /usr/lib/xorg/Xorg                 56MiB |
|    0   N/A  N/A      8140      G   /usr/bin/gnome-shell               12MiB |
|    0   N/A  N/A      8802      G   /usr/lib/xorg/Xorg                 17MiB |
+-----------------------------------------------------------------------------+
(ins)$ clinfo
Number of platforms                               3
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 3.0 CUDA 12.0.151
  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_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_opaque_fd cl_khr_external_memory_opaque_fd
  Platform Extensions with Version                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_fp64                                                      0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                           0x400000 (1.0.0)
                                                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_nv_compiler_options                                           0x400000 (1.0.0)
                                                  cl_nv_device_attribute_query                                     0x400000 (1.0.0)
                                                  cl_nv_pragma_unroll                                              0x400000 (1.0.0)
                                                  cl_nv_copy_opts                                                  0x400000 (1.0.0)
                                                  cl_nv_create_buffer                                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                               0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)
                                                  cl_khr_external_semaphore                                          0x9000 (0.9.0)
                                                  cl_khr_external_memory                                             0x9000 (0.9.0)
                                                  cl_khr_external_semaphore_opaque_fd                                0x9000 (0.9.0)
                                                  cl_khr_external_memory_opaque_fd                                   0x9000 (0.9.0)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             NV
  Platform Host timer resolution                  0ns

  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3452.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                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 23.0.4-0ubuntu1~22.04.1
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     NVIDIA GeForce RTX 4090
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 3.0 CUDA
  Device UUID                                     2520e482-7f15-ba1b-b7a4-04c2b0b2760c
  Driver UUID                                     2520e482-7f15-ba1b-b7a4-04c2b0b2760c
  Valid Device LUID                               No
  Device LUID                                     6d69-637300000000
  Device Node Mask                                0
  Device Numeric Version                          0xc00000 (3.0.0)
  Driver Version                                  525.147.05
  Device OpenCL C Version                         OpenCL C 1.2
  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_fp64                                                  0xc00000 (3.0.0)
                                                  __opencl_c_images                                                0xc00000 (3.0.0)
                                                  __opencl_c_int64                                                 0xc00000 (3.0.0)
                                                  __opencl_c_3d_image_writes                                       0xc00000 (3.0.0)
  Latest comfornace test passed                   v2022-10-05-00
  Device Type                                     GPU
  Device Topology (NV)                            PCI-E, 0000:05:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               128
  Max clock frequency                             2520MHz
  Compute Capability (NV)                         8.9
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x64
  Max work group size                             1024
  Preferred work group size multiple (device)     32
  Preferred work group size multiple (kernel)     32
  Warp size (NV)                                  32
  Max sub-groups per work group                   0
  Preferred / native vector sizes
    char                                                 1 / 1
    short                                                1 / 1
    int                                                  1 / 1
    long                                                 1 / 1
    half                                                 0 / 0        (n/a)
    float                                                1 / 1
    double                                               1 / 1        (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                              25390678016 (23.65GiB)
  Error Correction support                        No
  Max memory allocation                           6347669504 (5.912GiB)
  Unified memory for Host and Device              No
  Integrated memory (NV)                          No
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       4096 bits (512 bytes)
  Preferred alignment for atomics
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Atomic memory capabilities                      relaxed, work-group scope
  Atomic fence capabilities                       relaxed, acquire/release, work-group scope
  Max size for global variable                    0
  Preferred total size of global vars             0
  Global Memory cache type                        Read/Write
  Global Memory cache size                        3670016 (3.5MiB)
  Global Memory cache line size                   128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             32
    Max size for 1D images from buffer            268435456 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             32768x32768 pixels
    Max 3D image size                             16384x16384x16384 pixels
    Max number of read image args                 256
    Max number of write image args                32
    Max number of read/write image args           0
  Pipe support                                    No
  Max number of pipe args                         0
  Max active pipe reservations                    0
  Max pipe packet size                            0
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        65536
  Max number of constant args                     9
  Max constant buffer size                        65536 (64KiB)
  Generic address space support                   No
  Max size of kernel argument                     4352 (4.25KiB)
  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
  Prefer user sync for interop                    No
  Profiling timer resolution                      1000ns
  Execution capabilities
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Non-uniform work-groups                       No
    Work-group collective functions               No
    Sub-group independent forward progress        No
    Kernel execution timeout (NV)                 Yes
  Concurrent copy and kernel execution (NV)       Yes
    Number of async copy engines                  2
    IL version                                    (n/a)
    ILs with version                              <printDeviceInfo:186: get CL_DEVICE_ILS_WITH_VERSION : error -30>
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                (n/a)
  Built-in kernels with version                   <printDeviceInfo:190: get CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION : error -30>
  Device 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_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_opaque_fd cl_khr_external_memory_opaque_fd
  Device Extensions with Version                  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_fp64                                                      0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes                                           0x400000 (1.0.0)
                                                  cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                  cl_khr_gl_sharing                                                0x400000 (1.0.0)
                                                  cl_nv_compiler_options                                           0x400000 (1.0.0)
                                                  cl_nv_device_attribute_query                                     0x400000 (1.0.0)
                                                  cl_nv_pragma_unroll                                              0x400000 (1.0.0)
                                                  cl_nv_copy_opts                                                  0x400000 (1.0.0)
                                                  cl_nv_create_buffer                                              0x400000 (1.0.0)
                                                  cl_khr_int64_base_atomics                                        0x400000 (1.0.0)
                                                  cl_khr_int64_extended_atomics                                    0x400000 (1.0.0)
                                                  cl_khr_device_uuid                                               0x400000 (1.0.0)
                                                  cl_khr_pci_bus_info                                              0x400000 (1.0.0)
                                                  cl_khr_external_semaphore                                          0x9000 (0.9.0)
                                                  cl_khr_external_memory                                             0x9000 (0.9.0)
                                                  cl_khr_external_semaphore_opaque_fd                                0x9000 (0.9.0)
                                                  cl_khr_external_memory_opaque_fd                                   0x9000 (0.9.0)

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

  Platform Name                                   Clover
Number of devices                                 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 [NV]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  Invalid device type for platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No 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
(ins)$
(ins)$ hashcat -I
hashcat (v6.2.6-846-g4d412c8e0) starting in backend information mode

CUDA Info:
==========

CUDA.Version.: 12.0

Backend Device ID #1 (Alias: #2)
  Name...........: NVIDIA GeForce RTX 4090
  Processor(s)...: 128
  Clock..........: 2520
  Memory.Total...: 24214 MB
  Memory.Free....: 23738 MB
  Local.Memory...: 99 KB
  PCI.Addr.BDFe..: 0000:05:00.0

OpenCL Info:
============

OpenCL Platform ID #1
  Vendor..: NVIDIA Corporation
  Name....: NVIDIA CUDA
  Version.: OpenCL 3.0 CUDA 12.0.151

  Backend Device ID #2 (Alias: #1)
    Type...........: GPU
    Vendor.ID......: 32
    Vendor.........: NVIDIA Corporation
    Name...........: NVIDIA GeForce RTX 4090
    Version........: OpenCL 3.0 CUDA
    Processor(s)...: 128
    Clock..........: 2520
    Memory.Total...: 24214 MB (limited to 6053 MB allocatable in one block)
    Memory.Free....: 23680 MB
    Local.Memory...: 48 KB
    OpenCL.Version.: OpenCL C 1.2
    Driver.Version.: 525.147.05
    PCI.Addr.BDF...: 05:00.0

OpenCL Platform ID #2
  Vendor..: Advanced Micro Devices, Inc.
  Name....: AMD Accelerated Parallel Processing
  Version.: OpenCL 2.1 AMD-APP (3452.0)

OpenCL Platform ID #3
  Vendor..: Mesa
  Name....: Clover
  Version.: OpenCL 1.1 Mesa 23.0.4-0ubuntu1~22.04.1
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
01:00.0 Non-Volatile memory controller: Silicon Motion, Inc. SM2263EN/SM2263XT SSD Controller (rev 03)
02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43ec
02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43eb
02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43e9
03:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
05:00.0 VGA compatible controller: NVIDIA Corporation Device 2684 (rev a1)
05:00.1 Audio device: NVIDIA Corporation Device 22ba (rev a1)
06:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
07:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
07:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Chick3nman commented 9 months ago

This can happen due to a weird issue with the toolkit vs driver version, and is often present in the drivers downloaded/installed from the CUDA apt repo around certain updates. I would suggest uninstalling/purging the drivers and toolkit and installing the latest from here: https://developer.nvidia.com/cuda-downloads as well as generally avoiding the apt repo or other packaged driver installations for this. I'm not sure why the packaged versions have issues but it's somewhat common.

kernelzeroday commented 9 months ago

Thank you!