Results 1 to 3 of 3

Thread: Pyrit OpenCL on AMD GPU python 2.7 error

  1. #1

    Pyrit OpenCL on AMD GPU python 2.7 error

    Hello,
    I have purchased an R9 390X (http://xfxforce.com/en-us/products/a...n-r9-390x-8df6) to use with Kali (cpu i7-6700K, 32GB RAM). I'm using Kali 2.0, 4.9.0-kali1-amd64. I am currently using the open sourced drivers, as flgrx doesn't appear to still function. I have enabled opencl for pyrit, and attempted a benchmark. This is the output I get:
    Code:
    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+
    
    Calibrating... Exception in thread OpenCL-Device 'AMD HAWAII (DRM 2.48.0 / 4.9.0-kali1-amd64, LLVM 3.9.1)':
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 112, in run
        self._testComputeFunction(101)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 101, in _testComputeFunction
        self.solve(Core.TV_ESSID, [Core.TV_PW] * i))):
    SystemError: Failed to build kernel (CL_BUILD_PROGRAM_FAILURE):
    ./generic/lib/workitem/get_global_id.cl:4:30: in function opencl_pmk_kernel void (%struct.gpu_inbuffer addrspace(1)*, %struct.gpu_outbuffer addrspace(1)*): unsupported call to function get_local_size
    
    
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'OpenCL-Device 'AMD HAWAII (DRM 2.48.0 / 4.9.0-kali1-amd64, LLVM 3.9.1)'' has died unexpectedly
    
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'OpenCL-Device 'AMD HAWAII (DRM 2.48.0 / 4.9.0-kali1-amd64, LLVM 3.9.1)'' has died unexpectedly
    
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    
    
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    
    
    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
        essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    
    Traceback (most recent call last):
      File "/usr/bin/pyrit", line 6, in <module>
        pyrit_cli.Pyrit_CLI().initFromArgv()
      File "/usr/lib/python2.7/dist-packages/pyrit_cli.py", line 118, in initFromArgv
        func(self, **options)
      File "/usr/lib/python2.7/dist-packages/pyrit_cli.py", line 1200, in benchmark
        cp.enqueue('foo', ['barbarbar'] * 500)
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 575, in enqueue
        self._check_cores()
      File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
        raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    If I read this correctly, either python is missing some modules or I have a hardware/driver problem. When I run the benchmark without my gpu in use, I encounter no errors.
    Can anyone advise me to the solution to this issue?
    Thank you

  2. #2
    Join Date
    2017-Feb
    Posts
    39
    Hello, i'm not an expert with this, but i think you may have an issue with your driver so pyrit can't access it correctly and the core died as specified

  3. #3
    Join Date
    2013-Mar
    Posts
    10
    Can anyone help, i am having the same issue and have been looking for a solution but so far i can't find any

    root@Rapt0r:~# pyrit list_cores
    NVIDIA: no NVIDIA devices found
    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...
    #1: 'CPU-Core (SSE2/AES)'
    #2: 'CPU-Core (SSE2/AES)'
    #3: 'CPU-Core (SSE2/AES)'
    #4: 'CPU-Core (SSE2/AES)'

    The following OpenCL GPUs seem aviable...
    #1: 'OpenCL-Device 'AMD TAHITI (DRM 2.48.0 / 4.9.0-kali3-amd64, LLVM 3.9.1)''
    root@Rapt0r:~# pyrit benchmark
    NVIDIA: no NVIDIA devices found
    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+

    Calibrating... Exception in thread OpenCL-Device 'AMD TAHITI (DRM 2.48.0 / 4.9.0-kali3-amd64, LLVM 3.9.1)':
    Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 112, in run
    self._testComputeFunction(101)
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 101, in _testComputeFunction
    self.solve(Core.TV_ESSID, [Core.TV_PW] * i))):
    SystemError: Failed to build kernel (CL_BUILD_PROGRAM_FAILURE):
    ./generic/lib/workitem/get_global_id.cl:4:30: in function opencl_pmk_kernel void (%struct.gpu_inbuffer addrspace(1)*, %struct.gpu_outbuffer addrspace(1)*): unsupported call to function get_local_size


    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'OpenCL-Device 'AMD TAHITI (DRM 2.48.0 / 4.9.0-kali3-amd64, LLVM 3.9.1)'' has died unexpectedly

    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'OpenCL-Device 'AMD TAHITI (DRM 2.48.0 / 4.9.0-kali3-amd64, LLVM 3.9.1)'' has died unexpectedly

    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'OpenCL-Device 'AMD TAHITI (DRM 2.48.0 / 4.9.0-kali3-amd64, LLVM 3.9.1)'' has died unexpectedly

    Exception in thread CPU-Core (SSE2/AES):
    Traceback (most recent call last):
    File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 109, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 643, in _gather
    self._check_cores()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly

    Traceback (most recent call last):
    File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
    File "/usr/lib/python2.7/dist-packages/pyrit_cli.py", line 118, in initFromArgv
    func(self, **options)
    File "/usr/lib/python2.7/dist-packages/pyrit_cli.py", line 1200, in benchmark
    cp.enqueue('foo', ['barbarbar'] * 500)
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 575, in enqueue
    self._check_cores()
    File "/usr/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 501, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
    SystemError: The core 'CPU-Core (SSE2/AES)' has died unexpectedly
    root@Rapt0r:~#
    Does anyone have any answers? all help is very much appreciated

Similar Threads

  1. ATI AMD 8xxxHD Series: installing ATI OpenCL with Pyrit
    By 3t3st3r in forum How-To Archive
    Replies: 7
    Last Post: 2014-12-29, 14:56
  2. Replies: 7
    Last Post: 2014-09-20, 03:28
  3. [Help] Install Pyrit with OpenCL
    By Kraako in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2013-03-27, 21:46

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •