Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 30-01-2017, 06:40   #46
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: OpenCPN Beta Version 4.5.127

Quote:
Originally Posted by povl View Post
I'm running OpenCPN on Mac OS X 10.12.3, in English (on a mid-2014 Macbook Pro with Intel graphics). I can view vector charts with OpenGL enabled, and raster charts with OpenGL disabled.
I'm assuming vector charts work without opengl or is that a separate issue that is broken on osx?


Quote:
As soon as I try to view a raster chart with OpenGL enabled, I see a brief flash of the chart, and then OpenCPN crashes!
Could you try disabling quilting before viewing the raster chart? Does it also crash without quilting? Can you try adding only one small directory at a time?

It may be possible you have exposed a different bug because of your unique charts.
seandepagnier is offline   Reply With Quote
Old 30-01-2017, 07:24   #47
Registered User

Join Date: Feb 2015
Location: Cambridge, UK
Posts: 16
Send a message via Skype™ to povl
Re: OpenCPN Beta Version 4.5.127

Quote:
Originally Posted by boat_alexandra View Post
I'm assuming vector charts work without opengl or is that a separate issue that is broken on osx?
Yes, everything appears to work without OpenGL (except the preference panes)

Quote:
Originally Posted by boat_alexandra View Post
Could you try disabling quilting before viewing the raster chart? Does it also crash without quilting? Can you try adding only one small directory at a time?

It may be possible you have exposed a different bug because of your unique charts.
I've disabled quilting, and have switched to an "off-the-shelf" raster chart (from New Zealand). When I enable OpenGL, I don't get an immediate crash, and the chart renders smoothly - so presumably using OpenGL. But as soon as I try to pan or zoom, it crashes. The crash logs look slightly different for this case: the first two attachments are for enabling OpenGL with quilting off. The third and fourth crash logs are for trying to restart OpenCPN with OpenGL enabled (it crashes, so I need to switch OpenGL off using version 4.4.0 before I can re-open version 4.5.127).
povl is offline   Reply With Quote
Old 30-01-2017, 08:58   #48
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: OpenCPN Beta Version 4.5.127

Did you try with fewer charts? Can you try with only a single chart?

The problem doesn't exist in version 4.4 correct? If only I could use your debugger... Can anyone else reproduce this on macosx? Can you compile from source and perform git-bisect from version 4.4?

Did you try removing the opencpn.conf and see if the problem exists with default settings?
seandepagnier is offline   Reply With Quote
Old 30-01-2017, 11:36   #49
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,537
Re: OpenCPN Beta Version 4.5.127

Quote:
Originally Posted by boat_alexandra View Post
Did you try with fewer charts? Can you try with only a single chart?

The problem doesn't exist in version 4.4 correct? If only I could use your debugger... Can anyone else reproduce this on macosx? Can you compile from source and perform git-bisect from version 4.4?

Did you try removing the opencpn.conf and see if the problem exists with default settings?
My sugestion is to include your famous optimizations with
#ifndef __WXOSX__
your optimization...
#endif

That will help a lot. I never include your commits in my personal version and it works great.

Gerhard
CarCode is offline   Reply With Quote
Old 30-01-2017, 19:15   #50
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: OpenCPN Beta Version 4.5.127

povl/Sean...

I sorted out the raster chart OpenGL trouble. Simple memory management glitch. We don't have a good way to monitor system memory useage on Mac, so we don't even try. Thus, the memory "crunch" logic in the texture factory didn't work right, and ended up deleting an active factory.

So, that fix, and the patch for missing options dialog pages, are both in github now, ready for the next Beta.

Dave
bdbcat is offline   Reply With Quote
Old 31-01-2017, 02:04   #51
Registered User

Join Date: Feb 2015
Location: Cambridge, UK
Posts: 16
Send a message via Skype™ to povl
Re: OpenCPN Beta Version 4.5.127

Quote:
Originally Posted by bdbcat View Post
So, that fix, and the patch for missing options dialog pages, are both in github now, ready for the next Beta.
Thank you very much; I look forward to the next beta!
povl is offline   Reply With Quote
Old 31-01-2017, 04:23   #52
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,101
Re: OpenCPN Beta Version 4.5.127

Quote:
Originally Posted by verkerkbr View Post
The Beta version is working very well on my Raspberry Pi 3 with the latest updates, Wayland and kernel 4.4.35.

Oesenc is also working very well.

Only two minor remarks:

I can switch between OpenGL or no OpenGL

With OpenGL setting to off I get some red flashes on the screen. These are gone when OpenGL is set to on.

If OpenGL is set to on, I get a green screen with Grib info. Grib off, than the Chart is back again.

This does not appear with OpenGl is set to off. That was also the case with version 4.4.

Thanks for all the progress.

Bram
I'am now using kernel 4.9.6, Wayland and with the VC4 experimental driver on.

The problems of this message are now all gone.

All is running with OpenGL in OpenCPN to on.

Glxgears with v-blank_mode=o is running at around 450 FPS.

Bram
verkerkbr is offline   Reply With Quote
Old 31-01-2017, 09:33   #53
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
Re: OpenCPN Beta Version 4.5.127

Win10. O 4.5.130
This issue, crash at language change, is still valid: http://www.cruisersforum.com/forums/f134/opencpn-beta-version-4-5-127-a-179210-2.html#post2314082
But in this version is the crash report working again and a report for the issue is sent.
Is it only in Windows the language change creates a crash?

Thanks
Håkan
Hakan is offline   Reply With Quote
Old 31-01-2017, 12:33   #54
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: OpenCPN Beta Version 4.5.127

Ahoy...

Anyone else seeing crash on Language change in Windows? Maybe this is a Win10 issue only. Works fine for me on Win7 EN->DE->EN.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 31-01-2017, 12:51   #55
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,706
Re: OpenCPN Beta Version 4.5.127

Dave..

language change.
First time EN--> DE went well and directly applied
DE --> EN did hang (stalled, black screen, blue squirl)

Restart EN is applied but the next language change will go into black screen again.
No crash with crash report.

Win 8.1
bcn is offline   Reply With Quote
Old 31-01-2017, 13:03   #56
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
Re: OpenCPN Beta Version 4.5.127

Quote:
Originally Posted by bcn View Post
Dave..

language change.
First time EN--> DE went well and directly applied
DE --> EN did hang (stalled, black screen, blue squirl)

Restart EN is applied but the next language change will go into black screen again.
No crash with crash report.

Win 8.1
En > Fr > Germ> Fr > En > Fr .... No crash
W 8.1
sailorF54 is offline   Reply With Quote
Old 31-01-2017, 13:22   #57
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,706
Re: OpenCPN Beta Version 4.5.127

the other W8.1 64bit PC
Can change, no crash, no stall.
4.5.129 and the nightly build 4.5.130 -same

On this one no oeSENC-pi installed.

Anyhow there is a glitch:
Language of menu bar is not updated, stays EN
Attached Thumbnails
Click image for larger version

Name:	2017-01-31 22_09_39-OpenCPN 4.5.130-languages.jpg
Views:	67
Size:	165.7 KB
ID:	140456   Click image for larger version

Name:	2017-01-31 22_13_39-OpenCPN 4.5.130-languages.jpg
Views:	68
Size:	235.4 KB
ID:	140457  

bcn is offline   Reply With Quote
Old 31-01-2017, 13:27   #58
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
Re: OpenCPN Beta Version 4.5.127

Dave
From debug:
- In user interface I chose a language. Eng(US) or any other is equal.
- Click OK
- Options window is closed - Now the restart message should have been shown but it's not.
- OCPN hangs
- Debug output shows:
Code:
..\..\src\msw\window.cpp(498): 'DestroyWindow' failed with error 0x00000578 (ogiltig fönsterreferens (handle).). >>=(invalid window reference)
The thread 0x354 has exited with code 0 (0x0).
The thread 0x2128 has exited with code 0 (0x0).
The thread 0x2f8 has exited with code 0 (0x0).
Where can I brake to trace?
Håkan
Hakan is offline   Reply With Quote
Old 31-01-2017, 13:31   #59
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
Re: OpenCPN Beta Version 4.5.127

Dave
More from debug:
If I click Apply instead of OK nothing happens. No message no nothing. OK render as above.
Hakan is offline   Reply With Quote
Old 31-01-2017, 13:31   #60
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,706
Re: OpenCPN Beta Version 4.5.127

Quote:
Options window is closed - Now the restart message should have been shown but it's not.
The change is applied even without closing OCPN - different from 4.4
Just closing Options and entering again you have the new language.
bcn is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
For Sale: NIB Simrad Dst800 D/S/T Plastic 235Khz triducer 22098552 44-127-3-01 phantomracer Classifieds Archive 2 10-03-2016 13:44
ICOM M502 and remote mic HM-127 problem jmcaleer Marine Electronics 5 28-08-2015 11:00
OpenCPN Version 2.1.0 Beta bdbcat OpenCPN 1045 25-06-2010 10:09
OpenCPN Version 1.3.5 Beta Technical bdbcat OpenCPN 544 24-03-2010 10:34

Advertise Here


All times are GMT -7. The time now is 05:19.


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.