Bram...
You can safely delete the logfile, and start OCPN over. A new shorter logfile will be produced with just the latest info logged.
2 logfiles, one with error, one without, are most useful.
Dave
Good morning Dave,
I will make the two logfiles and also compair the working opencpn.conf with the changed one. A first quick look at these config files I see a lot of changes.
I only have this problem on my home RPI and not on the boat RPI with another screen.
Confused.
Are we looking for errors in the chart drawing, or the settings dialog? Or both?
Dave
Good Morning Dave,
The black squares are not only in the setup screen, there are display errors in the charts (grey area's) and errors in the taskbar. Sometimes black parts of the Raspian taskbar can be seen in other places.
Screen movements slow down and finally freezes.
A simple remedy is to remove the opencpn.conf and do the settings again. Then all works quick again untill the screen corruption which appears after some time.
I can copy the opencpn.confs, to see if there are the errors generated.
If I let the RPI simply standing for a long time with O open and without use. Then the screen is also locked up.
Is it a kind of memory leak ?
Raspian appears to work normal without the use of OpenCPN.
All files are the latest updates and the latest kernel versions.
Can you run the CLI program "top", in another window, and monitor the OpenCPN memory use and processor load?
Dave
Hi Dave,
did some trials and used the Top display. It now appaers that the windows size has some influence. If I use a small window with OpenCPN running together with the Top display. The systeem stays working. If I make a large window with OpenCPN then the system locks up after some time. And after a restart the problem is still present.
But if I delete the opencpn.conf then the problem is solved.
The problem does not appear on my boat system which has a small 10" screen.
I will send you the screen dumps later from my RPI.
Does a large window with O use more memory then a small one ?
Or is it a problem in the latest kernels versions ?
We should try the large screen without the VC4 driver, OpenGL OFF, if possible.
We know from earlier bug reports that the VC4 driver is fragile under high memory pressure....
We should try the large screen without the VC4 driver, OpenGL OFF, if possible.
We know from earlier bug reports that the VC4 driver is fragile under high memory pressure....
Dave
Good Morning Dave,
after trying several settings I probably have found the error.
Raspian Stretch updated with the latest kernel 4.14.67.
But stil the same problem. Raspian (Stretch) finds the right screen format of my monitor.
However OpenCPN does seem to find the screen value in the "auto" setting.
After setting the vertical length of the screen, all problems seem to be solved.
OpenCPN is running now with the VC4 driver on and OpenGL in O also on.