Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 21-05-2020, 18:44   #31
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,020
Re: OpenCPN Version 5.1.518 Beta Test

These days almost all computers support two monitors. I think that is another complex area O needs to address. It needs a lot of thought and discussion though IMO.
__________________

transmitterdan is offline   Reply With Quote
Old 21-05-2020, 19:16   #32
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,950
Re: OpenCPN Version 5.1.518 Beta Test

TDan...
Yes, multi displays are another wild west. Win10 does a decent job, and maybe Mac. But linux, with all the flavors of xrandr, wayland, etc. is a bit of a mess. Lucky enough to get it to work, never mind calculating useful display scale values.
I agree that this is area requiring some thought...


Dave
__________________

bdbcat is offline   Reply With Quote
Old 22-05-2020, 03:14   #33
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,704
Re: OpenCPN Version 5.1.518 Beta Test

Dave
I have repeated crashes with raster charts when zooming and panning.
I have tried a range of different charts, so it seems to be a general problem.
The second dump below is from using NOAA charts.
I'm on Ubuntu 20.04.

Click image for larger version

Name:	Screenshot_20200522_115502.png
Views:	24
Size:	103.5 KB
ID:	215513

Click image for larger version

Name:	Screenshot_20200522_120720.png
Views:	19
Size:	117.8 KB
ID:	215514

Thomas
cagney is offline   Reply With Quote
Old 22-05-2020, 03:47   #34
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,020
Re: OpenCPN Version 5.1.518 Beta Test

Thomas,

It looks like the SSE2 instructions are causing you grief. Can you use cmake to turn those off and build again?
transmitterdan is offline   Reply With Quote
Old 22-05-2020, 04:22   #35
Registered User

Join Date: Feb 2011
Posts: 688
Re: OpenCPN Version 5.1.518 Beta Test

So, forget it.
Good bye.
P_Dub is offline   Reply With Quote
Old 22-05-2020, 08:25   #36
Registered User

Join Date: May 2020
Posts: 1
Re: OpenCPN Version 5.1.518 Beta Test

I have an issue where waypoints that I have set to Show get reset to invisible when I restart.
They are included in various routes that I have set to Not Show, but I clicked the option to not hide the waypoints that are part of the route.
brianr77 is offline   Reply With Quote
Old 22-05-2020, 11:18   #37
Registered User

Join Date: Aug 2016
Posts: 107
Re: OpenCPN Version 5.1.518 Beta Test

some time ago on GitHub I already pointed out that on Ubuntu 20.04 in Dark Mode some dialogues are not readable. The problem still remains
Attached Thumbnails
Click image for larger version

Name:	nothumanreadable.png
Views:	23
Size:	177.5 KB
ID:	215537  
BlackSea is offline   Reply With Quote
Old 22-05-2020, 13:13   #38
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,704
Re: OpenCPN Version 5.1.518 Beta Test

Quote:
Originally Posted by transmitterdan View Post
Thomas,

It looks like the SSE2 instructions are causing you grief. Can you use cmake to turn those off and build again?
Tdan
Thanks for the sugestion.
I changed line 1684 in CMakeLists.txt to
Code:
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__WXGTK3__ -mno-sse2 ")
and recompiled.

Unfortunately raster-charts still crash on zooming and panning, not instantly, but after a minute or less.

Click image for larger version

Name:	Screenshot_20200522_220154.png
Views:	18
Size:	111.2 KB
ID:	215567

I have used this computer quite a few years w/o this problem. The only change that I think is behind this is the upgrade to Ubuntu 20.04, and with it the use of Gtk3 instead of Gtk2.

Thomas
cagney is offline   Reply With Quote
Old 22-05-2020, 14:33   #39
Registered User

Join Date: Oct 2014
Posts: 251
Re: OpenCPN Version 5.1.518 Beta Test

OpenCPN 5.1.518 Beta running in Windows 10 64-bit hangs when I attempt to download the weekly chart updates from NOAA. Here is a screenshot:

Click image for larger version

Name:	Options.png
Views:	20
Size:	38.6 KB
ID:	215581

I selected "Options", "Chart Downloader," "Select Catalog". Next, I click on either "RNC Product Catalog" or "ENC Product Catalog". Then, the CPU usage goes to 100%. Before I captured the screen, I had clicked the X in the upper right corner of the Options window and the X in the corner of the OpenCPN window. About 20 minutes after the screenshot, Windows asked if I wanted to terminate the program.

Paul
.Paul. is offline   Reply With Quote
Old 22-05-2020, 17:49   #40
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,950
Re: OpenCPN Version 5.1.518 Beta Test

cagney...
The crash is happening in the background thread which creates raster chart texture images. So, you are using GL, Raster Caching.


Please try this:
1. Settings->Display->Advanced->GL Options:
a. "Clear raster cache"
b. "Rebuild raster cache"


This might accelerate the crash, make it easier to reproduce.


For reference, I have not seen similar problems on Ubuntu 20.04, though mine is a virtual machine.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 22-05-2020, 18:05   #41
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,020
Re: OpenCPN Version 5.1.518 Beta Test

Quote:
Originally Posted by .Paul. View Post
OpenCPN 5.1.518 Beta running in Windows 10 64-bit hangs when I attempt to download the weekly chart updates from NOAA. Here is a screenshot:

Attachment 215581

I selected "Options", "Chart Downloader," "Select Catalog". Next, I click on either "RNC Product Catalog" or "ENC Product Catalog". Then, the CPU usage goes to 100%. Before I captured the screen, I had clicked the X in the upper right corner of the Options window and the X in the corner of the OpenCPN window. About 20 minutes after the screenshot, Windows asked if I wanted to terminate the program.

Paul

Paul,

Is this repeatable? Can you look at the OpenCPN.log file (use the help button to find the link) and see if anything is reported there?
transmitterdan is offline   Reply With Quote
Old 22-05-2020, 20:38   #42
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,950
Re: OpenCPN Version 5.1.518 Beta Test

TDan...
I'm looking at this.
Definitely repeatable. Total hang, requiring power-down to recover. Something eats all memory and CPU cycles....

Looking at:
void ChartDldrPanelImpl::SetSource( int id )


More as I discover.
Dave
bdbcat is offline   Reply With Quote
Old 22-05-2020, 21:08   #43
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,950
Re: OpenCPN Version 5.1.518 Beta Test

TDan...
We'll need to build a debug version and step thru it. I'll work on that tomorrow...
Dave
bdbcat is offline   Reply With Quote
Old 23-05-2020, 01:04   #44
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,704
Re: OpenCPN Version 5.1.518 Beta Test

Quote:
Originally Posted by bdbcat View Post
cagney...
The crash is happening in the background thread which creates raster chart texture images. So, you are using GL, Raster Caching.


Please try this:
1. Settings->Display->Advanced->GL Options:
a. "Clear raster cache"
b. "Rebuild raster cache"


This might accelerate the crash, make it easier to reproduce.


For reference, I have not seen similar problems on Ubuntu 20.04, though mine is a virtual machine.


Thanks
Dave
Dave

Good advice, but it did not speed up a crash, it stopped the crashing!!
I tested extensively but no crash for any raster chart including oeRNC (that did crash earlier).

So... is a chart cache created under GTK2, Ubuntu 18.04, incompatible with GTK3, Ubuntu 20.04?

Shall we recommend users of Ubuntu 20.04 to rebuild the cache?

Thomas
cagney is offline   Reply With Quote
Old 23-05-2020, 07:01   #45
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,950
Re: OpenCPN Version 5.1.518 Beta Test

cagney...
Interesting result....


"So... is a chart cache created under GTK2, Ubuntu 18.04, incompatible with GTK3, Ubuntu 20.04?"
No, the raster cache is architecture independent.


"Shall we recommend users of Ubuntu 20.04 to rebuild the cache?"
I would rather not.. Seems lake a hack that will catch up to us some day.


What happens if you only clear the cache, and let OCPN automatically build the cache entries as needed? How long before it crashes? Let's try NOAA charts, so I can follow along...


Thanks
Dave
__________________

bdbcat 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
OpenCPN Version 5.1.511 Beta Test bdbcat OpenCPN 103 23-05-2020 04:02
OpenCPN Version 5.1.428 Beta Test bdbcat OpenCPN 289 19-05-2020 04:46
Version 5.0.518 / Intel UHD630 Minor Bugs Found Biggles OpenCPN 0 21-05-2019 05:13
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 20: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 05:35.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.