Closed xiaomx32 closed 7 months ago
Hi, you can try fixing this problem by using an alternative graphical renderer.
To do so, set the environment variable
ICED_BACKEND=tiny-skia
and let me know.
Hi, you can try fixing this problem by using an alternative graphical renderer.
To do so, set the environment variable
ICED_BACKEND=tiny-skia
and let me know.
Sorry, I don't know what tiny skia is. Where should I set this environment variable?
Hi, you can try fixing this problem by using an alternative graphical renderer. To do so, set the environment variable
ICED_BACKEND=tiny-skia
and let me know.Sorry, I don't know what tiny skia is. Where should I set this environment variable?
I set this environment variable in the terminal and the app is run successfully! Can you tell me what caused this?
tiny-skia
is another graphical renderer supported by the GUI library used by Sniffnet.
Setting this environment variable is done just like any other environment variable.
If you don't know how to set them, check out https://wiki.archlinux.org/title/Environment_variables#Globally. Note that you should set this variable in the configuration files, otherwise you'll have to reset it every time you want to run Sniffnet.
This problem was caused by your graphical drivers not properly supporting wgpu
, which is the default renderer used by the application.
You're right, just now I compiled the official example of wgpu and reported the same error. Thank you for your answer.
No problem, I'm happy you solved the issue.
The wgpu
renderer is slightly more efficient, so in case you are able to make it work, you can switch back setting the variable to
ICED_BACKEND=wgpu
.
I suggest you to check out https://github.com/iced-rs/iced/issues/1618 for possible solutions.
If they don't work, just stick to tiny-skia
😁
Is there an existing issue for this?
What's the problem?
Describe the bug
Opening sniffnet I get an error:
To Reproduce
Describe steps to reproduce the bug, e.g.:
Desktop
Additional context
I installed with
pacman
and installed all dependencies