OpenMarine
Hardware Acceleration for OpenCPN? - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Feature Requests (https://forum.openmarine.net/forumdisplay.php?fid=5)
+--- Thread: Hardware Acceleration for OpenCPN? (/showthread.php?tid=2175)

Pages: 1 2


Hardware Acceleration for OpenCPN? - McNugget - 2019-12-28

Is there a plan to integrate hardware acceleration into OpenCPN?
It seems to me, it would greatly benefit from an OpenGL or similar based chart plotting as the current plotter on the Pi3 is rather slow and on the edge of what I still like to use as a modern chart plotter. 

Rendering the chart as a texture on a 2d plane could solve this.

Maybe I should have RTFM first..
https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual:advanced_features:opengl


RE: Hardware Acceleration for OpenCPN? - Sailoog - 2019-12-28

OpenGL is enabled by default in RPi 4, you just have to enable it in opencpn.

In RPi3 you have to enable openGL in raspberry configuration


RE: Hardware Acceleration for OpenCPN? - McNugget - 2019-12-28

I will definitely try that! Since I’m away from home, how’s the experience on the Pi3? Much smoother? Or similar?


RE: Hardware Acceleration for OpenCPN? - NahanniV - 2020-01-05

(2019-12-28, 05:47 PM)OMcNugget Wrote: I will definitely try that! Since I’m away from home, how’s the experience on the Pi3? Much smoother? Or similar?

It is much smoother and faster, but you must manually add a configuration line to the opencpn configuration file to limit the memory it uses otherwise it will eventually crash.


RE: Hardware Acceleration for OpenCPN? - McNugget - 2020-01-09

Ah! I did get crashes. So many, in fact, that I reverted back to non OpenGL.
Is there documentation on how to change the allowable memory usage?


RE: Hardware Acceleration for OpenCPN? - seandepagnier - 2020-01-15

it's too bad the graphics on raspberry has weak hardware and software. I can say boards like the rockpro64 with mali graphics are able to run opencpn much more stable with hardware acceleration.


RE: Hardware Acceleration for OpenCPN? - PaddyB - 2020-01-15

(2020-01-09, 11:22 PM)McNugget Wrote: Ah! I did get crashes. So many, in fact, that I reverted back to non OpenGL.
Is there documentation on how to change the allowable memory usage?

Is that on a pi b? (not b+) 
I've ran both with fkms without crashing - what charts are you using?


RE: Hardware Acceleration for OpenCPN? - ddelorme - 2020-01-15

opencpn will crash on rpi3 if you have opengl on in opencpn but not set on in the rpi..


RE: Hardware Acceleration for OpenCPN? - SkipperEarly - 2020-02-17

(2020-01-15, 03:35 PM)ddelorme Wrote: opencpn will crash on rpi3 if you have opengl on in opencpn but not set on in the rpi..

maybe this would be nice to get included into the "system checking job" - at least some warning with recommendation to set GPUMemorySize in opencpn.ini file Shy


RE: Hardware Acceleration for OpenCPN? - Sailoog - 2020-02-17

(2020-02-17, 01:19 PM)SkipperEarly Wrote:
(2020-01-15, 03:35 PM)ddelorme Wrote: opencpn will crash on rpi3 if you have opengl on in opencpn but not set on in the rpi..

maybe this would be nice to get included into the "system checking job" - at least some warning with recommendation to set GPUMemorySize in opencpn.ini file Shy

Good idea