Not 100% what the OP was after, but I have discovered an issue that would fit fine under this heading.
Both with the 64bit and 32bit version I have the problem that OpenCPN freezes up when launched, more or less out of the box (after the installs obviously...).
OpenCPN and the SignalK "node" process share all the available CPU time when that happens. Killing OpenCPN *and* node resolves the problem.
Upon re-launch OpenCPN offers to run with plugins disabled. The problem is clearly triggered by the Dashboard.
I'd like to use the Dashboard. Is there a way to configure this to work? I guess there is.
2023-07-05, 06:58 PM (This post was last modified: 2023-07-05, 07:06 PM by Slin_Slin.)
(2023-07-05, 05:15 PM)baltika_no_9 Wrote: Yes nothing obvious there, is that the log after it has crashed because I can't see in the log where it closes.
As an aside, if you go to Options>User Interface, what Language do you have selected in the top box?
Yes that´s after the freeze.
The Language field is emty (see screenshot).
Now I changed the language to english. But it crash again.
Code:
pi@openplotter:~ $ tail -50 ~/.opencpn/opencpn.log
19:01:43.067 MESSAGE pluginmanager.cpp:1091 Loading plugins from dir: /home/pi/.local/lib/opencpn
19:01:43.067 MESSAGE pluginmanager.cpp:1121 PlugInManager searching for PlugIns in location /home/pi/.local/lib/opencpn
19:01:43.067 MESSAGE pluginmanager.cpp:1159 Found 0 candidates
19:01:43.068 MESSAGE OCPNPlatform.cpp:1033 ChangeLocale: Language load for: en_GB
19:01:43.068 MESSAGE OCPNPlatform.cpp:1086 ChangeLocale: Locale Init OK for: en_GB
19:01:43.068 MESSAGE OCPNPlatform.cpp:1111 Loading catalog for opencpn core.
19:01:43.069 MESSAGE OCPNPlatform.cpp:952 Getting DefaultSystemLocale...
19:01:43.069 MESSAGE pluginmanager.cpp:1091 Loading plugins from dir: /usr/local/lib/opencpn
19:01:43.069 MESSAGE pluginmanager.cpp:1121 PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
19:01:43.069 MESSAGE pluginmanager.cpp:1135 Directory /usr/local/lib/opencpn does not exist.
19:01:43.069 MESSAGE pluginmanager.cpp:1091 Loading plugins from dir: /usr/lib/opencpn
19:01:43.069 MESSAGE pluginmanager.cpp:1121 PlugInManager searching for PlugIns in location /usr/lib/opencpn
19:01:43.069 MESSAGE pluginmanager.cpp:1159 Found 4 candidates
19:01:43.069 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libchartdldr_pi.so
19:01:43.070 MESSAGE pluginmanager.cpp:1219 Skipping not enabled candidate.
19:01:43.070 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libdashboard_pi.so
19:01:43.070 ERROR pluginmanager.cpp:1984 Could not open file "opencpn" for reading with errno = 2.
19:01:43.070 MESSAGE pluginmanager.cpp:2225 Plugin is compatible by elf library scan: true
19:01:43.070 MESSAGE pluginmanager.cpp:2364 PlugInManager: Loading PlugIn: /usr/lib/opencpn/libdashboard_pi.so
19:01:43.075 INFO pluginmanager.cpp:2540 PlugInManager: /usr/lib/opencpn/libdashboard_pi.so
19:01:43.075 INFO pluginmanager.cpp:2541 Plugin common name: Dashboard
19:01:43.075 INFO pluginmanager.cpp:2543 API Version detected: 106
19:01:43.075 INFO pluginmanager.cpp:2544 PlugIn Version detected: 1.2
19:01:43.109 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libgrib_pi.so
19:01:43.109 MESSAGE pluginmanager.cpp:1219 Skipping not enabled candidate.
19:01:43.109 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libwmm_pi.so
19:01:43.109 MESSAGE pluginmanager.cpp:1219 Skipping not enabled candidate.
19:01:43.110 MESSAGE OCPNPlatform.cpp:1033 ChangeLocale: Language load for: en_GB
19:01:43.110 MESSAGE OCPNPlatform.cpp:1086 ChangeLocale: Locale Init OK for: en_GB
19:01:43.111 MESSAGE OCPNPlatform.cpp:1106 Loaded translation catalog for: opencpn-dashboard_pi
19:01:43.111 MESSAGE OCPNPlatform.cpp:1111 Loading catalog for opencpn core.
19:01:43.111 MESSAGE OCPNPlatform.cpp:952 Getting DefaultSystemLocale...
19:01:43.111 MESSAGE pluginmanager.cpp:1091 Loading plugins from dir: /usr/lib/opencpn
19:01:43.111 MESSAGE pluginmanager.cpp:1121 PlugInManager searching for PlugIns in location /usr/lib/opencpn
19:01:43.112 MESSAGE pluginmanager.cpp:1159 Found 4 candidates
19:01:43.112 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libchartdldr_pi.so
19:01:43.112 MESSAGE pluginmanager.cpp:1219 Skipping not enabled candidate.
19:01:43.112 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libdashboard_pi.so
19:01:43.112 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libgrib_pi.so
19:01:43.112 MESSAGE pluginmanager.cpp:1219 Skipping not enabled candidate.
19:01:43.112 MESSAGE pluginmanager.cpp:1168 Checking plugin candidate: /usr/lib/opencpn/libwmm_pi.so
19:01:43.112 MESSAGE pluginmanager.cpp:1219 Skipping not enabled candidate.
19:01:43.113 MESSAGE OCPNPlatform.cpp:1033 ChangeLocale: Language load for: en_GB
19:01:43.113 MESSAGE OCPNPlatform.cpp:1086 ChangeLocale: Locale Init OK for: en_GB
19:01:43.114 MESSAGE OCPNPlatform.cpp:1106 Loaded translation catalog for: opencpn-dashboard_pi
19:01:43.114 MESSAGE OCPNPlatform.cpp:1111 Loading catalog for opencpn core.
19:01:43.114 MESSAGE OCPNPlatform.cpp:952 Getting DefaultSystemLocale...
19:01:43.333 MESSAGE chart1.cpp:6733 OnInitTimer...3
19:01:43.434 MESSAGE chart1.cpp:6733 OnInitTimer...4
19:01:44.545 MESSAGE options.cpp:6730 options: got device count: 10
pi@openplotter:~ $
2023-07-08, 08:24 AM (This post was last modified: 2023-08-09, 05:52 PM by Slin_Slin.)
(2023-07-05, 08:09 PM)baltika_no_9 Wrote: I regret I am at a bit of a loss to help you as I can't replicate your problem.
What if you disable the dashboard plugin, close down OpenCPN then start it. Without the dashboard enabled is it stable with no freezing?
If it's stable then enable dashboard (but don't start it from the task bar), again close down and restart, is it stable then?
Now select the dashboard to display it, is this when it fails?
Have you tried with and without OpenGL? (Options>Advanced, Graphics radio button)
If you open a terminal and run htop while the freeze is happening what does the CPU/memory consumption look like?
The short answer is: the "Flatpack Version: 5.8.4" Version it works.
Only the "Debian/Ubuntu Version: 5.6.2" version freezes.
(2023-07-05, 08:09 PM)baltika_no_9 Wrote: What if you disable the dashboard plugin, close down OpenCPN then start it. Without the dashboard enabled is it stable with no freezing?
Without any plugin it isn´t stable. So it´s a generally OpenCPN problem, no dashboard problem.
Quote:Have you tried with and without OpenGL? (Options>Advanced, Graphics radio button)
Yes, with boath options the same problem.
Quote:If you open a terminal and run htop while the freeze is happening what does the CPU/memory consumption look like?
memory is still low. Look at the screenshot:
[attachment=2380]