AurorWalnut / pyrit

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

Pyrit dont working in terminal (tty and ssh), only in X #301

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. all pyrit commands
2. pyrit benchmark e.g.
3.

What is the expected output? What do you see instead?
Pyrit work only in X (terminal started in X), but if I start pyrit in tty1 
(2,3,etc) or ssh - it just does nothing, but when I switch from tty to X work 
begins on the console (aticonfig show GPU load ~85%) and I can see results when 
switch back to tty

What version of the product are you using? On what operating system?
Radeon HD4850, Catalyst 10.3, SDK 2.4
tried Ubuntu 10.04 and Slax 6.1.2 - the same result.

Please provide any additional information below.

Original issue reported on code.google.com by spacer.h...@gmail.com on 18 Apr 2011 at 9:19

GoogleCodeExporter commented 8 years ago
pyrit-0.4.0.tar.gz, cpyrit-opencl-0.4.0.tar.gz
from here: http://code.google.com/p/pyrit/downloads/list

Original comment by spacer.h...@gmail.com on 18 Apr 2011 at 9:22

GoogleCodeExporter commented 8 years ago
Pyrit for NVIDIA card can run with/without X, but it is better without X to 
dedicate all GPU's power to calculation.

Pyrit for ATI card MUST run inside X.

Original comment by pyrit.lo...@gmail.com on 18 Apr 2011 at 9:46

GoogleCodeExporter commented 8 years ago
Oh, it is a pity! :-(
Could the situation change in the future? Some patches, new drivers, etc...
Or is it a fundamental problem?

P.S. why GPU load ~85%, not 95-100%

Thanks!!!

Original comment by spacer.h...@gmail.com on 18 Apr 2011 at 10:12

GoogleCodeExporter commented 8 years ago
because of architecture of ATI Catalyst/SDK, the GPU can be seen (and used) 
ONLY if X server it is running and the pyrit is used from a terminal inside X. 
I don't think this will change in near future.
I don't understand the problem you have to run X....

About % load: in case of mono GPU as you have, pyrit charge it always at 100%, 
probably you cant see it because aticonfig "stole" part of the power. 
My suggestion: use a very light windows mangager (i.e. twm+xterm) and ru your 
test again.

Original comment by pyrit.lo...@gmail.com on 18 Apr 2011 at 12:15

GoogleCodeExporter commented 8 years ago
> I don't understand the problem you have to run X....
No problem with run X, only a matter of convenience and speed of access.
Want to move the round-the-daily noisy block somewhere far away, but work there 
will be uncomfortable (much better with a laptop on a couch :), and remotely 
log on the computer, run the task is sometimes very necessary.

Thanks again!

Original comment by spacer.h...@gmail.com on 18 Apr 2011 at 12:51

GoogleCodeExporter commented 8 years ago
Not exactly as you said:
http://developer.amd.com/gpu_assets/App_Note-Running_ATI_Stream_Apps_Remotely.pd
f
It works!!! Now I have pyrit via ssh.
Only a few changes to the manual:
was: /dev/dri/card*  now: /dev/ati/card*
and I wrote: "export DISPLAY=:0" into .bashrc in user homedir.
And voila! :)

Thank you for your attention!

Original comment by spacer.h...@gmail.com on 21 Apr 2011 at 7:47

GoogleCodeExporter commented 8 years ago
How did you install AMD APP SDK?

I can't seem to get it to recognize my video card even though my driver 
installed correctly. OpenCL and Cal++ versions of pyrit don't work.

Original comment by GrantWSa...@gmail.com on 21 Apr 2011 at 8:24

GoogleCodeExporter commented 8 years ago
> How did you install AMD APP SDK?

I used the package from here: 
http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=125792

> I can't seem to get it to recognize my video card even though my driver 
installed correctly. OpenCL and Cal++ versions of pyrit don't work.

What card do you use?
OpenCL pyrit worked for me fine with driver 10.4 and 11.3 in ubuntu and slax, 
but only in X.

Original comment by spacer.h...@gmail.com on 22 Apr 2011 at 5:38

GoogleCodeExporter commented 8 years ago
Readon HD 5870 The Eyefinity 6 edition from Saphire. 

Maybe my motherboard could be the issue but I'm not really sure. I know Nvidia 
cards work just fine but for some odd reason I couldn't get this graphics card 
to work at all in Ubuntu 10.10 10.04 server or desktop. Seemed to work with 
Back Track through but even while on back track I could get the desktop up but 
couldn't get pyrit to find the GPU. 

Original comment by GrantWSa...@gmail.com on 23 Apr 2011 at 2:48

GoogleCodeExporter commented 8 years ago
This is a shortcoming of the driver itself. We can't fix it in Pyrit.

Please note that using a display from remote might pose a security risk. In 
theory, a local user can catch what you are "seeing" on the screen.

Original comment by lukas.l...@gmail.com on 23 Apr 2011 at 9:50

GoogleCodeExporter commented 8 years ago
Any idea what the issue might have been with my driver / cal issues. 

Can you confirm that the AMD APP SDK 2.4 and AMD 11.3 Driver work with OpenCL 
and Calapp versions of Pyrit?

Original comment by GrantWSa...@gmail.com on 23 Apr 2011 at 4:39