-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hostcheck@schorschii causes stutter #1025
Comments
Unfortunately, it's not that easy here. While Gio has functions to get information about the file system, it can't ping or do http(s) requests, so spawning a |
I switched some instances to http(s) checks but I can't really see a difference in stutter. Is there a way/hack to disable all desklets (of a certain type) at once? |
I found a way to fix it for HTTP checks. There is a library called Soup which we can use for HTTP connections. Can you please check if HTTP checks are working without stutters with the Soup library by copying the version 1.4 from my hostcheck-http-soup branch into your For the ping check, I don't see any solution. You can remove all desklets of a certain type with this button in the desklet manager: |
Yes, the new version is not causing stutter if http is employed. But this is only working if the target is answering on http requests. I will keep an eye on that. At the moment the clients are offline. When removing all instances in the desklet manager, I have to set up everything from scratch. Maybe this can be improved so that the new instances pick up the old settings. Sensors@claudiux somehow does. @claudiux |
@H34dl3ss In the settings of Sensors@claudiux, in the General tab, check the "Avoid size changes" option. |
@H34dl3ss The stuttering is a specific issue of starting a subprocess (via It's not possible to avoid subprocesses everywhere. |
Then it should be escalated to the Gio project shouldn't it? Thanks for the fixes in the hostcheck desklet. |
Yes, it should be reported to the correct project. But I'm not quite sure which component really causes this. Starting a subprocess via |
I just tested the mentioned GNOME ping extensions. They only allow one single instance / ping check unlike the Cinnamon desklets, that's why there wasn't really anything noticeable first. But after modifying one extension to do multiple requests (= spawn multiple subprocesses) at the same time, stuttering was visible just like in Cinnamon. Using NVIDIA proprietary/open driver or Intel onboard GPU does not seem to make a difference. Edit: I found out that Edit2: New issue in the Glib repo. Seems like there won't be a fix for that. |
There was an interesting outcome in the issue on the Glib repo yesterday. @pwithnall mentioned:
So I modified my @H34dl3ss can you please test my hostcheck-subprocess-improvement branch? Does this improve the ping check on your computer too? If yes, this should probably be documented in the developer manual for Cinnamon. |
Yes, I have tested your improved desklet version and there is no stutter. This is definitely a major improvement and should be respected in all desklets and applets code. |
Desklet version/Build date
Version 1.3 (2023-12-06 05:00:14)
Cinnamon version
Cinnamon 5.8.4
Distribution
Linux Mint 21.2 Victoria
Graphics hardware and driver used
NVIDIA GA104 [GeForce RTX 3070] driver: nvidia v: 535.129.03
Desklet name and maintainer
hostcheck@schorschii @schorschii
What happened?
Hi,
this seems similar to the stutter issue of the diskspace applet.
#932 (comment)
At the moment I have 5 desklets checking different hosts @ 10s intervall and the stutter is really noticeable.
e.g. check glxgears to see how it is chopping.
Could you please have a look into it - thanks.
Guten Rutsch! ;-)
Other information
No response
The text was updated successfully, but these errors were encountered: