Here 's a fresh log file.
By the way, in case you don't know, I'm also the first person ever to install and run OpenCPN on an android device. The instructions here: opencpn.org/ocpn/node/193 were prepared and posted by me in June, 2012.
So, don't mind taking credit for being first here too.
You get credit for piquing my curiosity and suggesting I try.
The Motorola Xoom is powered by a dual-core 1GHz Nvidia Tegra 2 SoC. 1280x800 display resolution, 32GB of onboard storage
(expandable via SD), 1GB of DDR2 RAM,
They're selling used for around $150-200 now. New, $300+.
06:25:16 PDT: 2014-08-05
06:25:16 PDT: ------- Starting OpenCPN -------
06:25:16 PDT: Version 3.3.1931 Build 2014-07-31
06:25:16 PDT: wxWidgets version: wxWidgets 2.8.12
06:25:16 PDT: MemoryStatus: mem_total: 715 mb, mem_initial: 28 mb
06:25:16 PDT: SData_Locn is /usr/share/opencpn/
06:25:16 PDT: Using existing Config_File: /home/android/.opencpn/opencpn.conf
06:25:16 PDT: Styles loading from /usr/share/opencpn/uidata/styles.xml
06:25:16 PDT: No styles found at: /home/android/
06:25:16 PDT: No styles found at: /home/android/.opencpn/
06:25:16 PDT: Setting Viewpoint Lat/Lon 37.8691, -122.496
06:25:16 PDT: Setting Ownship Lat/Lon 37.8691, -122.494
06:25:17 PDT: System default Language: en_US
06:25:17 PDT: Opencpn language set to: en_US
06:25:18 PDT: ChartSymbols loaded from /usr/share/opencpn/s57data/chartsymbols.xml
06:25:18 PDT: Using s57data in /usr/share/opencpn/s57data
06:25:18 PDT: Setting Viewpoint Lat/Lon 37.8691, -122.496
06:25:18 PDT: Setting Ownship Lat/Lon 37.8691, -122.494
06:25:18 PDT: Creating glChartCanvas
06:25:18 PDT: PlugInManager searching for PlugIns in location /usr/lib/opencpn
06:25:18 PDT: OpenGL-> Renderer String: Mesa X11
06:25:18 PDT: OpenGL-> Texture rectangle format: de1
06:25:18 PDT: OpenGL-> Using Vertexbuffer Objects
06:25:18 PDT: OpenGL-> Using Framebuffer Objects
06:25:18 PDT: OpenGL-> Using FBO Stencil buffer
06:25:18 PDT: OpenGL-> Using Stencil buffer clipping
06:25:18 PDT: OpenGL-> Using Scissor Clipping
06:25:18 PDT: OpenGL-> Not Using compression
06:25:19 PDT: ChartDB Cache policy: Application target is 343 MBytes
06:25:19 PDT: Loading chart db version: V018
06:25:19 PDT: Chartdb: Chart directory list follows
06:25:19 PDT: Chart directory #0: /mnt/sdcard/charts
06:25:19 PDT: Chart directory #1: /mnt/sdcard/CM93
06:25:19 PDT: GPS
Watchdog Timeout is: 6 sec.
06:25:19 PDT: Loading World Chart Q=0 in 0 ms.
06:25:19 PDT: Background world map loaded from GSHHS datafiles found in: /usr/share/opencpn/gshhs/
06:25:19 PDT: Loading World Chart Q=2 in 2 ms.
06:25:20 PDT: Initializing Chart /mnt/sdcard/CM93
06:25:20 PDT: CM93Composite Chart Root is /mnt/sdcard/CM93/
06:25:20 PDT: Loaded CM93 Dictionary from /mnt/sdcard/CM93/
06:25:21 PDT: Loading CM93 cell /mnt/sdcard/CM93/03300660/D/03810711.D
06:25:22 PDT: Loading CM93 cell /mnt/sdcard/CM93/03300660/C/03780708.C
06:26:17 PDT: LOGBOOK: 2014-08-05 13:26:17 UTC DR Lat 37.86910 Lon -122.49420
Originally Posted by boat_alexandra
Is that tablet 8 cores?
You are the first person to report using opencpn with hardware accelerated opengl under linux chroot in android. It would be interesting if you could post the opengl relevant details of the opencpn.log file, I am curious what it says. As far as I knew only opengles is supported on tablets which requires glshim.
Anyway.. the tablet you mention, it's very high powered, so depending on your intended use, maybe speed is not a concern. I am sure if you could time travel 10 years in the future and run that opencpn on this tablet, it would certainly seem sluggish or be unable to complete many of the much more advanced graphics rendering operations available.
Try setting GL_FBDEV=1 environment variable, I don't know if it will help you. Really the raspberry is getting obsolete fast, and the newer arm boards are so cheap
it makes sense to use them instead, especially for this application. The raspberry uses a lot of power for what it can do compared to newer arm boards.
Consider a bananna pi for example, same form factor as the raspberry, but with more ram, faster dual core
processor, the graphics capabilities of the cubie truck (about 3 times faster) and more efficient switching regulator
so much less power usage. It costs what, $15 more?
I have a display 1280x800 which I got for $50 on ebay and it looks very good running opencpn with smooth zooming on raspberry pi. It also takes HDMI/VGA or analog inputs, and can drive two lcd displays. There are no speakers.
Unfortunately the hdmi lcd driver board is a bit stupid and seems to make a lot of heat (running off 12 volt batteries) so I had to cut a hole in the back of the plastic case I mounted it in.