hashcat Forum
Hashcat on AMD 780M - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Hashcat on AMD 780M (/thread-12225.html)



Hashcat on AMD 780M - darkside - 11-21-2024

I wanted to play a little with hashcat on my laptop. I remember that some time ago I was able to run it, but currently there is an error I don't know how to solve.

System: arch Linux
Ryzen 7840U with 780M GPU
Code:
[font=monospace][color=#000000]hashcat -I [/color] hashcat (v6.2.6) starting in backend information mode HIP Info: ========= HIP.Version.: 6.2.41134 Backend Device ID #1 (Alias: #2)  Name...........: AMD Radeon 780M  Processor(s)...: 6  Clock..........: 2700  Memory.Total...: 13877 MB  Memory.Free....: 13791 MB  Local.Memory...: 64 KB  PCI.Addr.BDFe..: 0000:64:00.0 OpenCL Info: ============ OpenCL Platform ID #1  Vendor..: Advanced Micro Devices, Inc.  Name....: AMD Accelerated Parallel Processing  Version.: OpenCL 2.1 AMD-APP.dbg (3625.0)  Backend Device ID #2 (Alias: #1)    Type...........: GPU    Vendor.ID......: 1    Vendor.........: Advanced Micro Devices, Inc.    Name...........: AMD Radeon 780M    Version........: OpenCL 2.0      Processor(s)...: 6    Clock..........: 2700    Memory.Total...: 13877 MB (limited to 5897 MB allocatable in one block)    Memory.Free....: 6880 MB    Local.Memory...: 64 KB    OpenCL.Version.: OpenCL C 2.0      Driver.Version.: 3625.0 (HSA1.1,LC)    PCI.Addr.BDF...: 64:00.0 OpenCL Platform ID #2  Vendor..: Mesa/X.org  Name....: rusticl  Version.: OpenCL 3.0[/font]

After running hashcat I get:
Code:
[font=monospace][color=#000000]hashcat (v6.2.6) starting [/color] [color=#b21818]/sys/bus/pci/devices/0000:64:00.0/hwmon/hwmon5/pwm1: No such file or directory[/color] HIP API (HIP 6.2.41134) ======================= * Device #1: AMD Radeon 780M, 13791/13877 MB, 6MCU OpenCL API (OpenCL 2.1 AMD-APP.dbg (3625.0)) - Platform #1 [Advanced Micro Devices, Inc.] ========================================================================================= * Device #2: AMD Radeon 780M, skipped Minimum password length supported by kernel: 8 Maximum password length supported by kernel: 63 Hashes: 3 digests; 3 unique digests, 2 unique salts Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates Optimizers applied: * Zero-Byte * Brute-Force * Slow-Hash-SIMD-LOOP Watchdog: Temperature abort trigger set to 90c [color=#b21818]hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION[/color] error: unknown argument: '-flegacy-pass-manager' 1 error generated when compiling for gfx1103. [color=#b21818]* Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed.[/color] [color=#b21818]* Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed.[/color] Started: Wed Nov 20 23:12:08 2024 Stopped: Wed Nov 20 23:12:10 2024[/font]

The software packages/driver I have are:


RE: Hashcat on AMD 780M - Snoopy - 11-21-2024

see line

error: unknown argument: '-flegacy-pass-manager'

This error was mentioned in this forum before, not quite sure whether this has something todo with AMD/HIP or LLVM

LLVM on the hand removed this flag some time ago but the Hashcat HIP Backend seems to need it

you can try to downgrade your llvm to a version where the falg legacy-pass-manager ist still available or you have to wait for hashcat to support the new pass-manager


RE: Hashcat on AMD 780M - darkside - 11-21-2024

Ok.
I found a solution. It seems that there is something wrong with HID.
I tried to use -D 2 option to change my device. With -d 2 it worked.