Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-10-2015, 00:26   #61
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,554
Re: OpenCPN on Raspberry Pi2

Good news for me today...

Another boat here had a raspberry pi2 that they burned out by leaving it turned on in the rain. They gave it to me a few days ago then left. It turns out only the usb power connector was burned and I can power it from the header so I have a working pi again.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 14-10-2015, 13:59   #62
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,554
Re: OpenCPN on Raspberry Pi2

I got the FBO working today (accelerated panning) but the results are not as good as expected.

Basically vector charts are much better panning with about double the frame rate. I have 8-10 frames a second everywhere with cm93 (1280x800 display) but raster charts are slower than before as now they are only 13 fps instead of 17-20 like before.

I need to investigate this a lot more, and possibly disable the FBO with raster charts. I also need to figure out if the android style panning and zooming acceleration make sense to use since it cheats a bit but might prove useful on these systems.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 31-10-2015, 18:29   #63
Registered User

Join Date: Oct 2014
Boat: Morgan, West Indies 38 Ketch
Posts: 70
Re: OpenCPN on Raspberry Pi2

Is there a repository for RPI opencpn yet?


Sent from my iPhone using Cruisers Sailing Forum
__________________
akopac is offline   Reply With Quote
Old 31-10-2015, 19:24   #64
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,505
Re: OpenCPN on Raspberry Pi2

akopac...

The standard OpenCPN git repo builds for RPi and runs OK, but does not yet contain any optimizations for the platform. There are problems with OpenGL mode.

Sean has a repo with his work-in-process, described in this thread. Status is unknown.

There are plans for more work on RPi, just not enough time/resources to implement much yet.

Sorry I cannot give you more.
Stay tuned.

Dave
__________________
bdbcat is online now   Reply With Quote
Old 02-11-2015, 19:25   #65
Registered User

Join Date: Oct 2014
Boat: Morgan, West Indies 38 Ketch
Posts: 70
Re: OpenCPN on Raspberry Pi2

How about repository with plugins. I had it once. Not anymore though.


Sent from my iPhone using Cruisers Sailing Forum
__________________
akopac is offline   Reply With Quote
Old 02-11-2015, 19:30   #66
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: OpenCPN on Raspberry Pi2

akopac...
The source code repositories for all the plugins are linked from the download page. If you are referring to a package repository, the beta OpenCPN PPA at https://launchpad.net/~nohal/+archive/ubuntu/opencpn has packages for ARMv7 (=RPi v2), we never had a repository for the original RPi (ARMv6) and I stopped building packages for it even locally as nobody ever seemed to use them.

Pavel
__________________
nohal is offline   Reply With Quote
Old 20-11-2015, 08:05   #67
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,033
Re: OpenCPN on Raspberry Pi2

ERROR: EGL Error detected: EGL_BAD_ALLOC (0x3003)

Quote:
Originally Posted by boat_alexandra View Post
...As far as the bad alloc, make sure you are using texture compression. Edit /boot/config.txt and ensure you are _not_ in 32 bit color, and also ensure you have set gpu_mem=256M and optionally clock the core_freq to 450 mhz instead of 250mhz.
...
I get this same error on CubieTruck.

Before the error is displayed OpenCpn stalls for a few seconds (sometimes 10s).

Then after the error is displayed there is a rendering problem, like a solid colour block.

Is this the same problem, or just a coincidence ?

If it's the same, How can we chase it down ?

Thanks,
JM.
__________________
NahanniV is offline   Reply With Quote
Old 20-11-2015, 11:19   #68
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,554
Re: OpenCPN on Raspberry Pi2

I have always been annoyed with the bad alloc errors. Sometimes for raspberry pi, I have to reboot to fix this, as they occur when the video drivers get into a bad state. I didn't think it was much of a problem for the cubie truck though.
__________________
boat_alexandra is offline   Reply With Quote
Old 21-11-2015, 07:16   #69
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,033
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by boat_alexandra View Post
I have always been annoyed with the bad alloc errors. Sometimes for raspberry pi, I have to reboot to fix this, as they occur when the video drivers get into a bad state. I didn't think it was much of a problem for the cubie truck though.
It is a problem with texture compression caching turned on for raster charts.

Is it possible that GLshim is getting into a bad state?

Cheers,
JM.
__________________
NahanniV is offline   Reply With Quote
Old 20-12-2015, 10:39   #70
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,683
Re: OpenCPN on Raspberry Pi2

All..
For info I've tested the rather new 7 inch Raspberry touch screen. Rather nice and very simple to get going. Just unpack, connect cables and start OCPN. No drivers, no nothing.
Next step would be to make a little box.
More info here: https://www.raspberrypi.org/blog/the...ry-pi-display/
Håkan
Attached Thumbnails
Click image for larger version

Name:	Pi_7_Screen1.jpg
Views:	130
Size:	415.8 KB
ID:	115366   Click image for larger version

Name:	Pi_7_Screen2.jpg
Views:	135
Size:	418.5 KB
ID:	115367  

__________________
Hakan is offline   Reply With Quote
Old 20-12-2015, 18:41   #71
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: OpenCPN on Raspberry Pi2

Hakan are you going to try this with your radar?
__________________
rgleason is offline   Reply With Quote
Old 21-12-2015, 01:00   #72
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,683
Re: OpenCPN on Raspberry Pi2

Rick
I haven't tried but it may be some performance issues.
It's already problem to receive UDP data via wifi. The update seems slow so the GPS timeout is sometimes running out.
This is strange since the reported CPU load is never above 40%. Why is he not using all available CPU?
Well, at least the pi and the 7" screen never takes more then 1 A, typically 0,8 A.
Håkan
__________________
Hakan is offline   Reply With Quote
Old 21-12-2015, 01:18   #73
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,554
Re: OpenCPN on Raspberry Pi2

if you use full cpu you will see 25% usage on a quad core
__________________
boat_alexandra is offline   Reply With Quote
Old 21-12-2015, 06:27   #74
Registered User

Join Date: Oct 2009
Location: Lelystad, The Netherlands
Boat: vd Stadt 44, Ben the Boat
Posts: 185
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by Hakan View Post
All..

Next step would be to make a little box.
Håkan
Real nice! Try to design a box for printing

Bart
__________________
champ8242 is offline   Reply With Quote
Old 21-12-2015, 11:53   #75
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,683
Re: OpenCPN on Raspberry Pi2

Sean..
re: "if you use full cpu you will see 25% usage on a quad core"
Ooh - I see. I'm used to Windows that reports in another way.
Thanks
__________________

__________________
Hakan is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN on Raspberry PI2 starnakel OpenCPN 216 24-12-2016 15:13
Has anyone gotten any Plugins working on Raspberry Pi2 Uncle Augie OpenCPN 5 27-06-2015 07:19
Has anyone managed to get hardware supported OpenGL on Rasperry Pi2 to work? Gunnar1 OpenCPN 53 16-06-2015 03:10
Raspberry Pi2 ratsea OpenCPN 5 26-02-2015 09:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 20:09


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:30.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.