Posts: 12
Threads: 6
Joined: Aug 2020
Reputation:
0
Newbie question (first post here)
I just put together all the components for a chartplotter (This is pretty cool!)
RPi 4B w/8gb ram
32 gb Micro that passes the speed tests
According to "top" Xorg and opencpn are consuming about 30-50% cpu each. Everything on the system is speedy and smooth except redrawing the chart
I downloaded the Full and High resolution GSHHG chart (I probably should delete the Full res chart, but how?
I have installed the dAISy hat and a GPS dongle but it was this slow prior to doing that.
Maybe this is normal but it takes
4 seconds to zoom in or out
2 seconds to draw a Measurement line (Tools -> Measure Distance)
Posts: 579
Threads: 65
Joined: Nov 2016
Reputation:
20
Dedicate more memory to video. With 8G you could probably go with 500Mb and have no problems at all. I have a 4G RPI and use 384Mb, and my scrolling is smooth.
Posts: 1,169
Threads: 98
Joined: Mar 2016
Reputation:
69
Is accelerated graphics(open gl) turned on in display|advanced in opencpn settings? And turned on in the Pi settings?
cat /boot/config.txt | grep dtoverlay=
Should be 'dtoverlay=vc4-fkms-v3d' in there.
Posts: 12
Threads: 6
Joined: Aug 2020
Reputation:
0
I tried the dtoverlay addition in the config, rebooted and that didn't help (I think)
I went into openCPN and played with just about every setting I could find (I know, terrible idea) and it's now working as expected with smooth scrolling. I'm upset with myself for not keeping track of what I changed, so the next person would know. But there was some magic setting within OpenCPN that allowed for smooth sailing, I mean scrolling.
Thanks for the other settings as I'm sure they helped too.
Posts: 2
Threads: 0
Joined: Aug 2020
Reputation:
0
Hello all - I'm another newbie with the same problem.
RPi 4B, 4GB, Moitessier HAT.
Pan and zoom painfully slow with oeSENC vector charts.
I've set the GPU memory to 512, which, as the OP said, helped a bit.
I've turned on Open GL in the openCPN settings, but not sure if I also need to turn it on in the PI settings.
If I do, maybe someone could let me know how to do it.
I'm wondering about the dtoverlay=vc4-fkms-v3d setting. Is this not for 3D graphics?
All help gratefully received...
Posts: 12
Threads: 6
Joined: Aug 2020
Reputation:
0
Unfortunately I did something I know better than to do. I was so frustrated that I went through and changed a bunch of stuff at once and I don't remember exactly what I changed. One thing I did was (I think I successfully did this) to switch from the HUGE/Very detailed coastal chart to the High res (one step less detailed). I can send you my config files if you want... PM me with an email address and I'll send them back. It might be a day or two.
Posts: 12
Threads: 6
Joined: Aug 2020
Reputation:
0
@ohnitsky I did a fresh install and took notes this time. I believe what fixed the speed issue was in OpenPlotter -> options -> Display -> Advanced I turned on Use Accelerated Graphics (OpenGL). I believe I left all the OpenGL options alone, but just incase:
I have checked:
Polygon smoothing
Line Smoothing
Software OpenGL
I would be interested in knowing if that fixed your speed issue