diff --git a/content/notes/archlinux/index.md b/content/notes/archlinux/index.md index a8cac8a..e2a502c 100644 --- a/content/notes/archlinux/index.md +++ b/content/notes/archlinux/index.md @@ -1,7 +1,7 @@ --- title: Archlinux date: 2023-11-29T20:33:48+0100 -lastmod: 2024-09-09T18:33:54+0000 +lastmod: 2024-09-14T09:53:25+0000 tags: - archlinux - systemd @@ -120,6 +120,100 @@ wifi.backend=iwd dhcp=dhcpcd ~~~ +## Using the CPU with hashcat + +~~~console +$ hashcat -I +hashcat (v6.2.6) starting in backend information mode + +OpenCL Info: +============ + +OpenCL Platform ID #1 + Vendor..: Intel(R) Corporation + Name....: Intel(R) OpenCL Graphics + Version.: OpenCL 3.0 + + Backend Device ID #1 + Type...........: GPU + Vendor.ID......: 8 + Vendor.........: Intel(R) Corporation + Name...........: Intel(R) UHD Graphics 620 + Version........: OpenCL 3.0 NEO + Processor(s)...: 24 + Clock..........: 1150 + Memory.Total...: 14368 MB (limited to 2047 MB allocatable in one block) + Memory.Free....: 7136 MB + Local.Memory...: 64 KB + OpenCL.Version.: OpenCL C 1.2 + Driver.Version.: 24.31.30508 +~~~ + +This is what I've seen on `hashcat -I` for a long time now but I never dig myself +into this "problem" -- but today I tried to find the reason why there is no CPU +listed on my Carbon X1 Gen7 laptop. + +After a few minutes doing some trial & error I finally got the CPU listed after +installing _pocl_. + +~~~console +$ paru -S pocl +~~~ + +Or, on my gaming laptop running a cheap clone of Ubuntu: + +~~~console +$ sudo apt install pocl-opencl-icd +~~~ + +Now my `hashcat -I` looks like this: + +~~~console +$ hashcat -I took 6s +hashcat (v6.2.6) starting in backend information mode + +OpenCL Info: +============ + +OpenCL Platform ID #1 + Vendor..: Intel(R) Corporation + Name....: Intel(R) OpenCL Graphics + Version.: OpenCL 3.0 + + Backend Device ID #1 + Type...........: GPU + Vendor.ID......: 8 + Vendor.........: Intel(R) Corporation + Name...........: Intel(R) UHD Graphics 620 + Version........: OpenCL 3.0 NEO + Processor(s)...: 24 + Clock..........: 1150 + Memory.Total...: 14368 MB (limited to 2047 MB allocatable in one block) + Memory.Free....: 7136 MB + Local.Memory...: 64 KB + OpenCL.Version.: OpenCL C 1.2 + Driver.Version.: 24.31.30508 + +OpenCL Platform ID #2 + Vendor..: The pocl project + Name....: Portable Computing Language + Version.: OpenCL 3.0 PoCL 6.0 Linux, Release, RELOC, LLVM 18.1.8, SLEEF, DISTRO, POCL_DEBUG + + Backend Device ID #2 + Type...........: CPU + Vendor.ID......: 128 + Vendor.........: GenuineIntel + Name...........: cpu-haswell-Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz + Version........: OpenCL 3.0 PoCL HSTR: cpu-x86_64-pc-linux-gnu-haswell + Processor(s)...: 8 + Clock..........: 4800 + Memory.Total...: 13716 MB (limited to 2048 MB allocatable in one block) + Memory.Free....: 6826 MB + Local.Memory...: 256 KB + OpenCL.Version.: OpenCL C 1.2 PoCL + Driver.Version.: 6.0 +~~~ + ## Paru / Pacman Found on [andreas-mausch.de](https://cheatsheets.andreas-mausch.de/paru) and