Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 13-09-2014, 01:30   #76
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,824
Re: OpenCPN Beta Version 3.3.2107 Released

Quote:
Originally Posted by bdbcat View Post
Folks...

After a round of crash dump analysis, I make some observations:

1. For those using Intel GMA graphics on Windows (a large number, I understand), I note that the variety of ways that the Intel OpenGL driver fails catastrophically is, well, simply wondrous. We will need to detect this driver environment, and further clip its wings by not asking it to do anything very complicated at all. This will, sadly, reduce performance somewhat.
I can confirm that under linux using intel graphics there are numerous problems as well. Sometimes disappearing light sectors (flashing when zooming in) and also sometimes the color for tracks changes to something different (like back or white)

The most annoying is sometimes the driver hangs and printk (that it is stuck in the render ringbuffer) which apparently means it crashed. In this case I don't think it is due to vbos.
Quote:
Interestingly, the recent failures have to do with something called VBOs, which have been in the OpenGL spec for years. They work in these drivers mostly, but occasionally just crash for no apparent reason. Probably due to (mis)management of the shared common memory pool. These chipsets do not usually have dedicated graphics memory....
I am wondering if there is a way to make VBO's work more reliably with this driver, maybe by changing the storage format.
Quote:
But we understand that this is probably the most widely available portable platform in distribution, so we must support it at some minimal level.

Its too bad, really, that Intel cannot seem to catch up...
At least intel is open source, but I cannot seem to find the time to debug.

Quote:
Originally Posted by rgleason View Post
Here is something about zooming out that does not work in Climatology using opengl features.
This should be in the climatology thread.. it is a known bug.
__________________

__________________
boat_alexandra is online now   Reply With Quote
Old 13-09-2014, 04:07   #77
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
Re: OpenCPN Beta Version 3.3.2107 Released

Quote:
Originally Posted by nohal View Post
Gerhard...
Would you mind posting the errors you get?

Thanks

Pavel
There are several issues. I have not the time to point to all of them. Here are a few:
In some "if" constructs wxLogMessage() needs curled brackets.

Sizers only needs the cols numbers. Giving wrong numbers for rows AND cols makes an assert.

"wxADJUST_MINSIZE" is deprecated.

Some hidden overloaded virtual functions.

DimeControl() not works and not needed with Mac OS X. Use F1/F2-keys instead which is the OS function for screen dimming.

OpenCPN F-keys only works with fn-key together on Macs.

Wrong parameters for wxGLCanvas().

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 13-09-2014, 05:23   #78
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: OpenCPN Beta Version 3.3.2107 Released

Quote:
Originally Posted by rgleason
Here is something about zooming out that does not work in Climatology using opengl features.

This should be in the climatology thread.. it is a known bug.
Sorry, its new to me and since it is from opengl I thought it relevant.
__________________
rgleason is offline   Reply With Quote
Old 13-09-2014, 06:19   #79
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,824
Re: OpenCPN Beta Version 3.3.2107 Released

I fixed a lot of things in opencpn to make it compile with latest wxWidgets (from git) in order to make wxQT work. This includes making it work without wx-2.8 support. I recall the order of arguments to wxGLCanvas for example, and the adjust minsize stuff. Could cherry pick some commits in the meantime to try to fix these.

https://github.com/OpenCPN/OpenCPN/pull/156
__________________
boat_alexandra is online now   Reply With Quote
Old 13-09-2014, 06:44   #80
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
Re: OpenCPN Beta Version 3.3.2107 Released

Quote:
Originally Posted by boat_alexandra View Post
I fixed a lot of things in opencpn to make it compile with latest wxWidgets (from git) in order to make wxQT work. This includes making it work without wx-2.8 support. I recall the order of arguments to wxGLCanvas for example, and the adjust minsize stuff. Could cherry pick some commits in the meantime to try to fix these.

https://github.com/OpenCPN/OpenCPN/pull/156
So why not rewrite OpenCPN with Qt instead of using wxWidgets and wxQt?
It seems to be the better choice.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 13-09-2014, 07:05   #81
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Beta Version 3.3.2107 Released

Gerhard...

OpenCPN for Qt....

A reasonable idea. I'd love to see it.

Carry on....

Dave
__________________
bdbcat is online now   Reply With Quote
Old 13-09-2014, 07:15   #82
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN Beta Version 3.3.2107 Released

Quote:
Originally Posted by rgleason View Post
Pavel
Very nicely thought out. Thank you.
Perhaps include the Tidal Data 700kb and the Crude ghhs 800kb (perhaps even Low) in the "Base" so that those features work without too much impact on download times. Also it would simplify the options a little and leave the selections that make the most difference as options.
-----
Pavel since you have Win install for 3.3.2107 here Download OpenCPN | Official OpenCPN Homepage
perhaps I should delete the full install setup on Opencpn Beta file thing?
----
For Example to compile the package for windows with Tidal & Current and with Ghhs Crude execute:
cmake -dbundle_gshhs=crude -dbundle_tide=on ..
cmake --build . --config release --
cpack
From this Developer page
NSIS Modularized Packaging Commands | Official OpenCPN Homepage
Does it matter if it is caps or not?
I checked the Developer manual for compiling and installing OpenCPN in Linux from source. Compiling - Linux | Official OpenCPN Homepage I see no instructions related to commands used to built in the data packages. Are the commands above the same for Linux?
__________________
Wrong is offline   Reply With Quote
Old 13-09-2014, 07:22   #83
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN Beta Version 3.3.2107 Released

Never mind. I just noticed this from rgleason's post: NSIS Modularized Packaging Commands | Official OpenCPN Homepage

Thanks.
__________________
Wrong is offline   Reply With Quote
Old 13-09-2014, 07:23   #84
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Beta Version 3.3.2107 Released

Gerhard/Sean...

OK, I'm confused.

What downloadable version of wxWidgets are you discussing?

I compile and build using wxWidgets 3.0.1 (Latest stable release) from wxWidgets.org. Builds and runs fine with XCode 4.3.3

Dave
__________________
bdbcat is online now   Reply With Quote
Old 13-09-2014, 08:53   #85
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN Beta Version 3.3.2107 Released

Quote:
Originally Posted by bdbcat View Post
Gerhard/Sean...

OK, I'm confused.

What downloadable version of wxWidgets are you discussing?

I compile and build using wxWidgets 3.0.1 (Latest stable release) from wxWidgets.org. Builds and runs fine with XCode 4.3.3

Dave
So, the latest wxWidgets from Ubuntu is 2.8.12. What's the probability my experience between OpenGL and non-OpenGL modes are related to my building against wxWidgets 2.8.12?
__________________
Wrong is offline   Reply With Quote
Old 13-09-2014, 09:03   #86
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Beta Version 3.3.2107 Released

Wrong...

On linux, we build against 2.8.12. Same on Windows.

We do this because this is the version of wxWidgets that exists in precompiled binary libraries found in the major linux distribution repos.

There is no such repo notion for Mac or Windows, so we have to bundle our choice of wxWidgets with our OCPN distribution for those two platforms.

Windows is bundled with 2.8.12. Mac with 3.0.1.

There is a requirement for at least wx 3.0 on Mac, since there were so many problems with 2.8 on Mac.

I think you need to get ddd/dgb running on your platform, and step thru the code to figure out what happened to ownship icon.

As a general rule, the devs cannot spend too much time debugging user's local builds. Too many variables. I can't count how many time I've been down that rathole, only to find the the user's dev machine/environment is wrong in some subtle way that had nothing to do with O.

The devs are focused on mainstream Release Candidates.
I'm sure you understand...

Dave
__________________
bdbcat is online now   Reply With Quote
Old 13-09-2014, 09:27   #87
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Beta Version 3.3.2107 Released

Hi Dave and All

Just starting to test 3.3.2107 on my Windows Vista/Intel(R) 4 Series Express
After installation, I was unable to start O. I got immediate crash ( a report has been sent)
I made a new clean install
Then starting with OpenGL OFF, it worked but impossible to switch to OpenGL ON (both raster and CM93) . Immediate crash.
I noticed that in this case ,all option boxes concerning caching were unchecked and greyed (unable ).
But I found a mean to make it working
- Start with a CM93 chart group
- Switch to a rasters chart group
- switch again to a CM93 chart group
- enable OpenGL. This time it is accepted and now the option box "compression with caching" is enabled and can be checked
- now I can use OpenGL both with CM93 and rasters

This is new and didn't happen in the preceding version

I tested also on my low powered W8.1/AMD Radeon HD 8181 and
I didn't face this problem, but I got big hang when switching from CM93 chart group to rasters one at certain small zoom


Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 13-09-2014, 11:34   #88
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: OpenCPN Beta Version 3.3.2107 Released

Dave

I tested to build with wx 3.0 again. Still a run-time error (FS1383).

Going back to wx 2.8 I had a spanking clean environment, and had a crash I never seen before. Clicking on "Options" I get this.

Click image for larger version

Name:	option.png
Views:	65
Size:	45.4 KB
ID:	88133

Only the Grib & Dashboard plugins enabled.

Last line in opencpn.log
Quote:
opencpn::MyApp exiting cleanly...
Kubuntu 14.04 amd64.

Thomas
__________________
cagney is offline   Reply With Quote
Old 13-09-2014, 17:56   #89
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,824
Re: OpenCPN Beta Version 3.3.2107 Released

Quote:
Originally Posted by bdbcat View Post
Gerhard/Sean...

OK, I'm confused.

What downloadable version of wxWidgets are you discussing?

I compile and build using wxWidgets 3.0.1 (Latest stable release) from wxWidgets.org. Builds and runs fine with XCode 4.3.3

Dave
Maybe you can try git?

Code:
git clone https://github.com/wxWidgets/wxWidgets.git
cd wxWidgets
mkdir build
cd build
../configure --enable-debug --disable-compat28
make
Then to avoid installing, just put the build directory in your path for configurating opencpn as:
PATH=path/to/wx/build:$PATH cmake ..

or for wxqt

Code:
git clone https://github.com/seandepagnier/wxWidgets.git
../configure --enable-debug --with-qt --disable-graphics_ctx
__________________
boat_alexandra is online now   Reply With Quote
Old 13-09-2014, 18:06   #90
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Beta Version 3.3.2107 Released

Sean...

Thanks. Had no idea that wxWidgets was now up on github. News to me....

I wonder how/when the github code base is "Released" as "latest stable" and made available on sourceforge download pages? Using an in-flux github commit point makes me a bit nervous for an OCPN Production Release Candidate.....

Dave
__________________

__________________
bdbcat is online now   Reply With Quote
Reply

Tags
enc, lease, 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
OpenCPN Beta Version 3.1.814 Released bdbcat OpenCPN 185 14-09-2012 08:43
OpenCPN Beta Version 3.1.802 Released bdbcat OpenCPN 158 14-08-2012 11:07
OpenCPN Beta Version 3.1.714 Released bdbcat OpenCPN 91 01-08-2012 18:08



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 10:29.


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.