Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 24-08-2014, 12:53   #391
Registered User

Join Date: Aug 2014
Posts: 4
Re: OpenCPN Runs on Embedded ARM

I cant tell if my first post went through or not but im running QbeeX as well and i would love some instructions on how you did it

lunixbochs has even been tinkering with his unstable branch of glshim to try to help me but no luck yet
__________________

__________________
jzemeocala is offline   Reply With Quote
Old 24-08-2014, 14:00   #392
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by boat_alexandra View Post
I think you should try
Code:
LD_LIBRARY_PATH=/usr/local/lib opencpn
After putting the glshim libGL.so file there.

Otherwise I believe it must be searching a different folder for libraries before /usr/local/lib and therefore using the software libGL.so which explains why you have fxt1 compression when you should have etc1
Well, here's the result.

libGL: built on Aug 17 2014 10:20:56
libEGL warning: GLX/DRI2 is not supported
libGL: warning, gles is NULL
Segmentation fault
__________________

__________________
Wrong is offline   Reply With Quote
Old 24-08-2014, 22:13   #393
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by jzemeocala View Post
I cant tell if my first post went through or not but im running QbeeX as well and i would love some instructions on how you did it

lunixbochs has even been tinkering with his unstable branch of glshim to try to help me but no luck yet
Did you try my form of glshim rather than lunixbochs? I am using mali graphics and I had to make a change to avoid the error you are talking about. He didn't want to merge it because it broke some other device and I recall no final solution was reached.
__________________
boat_alexandra is offline   Reply With Quote
Old 24-08-2014, 22:55   #394
Registered User

Join Date: Aug 2014
Posts: 4
Re: OpenCPN Runs on Embedded ARM

sbfeddie helped me get it sorted out.......Thanks again dude (glxgears is now around 600fps)

The funny thing is that I didnt need glshim for opencpn or any other kind of nautical program (I dont even own a boat), Im actually building arcade machines based around these various SoC boards and the emulator frontend (cabrio) needed openGL to run properly (along with several of the emulators).

But I came here because:
A) this is where I first heard about glshim when I was working on this issue for the pi.

and

B) This thread probably has the most detailed documentation on how to implement glshim on these boards then anywhere else

Thanks again Ed
__________________
jzemeocala is offline   Reply With Quote
Old 27-08-2014, 09:58   #395
Registered User

Join Date: Jun 2008
Posts: 105
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by boat_alexandra View Post
Maybe try my mingw branch... I know it sounds crazy but it might fix the dashboard.

Sure! :-) :-)

What is different about your branch and where do I find it?

Thanks,
Guy
:-)
__________________
Aikiguy is offline   Reply With Quote
Old 27-08-2014, 20:11   #396
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

git clone https://github.com/seandepagnier/OpenCPN -b mingw

May also try disabling graphics context, either by rebuilding wxwidgets with --disable-graphics_ctx, or by removing the define in the header for it (or hacking the dashboard files)
__________________
boat_alexandra is offline   Reply With Quote
Old 28-08-2014, 09:31   #397
Registered User

Join Date: Jun 2008
Posts: 105
Re: OpenCPN Runs on Embedded ARM

OK this is where I get into trouble.

If I download and install your glshim, does it over write the old one?

If not how do I get rid of the old one?

I can just go ahead and give it a try, but I worry that I will end up reflashing my emmc module again after I have files everywhere and have no idea what I am doing. Reflashing the emmc takes forever. :-)

What files does the glshim make?

Sorry such a noob. :-)

Thanks,
Guy
:-)
__________________
Aikiguy is offline   Reply With Quote
Old 28-08-2014, 20:32   #398
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

glshim makes libGL.so.1

The dashboard problem has nothing to do with glshim, because it is not opengl so you can safely test it without using opengl.
__________________
boat_alexandra is offline   Reply With Quote
Old 28-08-2014, 21:04   #399
Registered User

Join Date: Jun 2008
Posts: 105
Re: OpenCPN Runs on Embedded ARM

Oh I am so confused now....

It makes sense that the dashboard is not opengl, now that you mention it.

So how do I "either by rebuilding wxwidgets with --disable-graphics_ctx, or by removing the define in the header for it".

wxwidgets is part of the make file for opencpn isn't it? When I got this all running on the pi I remember it going by?

Thanks,
Guy
:-)
__________________
Aikiguy is offline   Reply With Quote
Old 29-08-2014, 01:33   #400
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

What I am getting at is the dashboard does some funny stuff when graphics contexts are enabled. You might find this is fixed without graphics contexts in the mingw branch.
__________________
boat_alexandra is offline   Reply With Quote
Old 03-10-2014, 15:23   #401
Registered User

Join Date: Jun 2008
Posts: 105
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by boat_alexandra View Post
What I am getting at is the dashboard does some funny stuff when graphics contexts are enabled. You might find this is fixed without graphics contexts in the mingw branch.
Where do I get the mingw branch?

Back from vacation and anxious to play with my odroid and raspberry pi

Thanks,
Guy
__________________
Aikiguy is offline   Reply With Quote
Old 03-10-2014, 19:10   #402
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

git clone github.com/seandepagnier/OpenCPN -b mingw
__________________
boat_alexandra is offline   Reply With Quote
Old 22-10-2014, 15:24   #403
Registered User

Join Date: Oct 2014
Boat: Morgan, West Indies 38 Ketch
Posts: 71
Re: OpenCPN Runs on Embedded ARM

This might be a silly question, Is there a compiled working version of opencpn for Raspberry pi or ARM/linux with hardware acceleration support yet or is this the work in progress?
__________________
akopac is offline   Reply With Quote
Old 22-10-2014, 19:19   #404
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by akopac View Post
This might be a silly question, Is there a compiled working version of opencpn for Raspberry pi or ARM/linux with hardware acceleration support yet or is this the work in progress?
No, but if you read back a few posts, maybe several, I reported my success with hardware acceleration on the rpi. It works quite well for raster charts, still kind of slow for vector charts, and just doesn't work anywhere half as fast as the newer arm boards, and is forced to be a fullscreen application making using the dialogs hidden. This is using the binary drivers, I don't know about open source drivers, but if they do no exist they may have fixed this issue.

I recommend using a banannapi, cubietruck, etc.. something with mali graphics.
__________________
boat_alexandra is offline   Reply With Quote
Old 23-10-2014, 08:29   #405
Registered User

Join Date: Oct 2014
Boat: Morgan, West Indies 38 Ketch
Posts: 71
Re: OpenCPN Runs on Embedded ARM

I'll do that. looks like there is some interest in making a mail client for winlink out there too. That would make getting Gribs, and mail all on a pi or banana pi possible.
__________________

__________________
akopac is offline   Reply With Quote
Reply

Tags
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
Open CPN and Google Earth bgrimwade OpenCPN 19 09-12-2011 16:32
OpenCPN Version 2.5 Release bdbcat OpenCPN 86 02-09-2011 19:14
OpenCPN Stops Running BobLarkin OpenCPN 2 31-08-2011 00:38
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.