JPaulMora / Pyrit

The famous WPA precomputed cracker, Migrated from Google.
GNU General Public License v3.0
1.06k stars 273 forks source link

Nvidia Cuda Issue #560

Open Rapt0r445 opened 6 years ago

Rapt0r445 commented 6 years ago

Hi Guys i am having a bit of an issue istalling Pyrit on my Nvidia enabled laptop.

I followed the install instructions and had no errors during installation. My laptop Specs are Nvidia 940M and have used Pyrit before without issue but i reinstalled my Ubuntu OS and thus had to reinstall Pyrit.

I have the latest Nvidia and Cuda Drivers.

After the install is complete (no errors) i run Pyrit and it loads normally but my problem occurs when i run "pyrit list_cores" or "pyrit benchmark" after enabling cuda in the config file.

chris@laptop~$ 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+

Traceback (most recent call last): File "/usr/local/bin/pyrit", line 6, in pyrit_cli.Pyrit_CLI().initFromArgv() File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 117, in initFromArgv func(self, **options) File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 294, in list_cores with cpyrit.cpyrit.CPyrit() as cp: File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 442, in init self.CUDAs.append(CUDACore(queue=self, dev_idx=dev_idx)) File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 243, in init _cpyrit_cuda.CUDADevice.init(self, dev_idx) SystemError: Unknown CUresult.

chris@laptop:~$ pyrit benchmark 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+

Traceback (most recent call last): File "/usr/local/bin/pyrit", line 6, in pyrit_cli.Pyrit_CLI().initFromArgv() File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 117, in initFromArgv func(self, **options) File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 1193, in benchmark with cpyrit.cpyrit.CPyrit() as cp: File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 442, in init self.CUDAs.append(CUDACore(queue=self, dev_idx=dev_idx)) File "/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py", line 243, in init _cpyrit_cuda.CUDADevice.init(self, dev_idx) SystemError: Unknown CUresult.

What's happening, i don't know how to fix this

Hope someone can help

Hackitfree commented 6 years ago

https://github.com/JPaulMora/Pyrit/issues/553