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 10-07-2015, 18:18   #166
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: OpenCPN Beta test 4.1.602 Release

baikal...

After some some experiments, on different platforms, I can reproduce the problem with rotated ENCs. This only happens with Intel graphics, where we do not use the stencil buffer for clipping, but instead use the depth buffer.

Root cause is a small code oversight, corrected in github now.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 11-07-2015, 01:58   #167
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by Ptizef View Post
Yes sqrt() could be double or long double or float but not wxCoord !
in the expression in ocpndc.cpp:677
int steps = ceil(sqrt(r));
r is wxCoord type

My workaround is ocpndc.cpp(677):
int steps = ceil(sqrt((double) r));
It compile and works but I don't know if there is negative consequence somewhere
thanks
JP
JP,
it seems to be wrong in the Windows compiler.
sqrt() is called sqrtf() for float and sqrtl() for long double in other compilers for Linux or Mac OS X. Nevertheless your workaround is OL.

Gerhard

Meanwhile it was corrected in git:
Quote:
int steps = ceil(sqrt((float)r));
CarCode is online now   Reply With Quote
Old 12-07-2015, 11:20   #168
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,104
Re: OpenCPN Beta test 4.1.602 Release on BananaPi

Good afternoon,

because version 4.1.602 worked very well on my small Eeepc, i tried this version also on my BananaPi ARM system.

Installation worked and loading ENC vector Charts worked. However I only can see the contours of the map area's. But no maps. And no chart toolbar to activate the maps.

After exiting OpenCPN then the Chart toolbar appears on the screen. The toolbar seems to be hidden and locked behind the OpenCPN display screen.

The config file does not give any indication what goes wrong. I can add the config file. It has been a clean new installation, also the Lubuntu version.

Accelerated video is on. Just as by an earlier setup.

What goes wrong ?

Bram
verkerkbr is offline   Reply With Quote
Old 12-07-2015, 12:09   #169
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,104
Re: OpenCPN Beta test 4.1.602 Release on BananaPi

Quote:
Originally Posted by verkerkbr View Post
Good afternoon,

because version 4.1.602 worked very well on my small Eeepc, i tried this version also on my BananaPi ARM system.

Installation worked and loading ENC vector Charts worked. However I only can see the contours of the map area's. But no maps. And no chart toolbar to activate the maps.

After exiting OpenCPN then the Chart toolbar appears on the screen. The toolbar seems to be hidden and locked behind the OpenCPN display screen.

The config file does not give any indication what goes wrong. I can add the config file. It has been a clean new installation, also the Lubuntu version.

Accelerated video is on. Just as by an earlier setup.

What goes wrong ?

Bram
If I close the screen with "-". Then the Chart toolbar still stays on the screen. And if I then clicked the chart toolbar to activate the chart. And with restoring the screen "+" the screen showed the map with all the information.

There is something wrong with chart toolbar.
verkerkbr is offline   Reply With Quote
Old 12-07-2015, 23:11   #170
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCPN Beta test 4.1.602 Release

Ubuntu 14.10
Open 4.1.602
When NMEA window open I can't do anything in the options window.

I can select the options window from behind the NMEA debug window but can't select anything until I close the NMEA debug window.

Click image for larger version

Name:	Screenshot from 2015-07-13 09:39:50.jpg
Views:	110
Size:	154.9 KB
ID:	105247

I have had 1 instance of the opposite happening.
That is I couldn't pause the NMEA flow until I closed the options window.

Cheers Redog
redog is offline   Reply With Quote
Old 14-07-2015, 02:00   #171
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,104
Re: OpenCPN Beta test 4.1.602 Release on BananaPi

Quote:
Originally Posted by verkerkbr View Post
If I close the screen with "-". Then the Chart toolbar still stays on the screen. And if I then clicked the chart toolbar to activate the chart. And with restoring the screen "+" the screen showed the map with all the information.

There is something wrong with chart toolbar.
Now I'am back on version 4.00 which works very well on a BananaPi and latest Lubuntu upgrades.

If the cause of the problems with the chart-bar are clear, I can do another try to run 4.1.602 on this small system. I also got some crashes with the beta version. I cannot see where it goes wrong.

Bram
verkerkbr is offline   Reply With Quote
Old 14-07-2015, 05:55   #172
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: OpenCPN Beta test 4.1.602 Release on BananaPi

Quote:
Originally Posted by verkerkbr View Post
Now I'am back on version 4.00 which works very well on a BananaPi and latest Lubuntu upgrades.

If the cause of the problems with the chart-bar are clear, I can do another try to run 4.1.602 on this small system. I also got some crashes with the beta version. I cannot see where it goes wrong.

Bram
I had similar problems on my A-20 based cubietruck.
The chart selector toolbar is fixed in the latest source.

There are some other problems that have known fixes, but they have not been incorporated into the source code yet; See earlier posts in this thread if you want to try the fixes.

cheers,
jM
NahanniV is offline   Reply With Quote
Old 14-07-2015, 13:53   #173
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,104
Re: OpenCPN Beta test 4.1.602 Release

JM,

thanks for the reply. It is good to know that I am not alone with this problem. Are these problems strickly related to the O beta version? Or does the OS have influence in the the working of the beta ?

I'am using Lubuntu, but noticed that there is also a Debian Jessie version from a developer of the Cubietruck OS. Does this make any difference ?

Also still no news about the accelerated video (Glshim) for the Mali graphic chip set.

I will wait for the next Beta version before doing new tests with the Banana.

Other Linux systems runs perfect with the 4.1.602 version.

There is a rule that every country in the EC must supply ECD charts of the inland waterways for free.

Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 16-07-2015, 04:40   #174
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by verkerkbr View Post
JM,

Also still no news about the accelerated video (Glshim) for the Mali graphic chip set.
It should work, what is the problem?
seandepagnier is offline   Reply With Quote
Old 16-07-2015, 05:22   #175
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,104
Re: OpenCPN Beta test 4.1.602 Release

Dear JM,

have I missed this item ? Is it in version 4.1.602 ? Which I have dropped because of the chart-bar problem. How to do and where to find.

Thanks for your "Banana" support. On board I'am still using my Eeepc with 4.1.602 which works great but like to change to the Banana thing.

Bram
verkerkbr is offline   Reply With Quote
Old 18-07-2015, 17:34   #176
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: OpenCPN Beta test 4.1.602 Release

While using Win 8.1 Tablet Surfacepro 3. Glitch when changing a waypoint in an active route. The waypoint can be moved succesfully, but the active route data window is not updated and shows totally incorrect data for XTE and RNG except for how fast we were going.
I had to deactivate the route and re activate it to get it working properly.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 18-07-2015, 17:35   #177
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: OpenCPN Beta test 4.1.602 Release

Additionally the Toolbar icons do not increase in size when tablet settings are selected.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 18-07-2015, 23:20   #178
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,735
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by rgleason View Post
While using Win 8.1 Tablet Surfacepro 3. Glitch when changing a waypoint in an active route. The waypoint can be moved succesfully, but the active route data window is not updated and shows totally incorrect data for XTE and RNG except for how fast we were going.
I had to deactivate the route and re activate it to get it working properly.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
Rick,

you are moving the active waypoint and not just "a (other) waypoint in the active route"?
bcn is offline   Reply With Quote
Old 19-07-2015, 08:05   #179
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: OpenCPN Beta test 4.1.602 Release

Yes! I am able to move the Active waypoint and that is precisely what I did!
If this is a problem, which it does appear to be, then there should be a prompt "Deactivate route to move active waypount and then reactivate route" OR that should happen automatically. IMHO. OR perhaps the active waypoint should be locked until this is fixed.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 19-07-2015, 23:50   #180
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 844
Re: OpenCPN Beta test 4.1.602 Release

Compilation warning new git ( 718)

||=== Build: opencpn in OpenCPN (compiler: GNU GCC Compiler) ===|
/home/jeanpierre/Documents/OpenCPN/src/chcanv.cpp||In member function ‘void ChartCanvas::OnPaint(wxPaintEvent&)’:|
/home/jeanpierre/Documents/OpenCPN/src/chcanv.cpp|9096|warning: ‘void wxDC::SetClippingRegion(const wxRegion&)’ is deprecated (declared at /usr/include/wx-3.0-unofficial/wx/dc.h:996) [-Wdeprecated-declarations]|
/home/jeanpierre/Documents/OpenCPN/src/chcanv.cpp|9191|warning: ‘void wxDC::SetClippingRegion(const wxRegion&)’ is deprecated (declared at /usr/include/wx-3.0-unofficial/wx/dc.h:996) [-Wdeprecated-declarations]|
||=== Build finished: 0 error(s), 2 warning(s) (0 minute(s), 49 second(s)) ===|


I got the same windows/ vs2010 /wx3.0.2 and kubuntu / gcc / wx 3.0.2

Jean Pierre
Ptizef is offline   Reply With Quote
Reply

Tags
enc, lease, 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
Beta Test / Technical bdbcat OpenCPN 2866 Yesterday 12:49
OpenCPN for Android Beta test 4.1.530 bdbcat OpenCPN 203 07-05-2017 21:20
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 02:53

Advertise Here


All times are GMT -7. The time now is 07:23.


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.