GyulyVGC / sniffnet

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

thread 'main' panicked Failed to call XMapRaised #635

Open central-yharnam opened 1 week ago

central-yharnam commented 1 week ago

Is there an existing issue for this?

What's the problem?

Installed Sniffnet through cargo. This error happens whenever I try to run the program.

hellshake@pop-os:~$ RUST_BACKTRACE=full sniffnet thread 'main' panicked at /home/hellshake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.15/src/platform_impl/linux/x11/window.rs:1208:18: Failed to call XMapRaised: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 } stack backtrace: 0: 0x5f871c064e9c - 1: 0x5f871b98428b - 2: 0x5f871c0304e2 - 3: 0x5f871c06a048 - 4: 0x5f871c069cd1 - 5: 0x5f871bf1e58e - 6: 0x5f871c06ac79 - 7: 0x5f871c06a9e5 - 8: 0x5f871c06a949 - 9: 0x5f871c06a934 - 10: 0x5f871b8d51c2 - 11: 0x5f871b8d55e5 - 12: 0x5f871bf720f4 - 13: 0x5f871bf6bd27 - 14: 0x5f871b932200 - 15: 0x5f871bf56a7d - 16: 0x5f871bf1cdc1 - 17: 0x5f871bf12bd3 - 18: 0x5f871bf1a8ab - 19: 0x7daee7a29d90 - 20: 0x7daee7a29e40 - __libc_start_main 21: 0x5f871b9242c5 - 22: 0x0 -

How did you install the app?

installed from crates.io

Operating System

Linux

Additional context

OS: Pop!_OS 22.04 LTS x86_64 Host: Z790 GAMING X AX Kernel: 6.9.3-76060903-generic ackages: 2374 (dpkg), 31 (flatpak) Shell: bash 5.1.16 Resolution: 2560x1440 DE: GNOME 42.9 WM: Mutter WM Theme: Pop Theme: Pop-dark [GTK2/3] Icons: Pop [GTK2/3] Terminal: gnome-terminal CPU: 12th Gen Intel i9-12900K (24) @ 5.100GHz GPU: Intel AlderLake-S GT1 GPU: NVIDIA 01:00.0 NVIDIA Corporation Device 2705 Memory: 5815MiB / 64068MiB

GyulyVGC commented 1 week ago

Hi @central-yharnam, this might be a GPU issue.

Try to use the alternative software renderer. You can do so by setting the environment variable ICED_BACKEND=tiny-skia