OpenCL installation on Linux
#11
(03-14-2017, 01:41 PM)philsmd Wrote: Actually, if you know what the problem of the  K a l i  packages are and how one normally needs to install the drivers/ICDs, then it is quite easy to start hashcat also with The-Distribution-Which-Does-Not-Handle-OpenCL-Well (K a l i):
(as said I tested it, because we got several reports of users that failed to get it to work)
Code:
# sha1sum k a l i-linux-2016.2-amd64.iso
25cc6d53a8bd8886fcb468eb4fbb4cdfac895c65  k a l i-linux-2016.2-amd64.iso
# # start the "Graphical installation" with CD, after that:
# hashcat -b
# # got the "clBuildProgram(): CL_BUILD_PROGRAM_FAILURE" error, only Mesa seems
# # to be loaded
# apt-get update
# apt-get dist-upgrade
# apt-get autoremove
# reboot

# hashcat -b
# # still not working

# # make sure that kernel 4.9.0-k a l i 2-amd64 is loaded because we need the kernel
# # headers!
# # (4.6.0-k a l i1-amd64 (default) is not working)
# # make sure kernel 4.9.0-k a l i 2-amd64 is installed
# # update-grub and make sure that the "correct" kernel is selected with grub!
# # (this is not guaranteed unfortunately)
# reboot

# # after several tries finally the "correct"??? kernel was loaded
# # (uname -r saying "4.9.0-k a l i 2-amd64")

# apt-get install nvidia-driver     # this seems to correctly/automatically
# # install the kernel headers, but it only compiles the modules if the
# # "correct kernel" is running
# apt-get install nvidia-opencl-icd
# reboot # such that the nvidia modules load correctly

# hashcat -b
# # after reboot, I saw hashcat working for the first time! Hurray!
# # (but this was very tedious and time consuming)
My  k a l i kernel's version is 4.6.... You're telling me this is the problem.... I didn't know that version wasn't supported....So I'd better update the K a l i kernel to 4.9...Right?
P.s. why the term "k a l i" is overwritten by the forum??


Messages In This Thread
OpenCL installation on Linux - by itanon - 03-12-2017, 02:00 AM
RE: OpenCL installation on Linux - by epixoip - 03-12-2017, 02:05 AM
RE: OpenCL installation on Linux - by itanon - 03-12-2017, 10:26 AM
RE: OpenCL installation on Linux - by epixoip - 03-12-2017, 07:22 PM
RE: OpenCL installation on Linux - by CaliLinux - 03-13-2017, 02:43 PM
RE: OpenCL installation on Linux - by itanon - 03-14-2017, 01:32 AM
RE: OpenCL installation on Linux - by epixoip - 03-14-2017, 08:42 AM
RE: OpenCL installation on Linux - by itanon - 03-14-2017, 10:55 AM
RE: OpenCL installation on Linux - by atom - 03-13-2017, 04:12 PM
RE: OpenCL installation on Linux - by philsmd - 03-14-2017, 01:41 PM
RE: OpenCL installation on Linux - by itanon - 03-14-2017, 02:48 PM
RE: OpenCL installation on Linux - by itanon - 03-15-2017, 09:44 AM