Harry6363 / pyrit

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

pyrit with cal++ on a switchable graphics intel HD4000/AMD radeon HD 8730M #454

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.pyrit list_core
2.pyrit benchmark

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

the expected output is to list the cores with the gpu core and benchmarks
instead i am getting a cal error:

error: pyrit terminate called after throwing an instance of 'cal::Error' 
what(): Operational error 

What version of the product are you using? On what operating system?
pyrit dev 0.4.1 with kali linux 1.0.7

Please provide any additional information below.

my laptop have a switchable graphics architecture intel HD4000/ AMD radeon HD 
8730M

root@kali:~# lspci -vnn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core 
processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI 
Mars [Radeon HD 8500/8700M Series] [1002:6601] (prog-if 00 [VGA controller])

i have kali linux 1.0.7 and trying to use pyrit with my gpu (CAL or opencl)
SDK 3.7
calapp 0.90
pyrit 0.4.1

i was able to install the amd drivers and catalyst with no errors:

root@kali:~# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon (TM) HD 8500M/8700M
OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006.1001

root@kali:~# lsmod | grep fglrx
fglrx 8675016 77 
button 12944 2 i915,fglrx

ATI catalyst center using my AMD graphics.

i installed AMD sdk as well as well as cal++ and pyrit with no errors at all.

root@kali:~# pyrit list_cores
Pyrit 0.4.1-dev (svn r308) (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...
#1: 'CPU-Core (SSE2/AES)'
#2: 'CPU-Core (SSE2/AES)'
#3: 'CPU-Core (SSE2/AES)'
#4: 'CPU-Core (SSE2/AES)'

i installed pyrit CAL and when i tried to any pyrit command (pyrit list_cores, 
pyrit benchmark), i get the following error: pyrit terminate called after 
throwing an instance of 'cal::Error' what(): Operational error 

i made sure cal was installed with no errors but couldnt get pyrit to run with 
it so i decided to switch to pyrit opencl

after removing pyrit and cleaning and reinstalling pyrit and pyrit opencl, i 
run the command list_cores but it doesnt recognize my gpu so the output is 
still 

root@kali:~/pyrit_svn/cpyrit_opencl# pyrit list_cores
Pyrit 0.4.1-dev (svn r308) (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...
#1: 'CPU-Core (SSE2/AES)'
#2: 'CPU-Core (SSE2/AES)'
#3: 'CPU-Core (SSE2/AES)'
#4: 'CPU-Core (SSE2/AES)'

Can anybody help me with this task to get pyrit to use my gpu using cal or 
opencl?
i am sure that no errors occured at any stage of the installation, and i tried 
to have a clean install of kali with same results.
is my switchable graphics architecture related to that?

kindly help me in this.

Original issue reported on code.google.com by ectan...@gmail.com on 29 Jun 2014 at 11:31

GoogleCodeExporter commented 8 years ago
have the variables?

PATH=$PATH:/usr/local/cuda/bin
CUDA_INSTALL_PATH="/usr/local/cuda"
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
export PATH
export CUDA_INSTALL_PATH
export LD_LIBRARY_PATH

Built CUDA for Pyrit?

root@bt:~/pyrit/pyrit# cd ../cpyrit_cuda/
root@bt:~/pyrit/cpyrit_cuda# python setup.py build
root@bt:~/pyrit/cpyrit_cuda# python setup.py install

Original comment by deltomaf...@gmail.com on 1 Jul 2014 at 12:37

GoogleCodeExporter commented 8 years ago
i am using an AMD radeaon HD 7830M graphic card.
so i installed fglrx and successfully installed pyrit cal++ with no errors.

yet still having this error:terminate called after throwing an instance of 
'cal::Error' what(): Operational error

why should i install cypyrit_cuda??

Original comment by ectan...@gmail.com on 1 Jul 2014 at 6:45

GoogleCodeExporter commented 8 years ago
 can any of the developpers at least tell me what is the reason of this error? or what can be the cause of it?

Original comment by ectan...@gmail.com on 1 Jul 2014 at 7:30

GoogleCodeExporter commented 8 years ago
sorry... i not seen which was AMD Radeon, reinstall SDK for AMD. 
check the environmental variables and path.

Original comment by deltomaf...@gmail.com on 13 Jul 2014 at 11:53

GoogleCodeExporter commented 8 years ago
hi,guy, have you solved this problem? i have the same trouble with you.  

Original comment by Jglimm...@gmail.com on 6 Dec 2014 at 7:00

GoogleCodeExporter commented 8 years ago
not yet, no support received yet

Original comment by ectan...@gmail.com on 7 Dec 2014 at 8:10