freewso / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

Pyrit CUDA not working. #421

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installing required drivers and toolkit
2. Installing pyrit-0.3.0 and cpyrit-cuda-0.3.0
3. Running pyrit commands such as list_cores

What is the expected output? What do you see instead?

Without cpyrit cuda built and installed I see my cores, as expected. Installing 
it should show my GTX 680 in the list. 

I get this output instead:

pyrit list_cores
Pyrit 0.3.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Traceback (most recent call last):  
  File "/usr/local/bin/pyrit", line 6, in <module>    
     pyrit_cli.Pyrit_CLI().initFromArgv() 
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 115, in initFromArgv    
     func(self, **options)  
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 291, in list_cores    
     with cpyrit.cpyrit.CPyrit() as cp:  
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py", line 440, in __
init__    
     self.cores.append(CUDACore(queue=self, dev_idx=dev_idx))  
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/cpyrit.py", line 245, in __init__    _cpyrit_cuda.CUDADevice.__init__(self, dev_idx)
SystemError: CUDA_ERROR_INVALID SOURCE

What version of the product are you using? On what operating system?

I am running th most recent BT5 release,  with the most current nvidia drivers 
and version of pyrit
Please provide any additional information below.

My graphics card is a gtx 680, the rest of the install process was smooth. Just 
not the results.  Saw another thread with a similar issue where the setup.py 
was modified for ptx instead of cubin, tried that fix and didnt seem to get any 
results. The installer wouldnt work. 

Original issue reported on code.google.com by skpgraph...@gmail.com on 3 Mar 2013 at 11:53

GoogleCodeExporter commented 8 years ago
Just kidding.. I'm dumb. Im running 0.3.0 downloaded from old tutorial links. 
I'll try 0.4.0 in the morning and see if theres any change.

Original comment by skpgraph...@gmail.com on 3 Mar 2013 at 12:19

GoogleCodeExporter commented 8 years ago
Sure enough resolved in 0.4.0 

Original comment by skpgraph...@gmail.com on 4 Mar 2013 at 7:47