can't get hashcat working!! ubuntu 16.04 w/ amd 7970s
#1
hello im in need of some help getting hashcat installed and running properly; im using ubuntu 16.04 with 3 amd 7970s
i have refered to these pages to try and get the install going to no avail:
https://hashcat.net/forum/thread-7323.html
https://support.amd.com/en-us/kb-article...Notes.aspx

when I installed the --opencl=legacy and compiled hashcat, ran a benchmark and i get this output:

:~/hashcat# hashcat -b --force
hashcat (v4.2.0) 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.

OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: Tahiti, 2343/3001 MB allocatable, 16MCU
* Device #2: Tahiti, 2390/3066 MB allocatable, 16MCU
* Device #3: Tahiti, 2390/3066 MB allocatable, 16MCU

Benchmark relevant options:
===========================
* --force
* --optimized-kernel-enable

Hashmode: 0 - MD5

clCreateCommandQueue(): CL_OUT_OF_HOST_MEMORY

Started: Sat Jul 28 03:39:17 2018
Stopped: Sat Jul 28 03:39:22 2018

so i uninstalled the"--opencl=legacy" and installed "--opencl=rocm" (also reinstalled ocl-icd-libopencl1 and hashcat) and i recieve this output:

:~/hashcat# hashcat -b --force
hashcat (v4.2.0) 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.

clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR

Started: Sat Jul 28 03:51:10 2018
Stopped: Sat Jul 28 03:51:10 2018

i know rocm is the correct driver and i've also tried this rocm and still have a similar outcome:

https://rocm.github.io/ROCmInstall.html

please help!!! if you need more info i'll be sure to get it to you!!
#2
it's a pretty old GPU already. Rocm doesn't seem to support it at all: see https://rocm.github.io/hardware.html . It seems that currencty only some new cards are supported (like the RX460, RX470, RX480 and Fury), all of them relatively modern cards compared to yours.

CL_OUT_OF_HOST_MEMORY often has something to do with your RAM (not VRAM), but I would really recommend to investigate all options like which driver supports these old GPUs etc and also try different hashcat versions. Do you have enough RAM installed (at least the same amount of the sum of all VRAM)?
The best thing to do would probably to also get a much more modern GPU and don't worry about old drivers or hashcat versions etc anymore.

You could also try to test the same setup with windows because it seems that the windows drivers try to keep being compatible with old GPUs much longer than the official ubuntu/linux drivers.
I wouldn't waste any time if you see that the GPUs are not officially supported by the driver you are trying, because they probably don't work if not supported.
A different problem could be that newer hashcat versions also check that you use a recent driver to avoid running into old driver/OpenCL bugs etc. Therefore, you might also need to download and run old hashcat versions (that's very bad!) just because your GPUs are way too old.
#3
Alright ill try the windows version of the software, my ram is not greater than or equil to the vram so i will get another ram card and let you know how that goes; i have had it complied before with the amd-app-sdk and fglrx drivers but when i crack a hash it’ll give me the wrong password (WPA -2500) im assuming that would be a driver problem As well? Or could that also be the ram causing this?


Anyway I will be upgrading to some newer gpus now!! And thank you for the quick response and help!!
#4
Okay so i found a solution, i decided to stay with ubuntu 16.04

 i used the fglrx drivers:
https://launchpad.net/~dokomix/+archive/...lrx-xenial

amd-app-sdk:
AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2

installed headers:
sudo apt-get install ocl-icd-libopencl1 opencl-headers clinfo

and installed a lesser version of hahcat (3.6.0)[/url]:

[url=https://github.com/hashcat/hashcat/releases/tag/v3.6.0]https://github.com/hashcat/hashcat/releases/tag/v3.6.0


compiled with no errors; the ram was still an issue so disconnected one of the 7970s to test if i had the same "insufficient ram" issue witch now it doesn't. the ram is 8gb and the vram totalled up to 9gbs at this point im sure adding more will fix that!