Linux Graphics Just Suddenly Appeared.

log in

Advanced search

Message boards : Cafe Einstein : Linux Graphics Just Suddenly Appeared.

1 · 2 · Next
Author Message
Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 2667 - Posted: 9 Feb 2005, 23:22:53 UTC
Last modified: 9 Feb 2005, 23:23:33 UTC

This is strange. Boinc is running on my Linux machine. I just happened to me watching when it suspended a PAH WU and started a new EAH WU. When it did, A small window appeared with the EAH graphics. Some kind of spinning star map. I dismissed the window and EAH produced the following:

2005-02-09 18:16:18 [Einstein@Home] Result H1_0267.9__0268.0_0.1_T09_Test02_3 exited with zero status but no 'finished' file
2005-02-09 18:16:18 [Einstein@Home] If this happens repeatedly you may need to reset the project.
2005-02-09 18:16:18 [Einstein@Home] Restarting result H1_0267.9__0268.0_0.1_T09_Test02_3 using einstein version 4.76


When the WU restarted the graphics window did not come back. I stopped and restart the core client and the graphics window also did not come back.

Remember, this is on my Linux box, not a Windows box where I believe the graphics is pretty standard.

Anyone know what's going on? Can I get the graphics back (not that I want it, since it wastes cpu cycles better left for crunching, but it would be interesting.) Anyone got a pointer to what the graphics represent (if anything)?
____________

Profile Astro
Avatar
Send message
Joined: 18 Jan 05
Posts: 257
Credit: 1,000,560
RAC: 0
Message 2673 - Posted: 10 Feb 2005, 0:08:18 UTC
Last modified: 10 Feb 2005, 0:22:58 UTC

I know nothing of Linux, but the "spinning Star" is actually the universe, and it is the Einstein graphic. Look down the threads and you'll learn more about it.

tony

Go here to find out about the graphic.

http://pirates.vassar.edu/starsphere.php


____________

Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 2679 - Posted: 10 Feb 2005, 0:51:48 UTC - in response to Message 2673.

> I know nothing of Linux, but the "spinning Star" is actually the universe, and
> it is the Einstein graphic. Look down the threads and you'll learn more about
> it.
>
> tony
>
> Go here to find out about the graphic.
>
> http://pirates.vassar.edu/starsphere.php


Thanks. After I made my post I found that.

Charlie

____________

Profile Bruce Allen
Volunteer moderator
Project administrator
Project developer
Project scientist
Avatar
Send message
Joined: 15 Oct 04
Posts: 1105
Credit: 171,768,817
RAC: 0
Message 2688 - Posted: 10 Feb 2005, 3:18:27 UTC - in response to Message 2667.
Last modified: 10 Feb 2005, 3:19:16 UTC

> This is strange. Boinc is running on my Linux machine. I just happened to me
> watching when it suspended a PAH WU and started a new EAH WU. When it did, A
> small window appeared with the EAH graphics. Some kind of spinning star map.
> I dismissed the window and EAH produced the following:
>
> 2005-02-09 18:16:18 [Einstein@Home] Result H1_0267.9__0268.0_0.1_T09_Test02_3
> exited with zero status but no 'finished' file
> 2005-02-09 18:16:18 [Einstein@Home] If this happens repeatedly you may need to
> reset the project.
> 2005-02-09 18:16:18 [Einstein@Home] Restarting result
> H1_0267.9__0268.0_0.1_T09_Test02_3 using einstein version 4.76
>
>
> When the WU restarted the graphics window did not come back. I stopped and
> restart the core client and the graphics window also did not come back.
>
> Remember, this is on my Linux box, not a Windows box where I believe the
> graphics is pretty standard.
>
> Anyone know what's going on? Can I get the graphics back (not that I want it,
> since it wastes cpu cycles better left for crunching, but it would be
> interesting.) Anyone got a pointer to what the graphics represent (if
> anything)?

Charles,

Both the Linux and Mac applications that we are distributing are 'graphics capable'. However most Linux & Mac users don't see the graphics because the BOINC project has not yet done a public distribution of the BOINC manager, which is the tool that sends the 'display graphics' and 'undisplay graphics' commands to the application. We have been using and testing this tool on Linux and Mac for several months. Hopefully the BOINC project will start public distribution of this tool soon. Then Linux and Mac users can watch the graphics too!

Cheers,
Bruce
____________

Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 2759 - Posted: 10 Feb 2005, 17:32:35 UTC - in response to Message 2688.

> Charles,
>
> Both the Linux and Mac applications that we are distributing are 'graphics
> capable'. However most Linux & Mac users don't see the graphics because
> the BOINC project has not yet done a public distribution of the BOINC manager,
> which is the tool that sends the 'display graphics' and 'undisplay graphics'
> commands to the application. We have been using and testing this tool on
> Linux and Mac for several months. Hopefully the BOINC project will start
> public distribution of this tool soon. Then Linux and Mac users can watch the
> graphics too!
>
> Cheers,
> Bruce
>

Thanks for that info. But, I wonder what happened to cause the graphics to appear like that. I'm running Boinc 4.19 on my Linux box and there is no way I know of to make them appear.


Hmmm. Makes me wonder. I know how the rpc connection works so that an external application can talk to the core client. In fact, I use a PHP application written by, I think, the fellow who puts out BoincView. I can control and monitor my boinc installation from any web browser. I'll have to dig into the code for that and the core client to see if I can get it to display graphics, too. Something to do for the weekend!

Charlie

____________

Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 2801 - Posted: 10 Feb 2005, 22:14:36 UTC - in response to Message 2759.
Last modified: 10 Feb 2005, 22:16:06 UTC

> Hmmm. Makes me wonder. I know how the rpc connection works so that an
> external application can talk to the core client. In fact, I use a PHP
> application written by, I think, the fellow who puts out BoincView. I can
> control and monitor my boinc installation from any web browser. I'll have to
> dig into the code for that and the core client to see if I can get it to
> display graphics, too. Something to do for the weekend!
>


Yup, it works! From a terminal window I connected to the RPC port using telnet. Then I sent it the command <result_show_graphics> and up popped the EAH graphics. It was running an EAH WU at the time. I quickly added this option to the PHP script I mentioned above. However, by the time I did that it had switched to a PAH WU and that does not have graphic capabilities. Have to wait until it switches back to the EAH WU.

Charlie

____________

Profile Bruce Allen
Volunteer moderator
Project administrator
Project developer
Project scientist
Avatar
Send message
Joined: 15 Oct 04
Posts: 1105
Credit: 171,768,817
RAC: 0
Message 2810 - Posted: 11 Feb 2005, 1:10:39 UTC - in response to Message 2801.

> > Hmmm. Makes me wonder. I know how the rpc connection works so that an
> > external application can talk to the core client. In fact, I use a PHP
> > application written by, I think, the fellow who puts out BoincView. I
> can
> > control and monitor my boinc installation from any web browser. I'll
> have to
> > dig into the code for that and the core client to see if I can get it to
> > display graphics, too. Something to do for the weekend!
> >
>
>
> Yup, it works! From a terminal window I connected to the RPC port using
> telnet. Then I sent it the command and up popped
> the EAH graphics. It was running an EAH WU at the time. I quickly added this
> option to the PHP script I mentioned above. However, by the time I did that
> it had switched to a PAH WU and that does not have graphic capabilities. Have
> to wait until it switches back to the EAH WU.

You know it never occured to me that one could just telnet in -- it's a good idea. Could you please post a brief transcript of your telnet session? It sounds like a good debugging technique for some purposes.

Cheers,
Bruce
____________

Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 2824 - Posted: 11 Feb 2005, 3:04:44 UTC - in response to Message 2810.
Last modified: 11 Feb 2005, 3:14:18 UTC

> You know it never occured to me that one could just telnet in -- it's a good
> idea. Could you please post a brief transcript of your telnet session? It
> sounds like a good debugging technique for some purposes.


OK, here's how it's done. Fire up a terminal window - xterm, konsole, whatever.
What port you use depends on the versions of the core client. 4.19 and earlier use port 31416. The 4.5x, 4.6x (and maybe the recent 4.20?) use a different port 1043. Since I have 4.19, I use port 31416. This is what it looks like:

telnet localhost 31416 --I entered this
Trying 127.0.0.1... --
Connected to localhost. -- System responded with this (3 lines)
Escape character is '^]'. --
<result_show_graphics> --I entered this.
<success> --System responded. Graphics appeared
^] --control right bracket to get telnet prompt
telnet> quit --enter quit to end telnet session
Connection closed.

That was it. You do neet the telnet service enabled on your linux box. Mine was not by default. My router keeps it blocked from the Internet.

Hope this helps.

Charlie


____________

Profile Bernd Machenschalk
Volunteer moderator
Project administrator
Project developer
Avatar
Send message
Joined: 15 Oct 04
Posts: 3612
Credit: 128,606,993
RAC: 52,936
Message 2873 - Posted: 11 Feb 2005, 12:05:26 UTC - in response to Message 2824.
Last modified: 11 Feb 2005, 12:13:18 UTC

Thanks!

BTW, this also works on the Mac and even on Windows.

> You do neet the telnet service enabled on your linux box.

Why? The telnet client should work without having a server running on the machine. In this case the boinc client should be the server that is contacted by telnet. Is there a telnet client distributed with any Linux distri that doesn't work without a telnet server?

BM
____________
BM

Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 2875 - Posted: 11 Feb 2005, 12:46:41 UTC - in response to Message 2873.

>
> > You do neet the telnet service enabled on your linux box.
>
> Why? The telnet client should work without having a server running on the
> machine. In this case the boinc client should be the server that is contacted
> by telnet. Is there a telnet client distributed with any Linux distri that
> doesn't work without a telnet server?


You're right. I should have realized that. I had enabled telnet a while ago so I could reach my Linux box from another windows box on my home network. Was having some problems at the time and X would hang. (Don't worry, my router does not allow telnet through so you can't get to me from the Internet.)_

Charlie

____________

Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 2876 - Posted: 11 Feb 2005, 12:53:50 UTC

While we're talking about the graphics on Linux, I just wanted to report a couple of things.

I read the page on this site describing the graphic and how to make changes to them. As described, I can use the mouse to zoom in and out and to rotate the celestial sphere. However, the other keyboard commands listed do not seem to work.

Charlie
____________

Profile Dan2E
Avatar
Send message
Joined: 9 Feb 05
Posts: 7
Credit: 610,592
RAC: 0
Message 3614 - Posted: 17 Feb 2005, 15:39:13 UTC


- - - - - - - - - - - Charlie wrote: - - - - - -

OK, here's how it's done. Fire up a terminal window - xterm, konsole, whatever.
What port you use depends on the versions of the core client. 4.19 and earlier use port 31416. The 4.5x, 4.6x (and maybe the recent 4.20?) use a different port 1043. Since I have 4.19, I use port 31416. This is what it looks like:

telnet localhost 31416 --I entered this
Trying 127.0.0.1... --
Connected to localhost. -- System responded with this (3 lines)
Escape character is '^]'. --
--I entered this.
--System responded. Graphics appeared
^] --control right bracket to get telnet prompt
telnet> quit --enter quit to end telnet session
Connection closed.

That was it. You do neet the telnet service enabled on your linux box. Mine was not by default. My router keeps it blocked from the Internet.

Hope this helps.

Charlie
- - - - - - - - - - - -

OK, way cute!

But they always want more:

- what's the command to turn OFF this graphics window (without shutting down E@h) ?

- Is there a way to turn off the automatic rotation ? (I'm getting sphere-sick watching it move!)

Thanks,
____________
- Dan Dewey, MIT)KI
<B>http://space.mit.edu/home/dd</B>

Profile Rusty
Avatar
Send message
Joined: 15 Oct 04
Posts: 5
Credit: 83,732
RAC: 0
Message 3615 - Posted: 17 Feb 2005, 15:43:14 UTC - in response to Message 2876.


> I read the page on this site describing the graphic and how to make changes to
> them. As described, I can use the mouse to zoom in and out and to rotate the
> celestial sphere. However, the other keyboard commands listed do not seem to
> work.

The keyboard commands are working in a test version of the code but are not yet in the production version of the code.


____________
- Rusty McGee Johnson

Profile Charles Dennett
Send message
Joined: 22 Jan 05
Posts: 22
Credit: 22,580
RAC: 0
Message 3624 - Posted: 17 Feb 2005, 17:27:47 UTC - in response to Message 3614.

>
> OK, way cute!
>
> But they always want more:
>
> - what's the command to turn OFF this graphics window (without shutting down
> E@h) ?
>
> - Is there a way to turn off the automatic rotation ? (I'm getting
> sphere-sick watching it move!)

1. simply close the graphics window. Works for me.

2. Not that I know of.

Charlie

____________

Profile sandrik
Avatar
Send message
Joined: 9 Feb 05
Posts: 14
Credit: 124,582
RAC: 0
Message 3847 - Posted: 19 Feb 2005, 13:19:33 UTC
Last modified: 19 Feb 2005, 13:22:06 UTC

Hi !

Maybe it will a good idear, that Users who have the graphics will test them and report any problems with the graphics.

Duds that is development here and we are here to test the new Apps and things from the project, so please test the new graphics for errors and make a report, without such tests the LINUX version will never have a graphic interface ! ;-)

Ok i also prefer the commandline Version, but ... you know ;-)

I have never seen any graphic on my LINUX box ! What a shame! :-(
____________
Greetings from Wetzlar in Germany

Sascha Bickel
Admin, Teamleader CPDN & Einstein
Team Science and Research Hessen (SaR Hessen)
http://www.sar-hessen.de

nra1871
Send message
Joined: 20 Feb 05
Posts: 3
Credit: 0
RAC: 0
Message 4242 - Posted: 20 Feb 2005, 23:52:40 UTC

I just got the graphics for OS X using the directions below. Very cool, definitely seems a lot more cpu intensive than SETI (at least the old version). Anyone able to tell me about CPU terminology? What I mean is in my activity monitor for cpu I see %user, %system, %nice and %idle. I can guess at idle and user, but what is nice? I see that is primarily what boinc is using.

____________

Profile Bernd Machenschalk
Volunteer moderator
Project administrator
Project developer
Avatar
Send message
Joined: 15 Oct 04
Posts: 3612
Credit: 128,606,993
RAC: 52,936
Message 4245 - Posted: 21 Feb 2005, 0:09:01 UTC
Last modified: 21 Feb 2005, 0:09:32 UTC

The graphics shouldn't be CPU intensive, as they are mainly done by the graphics card, not the CPU.

You can assign priority levels to processes so that some are executed when there's nothing else to do. These processes are "nice" in the sense that they step back when there is more urgent work to do. %nice is the amount of time the CPU spends with such processes.

BM

____________
BM

nra1871
Send message
Joined: 20 Feb 05
Posts: 3
Credit: 0
RAC: 0
Message 4249 - Posted: 21 Feb 2005, 0:20:24 UTC

Maybe intensive was the wrong word. My cpu monitor is pretty much topped out, but it is all blue (nice). It seems to have very little or no impact on system performance. I've had it going all day and haven't noticed any slowdown for normal activities. Einstein is processing pretty slow, but then I'm only on a 1GHz G4. If nothing else it sure makes it look like I'm doing something really important.

____________

Profile Madrigar
Send message
Joined: 23 Feb 05
Posts: 9
Credit: 321,104
RAC: 0
Message 5006 - Posted: 24 Feb 2005, 5:18:58 UTC

Sweet! Got it working on my Mac also. Pretty cool it shows up 2 seperate windows with different graphics since I have a dual CPU G5 :)
____________

Profile Madrigar
Send message
Joined: 23 Feb 05
Posts: 9
Credit: 321,104
RAC: 0
Message 5007 - Posted: 24 Feb 2005, 5:20:48 UTC - in response to Message 5006.

> Sweet! Got it working on my Mac also. Pretty cool it shows up 2 seperate
> windows with different graphics since I have a dual CPU G5 :)
>

Speaking of... is it actually doing a seperate WU on each processor??? Or is it splitting the load of a single WU across the 2 processors?
____________

1 · 2 · Next

Message boards : Cafe Einstein : Linux Graphics Just Suddenly Appeared.


Home · Your account · Message boards

This material is based upon work supported by the National Science Foundation (NSF) under Grants PHY-1104902, PHY-1104617 and PHY-1105572 and by the Max Planck Gesellschaft (MPG). Any opinions, findings, and conclusions or recommendations expressed in this material are those of the investigators and do not necessarily reflect the views of the NSF or the MPG.

Copyright © 2016 Bruce Allen