Closed shenshouer closed 3 months ago
Hi @shenshouer, browsing online (https://github.com/iced-rs/iced/issues/2314) I found that this seems to be related with Vulkan settings. You can try to follow the suggestions from that link and see if it works.
Alternatively, you can try setting the environment variable ICED_BACKEND=tiny-skia
.
Let me know if you have news.
The same issue with ENV
# ICED_BACKEND=tiny-skia sniffnet
/---------------------------------------------------------\
| _____ _ __ __ _ |
| / ____| (_) / _| / _| | | |
| | (___ _ __ _ | |_ | |_ _ __ ___ | |_ |
| \___ \ | '_ \ | | | _| | _| | '_ \ / _ \ | __| |
| ____) | | | | | | | | | | | | | | | | __/ | |_ |
| |_____/ |_| |_| |_| |_| |_| |_| |_| \___| \__| |
| |
| ___________ |
| /___________\ |
| | ___________ | |
| | | | | |
| | | v1.3.1 | | |
| | |_________| |________________________ |
| \_____________/ by Giuliano Bellini ) |
| / ''''''''''' \ / |
| / ::::::::::::: \ =D-' |
| (_________________) |
\_________________________________________________________/
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/iced_winit-0.12.2/src/application.rs:119:10:
Create event loop: Os(OsError { line: 786, file: "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.15/src/platform_impl/linux/mod.rs", error: Misc("neither WAYLAND_DISPLAY nor WAYLAND_SOCKET nor DISPLAY is set.") })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@GyulyVGC Worked fine with ENV
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json VK_LAYER_PATH=/usr/share/vulkan/explicit_layer.d sniffnet
Awesome 🎉
Is there an existing issue for this?
What's the problem?
Panic when start app
Both from deb package and cargo install
How did you install the app?
downloaded one of the provided packages
Operating System
Linux
Additional context