GyulyVGC / sniffnet

Comfortably monitor your Internet traffic 🕵️‍♂️
https://sniffnet.net
Apache License 2.0
14.4k stars 440 forks source link

`laggy interface after update` #527

Closed overtube closed 1 month ago

overtube commented 2 months ago

Is there an existing issue for this?

What's the problem?

laggy interface on newer version that app, interface cannot lagg before update. also.

How did you install the app?

downloaded one of the provided packages

Operating System

Linux

Additional context

app installed with latest version ofcargo also I try install with pacman, but lags won't gone, so also I try recompile, mdaybe I have some wrong cargo flags?

GyulyVGC commented 2 months ago

Hi @overtube on which version this problem occurs? Just on the last one (v1.3.0)?

And what do you exactly mean by lag? Could you share a short video?

overtube commented 2 months ago

yes, ofc, version 1.3.0. low responsiveness of the interface with a slight delay in animations, when make some interaction. 2024-05-06_04-33-04.mp4.zip

GyulyVGC commented 1 month ago

Mm it seems really annoying... you can try setting an environment variable ICED_BACKEND=tiny-skia and see if it's better. This environment variable is telling the GUI library to use an alternative graphical renderer. But this is weird since the default renderer wgpu is usually more performant.

overtube commented 1 month ago

after add that variable app work normally again, as before update, how I can pass compile flag for recompile app with enabling that by default?

GyulyVGC commented 1 month ago

You don't need to recompile the app. The renderer is chosen at run-time so it's enough to set the environment variable in a permanent way in your system, and that's it. Remember that if for any reason you want to go back to the default renderer you can set the same variable to wgpu.