[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - New improved SD images (Beta testers needed!!!!)

New improved SD images (Beta testers needed!!!!)

Forum for anything not suitable for the other forums.

Re: New improved SD images (Beta testers needed!!!!)

Postby nickoppen » Thu Apr 02, 2015 12:01 pm

I've installed tightvncserver which I invoke with

vncserver :1 -geometry 1920x1200 -depth 24

I use Ultravnc on windows and I just get a grey background, a terminal session and an X cursor.

Has anyone found a solution or work around? Has anyone other than paran had a problem with it?

I got an install error when I first ran apt-get install tightvncserver that I forgot to write down but it was something to do with fonts. I think I've fixed all the font problems now and I don't think that ignoring missing fonts would cause much of a problem anyway (according to volumous chatter I found on google). Since then I've reinstalled it many times with no issues.

I've been going at it for hours and it's driving me insane. With a microserver this sort of a "must have".

nick
Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: New improved SD images (Beta testers needed!!!!)

Postby sebraa » Thu Apr 02, 2015 12:27 pm

That is correct. The VNC server is an X server, so it just provides a target for local (Epiphany!) applications to render to. You did not start any applications, so you get the default background pattern and cursor.

The simplest way would be to open a second connection to the Epiphany and type "DISPLAY=:1.0 xterm". The display variable tells applications where to send their screen (in your case: local X server 1, screen zero - which you gave in the VNC server command), and "xterm" is a terminal emulator.

I do not know out of my head how to start a gnome session, but a very simple window manager is icewm.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Re: New improved SD images (Beta testers needed!!!!)

Postby paran » Thu Apr 02, 2015 2:02 pm

I think Jan.2015 pubuntu version is stripped down ubuntu for testing purpose so that it will make easier sorting out the kinks in parallella board and ubuntu software. The blank desktop with terminal like input ( cross- mouse) is expected. I tried installing desktop but it was blocked due to missing incompatible packages. The next phase of testing - the important ones is to run parallella examples which I do not know how yet. I think the important one is the c code that print out hello world 16 times each representing a core number of parallella board you have ( or 64 times for other version of parallella board), And then other more challenging codes like malbrot etc. If epiphany does not work then one has no point of spending time troubleshooting linaro or pubuntu. The purpose of parallella board is to use epiphany chip not zynq or run linux-desktop. That is right. That will be interesting. In instructions of installing next version of pubuntu on SD card, it will be very cool/interesting to have automated-user activated thorough test of paralllella board and to send log of test results to aoloffsson or somebody else for statistical data collection of issues of parallella board. It will help visualize the parallella performace on large scale and manufacturer performance which is standard procedure for most software and mnufacturer-checks-vendors companies. Here is where I see some improvements can be made. In parallella/parallella folder, there are three sub-folders in tests folder (zynq, mpi, epihany, browndeer) each with run.sh command. I had to go to each folder to execute them. Why not just one run-complete-test.sh file in parallella folder to do all tests at one and to create a log file for user to view the results. Another command to transmit that log so that user has a choice about sending info avoiding privacy issue.
NOTE: to execute the run.sh file type: ./run.sh
to navigate folders like list type: ls
or change directory type: cd ..
paran
 
Posts: 53
Joined: Sat Jun 28, 2014 5:22 pm
Location: Georgetown, Ontario, Canada

Re: New improved SD images (Beta testers needed!!!!)

Postby paran » Thu Apr 02, 2015 4:48 pm

paran
 
Posts: 53
Joined: Sat Jun 28, 2014 5:22 pm
Location: Georgetown, Ontario, Canada

Re: New improved SD images (Beta testers needed!!!!)

Postby nickoppen » Fri Apr 03, 2015 6:26 am

Tightvncserver mystery solved... I didn't realise that lxde was not installed. When I got it (sudo apt-get install lxde) everything worked as before.
Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: New improved SD images (Beta testers needed!!!!)

Postby paran » Fri Apr 03, 2015 3:48 pm

I installed lxde vnc does not connect to it anymore. How do I start lxde from terminal?
My mistake. I typed parallella:1 address on vnc viewer. It did not take me anywhere( weird because it works with Linaro-nano label on old version of ubuntu). However, when I typed address numbers, I have got elegant lxde desktop. Good ....Good....Next step for me is to try parallella examples....the simplest one is xtemp. I've got xtemp running without compiling it. Maximum 50C there. So far still do not know how to compile and run epiphany/parallella examples. Following Dr. BeauWebber instructions does not help. Do I have to do something else before that?
viewtopic.php?f=49&t=1256
paran
 
Posts: 53
Joined: Sat Jun 28, 2014 5:22 pm
Location: Georgetown, Ontario, Canada

Re: New improved SD images (Beta testers needed!!!!)

Postby paran » Fri Apr 03, 2015 9:24 pm

I managed to run simple epiphany hello world and parallella recoin-miner code, however I am still stuck with mandelbrot and aobench. Both give the same error message:

parallella@parallella:~/parallella-examples$ cd aobench
parallella@parallella:~/parallella-examples/aobench$ ls
Makefile README.md epiphany.c host.c img run.sh shared_data.h
parallella@parallella:~/parallella-examples/aobench$ make
gcc -O3 host.c -o ao -I /opt/adapteva/esdk/tools/host/include -L /opt/adapteva/esdk/tools/host/lib -le-hal -lrt
/tmp/ccTJDLmS.o: In function `main':
host.c:(.text.startup+0x1a2): undefined reference to `e_load_group'
collect2: error: ld returned 1 exit status
make: *** [ao] Error 1
parallella@parallella:~/parallella-examples/aobench$

Any suggestions?
paran
 
Posts: 53
Joined: Sat Jun 28, 2014 5:22 pm
Location: Georgetown, Ontario, Canada

Re: New improved SD images (Beta testers needed!!!!)

Postby nickoppen » Sat Apr 04, 2015 6:41 am

Hi paran,

All the tests are neatly packaged in a sub-folder of $HOME. There are four sets of tests (opencl, esdk, mpi and zync-temp-sensor) and they all have an executable tests.sh file. Run that (no need to be root) and watch the goodness.

I've found the riecoin miner to be a lot less stable on this image than the last one. It never stays up for more than 1:30 whereas before I'd get one to two hours mostly.

nick
Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: New improved SD images (Beta testers needed!!!!)

Postby paran » Sat Apr 04, 2015 12:30 pm

Hi Nick,
I know this folder - tests. I have done that already yesterday. Now I am focusing on parallella-examples and epiphany-examples folder. For these, I managed one subfolder from each folder to work, a simple code in fact. For example epiphany-examples/apps/hello-world, do type: ./make and then type: ./run.sh and wait. It should print a string of hello world with core id (I believe). Ricoin miner works fine on my board too and it also takes a lot of time. I believe it was designed with 64-core in mind. Mine is 16-core. Right now mandelbrot and aoubench in parallella-examples do not ' make ' due to some code error because of some changes/modifications made on new version of pubuntu. I believe it has something to do with the host.c file.

Mandelbrot and aobench do not work in VNC mode?
paran
 
Posts: 53
Joined: Sat Jun 28, 2014 5:22 pm
Location: Georgetown, Ontario, Canada

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests