2017-02-28 12:22 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003867Kali Linux[All Projects] Kali Package Bugpublic2017-02-13 19:49
ReporterOverWatch86 
Assigned Tosbrun 
PriorityhighSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0003867: GPU's In Kali Linux not found at all despite a graphics card being present
DescriptionIt's only kali where this doesn't work. I dual boot Kali with the latest Ubuntu (as of 07/02/17) and i have no problems at all, they work great it's just none of the GPU based programs such as pyrit or hashcat work in kali becasue for some reason it is unable to see my card.

root@Kali:~# uname -a -r
Linux Kali 4.9.0-kali1-amd64 0000001 SMP Debian 4.9.6-3kali2 (2017-01-30) x86_64 GNU/Linux

root@Kali:~# pyrit list_cores
Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+

The following cores seem available...
0000001: 'CPU-Core (SSE2)'
#2: 'CPU-Core (SSE2)'

root@Kali:~# hashcat -b
hashcat (v3.30) starting in benchmark mode...

* Device #2: Not a native Intel OpenCL runtime, expect massive speed loss
             You can use --force to override this but do not post error reports if you do so
OpenCL Platform 0000001: Mesa
========================
* Device 0000001: AMD TAHITI (DRM 2.48.0 / 4.9.0-kali1-amd64, LLVM 3.9.1), 2047/3072 MB allocatable, 28MCU

OpenCL Platform #2: The pocl project
====================================
* Device #2: pthread-Intel(R) Pentium(R) D CPU 3.20GHz, skipped

Hashtype: MD4

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

input.cl:32:1: error: OpenCL version 1.1 does not support the 'static' storage class specifier
input.cl:168:1: error: OpenCL version 1.1 does not support the 'static' storage class specifier

* Device 0000001: Kernel /usr/share/hashcat/OpenCL/m00900_a3.cl build failure. Proceeding without this device.

Started: Tue Feb 7 18:33:55 2017
Stopped: Tue Feb 7 18:33:58 2017
root@Kali:~# hashcat -b --force
hashcat (v3.30) starting in benchmark mode...

OpenCL Platform 0000001: Mesa
========================
* Device 0000001: AMD TAHITI (DRM 2.48.0 / 4.9.0-kali1-amd64, LLVM 3.9.1), 2047/3072 MB allocatable, 28MCU

OpenCL Platform #2: The pocl project
====================================
* Device #2: pthread-Intel(R) Pentium(R) D CPU 3.20GHz, skipped

Hashtype: MD4

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

input.cl:32:1: error: OpenCL version 1.1 does not support the 'static' storage class specifier
input.cl:168:1: error: OpenCL version 1.1 does not support the 'static' storage class specifier

* Device 0000001: Kernel /usr/share/hashcat/OpenCL/m00900_a3.cl build failure. Proceeding without this device.

Started: Tue Feb 7 18:34:20 2017
Stopped: Tue Feb 7 18:34:21 2017
root@Kali:~#
Steps To ReproduceUse any GPU capable program like pyrit or hashcat for example and with each program i use my graphics card is still unable to be used
Attached Files

-Relationships
+Relationships

-Notes

~0006364

sbrun (developer)

I don't reproduce this bug exactly but I think you should try to remove the package mesa-opencl-icd (and keep the other *-opencl-icd packages).
It seems that the latest version of the package generates issues when co-installed with other *-opencl-icd.

~0006380

rhertzog (administrator)

Can you pust the output of "pyrit list_cores" and "hashcat -b" from your Ubuntu setup where they are working for you (ideally while using the same version of each program).

And also indicate the output of the command below on your Ubuntu setup:
dpkg -l "*opencl*"

Thank you.

~0006387

OverWatch86 (reporter)

I removed only mesa-opencl-icd and it didn't make any difference.

Well from my ubuntu side i suddenly got this:

OverWatch@OverWatch-desktop:~/Downloads/hashcat-3.30$ ./hashcat -b
hashcat (v3.30) starting in benchmark mode...

OpenCL Platform 0000001: Mesa
========================
* Device 0000001: AMD TAHITI (DRM 2.43.0 / 4.4.0-62-generic, LLVM 3.8.0), 256/1024 MB allocatable, 28MCU

Hashtype: MD4

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

input.cl:32:1: error: OpenCL does not support the 'static' storage class specifier
input.cl:168:1: error: OpenCL does not support the 'static' storage class specifier

* Device 0000001: Kernel /home/OverWatch/Downloads/hashcat-3.30/OpenCL/m00900_a3.cl build failure. Proceeding without this device.

Started: Mon Feb 13 18:45:06 2017
Stopped: Mon Feb 13 18:45:07 2017
OverWatch@OverWatch-desktop:~/Downloads/hashcat-3.30$

Not sure why.

But Pyrit on the other hand works very well as follows:

OverWatch@OverWatch-desktop:~$ sudo pyrit list_cores
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

The following cores seem available...
0000001: 'OpenCL-Device 'AMD TAHITI (DRM 2.43.0 / 4.4.0-62-generic, LLVM 3.8.0)''
#2: 'CPU-Core (SSE2)'
OverWatch@OverWatch-desktop:~$

In kali:

root@OverWatch:~# pyrit list_cores
Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora
https://github.com/JPaulMora/Pyrit
This code is distributed under the GNU General Public License v3+

The following cores seem available...
0000001: 'CPU-Core (SSE2)'
#2: 'CPU-Core (SSE2)'
root@OverWatch:~#

Now i do realise that the versions of pyrit are different and that's because kali recently updated it but it didn't matter i was having the same issue before the update. It works its just not showing or working with my GPU.

The output of dpkg -l "*opencl*" is as follows in Kali
root@OverWatch:~# dpkg -l "*opencl*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-===========================================================
ii amd-opencl-icd:amd64 1:12-6+point-3 amd64 AMD OpenCL ICD
un amd-opencl-icd-ia32 <none> <none> (no description available)
un amd-opencl-icd-virtual <none> <none> (no description available)
un boinc-amd-opencl <none> <none> (no description available)
ii boinc-client-opencl 7.6.33+dfsg-5 amd64 metapackage for AMD/ATI OpenCL-savvy BOINC client and manag
ii libarrayfire-opencl-dev:amd 3.3.2+dfsg1-4 amd64 Development files for ArrayFire (OpenCL backend)
ii libarrayfire-opencl3:amd64 3.3.2+dfsg1-4 amd64 High performance library for parallel computing (OpenCL bac
un libopencl-1.1-1 <none> <none> (no description available)
un libopencl-1.2-1 <none> <none> (no description available)
un libopencl-2.0-1 <none> <none> (no description available)
un libopencl-2.1-1 <none> <none> (no description available)
un libopencl1 <none> <none> (no description available)
un mesa-opencl-icd <none> <none> (no description available)
ii nvidia-legacy-304xx-opencl- 304.134-2 amd64 NVIDIA OpenCL installable client driver (ICD) (304xx legacy
ii nvidia-legacy-340xx-opencl- 340.101-3 amd64 NVIDIA OpenCL installable client driver (ICD) (340xx legacy
un nvidia-libopencl1 <none> <none> (no description available)
un nvidia-libopencl1-dev <none> <none> (no description available)
ii nvidia-opencl-common 375.26-2 amd64 NVIDIA OpenCL driver - common files
ii nvidia-opencl-dev:amd64 8.0.44-3 amd64 NVIDIA OpenCL development files
ii nvidia-opencl-icd:amd64 375.26-2 amd64 NVIDIA OpenCL installable client driver (ICD)
un nvidia-opencl-icd-i386 <none> <none> (no description available)
ii nvidia-opencl-icd-ia32 304.131-1 amd64 please switch to multiarch nvidia-opencl-icd:i386
ii ocl-icd-libopencl1:amd64 2.2.11-1 amd64 Generic OpenCL ICD Loader
ii ocl-icd-libopencl1:i386 2.2.11-1 i386 Generic OpenCL ICD Loader
un ocl-icd-opencl-dev <none> <none> (no description available)
ii opencl-c-headers 2.1-1 all OpenCL (Open Computing Language) C header files
ii opencl-clhpp-headers 2.0.10-1 all C++ headers for OpenCL development
un opencl-clhpp-headers-doc <none> <none> (no description available)
un opencl-dev <none> <none> (no description available)
ii opencl-headers 2.1-1 all OpenCL (Open Computing Language) header files
un opencl-icd <none> <none> (no description available)
un opencl-icd-1.1-1 <none> <none> (no description available)
un opencl-icd-1.2-1 <none> <none> (no description available)
un openclipart-libreoffice <none> <none> (no description available)
un openclipart2-libreoffice <none> <none> (no description available)
ii pocl-opencl-icd 0.13-8 amd64 pocl ICD
ii pyrit-opencl 0.5.0+git20170120- amd64 OpenCL extension module for Pyrit
ii pyrit-opencl-dbgsym 0.5.0+git20170120- amd64 Debug symbols for pyrit-opencl
ii python-pyopencl 2016.1+git20161130 amd64 Python module to access OpenCL parallel computation API
ii python-pyopencl-dbg 2016.1+git20161130 amd64 Python module to access OpenCL API (debug extensions)
ii python-pyopencl-doc 2016.1+git20161130 all module to access OpenCL parallel computation API (documenta
ii python-pyopencl-headers 2012.1.dfsg-1 all headers for Python module to access OpenCL parallel computa
ii python3-pyopencl 2016.1+git20161130 amd64 Python 3 module to access OpenCL parallel computation API
ii python3-pyopencl-dbg 2016.1+git20161130 amd64 Python 3 module to access OpenCL API (debug extensions)
root@OverWatch:~#

In ubuntu:

Overwatch@Overwatch-desktop:~$ dpkg -l "*opencl*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-===========================================================
un amd-opencl-icd <none> <none> (no description available)
rc beignet-opencl-icd:amd64 1.1.1-2 amd64 OpenCL library for Intel GPUs
un boinc-amd-opencl <none> <none> (no description available)
ii boinc-client-opencl 7.6.31+dfsg-6ubunt amd64 metapackage for AMD/ATI OpenCL-savvy BOINC client and manag
ii libarrayfire-opencl-dev:amd 3.2.2+dfsg1-2 amd64 Development files for ArrayFire (OpenCL backend)
ii libarrayfire-opencl3:amd64 3.2.2+dfsg1-2 amd64 High performance library for parallel computing (OpenCL bac
ii libarrayfire-opencl3-dbg:am 3.2.2+dfsg1-2 amd64 Debugging symbols for ArrayFire (OpenCL backend)
un libopencl-1.1-1 <none> <none> (no description available)
un libopencl-1.2-1 <none> <none> (no description available)
un libopencl-2.0-1 <none> <none> (no description available)
un libopencl-2.1-1 <none> <none> (no description available)
un libopencl1 <none> <none> (no description available)
ii mesa-opencl-icd:amd64 12.0.6-0ubuntu0.16 amd64 free implementation of the OpenCL API -- ICD runtime
un nvidia-libopencl1 <none> <none> (no description available)
un nvidia-libopencl1-367 <none> <none> (no description available)
un nvidia-libopencl1-dev <none> <none> (no description available)
ii nvidia-opencl-dev:amd64 7.5.18-0ubuntu1 amd64 NVIDIA OpenCL development files
un nvidia-opencl-icd <none> <none> (no description available)
ii nvidia-opencl-icd-367 367.57-0ubuntu0.16 amd64 NVIDIA OpenCL ICD
ii ocl-icd-libopencl1:amd64 2.2.8-1 amd64 Generic OpenCL ICD Loader
un ocl-icd-opencl-dev <none> <none> (no description available)
un opencl-dev <none> <none> (no description available)
ii opencl-headers 2.0~svn32091-2 all OpenCL (Open Computing Language) header files
un opencl-icd <none> <none> (no description available)
un openclipart-libreoffice <none> <none> (no description available)
un openclipart2-libreoffice <none> <none> (no description available)
ii pyrit-opencl 0.4.0-1 amd64 OpenCL extension module for Pyrit
ii python-pyopencl 2015.1-2build3 amd64 Python module to access OpenCL parallel computation API
ii python-pyopencl-dbg 2015.1-2build3 amd64 Python module to access OpenCL API (debug extensions)
ii python-pyopencl-doc 2015.1-2build3 all module to access OpenCL parallel computation API (documenta
un python-pyopencl-headers <none> <none> (no description available)
un python3-pyopencl <none> <none> (no description available)
Overwatch@Overwatch-desktop:~$
+Notes

-Issue History
Date Modified Username Field Change
2017-02-07 19:27 OverWatch86 New Issue
2017-02-10 19:47 sbrun Assigned To => sbrun
2017-02-10 19:47 sbrun Status new => assigned
2017-02-10 19:47 sbrun Note Added: 0006364
2017-02-13 17:28 rhertzog Note Added: 0006380
2017-02-13 19:49 OverWatch86 Note Added: 0006387
+Issue History