Display Slows and Slows #263
Replies: 5 comments 5 replies
|
Hi Don @AgileEngineeringLLC Sorry you're having difficulties. This may be related to another current discussion #262, which unfortunately I've not yet had the time to get to the bottom of. There was a clear memory leak issue in pygpsclient<1.7.1 which has now been resolved, but there appear to be other residual issues which only arise when the UI is left unattended (i.e. no user interaction) for several hours. I'm personally finding that any 'lag' disappears almost immediately upon new user interaction (e.g. resizing the panel or opening a pop up dialog), but I'm not sure if that's the general experience on Ubuntu. This may be to do with idle tkinter events stacking up, but AFAIA the code already includes the usual recommended mitigations against this. Could I ask you to confirm:
|
|
Please see answers below. Also, I thought the issue might be I was using WiFi originally, but switching to wired ethernet didn’t help. When I look at the Ubuntu Activity Monitor, I don’t see a heavy core burden, memory usage is low (4%), and network flow looks fine up and down.
Don
On Jul 29, 2026, at 12:51 PM, SEMU Admin ***@***.***> wrote:
Hi Don @AgileEngineeringLLC <https://github.com/AgileEngineeringLLC>
Sorry you're having difficulties. This may be related to another current discussion #262 <#262>, which unfortunately I've not yet had the time to get to the bottom of.
There was a clear memory leak issue in pygpsclient<1.7.1 which has now been resolved, but there appear to be other residual issues which only arise when the UI is left unattended (i.e. no user interaction) for several hours. I'm personally finding that any 'lag' disappears almost immediately upon new user interaction (e.g. resizing the panel or opening a pop up dialog), but I'm not sure if that's the general experience on Ubuntu. This may be to do with idle tkinter events stacking up, but AFAIA the code already includes the usual recommended mitigations against this.
Could I ask you to confirm:
That by 'latest version' you mean v1.7.2? Version 1.7.0 (I just did the update to 1.7.2, and now will test it)
Which specific version of Python and tkinter are you using (this will be displayed in the About help dialog), and how were these installed if not part of the standard Ubuntu distro? 3.12.3, 8.6.14 Standard Ubuntu I believe
What navigation/measurement rate do you have the ZED-F9P set to? 1 Hz There was an issue in earlier versions with the console not keeping up with very high transaction rates, but - again - that's been resolved in pygpsclient>=1.7.1 (and, as you mention, you'd see any obvious I/O issues in the System Monitor)
What do you have the GUI refresh rate (guiupdateinterval_f) set to in your json configuration file? Default 0.5 The default is 0.5 seconds. You could try increasing this, but it really shouldn't be necessary on a platform as capable as yours (the parameter was more to accommodate low-end SBC platforms)
You could try turning off some or all of the user-selectable widgets to see if this makes any difference, but this really shouldn't be necessary.
Does the lag go away for you if you interact with the GUI in any way e.g. resizing the main panel? Does not appear to
—
|
|
I updated the versions, and am still seeing the display updating slower and slower.
I did notice on the Ubuntu Utility Monitor that the demand on the processor cores seems to increase quite a bit over time. Memory and Network load seems to stay the same.
Don
|
|
An Update. I reduced the GNSS constellations down to just GPS, GAL, and SBAS, and I changed the screen update rate to 1.0s. Seems to be keeping up now (after 2 hours). Thanks for the suggestion to disable GGA NMEA, the Fix: RTK FIXED is showing solid now. Great tool, very easy to use once you get familiar with it, thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Great tool!! Got a question tho...
I'm running the current version of pygpsclient on a Ubuntu linux laptop with 22 cores, usb ZED-F9P, and streaming Geodnet corrections for RTK. Pygpsclient seems to keep up (1 sec updates) for a while, but then after a 10-20 min it slowly starts bogging down. For example, right now it's been running 30 min or so, and is updating every 4 sec. The System Mon tab seems to show everything as fine.
What might I do (turn off, disable) to allow pygpsclient to keep up?
thanks!
Don
All reactions