RX 6900XT + Ubuntu 21.04 Problems
#1
Question 
Hello!

I recently build a new PC with a Ryzen 5800X and a AMD 6900XT. Cracking on my Windows 10 partition works without problems, but on my Ubuntu 21.04 things don't go so well. So i downloaded the current version (6.2.2) and tried to start the example500:

Code:
$ ./hashcat.bin -m 500 example500.hash example.dict hashcat (v6.2.2) starting... DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) clGetDeviceIDs(): CL_DEVICE_NOT_FOUND clGetDeviceIDs(): CL_DEVICE_NOT_FOUND DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) OpenCL API (OpenCL 1.2 pocl 1.6, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG) - Platform #1 [The pocl project] ============================================================================================================================= * Device #1: pthread-AMD Ryzen 7 5800X 8-Core Processor, 29966/30030 MB (8192 MB allocatable), 16MCU OpenCL API (OpenCL 2.0 beignet 1.3) - Platform #2 [Intel] ========================================================= Minimum password length supported by kernel: 0 Maximum password length supported by kernel: 256 Hashes: 1 digests; 1 unique digests, 1 unique salts Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates Rules: 1 Optimizers applied: * Zero-Byte * Single-Hash * Single-Salt ATTENTION! Pure (unoptimized) backend kernels selected. Pure kernels can crack longer passwords, but drastically reduce performance. If you want to switch to optimized kernels, append -O to your commandline. See the above message to find out about the exact limits. Watchdog: Hardware monitoring interface not found on your system. Watchdog: Temperature abort trigger disabled. clCompileProgram(): CL_COMPILE_PROGRAM_FAILURE error: unknown target CPU 'generic' * Device #1: Kernel /home/purpole/hashcat-6.2.2/OpenCL/shared.cl build failed. Started: Tue Jul 13 14:56:36 2021 Stopped: Tue Jul 13 14:56:36 2021

So the GPU does not show up and the the CPU has a problem compiling stuff. I would like to be able to use both devices.

For the CPU I dont really know what I should do. For the GPU on the other hand I tried installing the amdgpu-pro driver via
Code:
./amdgpu-pro-install -y --opencl=rocr,legacy
but then I get an error message saying 'ERROR: This package can only be installed on Ubuntu 20.04.', see below:

Code:
$ ./amdgpu-pro-install -y --opencl=rocr,legacy deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./ Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                                                                                                                Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                                                                                                          Hit:4 http://de.archive.ubuntu.com/ubuntu hirsute InRelease                                                                                                  Hit:5 http://de.archive.ubuntu.com/ubuntu hirsute-updates InRelease                                                                      Hit:6 http://de.archive.ubuntu.com/ubuntu hirsute-backports InRelease                                                          Hit:7 http://security.ubuntu.com/ubuntu hirsute-security InRelease                                                            Hit:8 https://repo.radeon.com/rocm/apt/debian ubuntu InRelease        Reading package lists... Done                  Reading package lists... Done Building dependency tree... Done Reading state information... Done Selected version '21.10-1247438' (localhost [all]) for 'amdgpu-pro-pin' The following packages were automatically installed and are no longer required:   chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi i965-va-driver intel-media-va-driver libaacs0 libaom0 libass9 libavcodec58 libavformat58 libavutil56 libbdplus0 libblas3 libbluray2 libbs2b0 libchromaprint1   libcodec2-0.9 libdav1d4 libfftw3-double3 libflite1 libgme0 libgsm1 libgstreamer-plugins-bad1.0-0 libigdgmm11 liblilv-0-0 libmfx1 libmysofa1 libnorm1 libopenmpt0 libpgm-5.3-0 libpostproc55 librabbitmq4   librubberband2 libserd-0-0 libshine3 libsnappy1v5 libsord-0-0 libsratom-0-0 libsrt1.4-gnutls libssh-gcrypt-4 libswresample3 libswscale5 libudfread0 libva-drm2 libva-wayland2 libva-x11-2 libva2 libvdpau1   libvidstab1.1 libx265-192 libxvidcore4 libzmq5 libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers pocketsphinx-en-us va-driver-all vdpau-driver-all Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed:   amdgpu-pro-pin 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/6.276 B of archives. After this operation, 38,9 kB of additional disk space will be used. Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-pin 21.10-1247438 [6.276 B] Selecting previously unselected package amdgpu-pro-pin. (Reading database ... 201438 files and directories currently installed.) Preparing to unpack .../amdgpu-pro-pin_21.10-1247438_all.deb ... Unpacking amdgpu-pro-pin (21.10-1247438) ... Setting up amdgpu-pro-pin (21.10-1247438) ... ERROR: This package can only be installed on Ubuntu 20.04. dpkg: error processing package amdgpu-pro-pin (--configure): installed amdgpu-pro-pin package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: amdgpu-pro-pin E: Sub-process /usr/bin/dpkg returned an error code (1) ERROR: Unable to install pin package. This driver may not support the running operating system.

Has anyone an idea on how to get hashcat running on my system or is my hardware 'too new'?
If you need anything else, I am happy to provide it. Thanks for your help!

Here is some more output of common commands that are used for troubleshooting on this forum:

Code:
$ sudo lshw -c video   *-display                      description: VGA compatible controller       product: Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]       vendor: Advanced Micro Devices, Inc. [AMD/ATI]       physical id: 0       bus info: pci@0000:09:00.0       logical name: /dev/fb0       version: c0       width: 64 bits       clock: 33MHz       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb       configuration: depth=32 driver=amdgpu latency=0 mode=1920x1200 visual=truecolor xres=1920 yres=1200       resources: iomemory:780-77f iomemory:7c0-7bf irq:111 memory:7800000000-7bffffffff memory:7c00000000-7c0fffffff ioport:e000(size=256) memory:fc700000-fc7fffff memory:fc800000-fc81ffff

Code:
$ clinfo DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) Number of platforms                              2   Platform Name                                  Portable Computing Language   Platform Vendor                                The pocl project   Platform Version                                OpenCL 1.2 pocl 1.6, 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                                  Intel Gen OCL Driver   Platform Vendor                                Intel   Platform Version                                OpenCL 2.0 beignet 1.3   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   Platform Extensions function suffix            Intel DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [2] param: 4, val: 0 beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message)   Platform Name                                  Portable Computing Language Number of devices                                1   Device Name                                    pthread-AMD Ryzen 7 5800X 8-Core Processor   Device Vendor                                  AuthenticAMD   Device Vendor ID                                0x1022   Device Version                                  OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-generic   Driver Version                                  1.6   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                              16   Max clock frequency                            5288MHz   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 === CL_PROGRAM_BUILD_LOG === error: unknown target CPU 'generic'   Preferred work group size multiple (kernel)    <getWGsizes:1504: create kernel : error -45>   Preferred / native vector sizes                    char                                                16 / 16          short                                              16 / 16          int                                                  8 / 8          long                                                4 / 4          half                                                0 / 0        (n/a)     float                                                8 / 8          double                                              4 / 4        (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                              31489712128 (29.33GiB)   Error Correction support                        No   Max memory allocation                          8589934592 (8GiB)   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                        33554432 (32MiB)   Global Memory cache line size                  64 bytes   Image support                                  Yes     Max number of samplers per kernel            16     Max size for 1D images from buffer            536870912 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                128     Max number of write image args                128   Local memory type                              Global   Local memory size                              524288 (512KiB)   Max number of constant args                    8   Max constant buffer size                        524288 (512KiB)   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   Platform Name                                  Intel Gen OCL Driver Number of devices                                0 NULL platform behavior   clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Portable Computing Language   clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  Success [POCL]   clCreateContext(NULL, ...) [default]            Success [POCL]   clCreateContext(NULL, ...) [other]                clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)     Platform Name                                Portable Computing Language     Device Name                                  pthread-AMD Ryzen 7 5800X 8-Core Processor   clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  Success (1)     Platform Name                                Portable Computing Language     Device Name                                  pthread-AMD Ryzen 7 5800X 8-Core 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-AMD Ryzen 7 5800X 8-Core Processor ICD loader properties   ICD loader Name                                OpenCL ICD Loader   ICD loader Vendor                              OCL Icd free software   ICD loader Version                              2.2.14   ICD loader Profile                              OpenCL 3.0
Reply
#2
I 'd start by giving ROCm a shot: https://github.com/RadeonOpenCompute/ROCm
Reply
#3
Thanks for your suggestion!

I tried following the installation guide for ubuntu: https://rocmdocs.amd.com/en/latest/Insta...Guide.html

Everything worked, but the last command threw an error...

Code:
purpole@ubuntu:~$ sudo apt install rocm-dkms && sudo reboot Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed:   amdgpu-core autoconf automake autotools-dev comgr gcc-7-base gcc-8-base hip-base hip-doc hip-rocclr hip-samples hsa-amd-aqlprofile hsa-rocr-dev hsakmt-roct hsakmt-roct-dev libasan4 libcilkrts5 libdrm-dev libelf-dev libfile-copy-recursive-perl libfile-which-perl   libgcc-7-dev libllvm11.0-amdgpu libmpx2 libncurses5 libstdc++-7-dev libtinfo5 libubsan0 liburi-encode-perl llvm-amdgpu llvm-amdgpu-11.0 llvm-amdgpu-11.0-dev llvm-amdgpu-11.0-runtime llvm-amdgpu-runtime m4 mesa-common-dev openmp-extras rock-dkms rock-dkms-firmware   rocm-clang-ocl rocm-cmake rocm-dbgapi rocm-debug-agent rocm-dev rocm-device-libs rocm-gdb rocm-opencl rocm-opencl-dev rocm-smi-lib rocm-utils rocminfo rocprofiler-dev roctracer-dev zlib1g-dev Suggested packages:   autoconf-archive gnu-standards autoconf-doc libtool gettext libstdc++-7-doc m4-doc The following NEW packages will be installed:   amdgpu-core autoconf automake autotools-dev comgr gcc-7-base gcc-8-base hip-base hip-doc hip-rocclr hip-samples hsa-amd-aqlprofile hsa-rocr-dev hsakmt-roct hsakmt-roct-dev libasan4 libcilkrts5 libdrm-dev libelf-dev libfile-copy-recursive-perl libfile-which-perl   libgcc-7-dev libllvm11.0-amdgpu libmpx2 libncurses5 libstdc++-7-dev libtinfo5 libubsan0 liburi-encode-perl llvm-amdgpu llvm-amdgpu-11.0 llvm-amdgpu-11.0-dev llvm-amdgpu-11.0-runtime llvm-amdgpu-runtime m4 mesa-common-dev openmp-extras rock-dkms rock-dkms-firmware   rocm-clang-ocl rocm-cmake rocm-dbgapi rocm-debug-agent rocm-dev rocm-device-libs rocm-dkms rocm-gdb rocm-opencl rocm-opencl-dev rocm-smi-lib rocm-utils rocminfo rocprofiler-dev roctracer-dev zlib1g-dev 0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded. Need to get 117 MB/170 MB of archives. After this operation, 1.053 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 21.10-1247438 [2.216 B] Get:2 file:/var/opt/amdgpu-pro-local ./ libllvm11.0-amdgpu 1:11.0-1247438 [16,5 MB] Get:3 file:/var/opt/amdgpu-pro-local ./ llvm-amdgpu-11.0-runtime 1:11.0-1247438 [80,3 kB]            Get:4 file:/var/opt/amdgpu-pro-local ./ llvm-amdgpu-runtime 1:11.0-1247438 [4.212 B]                  Get:5 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 m4 amd64 1.4.18-5 [200 kB]              Get:6 file:/var/opt/amdgpu-pro-local ./ llvm-amdgpu-11.0 1:11.0-1247438 [11,1 MB]                    Get:7 file:/var/opt/amdgpu-pro-local ./ llvm-amdgpu 1:11.0-1247438 [5.028 B] Get:8 file:/var/opt/amdgpu-pro-local ./ llvm-amdgpu-11.0-dev 1:11.0-1247438 [24,9 MB] Get:9 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 autoconf all 2.69-14 [293 kB] Get:10 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 autotools-dev all 20180224.1+nmu1 [39,4 kB] Get:11 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 automake all 1:1.16.3-2ubuntu1 [552 kB] Get:12 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 gcc-7-base amd64 7.5.0-6ubuntu4 [18,5 kB] Get:13 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 gcc-8-base amd64 8.4.0-7ubuntu3 [18,9 kB] Get:14 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 liburi-encode-perl all 1.1.1-1 [9.464 B] Get:15 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libfile-copy-recursive-perl all 0.45-1 [17,3 kB] Get:16 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 libfile-which-perl all 1.23-1 [13,8 kB] Get:17 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libasan4 amd64 7.5.0-6ubuntu4 [359 kB] Get:18 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libcilkrts5 amd64 7.5.0-6ubuntu4 [42,6 kB] Get:19 http://de.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 libdrm-dev amd64 2.4.105-3~21.04.1 [131 kB] Get:20 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu6 [156 kB] Get:21 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 libelf-dev amd64 0.183-8 [58,9 kB] Get:22 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libubsan0 amd64 7.5.0-6ubuntu4 [126 kB] Get:23 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libmpx2 amd64 8.4.0-7ubuntu3 [11,8 kB] Get:24 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libgcc-7-dev amd64 7.5.0-6ubuntu4 [2.310 kB] Get:25 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rock-dkms-firmware all 1:4.2-21 [7.429 kB] Get:26 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libtinfo5 amd64 6.2+20201114-2build1 [82,8 kB] Get:27 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libncurses5 amd64 6.2+20201114-2build1 [96,5 kB] Get:28 http://de.archive.ubuntu.com/ubuntu hirsute/universe amd64 libstdc++-7-dev amd64 7.5.0-6ubuntu4 [1.470 kB] Get:29 http://de.archive.ubuntu.com/ubuntu hirsute/main amd64 mesa-common-dev amd64 21.0.1-2 [1.299 kB] Get:30 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rock-dkms all 1:4.2-21 [6.654 kB] Get:31 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 comgr amd64 2.0.0.40200-21 [41,2 MB] Get:32 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hip-base amd64 4.2.21155.5900.40200-21 [215 kB]                                                                                                                                                                Get:33 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hip-doc amd64 4.2.21155.5900.40200-21 [2.233 kB]                                                                                                                                                                Get:34 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hsakmt-roct amd64 20210315.0.7.40200-21 [75,0 kB]                                                                                                                                                              Get:35 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hsa-rocr-dev amd64 1.3.0.40200-21 [904 kB]                                                                                                                                                                      Get:36 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocminfo amd64 1.0.0.40200-21 [26,4 kB]                                                                                                                                                                        Get:37 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hip-rocclr amd64 4.2.21155.5900.40200-21 [6.741 kB]                                                                                                                                                            Get:38 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hip-samples amd64 4.2.21155.5900.40200-21 [70,5 kB]                                                                                                                                                            Get:39 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hsa-amd-aqlprofile amd64 1.0.0.40200-21 [91,5 kB]                                                                                                                                                              Get:40 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 hsakmt-roct-dev amd64 20210315.0.7.40200-21 [28,3 kB]                                                                                                                                                          Get:41 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-device-libs amd64 1.0.0.40200-21 [775 kB]                                                                                                                                                                  Get:42 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 openmp-extras amd64 12.42.0.40200-21 [7.830 kB]                                                                                                                                                                Get:43 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-opencl amd64 2.0.0.40200-21 [547 kB]                                                                                                                                                                      Get:44 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-opencl-dev amd64 2.0.0.40200-21 [125 kB]                                                                                                                                                                  Get:45 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-clang-ocl amd64 0.5.0.40200-21 [1.686 B]                                                                                                                                                                  Get:46 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-cmake amd64 0.4.0.40200-21 [11,0 kB]                                                                                                                                                                      Get:47 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-dbgapi amd64 0.46.0.40200-21 [1.541 kB]                                                                                                                                                                    Get:48 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-debug-agent amd64 2.0.1.40200-21 [56,0 kB]                                                                                                                                                                Get:49 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-gdb amd64 10.1.40200-21 [31,6 MB]                                                                                                                                                                          Get:50 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-smi-lib amd64 2.8.0.40200-21 [983 kB]                                                                                                                                                                      Get:51 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-utils amd64 4.2.0.40200-21 [788 B]                                                                                                                                                                        Get:52 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocprofiler-dev amd64 1.0.0.40200-21 [260 kB]                                                                                                                                                                  Get:53 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 roctracer-dev amd64 1.0.0.40200-21 [427 kB]                                                                                                                                                                    Get:54 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-dev amd64 4.2.0.40200-21 [2.568 B]                                                                                                                                                                        Get:55 https://repo.radeon.com/rocm/apt/debian ubuntu/main amd64 rocm-dkms amd64 4.2.0.40200-21 [784 B]                                                                                                                                                                          Fetched 117 MB in 15s (7.780 kB/s)                                                                                                                                                                                                                                              Extracting templates from packages: 100% Selecting previously unselected package rock-dkms-firmware. (Reading database ... 201608 files and directories currently installed.) Preparing to unpack .../rock-dkms-firmware_1%3a4.2-21_all.deb ... Unpacking rock-dkms-firmware (1:4.2-21) ... Selecting previously unselected package m4. Preparing to unpack .../archives/m4_1.4.18-5_amd64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../automake_1%3a1.16.3-2ubuntu1_all.deb ... Unpacking automake (1:1.16.3-2ubuntu1) ... Setting up rock-dkms-firmware (1:4.2-21) ... Selecting previously unselected package rock-dkms. (Reading database ... 202323 files and directories currently installed.) Preparing to unpack .../00-rock-dkms_1%3a4.2-21_all.deb ... Unpacking rock-dkms (1:4.2-21) ... Selecting previously unselected package amdgpu-core. Preparing to unpack .../01-amdgpu-core_21.10-1247438_all.deb ... Unpacking amdgpu-core (21.10-1247438) ... Selecting previously unselected package comgr. Preparing to unpack .../02-comgr_2.0.0.40200-21_amd64.deb ... Unpacking comgr (2.0.0.40200-21) ... Selecting previously unselected package gcc-7-base:amd64. Preparing to unpack .../03-gcc-7-base_7.5.0-6ubuntu4_amd64.deb ... Unpacking gcc-7-base:amd64 (7.5.0-6ubuntu4) ... Selecting previously unselected package gcc-8-base:amd64. Preparing to unpack .../04-gcc-8-base_8.4.0-7ubuntu3_amd64.deb ... Unpacking gcc-8-base:amd64 (8.4.0-7ubuntu3) ... Selecting previously unselected package liburi-encode-perl. Preparing to unpack .../05-liburi-encode-perl_1.1.1-1_all.deb ... Unpacking liburi-encode-perl (1.1.1-1) ... Selecting previously unselected package libfile-copy-recursive-perl. Preparing to unpack .../06-libfile-copy-recursive-perl_0.45-1_all.deb ... Unpacking libfile-copy-recursive-perl (0.45-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../07-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package hip-base. Preparing to unpack .../08-hip-base_4.2.21155.5900.40200-21_amd64.deb ... Unpacking hip-base (4.2.21155.5900.40200-21) ... Selecting previously unselected package hip-doc. Preparing to unpack .../09-hip-doc_4.2.21155.5900.40200-21_amd64.deb ... Unpacking hip-doc (4.2.21155.5900.40200-21) ... Selecting previously unselected package hsakmt-roct. Preparing to unpack .../10-hsakmt-roct_20210315.0.7.40200-21_amd64.deb ... Unpacking hsakmt-roct (20210315.0.7.40200-21) ... Selecting previously unselected package hsa-rocr-dev. Preparing to unpack .../11-hsa-rocr-dev_1.3.0.40200-21_amd64.deb ... Unpacking hsa-rocr-dev (1.3.0.40200-21) ... Selecting previously unselected package rocminfo. Preparing to unpack .../12-rocminfo_1.0.0.40200-21_amd64.deb ... Unpacking rocminfo (1.0.0.40200-21) ... Selecting previously unselected package libllvm11.0-amdgpu:amd64. Preparing to unpack .../13-libllvm11.0-amdgpu_11.0-1247438_amd64.deb ... Unpacking libllvm11.0-amdgpu:amd64 (1:11.0-1247438) ... Selecting previously unselected package llvm-amdgpu-11.0-runtime. Preparing to unpack .../14-llvm-amdgpu-11.0-runtime_11.0-1247438_amd64.deb ... Unpacking llvm-amdgpu-11.0-runtime (1:11.0-1247438) ... Selecting previously unselected package llvm-amdgpu-runtime. Preparing to unpack .../15-llvm-amdgpu-runtime_11.0-1247438_amd64.deb ... Unpacking llvm-amdgpu-runtime (1:11.0-1247438) ... Selecting previously unselected package llvm-amdgpu-11.0. Preparing to unpack .../16-llvm-amdgpu-11.0_11.0-1247438_amd64.deb ... Unpacking llvm-amdgpu-11.0 (1:11.0-1247438) ... Selecting previously unselected package llvm-amdgpu. Preparing to unpack .../17-llvm-amdgpu_11.0-1247438_amd64.deb ... Unpacking llvm-amdgpu (1:11.0-1247438) ... Selecting previously unselected package hip-rocclr. Preparing to unpack .../18-hip-rocclr_4.2.21155.5900.40200-21_amd64.deb ... Unpacking hip-rocclr (4.2.21155.5900.40200-21) ... Selecting previously unselected package hip-samples. Preparing to unpack .../19-hip-samples_4.2.21155.5900.40200-21_amd64.deb ... Unpacking hip-samples (4.2.21155.5900.40200-21) ... Selecting previously unselected package hsa-amd-aqlprofile. Preparing to unpack .../20-hsa-amd-aqlprofile_1.0.0.40200-21_amd64.deb ... Unpacking hsa-amd-aqlprofile (1.0.0.40200-21) ... Selecting previously unselected package hsakmt-roct-dev. Preparing to unpack .../21-hsakmt-roct-dev_20210315.0.7.40200-21_amd64.deb ... Unpacking hsakmt-roct-dev (20210315.0.7.40200-21) ... Selecting previously unselected package libasan4:amd64. Preparing to unpack .../22-libasan4_7.5.0-6ubuntu4_amd64.deb ... Unpacking libasan4:amd64 (7.5.0-6ubuntu4) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../23-libcilkrts5_7.5.0-6ubuntu4_amd64.deb ... Unpacking libcilkrts5:amd64 (7.5.0-6ubuntu4) ... Selecting previously unselected package libdrm-dev:amd64. Preparing to unpack .../24-libdrm-dev_2.4.105-3~21.04.1_amd64.deb ... Unpacking libdrm-dev:amd64 (2.4.105-3~21.04.1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../25-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu6_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu6) ... Selecting previously unselected package libelf-dev:amd64. Preparing to unpack .../26-libelf-dev_0.183-8_amd64.deb ... Unpacking libelf-dev:amd64 (0.183-8) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../27-libubsan0_7.5.0-6ubuntu4_amd64.deb ... Unpacking libubsan0:amd64 (7.5.0-6ubuntu4) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../28-libmpx2_8.4.0-7ubuntu3_amd64.deb ... Unpacking libmpx2:amd64 (8.4.0-7ubuntu3) ... Selecting previously unselected package libgcc-7-dev:amd64. Preparing to unpack .../29-libgcc-7-dev_7.5.0-6ubuntu4_amd64.deb ... Unpacking libgcc-7-dev:amd64 (7.5.0-6ubuntu4) ... Selecting previously unselected package libtinfo5:amd64. Preparing to unpack .../30-libtinfo5_6.2+20201114-2build1_amd64.deb ... Unpacking libtinfo5:amd64 (6.2+20201114-2build1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../31-libncurses5_6.2+20201114-2build1_amd64.deb ... Unpacking libncurses5:amd64 (6.2+20201114-2build1) ... Selecting previously unselected package libstdc++-7-dev:amd64. Preparing to unpack .../32-libstdc++-7-dev_7.5.0-6ubuntu4_amd64.deb ... Unpacking libstdc++-7-dev:amd64 (7.5.0-6ubuntu4) ... Selecting previously unselected package llvm-amdgpu-11.0-dev. Preparing to unpack .../33-llvm-amdgpu-11.0-dev_11.0-1247438_amd64.deb ... Unpacking llvm-amdgpu-11.0-dev (1:11.0-1247438) ... Selecting previously unselected package mesa-common-dev:amd64. Preparing to unpack .../34-mesa-common-dev_21.0.1-2_amd64.deb ... Unpacking mesa-common-dev:amd64 (21.0.1-2) ... Selecting previously unselected package rocm-device-libs. Preparing to unpack .../35-rocm-device-libs_1.0.0.40200-21_amd64.deb ... Unpacking rocm-device-libs (1.0.0.40200-21) ... Selecting previously unselected package openmp-extras. Preparing to unpack .../36-openmp-extras_12.42.0.40200-21_amd64.deb ... Unpacking openmp-extras (12.42.0.40200-21) ... Selecting previously unselected package rocm-opencl. Preparing to unpack .../37-rocm-opencl_2.0.0.40200-21_amd64.deb ... Unpacking rocm-opencl (2.0.0.40200-21) ... Selecting previously unselected package rocm-opencl-dev. Preparing to unpack .../38-rocm-opencl-dev_2.0.0.40200-21_amd64.deb ... Unpacking rocm-opencl-dev (2.0.0.40200-21) ... Selecting previously unselected package rocm-clang-ocl. Preparing to unpack .../39-rocm-clang-ocl_0.5.0.40200-21_amd64.deb ... Unpacking rocm-clang-ocl (0.5.0.40200-21) ... Selecting previously unselected package rocm-cmake. Preparing to unpack .../40-rocm-cmake_0.4.0.40200-21_amd64.deb ... Unpacking rocm-cmake (0.4.0.40200-21) ... Selecting previously unselected package rocm-dbgapi. Preparing to unpack .../41-rocm-dbgapi_0.46.0.40200-21_amd64.deb ... Unpacking rocm-dbgapi (0.46.0.40200-21) ... Selecting previously unselected package rocm-debug-agent. Preparing to unpack .../42-rocm-debug-agent_2.0.1.40200-21_amd64.deb ... Unpacking rocm-debug-agent (2.0.1.40200-21) ... Selecting previously unselected package rocm-gdb. Preparing to unpack .../43-rocm-gdb_10.1.40200-21_amd64.deb ... Unpacking rocm-gdb (10.1.40200-21) ... Selecting previously unselected package rocm-smi-lib. Preparing to unpack .../44-rocm-smi-lib_2.8.0.40200-21_amd64.deb ... Unpacking rocm-smi-lib (2.8.0.40200-21) ... Selecting previously unselected package rocm-utils. Preparing to unpack .../45-rocm-utils_4.2.0.40200-21_amd64.deb ... Unpacking rocm-utils (4.2.0.40200-21) ... Selecting previously unselected package rocprofiler-dev. Preparing to unpack .../46-rocprofiler-dev_1.0.0.40200-21_amd64.deb ... Unpacking rocprofiler-dev (1.0.0.40200-21) ... Selecting previously unselected package roctracer-dev. Preparing to unpack .../47-roctracer-dev_1.0.0.40200-21_amd64.deb ... Unpacking roctracer-dev (1.0.0.40200-21) ... Selecting previously unselected package rocm-dev. Preparing to unpack .../48-rocm-dev_4.2.0.40200-21_amd64.deb ... Unpacking rocm-dev (4.2.0.40200-21) ... Selecting previously unselected package rocm-dkms. Preparing to unpack .../49-rocm-dkms_4.2.0.40200-21_amd64.deb ... Unpacking rocm-dkms (4.2.0.40200-21) ... Setting up comgr (2.0.0.40200-21) ... Setting up libfile-which-perl (1.23-1) ... Setting up libdrm-dev:amd64 (2.4.105-3~21.04.1) ... Setting up rocm-cmake (0.4.0.40200-21) ... Setting up roctracer-dev (1.0.0.40200-21) ... Setting up rocminfo (1.0.0.40200-21) ... Setting up hsa-amd-aqlprofile (1.0.0.40200-21) ... Setting up m4 (1.4.18-5) ... Setting up libfile-copy-recursive-perl (0.45-1) ... Setting up rocm-device-libs (1.0.0.40200-21) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up gcc-7-base:amd64 (7.5.0-6ubuntu4) ... Setting up libasan4:amd64 (7.5.0-6ubuntu4) ... Setting up rocm-dbgapi (0.46.0.40200-21) ... Setting up liburi-encode-perl (1.1.1-1) ... Setting up gcc-8-base:amd64 (8.4.0-7ubuntu3) ... Setting up amdgpu-core (21.10-1247438) ... Setting up autoconf (2.69-14) ... Setting up libmpx2:amd64 (8.4.0-7ubuntu3) ... Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu6) ... Setting up libcilkrts5:amd64 (7.5.0-6ubuntu4) ... Setting up libubsan0:amd64 (7.5.0-6ubuntu4) ... Setting up mesa-common-dev:amd64 (21.0.1-2) ... Setting up rocm-smi-lib (2.8.0.40200-21) ... Setting up hsakmt-roct (20210315.0.7.40200-21) ... Setting up libtinfo5:amd64 (6.2+20201114-2build1) ... Setting up automake (1:1.16.3-2ubuntu1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up hip-base (4.2.21155.5900.40200-21) ... Setting up hsa-rocr-dev (1.3.0.40200-21) ... Setting up libncurses5:amd64 (6.2+20201114-2build1) ... Setting up rock-dkms (1:4.2-21) ... Loading new amdgpu-4.2-21 DKMS files... Building for 5.11.0-22-generic Building for architecture x86_64 Building initial module for 5.11.0-22-generic Error! Bad return status for module build on kernel: 5.11.0-22-generic (x86_64) Consult /var/lib/dkms/amdgpu/4.2-21/build/make.log for more information. dpkg: error processing package rock-dkms (--configure): installed rock-dkms package post-installation script subprocess returned error exit status 10 Setting up rocm-gdb (10.1.40200-21) ... Setting up rocm-debug-agent (2.0.1.40200-21) ... Setting up libelf-dev:amd64 (0.183-8) ... Setting up rocm-opencl (2.0.0.40200-21) ... Setting up libllvm11.0-amdgpu:amd64 (1:11.0-1247438) ... Setting up libgcc-7-dev:amd64 (7.5.0-6ubuntu4) ... Setting up hsakmt-roct-dev (20210315.0.7.40200-21) ... dpkg: dependency problems prevent configuration of rocm-dkms: rocm-dkms depends on rock-dkms; however:   Package rock-dkms is not configured yet. dpkg: error processing package rocm-dkms (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Setting up hip-doc (4.2.21155.5900.40200-21) ... Setting up llvm-amdgpu-11.0-runtime (1:11.0-1247438) ... Setting up libstdc++-7-dev:amd64 (7.5.0-6ubuntu4) ... Setting up llvm-amdgpu-runtime (1:11.0-1247438) ... Setting up hip-samples (4.2.21155.5900.40200-21) ... Setting up rocm-opencl-dev (2.0.0.40200-21) ... Setting up rocprofiler-dev (1.0.0.40200-21) ... Setting up llvm-amdgpu-11.0 (1:11.0-1247438) ... Setting up llvm-amdgpu (1:11.0-1247438) ... Setting up llvm-amdgpu-11.0-dev (1:11.0-1247438) ... Setting up rocm-clang-ocl (0.5.0.40200-21) ... Setting up openmp-extras (12.42.0.40200-21) ... Setting up rocm-utils (4.2.0.40200-21) ... Setting up hip-rocclr (4.2.21155.5900.40200-21) ... Setting up rocm-dev (4.2.0.40200-21) ... /opt/rocm-4.2.0/bin/ca not found update-alternatives: using /opt/rocm-4.2.0/bin/clang-ocl to provide /usr/bin/clang-ocl (clang-ocl) in auto mode /opt/rocm-4.2.0/bin/extractkernel not found update-alternatives: using /opt/rocm-4.2.0/bin/findcode.sh to provide /usr/bin/findcode.sh (findcode.sh) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/finduncodep.sh to provide /usr/bin/finduncodep.sh (finduncodep.sh) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipcc to provide /usr/bin/hipcc (hipcc) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipcc_cmake_linker_helper to provide /usr/bin/hipcc_cmake_linker_helper (hipcc_cmake_linker_helper) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipconfig to provide /usr/bin/hipconfig (hipconfig) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipconvertinplace-perl.sh to provide /usr/bin/hipconvertinplace-perl.sh (hipconvertinplace-perl.sh) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipconvertinplace.sh to provide /usr/bin/hipconvertinplace.sh (hipconvertinplace.sh) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipdemangleatp to provide /usr/bin/hipdemangleatp (hipdemangleatp) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipexamine-perl.sh to provide /usr/bin/hipexamine-perl.sh (hipexamine-perl.sh) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipexamine.sh to provide /usr/bin/hipexamine.sh (hipexamine.sh) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipify-cmakefile to provide /usr/bin/hipify-cmakefile (hipify-cmakefile) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/hipify-perl to provide /usr/bin/hipify-perl (hipify-perl) in auto mode /opt/rocm-4.2.0/bin/lpl not found update-alternatives: using /opt/rocm-4.2.0/bin/rocgdb to provide /usr/bin/rocgdb (rocgdb) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/rocm_agent_enumerator to provide /usr/bin/rocm_agent_enumerator (rocm_agent_enumerator) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/rocminfo to provide /usr/bin/rocminfo (rocminfo) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/rocm-smi to provide /usr/bin/rocm-smi (rocm-smi) in auto mode update-alternatives: using /opt/rocm-4.2.0/bin/rocprof to provide /usr/bin/rocprof (rocprof) in auto mode update-alternatives: using /opt/rocm-4.2.0 to provide /opt/rocm (rocm) in auto mode Processing triggers for libc-bin (2.33-0ubuntu5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for install-info (6.7.0.dfsg.2-6) ... Errors were encountered while processing: rock-dkms rocm-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply
#4
Not all distributions are supported:
https://rocmdocs.amd.com/en/latest/Curre...Notes.html

Not all GPUs are supported:
https://github.com/RadeonOpenCompute/ROC...re-Support

Looks like your UBUNTU 21.04 version is officially unsupported.
Reply
#5
Yes, seems like it. Then I am probably gonna switch to windows when I need to crack a password. Better than installing an older ubuntu and then trying to install the drivers that do not officially support my GPU.

Kinda sucks that there is no software support for AMDs newest graphics cards.
Reply
#6
You're absolutely right. Going back to an older version is no solution and downgrading single packages is no solution, too, because that will end up in a typical UBUNTU dependency hell.
Reply
#7
So there is no other way besides ROCm to use hashcat with AMD GPU's / CPUS?
Reply
#8
According to this:
https://www.libhunt.com/r/ROCm
not really.
Reply
#9
Ubuntu 20 is still LTS and is supported...
Reply