monkfish24
Well-Known Member
Woop Woop!
I have managed it! OpenCPN on Debian LDE

Now to see if it works......
I have managed it! OpenCPN on Debian LDE
Now to see if it works......
Woop Woop!
I have managed it! OpenCPN on Debian LDE![]()
![]()
Now to see if it works......
How did you get on??
I've just installed OpenCPN on my (borrowed) Raspberry Pi running Debian. Rather than cross compiling or using the emulator, I just built directly on the Pi. Whilst it took a while, it was pretty straightforward - I just followed the instructions on the OpenCPN website (http://opencpn.org/ocpn/compiling_source_linux). I was very pleasantly surprised that all the dependencies were in the debian ARM repos, and could be installed with a simple apt-get.
The only potential gotcha is that you'll need to set up some swap space to avoid running out of memory during particularly intensive bits of the compile. (see, for example -- http://docs.redhat.com/docs/en-US/R...stem_Administration_Guide/s1-swap-adding.html).
With regards to running performance, I have to say it's pretty slow, though seems to fit fine in the limited memory of the Pi. To give some idea of the speed, on zooming, redraws can take anywhere between a couple and ~10+ seconds, which, for me at least, is probably a little too frustrating to be usable.
pretty
That said, I'm running OpenCPN in full screen at 1080p with a completely vanilla pi and OpenCPN install (no overclocking, absolutely no looking into what settings might be available to enhance performance). At the very least, I'm pretty convinced that if the RPi can't quite fit this niche, perhaps an (albeit more pricey), more powerful ARM board can.
Anyway - been a fun day playing - overall, for £25, very impressed!
I've just installed OpenCPN on my (borrowed) Raspberry Pi running Debian. Rather than cross compiling or using the emulator, I just built directly on the Pi. Whilst it took a while, it was pretty straightforward - I just followed the instructions on the OpenCPN website (http://opencpn.org/ocpn/compiling_source_linux). I was very pleasantly surprised that all the dependencies were in the debian ARM repos, and could be installed with a simple apt-get.
The only potential gotcha is that you'll need to set up some swap space to avoid running out of memory during particularly intensive bits of the compile. (see, for example -- http://docs.redhat.com/docs/en-US/R...stem_Administration_Guide/s1-swap-adding.html).
With regards to running performance, I have to say it's pretty slow, though seems to fit fine in the limited memory of the Pi. To give some idea of the speed, on zooming, redraws can take anywhere between a couple and ~10+ seconds, which, for me at least, is probably a little too frustrating to be usable.
pretty
That said, I'm running OpenCPN in full screen at 1080p with a completely vanilla pi and OpenCPN install (no overclocking, absolutely no looking into what settings might be available to enhance performance). At the very least, I'm pretty convinced that if the RPi can't quite fit this niche, perhaps an (albeit more pricey), more powerful ARM board can.
Anyway - been a fun day playing - overall, for £25, very impressed!
Not to detract from the achievement in any way.
Bear in mind this isn't the ARM version, it's running in VBox on an (presumably) x86
I just wanted to keep this topic live as it is of great interest to me (and possibly lots of others as well).
The idea of an affordable and low power computer for on-board use is very appealing and the Pi certainly fits the bill as long as it is possible to get the likes of opencpn or seaclear running on it. The rest like music, video is certainly very easy and the options beyond that quite unlimited.
I know from previous threads (on other forums) that the biggest hurdle for an on-board computer is the display. In the past 6-8 months one thread looked like it was going to take off, but unfortunately died a death. I suspect that without a suitable monitor ie waterproofed, non-reflective and touchscreen then no such computer will have a chance at displacing OEM chartplotters?
Anyway, am always happy to help if I can -although my programming skills are certainly at the developmental stage!
I'm using a 12V 10" touch sensitive screen. Works brilliantly with a laptop, and the display works well with the RasPi. I started to have some success with the touch screen before my pi died, hopefully #2 is on its way.
There are a couple of limiting things I've come across:
- no audio input, so I won't be able to use the discriminator output on an old VHF for AIS.
- the USB ports are 100ma max, so I doubt I'll be able to use my bluetooth dongle for GPS
What's the current consumption of your dongle?
Maybe one of these (or something similar) can be made to work with Debian?
There are also USB sound dongles, although maybe the power consumption will also be a limiting factor.
ha ha yes, i understand that, however, you can't run before you can walk.![]()
I haven't looked into the power yet, I'm simply assuming that RF will be more than 100ma .. I might be pleasantly surprised.
I'm looking for a cheap YAPP using stuff I've got kicking around, I don't want to start buying in lots of stuff otherwise I might as well have bought an Android tablet.
Okay,
Got OpenCPN 3.0.0 to compile with extra optimisation commands on a fresh Debian install.
Had to switch swap on as the compiler ran out of memory.
Runs ok, not fast but usable. Doubt quilting will work.
Need to re-install zyGrib and java to run Jtides, Jnx and Jwx.
What else does a sailing computer need? So far we have charts, gribs, weather fax, navtex and tides.
I reckon:
Basic web and email
A SIP client
Messenger software
Simple spreadsheet
Simple document editor.
Anyone know how email over satphone/hf works? Is that specialist software, or could a stripped down client like Claws or Alpine work?
Okay,
Got OpenCPN 3.0.0 to compile with extra optimisation commands on a fresh Debian install.
Had to switch swap on as the compiler ran out of memory.
Runs ok, not fast but usable. Doubt quilting will work.
Need to re-install zyGrib and java to run Jtides, Jnx and Jwx.
What else does a sailing computer need? So far we have charts, gribs, weather fax, navtex and tides.
I reckon:
Basic web and email
A SIP client
Messenger software
Simple spreadsheet
Simple document editor.
As far as I can tell by searching, this is a first (unless I've missed something elsewhere, please correct me if so) which quite a few people will be interested in, have you posted it in the Pi forums etc?
Okay,
Got OpenCPN 3.0.0 to compile with extra optimisation commands on a fresh Debian install.
Mine is still failing with libtinyxml.