Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 08-10-2015, 23:26   #61
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Old 14-10-2015, 12:59   #62
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Old 31-10-2015, 17:29   #63
Registered User
 
akopac's Avatar

Join Date: Oct 2014
Location: South Pacific -> World Cruising Long Term
Boat: Morgan, West Indies 38 Ketch
Posts: 562
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, 18:24   #64
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
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 offline   Reply With Quote
Old 02-11-2015, 18:25   #65
Registered User
 
akopac's Avatar

Join Date: Oct 2014
Location: South Pacific -> World Cruising Long Term
Boat: Morgan, West Indies 38 Ketch
Posts: 562
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, 18:30   #66
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
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 online now   Reply With Quote
Old 20-11-2015, 07:05   #67
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
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, 10:19   #68
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Old 21-11-2015, 06:16   #69
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
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, 09:39   #70
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,146
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:	281
Size:	415.8 KB
ID:	115366   Click image for larger version

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

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

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,630
Images: 2
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, 00:00   #72
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,146
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, 00:18   #73
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN on Raspberry Pi2

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

Join Date: Oct 2009
Location: Lelystad, The Netherlands
Boat: vd Stadt 44, Ben the Boat
Posts: 233
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, 10:53   #75
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,146
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


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 284 16-03-2017 13:58
Has anyone gotten any Plugins working on Raspberry Pi2 Uncle Augie OpenCPN 5 27-06-2015 06:19
Has anyone managed to get hardware supported OpenGL on Rasperry Pi2 to work? Gunnar1 OpenCPN 53 16-06-2015 02:10
Raspberry Pi2 ratsea OpenCPN 5 26-02-2015 08:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 19:09

Advertise Here


All times are GMT -7. The time now is 03:58.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.